70
(3) Function
This instruction reads out received data of the connection specified in
from the Socket communication receive
data area.
(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
is other than 1 to 16.
(Error code: 4101)
• The received data size exceeds the size of the receive data storage device.
(Error code: 4101)
• The device number specified for
exceeds the device point range.
(Error code: 4101)
• An invalid device is specified.
(Error code: 4004)
(5) Precaution
Do not use both this and SP.SOCRCV instructions when reading out receive data of the same connection.
S
CPU module
Receive data
length
S.SOCRCV
(Reading receive data)
Socket communication
receive data area
Connection
No. specified by S
Receive data
Receive data
Receive data
D +0
D +1
D +2
D +n
External device
Receiving
END processing
Program
S.SOCRCVS instruction
S.SOCRCVS instruction executed
Data received
Data reading
S
D
Summary of Contents for MELSEC L Series
Page 1: ......
Page 2: ......
Page 19: ...17 CHAPTER 1 OVERVIEW 1 Memo ...
Page 116: ...114 Memo ...
Page 123: ......