EasyManua.ls Logo

Omron 3G3RX - Page 291

Omron 3G3RX
452 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4-172
4-4 Communication Function
4
Functions
<Writing Into Multiple Coils [0Fh]>
Rewrites consecutive multiple coils.
(Example)
Change the status of multi-function input terminals 1 to 6 on the Inverter with slave address 5.
Set the multi-function input terminals as shown in the following table.
If writing into multiple coils cannot be performed normally, refer to the "Exception Response" section.
Multi-function
input terminals
1 2 3 4 5 6
Coil No. 7 8 9 101112
Terminal status ON ON ON OFF ON OFF
Query Response
No. Field name
Example
(HEX)
No. Field name
Example
(HEX)
1 Slave address
*1
05 1 Slave address 05
2 Function code 0F 2 Function code 0F
3 Coil start number (MSB)
*2
00 3 Coil start number (MSB) 00
4 Coil start number (LSB)
*2
06 4 Coil start number (LSB) 06
5 Number of coils (MSB) 00 5 Number of coils (MSB) 00
6 Number of coils (LSB) 06 6 Number of coils (LSB) 06
7 Number of bytes
*3
02 7 CRC-16 (MSB) 34
8 Change data (MSB)
*3
17 8 CRC-16 (LSB) 4C
9 Change data (LSB)
*3
00
10 CRC-16 (MSB) DB
11 CRC-16 (LSB) 3E
*1. There is no response for broadcasting.
*2. Note that the start number is reduced by 1.
*3. Since the change data comprises of both MSB and LSB as a set, make the byte to be an even
number by adding 1, even if the byte that actually needs to be changed is an odd number.

Table of Contents

Other manuals for Omron 3G3RX

Related product manuals