Modbus RTU
/
TCP Server User Manual for LinPAC / LinCon
Ver : 1.0 (
2009.04)
12
L2
2-6. Function Code 06
:
:
:
:
Write Single Registers (4xxxx)
This function code is used to write single AO for I-8024 and I-87024 modules.
Request PDU
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Device Net ID
Function code
Address Hi
Address Lo
Data value Hi
Data value Lo
ID
06
Slot Index (1~8)
AO Address
Single register value
Response PDU
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Device Net ID
Function code
Address Hi
Address Lo
Data value Hi
Data value Lo
ID
06
Slot Index (1~8)
AO Address
Echoed setting value
2-7. Function Code 15
:
:
:
:
Write Multiple Coils (0xxxx)
This function code is used to set ON/OFF status for sequence DOs.
Request PDU
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
~
Devic ID
FC
Addr. Hi
Addr.Lo
DO Bit Count
Byte Count
Data value
ID
0x0F
Slot no. (1~8)
DO Address
Hi
Lo
Data length
[*]
[*] Least Significant Bit (LSB) is the first DO value.
Response PDU
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Device Net ID
Function code
Address Hi
Address Lo
DO Bit Count
ID
0x0F
Slot Index (1~8)
AO Address
Hi
Lo