71
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
6
6.
4
S
o
ck
et
Comm
unicat
ion F
unct
ion
In
st
ru
ct
ions
6.
4.
4
Reading
out
receive
d
dat
a dur
ing
inst
ruct
ion ex
ecut
ion
(S
.S
O
C
R
C
VS
)
(6) Program example
When M5000 is turned on, data received from the connected device are read out.
• Devices used
• Program
●
To avoid receiving large amounts of data, the volume of received data can be limited by setting the receive data size
using the SP.SOCRMODE instruction.
●
Data reception can be speeded up by placing a receive processing program at the beginning of multiple programs.
Device number
Application
SD1282
Open completion signal
SD1286
Receive state signal
D5000
Receive data length and receive data storage location
Reading receive
data of Connection
No.1
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: ......