61
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.
1
Es
ta
blishing
a c
onnect
ion
(S
P.
SO
CO
PE
N)
(5) Program examples
(a) Opening a connection using parameter settings
When M1000 is turned on, connection No.1 is opened using the parameters set in "Open settings" of PLC
parameter.
• Devices used
• Program
Device number
Application
SD1282
Open completion signal
SD1284
Open request signal
SD1288
Connection state signal
D100
SP.SOCOPEN instruction control data
M100
SP.SOCOPEN instruction completion device
Setting Execution/
completion type to 0
H
Normal completion
Error completion
Connection No.1 open
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: ......