Omron CS1W-ETN21 Quick Start Manual
Omron CS1W-ETN21 Quick Start Manual

Omron CS1W-ETN21 Quick Start Manual

Sysmac cs/cj serie modbus tcp
Hide thumbs Also See for CS1W-ETN21:

Advertisement

MANUEL STA46
SYSMAC
CS/CJ Serie
CS1W-ETN21
CJ1W-ETN21
MODBUS TCP
Quick Start Manual
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CS1W-ETN21 and is the answer not in the manual?

Questions and answers

Summary of Contents for Omron CS1W-ETN21

  • 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.
  • Page 3: Table Of Contents

    MANUEL STA46 Modbus TCP Table of content SPECIFICATIONS............................. 4 ..........................4 UPPORTED COMMAND LIST ..............................4 EMORY MAP 1-2-0 Used by ModbusTCP PLC program ....................... 4 1-2-1 PLC area accessible by Modbus TCP request..................4 ......................... 5 ODBUS FRAME ORMAT 1-3-0 MBAP Header description ........................
  • Page 4: Specifications

    MANUEL STA46 Modbus TCP 1. Specifications Supported command list Code Function Name in MODBUS (Hex) 0x01 I/O memory area (CIO) Read Multiple Coils Read Coils 0x02 I/O memory area (CIO) Read Multiple Coils Read Discrete Inputs 0x03 I/O memory area (DM) Read Multiple Registers Read Holding Registers 0x04 I/O memory area (CIO) Read Multiple Registers...
  • Page 5: Modbus Tcp Frame Format

    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: •...
  • Page 6: Function Code

    MANUEL STA46 Modbus TCP Function Code 1-4-0 I/O memory area (CIO) Read Multiple Coils [Function] Reads coils in I/O memory area. [Request] Length Data 0x01 Function Code 1 Byte Starting Address 2 Bytes 0x0000-0xFFFF Quantity of Coils 2 Bytes 1-2000(0x7D0) [Response] Length Data...
  • Page 7: I/O Memory Area (Cio) Read Multiple Coils

    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...
  • Page 8: I/O Memory Area (Dm) Read Multiple Registers

    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.
  • Page 9: I/O Memory Area (Cio) Read Multiple Registers

    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...
  • Page 10: I/O Memory Area Write Single Coil

    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...
  • Page 11: I/O Memory Area (Dm) Write Single Register

    MANUEL STA46 Modbus TCP 1-4-5 I/O memory area (DM) Write Single Register [Function] Writes single register. [Request] Length Data Function Code 1 Byte 0x06 Register Address 2 Bytes 0x0000-0x7FFF Register Value 2 Bytes 0x0000-0xFFFF [Response] Length Data Function Code 1 Byte 0x06 Register Address 2 Bytes...
  • Page 12: Echo Back Test

    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...
  • Page 13: I/O Memory Area (Dm) Write Multiple Registers

    MANUEL STA46 Modbus TCP 1-4-7 I/O memory area (DM) Write Multiple Registers [Function] Writes registers. [Request] Length Data Function Code 1 Byte 0x10 Starting Address 2 Bytes 0x0000-0x17FF Quantity of Registers 2 Bytes 1-123(0x7B) Byte Count 1 Byte 2 x N(*) Registers Value N x 2 Bytes value...
  • Page 14: Error Response

    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...

This manual is also suitable for:

Cj1w-etn21

Table of Contents