45
HX-RIO3 Series
A.3.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
RTU
Start of Frame
-
t1-t2-t3
Slave Address
0x07
0x07
Function Code
0x05
0x05
Starting Address Hi
0x10
0x10
Starting Address Lo
0x01
0x01
Quantity of Outputs Hi
0xFF
0xFF
Quantity of Outputs Lo
0x00
0x00
Error Check (CRC/LRC) -
0xD9, 0x5C
End of Frame
-
t1-t2-t3
•
Response
Field name
Example
RTU
Start of Frame
-
t1-t2-t3
Slave Address
0x07
0x07
Function Code
0x05
0x05
Output Address Hi
0x10
0x10
Output Address Lo
0x01
0x01
Output Value Hi
0xFF
0xFF
Output Value Lo
0x00
0x00
Error Check (CRC/LRC) -
0xD9, 0x5C
End of Frame
-
t1-t2-t3
-
Output bit of address 0x1001 turns ON.
Содержание HX-RIO3 Series
Страница 1: ...1 HX RIO3 Series Version 1 02 MODBUS Programmable I O RIO3 CP3MBT User Manual ...
Страница 2: ...2 HX RIO3 Series DOCUMENT CHANGE SUMMARY REV PAGE REMARKS DATE EDITOR 1 02 All new Jan 21 Faber ...
Страница 36: ...36 HX RIO3 Series 4 Search the file to download using a search button 5 Click a Upload Button ...
Страница 37: ...37 HX RIO3 Series 6 If it finish you can see a below message File Upload Done And click a Reset Adapter button ...