34
FnIO MODBUS Adapter NA-9189
FnIO S-Series
Copyright(C) CREVIS Co.,Ltd Support +82-31-273-6453 URL : www.crevis.co.kr
6.2.5.
5 (0x05) Write Single Coil
This function code is used to write a single output to either ON or OFF in a remote device. The requested ON/OFF
state is specified by a constant in the request data field. A value of FF 00 hex requests the output to be ON. A value
of 00 00 requests it to be OFF. All other values are illegal and will not affect the output.
Request
Field name
Example
Function Code
0x05
Starting Address Hi
0x10
Starting Address Lo
0x01
Quantity of Outputs Hi
0xFF
Quantity of Outputs Lo
0x00
Response
Field name
Example
Function Code
0x05
Output Address Hi
0x10
Output Address Lo
0x01
Output Value Hi
0xFF
Output Value Lo
0x00
-
Output bit of address 0x1001 turns ON.