30
4 MESSAGES OF SERIAL COMMUNICATION MODULE
4.2 Message Formats of Each Protocol
Format 2
Message format
■Request message
■Response message (Normal completion: Response data)
■Response message (Normal completion: No response data)
■Response message (Abnormal completion)
Setting data
Set the following items.
Item Description Reference
Control code
(ENQ, STX, ACK, NAK, ETX)
A code is defined for control. Page 34 Control code
Block number This can set arbitrarily in the range of '00H' to 'FFH'.
It is used for data defragmentation.
Page 36 Block number
Frame ID No. Specify the frame to be used. Page 36 Frame ID No.
Access route Specify the access route. Page 45 ACCESS ROUTE
SETTINGS
Request data Set the command that indicates the request content. Refer to "Request
data" rows of each command.
Page 62 COMMANDS AND
FUNCTIONS
Response data Store the read data for the command. Refer to "Response data" rows of
each command.
Sum check code The value of the lower one byte (8 bits) of the additional result regarding
the data in the sum check target range as a binary data.
Page 36 Sum check code
Error code Error code indicates the content of occurred error. Page 38 Error code
ENQ
05
H
Control code
Block No. Frame ID No. Access route Request data Sum check code
Sum check range
STX
02
H
ETX
03
H
Control code
Control code
Block No. Frame ID No. Access route Response data Sum check code
Sum check range
ACX
06
H
Control code
Block No. Frame ID No. Access route
NAK
15
H
Control codeControl code
Block No.Block No. Frame ID No.Frame ID No. Access routeAccess route Error codeError code