Function Code 05: : : : Write Single Coil (0Xxxx) - ICP DAS USA LinPAC-8000 User Manual

Table of Contents

Advertisement

Modbus RTU/TCP Server User Manual for LinPAC / LinCon
[*] I-8017/I-87017 supports 5 range modes for option, you can specify following type
code to interpret your response data.
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
Device Net ID
ID
[**] 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
Device Net ID
ID
[*] 0xFF to trun ON the coil, 0x00 to trun OFF the coil.
Response PDU
Byte 0
Device Net ID
ID
Ver : 1.0
(2009.04)
0: depend on the current setting of I/O module.
1: +/- 10.0V,
2: +/- 5.0V,
3: +/- 2.5V,
4: +/- 1.25V,
5: +/- 20mA.
Byte 1
Function code
04
Byte 1
Function code
05
Slot Index (1~8)
Byte 1
Function code
05
Slot Index (1~8)
Byte 2
Byte count
Response data length [**]
Byte 2
Byte 3
Address Hi
Address Lo
DO Address
Byte 2
Byte 3
Address Hi
Address Lo
DO Address
11
Byte 3 ~ (Byte Count + 2)
Response AI values
two bytes / pre AI register
Byte 4
Byte 5
Set value Hi
Set value Lo
FF/00 [*]
00
Byte 4
Byte 5
eched value Hi
eched value Lo
FF/00
00
L2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linpac-8x81Lincon-8000

Table of Contents