32
4 MESSAGES OF SERIAL COMMUNICATION MODULE
4.2 Message Formats of Each Protocol
Format 4
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, CR, LF)
A code is defined for control. Page 34 Control code
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
CR
0DH
LF
0AH
ENQ
05H
Control code
Control code
Frame ID No. Access route Request data Sum check code
Sum check range
STX
02
H
ETX
03
H
CR
0D
H
LF
0A
H
Control code Control code
Control code
Sum check code
Frame ID No. Access route Response data
Sum check range
ACK
06
H
CR
0D
H
LF
0A
H
Control code
Control code
Frame ID No. Access route
15H 0DH 0AH
NAK CR LF
Control code
Control code
Frame ID No. Access route Error code