Hitachi SJ2002 Series Instruction Manual page 249

Hide thumbs Also See for SJ2002 Series:
Table of Contents

Advertisement

• When a read coil is outside the defined coils, the final coil data to be transmitted
contains "0"as the status of the coil outside the range.
• When the Read Coil Status command cannot be executed normally, see the exception
response.
Read Holding Register [03h]:
This function reads the contents of the specified number of consecutive holding registers
(of specified register addresses). An example follows below.
• Reading previous three trip factors from an inverter having a slave address "5"
• This example assumes the previous three trip factors are as follows:
SJ200
Command
2
Coil Number
Trip factor
Over-voltage (E07)
Query:
No.
Field Name
1
Slave address *1
2
Function code
3
Register start number
(high order)
4
Register start number
(low order)
5
Number of holding
registers (high order)
6
Number of holding
registers (low order)
7
CRC-16 (high order)
8
CRC-16 (low order)
Note 1:
Broadcasting is disabled.
D081 (N)
D082 (N-1)
0019h
Under-voltage (E09)
Response:
Example
No.
(Hex)
05
1
03
2
00
3
4
19
5
00
6
03
7
D5
88
8
9
10
11
Note 2:
SJ200
Inverter
2
D083 (N-2)
001Ah
0018h
No trip
Field Name
Slave address
Function code
Data size (in bytes) *2
Register start number
(high order)
Register start number
(low order)
Register start number + 1
(high order)
Register start number +1
(low order)
Register start number + 2
(high order)
Register start number +2
(low order)
CRC-16 (high order)
CRC-16 (low order)
Data is transferred by the
specified number of data bytes
(data size). In this case, 6 bytes
are used to return the content
of three holding registers.
B–11
Example
(Hex)
05
03
06
00
07
00
09
00
FF
36
37

Advertisement

Table of Contents
loading

Table of Contents