0X0F) Write Multiple Coils - Hitachi HX-RIO3 Series User Manual

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

Advertisement

28

7.1.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
Function Code
Starting Address Hi
Starting Address Lo
Quantity of Outputs Hi
Quantity of Outputs Lo
Byte Count
Output Value#0
Output Value#1
Response
Field name
Function Code
Starting Address Hi
Starting Address Lo
Quantity of Outputs Hi
Quantity of Outputs Lo
In case of address 0x1015~0x1000 output bit value: 00000000_00000000 changes to 00000001_01010101.
Example
0x0F
0x10
0x00
0x00
0x0A
0x02
0x55
0x01
Example
0x0F
0x10
0x00
0x00
0x0A
HX-RIO3 Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rio3-cp2mbtl

Table of Contents