EasyManua.ls Logo

Omron CS1W-ETN21 - IO memory area (DM) Write Multiple Registers

Omron CS1W-ETN21
14 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MANUEL STA46 Modbus TCP
JP Viskovic 30/08/2005 OEE-F 13
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
(*)N = Quantity of Registers to write.
[Response]
Length Data
Function Code 1 Byte
0x10
Starting Address 2 Bytes 0x0000-0x17FF
Quantity of Registers 2 Bytes 1-123(0x7B)
Example: write 2 words into DM1000-1001.
Request Response
Data
Data
Function Code 0x10 Function Code 0x10
Starting Address(H) 0x03 Starting Address(H) 0x03
Starting Address(L) 0xE8 Starting Address(L) 0xE8
Quantity of Registers(H) 0x00 Quantity of Registers(H) 0x00
Quantity of Registers(L) 0x02 Quantity of Registers(L) 0x02
Byte Count 0x04
Registers Value(H) 0x3A
Registers Value(L) 0xC5
Registers Value(H) 0x97
Registers Value(L) 0x13
DM 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1000
3 A C 5
1001 9 7 1 3

Related product manuals