Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1122

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Response frame
Operand: (d1)
Device
Item
+0
Response data length
+1
End code
+2 to +
Response data
Processing details
• This instruction sends the request frame in the device specified by (s2) and later to the external device specified by the
external device IP address in the control data. When a response message is received from the external device, it is stored
in the device specified by (d1).
The following figures show the request data and the response data in normal/abnormal end.
●Request data
Header
Subheader
(s1)+3 to (s1)+5
Specified by (s1) (except some devices)
●Response data
(When completed)
Header
Subheader
(When failed)
Header
Subheader
Response data
length
(d1)+0
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
1120
8.4 SLMP Frame Send Instruction
Description
The data length from the end code to the response data is stored. (In units of bytes)
The result of command processing is stored. In normal end, 0 is stored. In abnormal
end, an error code set by the external device is stored.
Execution results for the request data are set.
(Some commands do not return response data.)
Request
Request
Request
destination
destination
destination
network
station No.
module I/O No.
No.
(s1)+6
(s1)+7
(s1)+8
Request
Request
Request
destination
destination
destination
network
station No.
module I/O No.
No.
Request
Request
Request
destination
destination
destination
network
station No.
module I/O No.
No.
Network No.
End code
(responding
station)
(d1)+1
Request
Request data
Monitoring timer Request data
destination
length
multidrop
station No.
(s1)+9
(s2)+0
(s2)+1
Request
Response data
End code
destination
length
multidrop
station No.
(d1)+0
(d1)+1
Request
destination
multidrop
station No.
Station No.
Request
Request
(responding
destination
destination
station)
multidrop
module I/O No.
station No.
Error information
Stored in (d1)
Setting range
2 to 2000
(s2)+2 to (s2)+n
Specified by (s2)
Response data
(d1)+2 to (d1)+n
Stored in (d1)
Command
Subcommand
Set by
System
System
System
Footer
Footer
Footer

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents