38
FnIO MODBUS Adapter NA-9189
FnIO S-Series
Copyright(C) CREVIS Co.,Ltd Support +82-31-273-6453 URL : www.crevis.co.kr
Sub-function 0x0066(102) Change Slave IO Output Status
The sub-function with data fields is to clear watchdog counter and change IO output status. This may be used to simulate
clear output and fault output
.
Sub-function
Data Field (Request)
Data Field (Response)
Description
0x0066(102)
0x0000
Echo Request Data
Ready output,
Automatically turns
Normal output
0x0066(102)
0x0001, 0x0002, 0x0003
Echo Request Data
Clear output
0x0066(102)
0x0004
Echo Request Data
Normal output
0x0066(102)
0x0005, 0x0006, 0x0007
Echo Request Data
Fault output
6.2.8.
15 (0x0F) Write Multiple Coils
This function code is used to force each coil in a sequence of coils to either ON or OFF in a remote device. The
Request PDU specifies the coil references to be forced. Coils are addressed starting at zero. A logical '1' in a bit
position of the field requests the corresponding output to be ON. A logical '0' requests it to be OFF.
The normal response returns the function code, starting address, and quantity of coils forced.
Request
Field name
Example
Function Code
0x0F
Starting Address Hi
0x10
Starting Address Lo
0x00
Quantity of Outputs Hi
0x00
Quantity of Outputs Lo
0x0A
Byte Count
0x02
Output Value #0
0x55
Output Value #1
0x01
Response
Field name
Example
Function Code
0x0F
Starting Address Hi
0x10
Starting Address Lo
0x00
Quantity of Outputs Hi
0x00
Quantity of Outputs Lo
0x0A
-
In case of address 0x1015~0x1000 output bit value: 00000000_00000000 changes to 00000001_01010101.