Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1123

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

Advertisement

• 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.
• The execution status and the completion status of the SP.SLMPSND instruction can be checked with the completion device
(d2) and the completion status indication device (d2)+1.
• Completion device (d2)+0
This device turns on during END processing of the scan where the SP.SLMPSND instruction completes, and turns off during the next END processing.
• Completion status indication device (d2)+1
This device turns on or off depending on the completion status of the SP.SLMPSND instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during the END processing of the scan where the SP.SLMPSND instruction completes, and turns off during
the next END processing.
Ex.
Sending "Read (command: 0401H)" (reading in units of words) which reads the value in D100 to D102
●Request data
...
...
b15
b8b7
b0
(s2)+2
04H
01H
(s2)+3
00H
00H
(s2)+4
00H
64H
(s2)+5
A8H
00H
(s2)+6
00H
03H
●Response data
...
...
b15
b8b7
b0
(d1)+2
12
34
H
H
(d1)+3
00
02
H
H
(d1)+4
1D
EF
H
H
Subcommand
Command
Head device No.
01H
04H
00H
00H
64H
00H
34
12
02
00
EF
1D
H
H
H
H
H
H
D100
D101
D102
Device
No. of device
code
points
00H
A8H
03H
00H
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.4 SLMP Frame Send Instruction
8
1121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents