Format 5 - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

Format 5

Message format
■Request message
Control code
Number of
DLE
STX
data bytes
10
02
H
H
■Response message (Normal completion: Response data)
Control code
Number of
DLE
STX
data bytes
10
02
H
H
■Response message (Normal completion: No response data)
Control code
Number of
DLE
STX
data bytes
10
02
H
H
■Response message (Abnormal completion)
Control code
Number of
DLE
STX
data bytes
10
02
H
H
Setting data
Set the following items.
Item
Description
Control code
A code is defined for control.
(DLE, STX, ETX)
Number of data bytes
A number of bytes from a frame ID No. to control code (DLE, ETX).
Frame ID No.
Specify the frame to be used.
Access route
Specify the access route.
Request data
Set the command that indicates the request content. Refer to "Request data" rows of each
command.
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.
Response ID code
This indicates a response message. The 2-byte numerical value, 'FFFFH' is stored.
Normal completion code
This indicates the processing is completed normally. The 2-byte value, '0000H' is stored.
Error code
Error code indicates the content of occurred error.
Frame
Access route
Request
ID No.
data
F8
H
Specify the number of bytes in this range.
Sum check range
Frame
Response
Access route
ID No.
ID code
F8
FFFF
H
H
Specify the number of bytes in this range.
Sum check range
Frame
Response
Access route
ID No.
ID code
F8
FFFF
H
H
Specify the number of bytes in this range.
Sum check range
Frame
Response
Access route
ID No.
ID code
F8
FFFF
H
H
Specify the number of bytes in this range.
Sum check range
Control code
Sum check code
DLE
ETX
10
03
H
H
Normal
Control code
Response
completion
code
DLE
data
0000
10
H
H
Normal
Control code
completion
code
DLE
ETX
0000
10
03
H
H
H
Control code
Error
DLE
ETX
codes
10
03
H
H
Reference
Page 34 Control code
Page 35 Number of data bytes
Page 36 Frame ID No.
Page 45 ACCESS ROUTE
SETTINGS
Page 62 COMMANDS AND
FUNCTIONS
Page 36 Sum check code
Page 38 Error code
4 MESSAGES OF SERIAL COMMUNICATION MODULE
4.2 Message Formats of Each Protocol
Sum check code
ETX
03
H
Sum check code
Sum check code
33
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents