Omron RX2 Series User Manual page 607

High-function general-purpose inverter
Hide thumbs Also See for RX2 Series:
Table of Contents

Advertisement

Write to Multiple Coils [0F hex]
Rewrites the ON/OFF status to consecutive multiple coils.
Precautions for Correct Use
Precautions for Correct Use
The byte order was changed when data over 1 byte is processed with writing function of sev-
eral coils via Modbus. In addition, due to the specifications of Modbus communication, the
inverter cannot process any odd number of bytes.
If the data to be written has an odd number of bytes, add 1 byte of padding data.
Send data in the data layout for an even number of bytes as shown below, according to the
number of data bytes to be written.
• Data sent as 1-byte data (1 to 8 coils)
Coil 8 to Coil 1
• Data sent as 2-byte data (9 to 16 coils)
Coil 8 to Coil 1
• Data sent as 3-byte data (17 to 24 coils)
Coil 8 to Coil 1
• Data sent as 4-byte data (25 to 32 coils)
Coil 8 to Coil 1
Note, however, that this Inverter does not send data of 2 bytes or more because it can write to
coil numbers 0001 hex to 000F hex.
Example
Change Inverter's input terminals 1 to 6 for slave address 5.
Change input terminals into statuses shown below table.
Item
Multi-function input terminal
Coil number
Terminal status
High-function General-purpose Inverter RX2 Series User's Manual
(Padding data)
Coil 16 to Coil 9
Coil 16 to Coil 9
Coil 16 to Coil 9
1
2
3
0005 hex
0006 hex
0007 hex
ON
ON
ON
9 Communications Functions
Coil 24 to Coil 17
(Padding data)
Coil 24 to Coil 17
Coil 32 to Coil 25
Data
4
5
0008 hex
0009 hex
OFF
ON
9
6
000A hex
OFF
9 - 15

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents