Mitsubishi Electric Q03UDVCPU User Manual page 120

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

Advertisement

● Receive data size is 2046 bytes by default. To receive data over 2046 bytes, change the receive data size with the
SP.SOCRMODE instruction.
● If the CPU module receives odd-byte data, invalid data is stored to the high byte of the device where the last received
data is stored.
(3) Function
This instruction reads out received data of the connection specified in
data area.
D +0
D +1
D +2
D +n
The following figure shows the timing of reception processing with the S.SOCRCVS instruction.
Sequence program
118
CPU module
Receive data
length
Receive data
Receive data
S.SOCRCV
(Reading receive data)
Receive data
Open
processing
ON
Open completion
OFF
signal (SD1282, n)
ON
Reception status
OFF
signal (SD1286, n)
S.SOCRCVS
instruction
S
Socket communication
receive data area
Connection
No. specified by S
Receiving
Data
Data read
reception
processing
processing
END
processing
S.SOCRCVS instruction
execution
Data
read
processing
ACK (TCP only)
from the Socket communication receive
External device
END
processing

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents