Modbus RTU
/
TCP Server User Manual for LinPAC / LinCon
Ver : 1.0 (
2009.04)
13
L2
2-8. Function Code 16
:
:
:
:
Write Multiple Registers (4xxxx)
This function code is used to set a sequence of AOs for I-8024 and I-87024 modules.
Request PDU
Byte 0
Byte1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7~
Devic ID
FC
Address Hi
Address Lo
AO count Hi
AO count Lo
Data Count
AO value
ID
0x10
Slot Index
AI Address
Contiguous AOs for query
[*]
[**]
[*] Data Count = AO Count * 2
[**] AO value is presented in a WORD signature = 2 Bytes.
Response PDU
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Device Net ID
Function code
Address Hi
Address Lo
Contiguous
AO Count
ID
0x10
Slot Index (1~8)
AO Address
Hi
Lo
2-9. Function Code 108
:
:
:
:
Device Configuration
This function code is definded by ICPDAS.
2-9.1 Sub Function Code 07 : Read range code of AI/O module
Request PDU
Byte 0
Byte1
Byte 2
Byte 3
Byte 4
Devic Net ID
Function Code
Sub Function Code
Address Hi
Address Lo
ID
0x6C
0x07
Slot Index (1~8)
I/O Address
Response PDU
Byte 0
Byte1
Byte 2
Byte 3
Byte 4
Byte 5
Devic ID
Func. Code
Sub Func. Code
Address Hi
Address Lo
Range code
ID
0x6C
0x07
Slot Index
I/O Address
[*]
[*] Analog I/O modules defined various range code (type code) for different
purposes. More detail definition, please refer to following website :