The following figure shows the timing of reception processing with the SP.SOCRCV instruction.
Open completion
signal (SD1282, n)
Sequence program
Reception status
signal (SD1286, n)
SP.SOCRCV
instruction
Completion
D2
device
Completion
D2
+1
device
Data
Open
transmission
processing
processing
ON
OFF
END
processing
ON
ON
OFF
OFF
ON
OFF
ON
OFF
(TCP only)
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
Data read
processing
END
END
processing
processing
SP.SOCRCV instruction execution
1 scan
Abnormal termination
Data
read
processing
ACK
7
97