12.07.2015 Views

MODBUS TCP/IP PROTOCOL MANUAL - Maguire Products

MODBUS TCP/IP PROTOCOL MANUAL - Maguire Products

MODBUS TCP/IP PROTOCOL MANUAL - Maguire Products

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Modbus <strong>TCP</strong>/<strong>IP</strong> Communication for WSBGeneral InformationThe Modbus <strong>TCP</strong>/<strong>IP</strong> command protocol data format used has been designed to be as consistentas possible with the MLAN command set. A full description of the Modbus <strong>TCP</strong>/<strong>IP</strong> specificationcan be found at www.modicon.com/openmbusThe Modbus registers are Word (two-byte) values. Values shown are decimal (base 10) values.Command Format (Write)OutputByteModbus <strong>TCP</strong>/<strong>IP</strong>Description Name Range MLAN Description0 Transaction ID Usually 01 Transaction ID Usually 02 Protocol ID Usually 03 Protocol ID Usually 04 Total Data Length 05 Total Data Length 7 to 2556 Slave Address MLAN Address7 Function Code 15 or 168 Register Hi Command Code 24 MLAN Command9 Register Lo 010 Register Count Hi 011 Register Count Lo 0 to N12 Data Byte Count 0 to (N+1)*213 Data Word 0 Hi14 Data Word 0 Lo. .. .X Data Word N HiX+1 Data Word N LoResponse Format (Write)InputByte Modbus Description Name Range Description0 Transaction ID Usually 01 Transaction ID Usually 02 Protocol ID Usually 03 Protocol ID Usually 04 Total Data Length 05 Total Data Length 26 Slave Address MLAN Address7 Function Code 15 or 16 Top bit set on error9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!