Mitsubishi MELSEC L Series User Manual page 72

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

(3) Function
This instruction reads out received data of the connection specified in
data area.
D +0
D +1
D +2
D +n
Program
S.SOCRCVS instruction
(4) Error
A detection of an operation error turns on the Error flag (SM0) and a corresponding error code is stored in SD0
when:
• The connection number specified for
• The received data size exceeds the size of the receive data storage device.
• The device number specified for
• An invalid device is specified.
(5) Precaution
Do not use both this and SP.SOCRCV instructions when reading out receive data of the same connection.
70
CPU module
Receive data
length
Receive data
Receive data
S.SOCRCV
(Reading receive data)
Receive data
Data received
exceeds the device point range.
D
Socket communication
receive data area
Connection
No. specified by S
Receiving
S.SOCRCVS instruction executed
Data reading
is other than 1 to 16.
S
from the Socket communication receive
S
External device
END processing
(Error code: 4101)
(Error code: 4101)
(Error code: 4101)
(Error code: 4004)

Advertisement

Table of Contents
loading

Table of Contents