Hitachi WJ200-001S Instruction Manual page 580

Wj200 series single/three-phase inputs 200v/400v class
Hide thumbs Also See for WJ200-001S:
Table of Contents

Advertisement

Example 1-3: When writing 100Hz as 16-bit data to slave one inverter with Special Endian. (The holding
register is Base frequency, the parameter is A003, the register No = 1203h. Since data resolution of Base
frequency is 0.1Hz, 1000d need to be written, which are 03E8h.):
Query:
No
1
Slave address
2
Function code
3
Register start address (high byte)
4
Register start address (low byte)
5
Change data (high byte)
6
Change data (low byte)
7
CRC-16 (high byte)
8
CRC-16 (low byte)
Response:
No
1
Slave address
2
Function code
3
Register start address (high byte)
4
Register start address (low byte)
5
Change data (high byte)
6
Change data (low byte)
7
CRC-16 (high byte)
8
CRC-16 (low byte)
Notice the sixth and seventh data in the Query and its Response above.
Write data (Change data) are subject to the Endian function.
The arrangements of the write data (Change data) is kept in the write data (Change data) of the Response.
(As for the data arrangements of Special Endian, please refer to "[2] How data are arranged by each
endian.")
Note) Since Special Endian works in the unit of two bytes, no change is observed for these 16-bit data. (The
data arrangements of the example above are the same as the Example 1-1.)
As a result, the data arrangements above using 16-bit data are the same as that of Big Endian.
To explain how Special Endian really works, Example 1-4 shows how arrangements of Big Endian
will be when 32-bit data is involved.
Field Name
Field Name
Example
(Hex)
01
06
Register address value = Register
12
Number - 1
02
03
Subject to Endian function :
Write Data : 0 3E8h
E8
2D
CC
Example
(Hex)
01
06
12
Register address value = Register
02
Number - 1
03
Subject to Endian function :
E8
Write Data : 0 3E8h
2D
CC
Ver.3− − − − 71

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents