Omron RX2 Series User Manual page 604

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

Advertisement

9 Communications Functions
Write to Coil [05 hex]
Writes the ON/OFF status to a single coil. The coil status changes as shown in the table below.
Data
Written data (MSB)
Written data (LSB)
Example
To issue the RUN command to the inverter with slave address 10.
To operate the inverter, you need to set AA111 to 03. Write the RUN command to the coil number 0001.
Query
No.
1
Slave address
2
Function code
3
Coil start number (MSB)
4
Coil start number (LSB)
5
Written data (MSB)
6
Written data (LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
Response
No.
1
Slave address
2
Function code
3
Coil start number (MSB)
4
Coil start number (LSB)
5
Written data (MSB)
6
Written data (LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
*1. During a broadcast, no response will be sent back.
*2. Note that the coil start number is 0000, which is 1 less than the coil number 0001.
If the Write to Coil function is not executed normally, refer to Exception Response on page 9-18.
9 - 12
OFF to ON
FF hex
00 hex
Field name
Example [hex]
0A
*1
05
00
*2
00
*2
FF
00
8D
41
Field name
Example [hex]
0A
05
00
00
FF
00
8D
41
Coil status
ON to OFF
00 hex
00 hex
(Coil address) = (Coil number) – 1
OFF to ON: FF00 hex
High-function General-purpose Inverter RX2 Series User's Manual
Remarks

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents