Example 5-1: Read out with Big Endian
Response:
No
Field Name
1
Slave address
2
Function code
3
Data size (in bytes)
4
Register data 1 (high byte)
5
Register data 1 (low byte)
6
Register data 2 (high byte)
7
Register data 2 (low byte)
8
Register data 3 (high byte)
9
Register data 3 (low byte)
10
CRC-16 (high byte)
11
CRC-16 (low byte)
Example 5-2: Read out with Little Endian
Response:
No
Field Name
1
Slave address
2
Function code
3
Data size (in bytes)
4
Register data 1 (high byte)
5
Register data 1 (low byte)
6
Register data 2 (high byte)
7
Register data 2 (low byte)
8
Register data 3 (high byte)
9
Register data 3 (low byte)
10
CRC-16 (high byte)
11
CRC-16 (low byte)
Example
(Hex)
01
03
06
00
F003 Read data :
04
000493E0h
93
E0
00
F004 Read data:
01
0001h
3D
C7
Example
(Hex)
01
03
06
E0
93
F003 Read data :
04
000493E0h
00
F004 Read data:
01
0001h
00
B3
A8
Ver.3− − − − 83
The order of
parameters is not
affected by the
Endian setting.
The order of
parameters is
not affected by
the Endian
setting.