1098
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.2 Socket Communications Instructions
• The following figure shows the timing of receive processing using the SP.SOCSND instruction.
Even after the completion device turns on, data may be sent continuously. Check the completion of the send processing on
the receiving side.
Upon completion with an error, the completion status indication device (d)+1 is turned on and an error code is stored in the
completion status (s2)+1.
For the error code stored in the completion status (s2)+1, refer to the following.
MELSEC iQ-R Ethernet User's Manual (Application)
Error code
(SD0)
Description
3405H The connection number specified by (s1) is a value other than 1 to 16.
END0
OFF
OFF
OFF
OFF
OFF
ON
END0
END0 END0
ON
ON
Sequence scan
Open completion signal
(SD1504.n)
Completion device (d)
SP.SOCSND instruction
Completion status
indication device (d)+1
Sending data
Open
processing
Data transmission
processing
ACK
(TCP only)
Execution of the instruction
Completed successfully
1 scan
Completed with an error