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

Hide thumbs Also See for HX-RIO3 Series:
Table of Contents

Advertisement

49
Sub-function 0x0064(100) Return Slave MODBUS, Extension module Status
The response data field returns the status of MODBUS and Extension module addressed to the remote
device.
This status values are identical with status 1word of input process image. Refer to 5.3.1.
Sub-function
0x0064(100)
A.3.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
Start of Frame
Slave Address
Function Code
Starting Address Hi
Starting Address Lo
Quantity of Outputs Hi
Quantity of Outputs Lo
Byte Count
Output Value #0
Output Value #1
Error Check (CRC/LRC)
End of Frame
Response
Field name
Start of Frame
Slave Address
Function Code
Starting Address Hi
Starting Address Lo
Quantity of Outputs Hi
Quantity of Outputs Lo
Error Check (CRC/LRC)
End of Frame
In case of address 0x1015~0x1000 output bit value: 00000000_00000000 changes to 00000001_01010101.
-
Data Field (Request)
0x0000
Example
RTU
-
t1-t2-t3
0x07
0x07
0x0F
0x0F
0x10
0x10
0x00
0x00
0x00
0x00
0x0A
0x0A
0x02
0x02
0x55
0x55
0x01
0x01
-
0x21, 0XC9
-
t1-t2-t3
Example
RTU
-
t1-t2-t3
0x07
0x07
0x0F
0x0F
0x10
0x10
0x00
0x00
0x00
0x00
0x0A
0x0A
-
0xD1, 0x6A
-
t1-t2-t3
Data Field (Response)
MODBUS,
Extension module Status
HX-RIO3 Series
Description
Same as status 1word

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rio3-cp3mbt

Table of Contents