Modbus RTU
/
TCP Server User Manual for LinPAC / LinCon
Ver : 1.0 (
2009.04)
11
L2
[*] I-8017
/
I-87017 supports 5 range modes for option, you can specify following type
code to interpret your response data.
0: depend on the current setting of I/O module.
1: +/- 10.0V,
2: +/- 5.0V,
3: +/- 2.5V,
4: +/- 1.25V,
5: +/- 20mA.
You can read current range setting by using function code 108 and sub function code
7. For more detail, please refer to the Function Code 108 session.
Response PDU
Byte 0
Byte 1
Byte 2
Byte 3
~
(Byte Count + 2)
Device Net ID
Function code
Byte count
Response AI values
ID
04
Response data length [**]
two bytes / pre AI register
[**] AI value is presented in a WORD signature = 2 Bytes.
2-5. Function Code 05
:
:
:
:
Write Single Coil (0xxxx)
This function code is used to write the ON/OFF status for single DO point.
Request PDU
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Device Net ID
Function code
Address Hi
Address Lo
Set value Hi
Set value Lo
ID
05
Slot Index (1~8)
DO Address
FF
/
00 [*]
00
[*] 0xFF to trun ON the coil, 0x00 to trun OFF the coil.
Response PDU
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Device Net ID
Function code
Address Hi
Address Lo
eched value Hi
eched value Lo
ID
05
Slot Index (1~8)
DO Address
FF
/
00
00