71
CHAPTER 5 MC PROTOCOL COMMUNICATION
5
5.2 Sending a C
ommand fr
om the CPU Mod
ule to
an Exter
nal Device
5.2.1 Sen
ding a
n SLMP frame (
S
P
.S
LM
P
SND
)
(5) Function
• This instruction sends the request frame in the device specified by
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
.
The following figures show the request data and the response data when the instruction is completed normally or
with an error.
• Request data
• Response data
• The SP.SLMPSND instruction communicates using UDP. Set the external device to use UDP.
• The SP.SLMPSND instruction communicates in binary code. Match the setting of the external device also
with the binary code.
When completed normally
When completed with an error
S2
D1
Request
destination
module I/O No.
Header
Footer
Subheader
Request
destination
station No.
Request
destination
network
No.
Request
destination
multidrop
station No.
Request data
length
Monitoring timer
Request data
Specified by (except some devices)
Specified by
+8
+3 to +5
+7
+6
+9
+0
+1
+2 to +n
S1
S1
S1
S1
S1
S1
S1
S2
S2
S2
S2
S2
Request
destination
module I/O No.
Header
Subheader
Request
destination
station No.
Request
destination
network
No.
Request
destination
multidrop
station No.
Response data
length
End code
Response data
Footer
Stored in
+0
+2 to +n
D1
+1
D1
D1
D1
D1
Request
destination
station No.
Request
destination
network
No.
Request
destination
multidrop
station No.
Footer
Request
destination
module I/O No.
Header
Subheader
Response data
length
Request
destination
module I/O No.
Station No.
(responding
station)
Network No.
(responding
station)
Request
destination
multidrop
station No.
Error information
Command
Subcommand
End code
+0
+1
Stored in
D1
D1
D1
Summary of Contents for melsec q03ud(E)cpu
Page 2: ......
Page 11: ...9 Memo ...
Page 209: ...207 APPENDICES A Appendix 4 Specifications Comparison with Ethernet Module Memo ...
Page 213: ...211 Memo ...
Page 219: ......