4
MODBUS(R) STANDARD FUNCTIONS
4.2 Frame Specifications
4.2.1 Frame mode
4
- 14
1
O
VER
VIE
W
2
SYS
T
E
M
CO
NF
IG
U
R
A
T
IO
N
3
S
P
E
CIFICA
TI
ONS
4
MODB
US
(R)
S
TAN
DAR
D
FUN
C
TIO
N
S
5
FUNC
TI
ON
6
PR
E
-O
PER
A
T
ION
AL
P
R
OCED
URE
S A
ND
SE
TTINGS
7
P
A
RA
MET
E
R S
E
TTI
N
G
8
UTIL
ITY P
A
CK
AGE
(G
X Co
nf
ig
u
rat
o
r-M
B)
The following are calculation examples in the case where function code 01
H
is
sent to station No. 2.
(2) Frame mode setting
The frame mode is set in the intelligent function module switch setting.
(
Table4.6 LRC calculation procedure (when sending a request message)
LRC in request message transmission
Station No. (address field)
Function code
Head coil number (H)
Head coil number(L)
Read points (H)
Read points (L)
02
01
00
00
00
08
0000
0000
0000
0000
0000
+0000
0010
0001
0000
0000
0000
1000
Addition result
Bit reversal 1
+1
2's complement
0B
F4
F5
0000
1111
1111
1011
0100
1
0101
LRC (Error check)
F5
F
5
Table4.7 LRC calculation procedure (when receiving a response message)
LRC in reception of a response message
Station No. (address field)
Function code
Head coil number(H)
Head coil number(L)
Read points (H)
Read points (L)
LRC (Error check)
02
01
00
00
00
08
F5
0000
0000
0000
0000
0000
0000
+1111
0010
0001
0000
0000
0000
1000
0101
Addition result
00
0000
0000
Figure 4.5 Frame for LRC calculation
Head input number
Read points
Start
:
Address field
(02
H
)
Function code
(01
H
)
CRC
(Error check)
(F5
H
)
3A
H
30
H
32
H
30
H
31
H
(00
H)
(00
H)
(00
H)
(08
H)
30
H
30
H
30
H
30
H
30
H
30
H
30
H
38
H
46
H
35
H
0D
H
"CR"
"LF"
0A
H
Summary of Contents for QJ71MB91
Page 1: ......
Page 2: ......
Page 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Page 371: ......
Page 372: ......