Writing Into Multiple Coils; Writing Into Multiple Holding Registers - Omron JX User Manual

200 v class three-phase input 0.2 to 7.5 kw; 200 v class single-phase input 0.2 to 2.2 kw; 400 v class three-phase input 0.4 to 7.5 kw
Table of Contents

Advertisement

4-2 Function Mode
<Writing Into Multiple Coils [0Fh]>
Rewrites consecutive multiple coils.
(Example)
Change the status of multi-function input terminals [1] to [5] of the Inverter with the slave address
"8".
Refer to the following table for the status of multi-function input terminals [1] to [5].
Multi-function
input terminals
Terminal status
4
Query
No.
Field name
1
Slave address
2
Function code
Coil start address
3
(MSB)
Coil start address
4
(LSB)
5
Number of coils (MSB)
6
Number of coils (LSB)
7
Number of bytes
8
Change data (MSB)
9
Change data (LSB)
10
CRC-16 (MSB)
11
CRC-16 (LSB)
*1.There is no response for broadcasting.
*2.Since the change data comprises both MSB and LSB as a set, make the byte to be an even num-
ber by adding 1, even if the byte which actually needs to be changed is an odd number.
*3.Note that the coil start address is "6", which is smaller by 1 than the coil number "7". The coil
addresses for coil numbers from "1 to 31" are "0 to 30".
Refer to "<Exception Response>" (4-75) if writing into multiple coils cannot be performed normally.
<Writing into multiple holding registers [10h]>
Writes into consecutive multiple holding registers.
(Example)
Set "3000 seconds" to acceleration time 1 (F002) for the Inverter with the slave address "8".
The data resolution of the holding register "1024h, 1015h" of acceleration time 1 (F002) is 0.01
seconds. To set 3000 seconds, set change data to "300000 (000493E0h)".
4-74
[1]
[2]
Coil No.
7
8
ON
ON
Example
(HEX)
*1
08
0F
00
*3
06
*3
00
05
*2
02
17
00
83
EA
[3]
[4]
[5]
9
10
11
ON
OFF
ON
Response
No.
1
Slave address
2
Function code
Coil start address
3
Coil start address
4
5
Number of coils (MSB)
6
Number of coils (LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
Example
Field name
(HEX)
08
0F
00
*3
(MSB)
06
*3
(LSB)
00
05
75
50

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents