122
(3) Function
This instruction sends data set in
to the target device of the connection specified by
.
The result of the SP.SOCSND instruction can be checked with the completion device,
+0 and
+1.
• Completion device
+0
Turns on in the END processing of the scan after completion of the SP.SOCSND instruction, and turns off in
the next END processing.
• Completion device
+1
Turns on or off according to the result of the SP.SOCSND instruction.
The following figure shows the timing of reception processing with the SP.SOCRCV instruction.
State
Description
When completed Remains off.
When failed
Turns on in the END processing of the scan after completion of the SP.SOCSND instruction, and turns off
in the next END processing.
S1
S3
CPU module
Send data
length
SP.SOCSND
(Sending data)
Send data
Send data
Send data
S3 +0
S3 +1
S3 +2
S3 +n
External device
D
D
D
D
Sequence program
END
processing
END
processing
Abnormal termination
SP.SOCSND
instruction
Open completion
signal (SD1282, n)
Completion
device
D
Completion
device
D +1
SP.SOCSND instruction execution
ON
OFF
ON
OFF
Data
transmission
processing
ON
OFF
*1 Data transmission may continue
even though the completion
device turns on.
*
1
ACK (TCP only)
1 scan
Open
processing
Data
transmission
processing
<Transmission control method>
END
processing
Data
transmission
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: ......