4
MODBUS(R) STANDARD FUNCTIONS
4.2 Frame Specifications
4
- 10
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)
4.2 Frame Specifications
The following shows the frame specifications for the MODBUS protocol.
* 1 The error check method differs depending on the frame mode.(
Remark
Refer to the following for the data size of each area.
Figure 4.1 Frame specifications
Table4.4 Frame specifications
Area name
Description
Address field
[When master sends a request message to slave]
0: Sends a request message to all the slaves. (Broadcast)
1 to 247: Stores the target slave station No.
[When slave sends a response message to master]
The host station number is stored when sending a response message.
Function code
[When master sends a request message to slave]
The master specifies the number of the action to be taken by the slave.
[When slave sends a response message to master]
A requested function code is stored in the case of normal completion.
The most significant bit turns ON in the case of error completion.
Data
[When master sends a request message to slave]
The information needed to execute the action specified by a function code is stored.
[When slave sends a response message to master]
The execution result of the action specified by a function code is stored.
An exception code is stored when failed.
Error check
*1
The master adds a check code in a request message and transmits the request message.
The slave, which received the request message, recalculates the check code in the request
message and determines whether the messageis correct or not.
The message is discarded if it has an error.
Data
R
Address field
Function code
Error check
MODBUS Protocol Data Section
Summary of Contents for QJ71MB91
Page 1: ......
Page 2: ......
Page 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Page 371: ......
Page 372: ......