Page 1
MANUEL STA46 SYSMAC CS/CJ Serie CS1W-ETN21 CJ1W-ETN21 MODBUS TCP Quick Start Manual...
Page 2
Despite everything the care taken to the realization of this documentation, omron could not be held for person in charge for the errors or omissions and their consequences. This documentation could be modified without notice and does not present any engagement on behalf of omron.
MANUEL STA46 Modbus TCP Modbus TCP frame Format A dedicated header is used on TCP/IP to identify the MODBUS Application Data Unit. It is called the MBAP header (MODBUS Application Protocol header). This header provides some differences compared to the MODBUS RTU application data unit used on serial line: •...
MANUEL STA46 Modbus TCP 1-4-1 I/O memory area (CIO) Read Multiple Coils [Function] Reads coils in I/O memory area [Request] Length Data Function Code 1 Byte 0x02 Starting Address 2 Bytes 0x0000-0x13FF Quantity of Coils 2 Bytes 1-2000(0x7D0) [Response] Length Data 0x02 Function Code...
MANUEL STA46 Modbus TCP 1-4-2 I/O memory area (DM) Read Multiple Registers [Function] Reads registers in I/O memory area [Request] Length Data Function Code 1 Byte 0x03 Starting Address 2 Bytes 0x0000-0x7FFF(*) Quantity of Registers 2 Bytes 1-125(0x7D) (*)Useful range of Start Address depends on allocated area.
MANUEL STA46 Modbus TCP 1-4-3 I/O memory area (CIO) Read Multiple Registers [Function] Reads registers in I/O memory area [Request] Length Data Function Code 1 Byte 0x04 Starting Address 2 Bytes 0x0000-0x16A8 Quantity of Registers 2 Bytes 1-125(0x7D) [Response] Length Data 0x04 Function Code...
MANUEL STA46 Modbus TCP 1-4-4 I/O memory area Write Single Coil [Function] Writes single coil. [Request] Length Data Function Code 1 Byte 0x05 Output Address 2 Bytes 0x0000-0xFFFF Output Value 2 Bytes 0x0000(OFF) or 0xFF00(ON) [Response] Length Data Function Code 1 Byte 0x05 Output Address...
MANUEL STA46 Modbus TCP 1-4-6 Echo back test [Function] Executes echo back test. Sending data is returned. [Request] Length Data Function Code 1 Byte 0x08 Sub-function Code 2 Bytes 0x0000 Data N x 2 Bytes (*) 2 to 125.(0x0002 to 0x007D) Bytes [Response] Length Data...
MANUEL STA46 Modbus TCP Error response If the request contains error like address or quantity out of range, the PLC program will generate an exception response containing the exception code [Response] Length Data Function Code 1 Byte Function Code + 0x80 Exception Code 1 Byte 01, 02 or 03...
Need help?
Do you have a question about the CS1W-ETN21 and is the answer not in the manual?
Questions and answers