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

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

Advertisement

5.2

Message Format

This section explains the message format and setting data for 4E frame and 3E frames.
For the message format for 1E frame, refer to the following section.
Page 391 Message Format
Message format
■Request message
Header
Subheader
■Response message (Normal completion: Response data)
Header
Subheader
■Response message (Normal completion: No response data)
Header
Subheader
■Response message (Abnormal completion)
Header
Subheader
Setting data
Set the following items.
Item
Description
Header
A header of Ethernet. Normally, it is added automatically.
Subheader
The value to be set according to type of message is defined.
• 4E frame: Set a serial No.
• 3E frame: Fixed value (Request message '5000', Response message 'D000')
Access route
Specify the access route.
Request data
Specify the data length from the monitoring timer to the request data.
length
Monitoring timer
Set the wait time up to the completion of reading and writing processing.
Request data
For the request data, set the command that indicates the request content. Refer to "Request
data" rows of each command.
Response data
The data length from an end code to a response data (at normal completion) or an error
length
information (at abnormal completion) is stored.
Response data
For the response data, store the read data for the command at normal completion. Refer to
"Response data" rows of each command.
End code
The command processing result is stored.
Error information
Store the information of a station on which an error occurred and information of a command.
Access route
Request data length
Response
Access route
data length
Access route
Response data length
Specify the number of bytes of the end code.
Response
Access route
data length
Monitoring timer
Request data
Specify the number of bytes
in this range.
End code
Response data
Specify the number of bytes
in this range.
End code
End code
Error information
Specify the number of bytes
in this range.
Reference
Page 42 Header
Page 42 Subheader
Page 45 ACCESS ROUTE SETTINGS
Page 43 Request data length and
response data length
Page 43 Monitoring timer
Page 62 COMMANDS AND
FUNCTIONS
Page 43 Request data length and
response data length
Page 62 COMMANDS AND
FUNCTIONS
Page 44 End code
Page 44 Error information
5 MESSAGES OF ETHERNET INTERFACE MODULE
41
5.2 Message Format
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents