![background image](http://html1.mh-extra.com/html/omron/cs-cj1w-etn21/cs-cj1w-etn21_quick-start-manual_742525011.webp)
MANUEL STA46
Modbus TCP
JP Viskovic 30/08/2005 OEE-F
11
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
0x0000-0x7FFF
Register Value
2 Bytes
0x0000-0xFFFF
Example: write &h3AC5 to DM 2000.
Request
Response
Data
Data
Function Code
0x06
Function Code
0x06
Register Address(H)
0x07
Register Address(H)
0x07
Register Address(L)
0xD0
Register Address(L)
0xD0
Register Value(H)
0x3A
Register
Value(H)
0x3A
Register Value(L)
0xC5
Register
Value(L)
0xC5
DM 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2000
3
A
C
5
2001
2002