Writing Into The Holding Register [06H]; Loopback Test - 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

<Writing into the holding register [06h]>
Writes data into the specified holding register.
(Example)
Write "50 Hz" into the Inverter with slave address "8" as multi-step speed reference 0 (A020).
The data resolution of the holding register "1029h" of multi-step speed reference 0 (A020) is 0.1 Hz.
To set 50 Hz, set the change data to "500 (01F4h)".
Query
No.
Field name
*1
1
Slave address
2
Function code
*2
Register address
3
(MSB)
*2
Register address
4
(LSB)
5
Change data (MSB)
6
Change data (LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
*1. There is no response for broadcasting.
*2. Note that the holding register start address is "1028h", which is smaller by 1 than the register
number "1029h".
Refer to "<Exception Response>" (4-75) if writing into the holding register cannot be performed nor-
mally.
<Loopback Test [08h]>
Used to check the communications between master and slave. A random value can be used for test
data.
(Example)
Loopback test to the Inverter with the slave address "1"
Query
No.
Field name
*
1
Slave address
2
Function code
3
Test sub code (MSB)
4
Test sub code (LSB)
5
Data (MSB)
6
Data (LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
* Broadcasting cannot be performed.
The test sub code corresponds only with the query data echo (00h, 00h), not any other command.
Example
(Hex)
08
06
10
28
01
F4
0D
8C
Example
(HEX)
01
08
00
00
Random
Random
CRC
CRC
4-2 Function Mode
Response
No.
Field name
1
Slave address
2
Function code
*2
Register address
3
(MSB)
*2
Register address
4
(LSB)
5
Change data (MSB)
6
Change data (LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
Response
No.
Field name
1
Slave address
2
Function code
3
Test sub code (MSB)
4
Test sub code (LSB)
5
Data
6
Data
7
CRC-16 (MSB)
8
CRC-16 (LSB)
Example
(Hex)
08
06
4
10
28
01
F4
0D
8C
Example
(HEX)
01
08
00
00
Random
Random
CRC
CRC
4-73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents