
65
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.
2
Disc
onnect
ing a connect
ion
(S
P.
SO
CCLO
S
E)
(5) Program example
When M2000 is turned on or when the connected device disconnects connection No.1, connection No.1 is
disconnected by the following program.
• Devices used
• Program
Device number
Application
SD1282
Open completion signal
SD1284
Open request signal
D200
SP.SOCCLOSE instruction control data
M200
SP.SOCCLOSE instruction completion device
Processing for disconnection of
Connection No.1by the target
Setting SP.SOCCLOSE
executing flag
Resetting SP.SOCCLOSE
executing flag
Normal completion
Error completion
Connection No.1 close
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: ......