Ver.3
−
−
−
−
71
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
Field Name
Example
(Hex)
1
Slave address
01
2
Function code
06
3
Register start address (high byte)
12
4
Register start address (low byte)
02
5
Change data (high byte)
03
6
Change data (low byte)
E8
7
CRC-16 (high byte)
2D
8
CRC-16 (low byte)
CC
Response:
No
Field Name
Example
(Hex)
1
Slave address
01
2
Function code
06
3
Register start address (high byte)
12
4
Register start address (low byte)
02
5
Change data (high byte)
03
6
Change data (low byte)
E8
7
CRC-16 (high byte)
2D
8
CRC-16 (low byte)
CC
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.
Register address value = Register
Number - 1
Subject to Endian function
:
Write Data
:
03E8h
Register address value = Register
Number - 1
Subject to Endian function
:
Write Data
:
03E8h
Summary of Contents for WJ200-001L
Page 2: ......
Page 3: ......
Page 49: ......
Page 299: ......
Page 300: ...5 1 Inverter System Accessories In This Chapter page Introduction 2 Component Description 3 5 ...
Page 305: ......
Page 328: ...A 1 Glossary and Bibliography In This Appendix page Glossary 2 Bibliography 8 A ...
Page 387: ......
Page 509: ......
Page 665: ......
Page 673: ......