Mitsubishi Electric Q03UDVCPU User Manual page 124

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents