0X05) Write Single Coil; 0X06) Write Single Register - Hitachi HX-RIO3 Series User Manual

Modbus programmable light i/o
Hide thumbs Also See for HX-RIO3 Series:
Table of Contents

Advertisement

24

7.1.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
Function Code
Output Address Hi
Output Address Lo
Output Value Hi
Output Value Lo
Response
Field name
Function Code
Output Address Hi
Output Address Lo
Output Value Hi
Output Value Lo
Output bit of address 0x1001 turns ON

7.1.6 6 (0x06) Write Single Register

This function code is used to write a single holding register in a remote device. Therefore, register numbered
1 is addressed as 0. The normal response is an echo of the request, returned after the register contents have
been written
Request
Field name
Function Code
Register Address Hi
Register Address Lo
Register Value Hi
Register Value Lo
Example
0x05
0x10
0x01
0xFF
0x00
Example
0x05
0x10
0x01
0xFF
0x00
Example
0x06
0x08
0x00
0x11
0x22
HX-RIO3 Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rio3-cp2mbtl

Table of Contents