![Mitsubishi MELSEC L Series User Manual Download Page 65](http://html.mh-extra.com/html/mitsubishi/melsec-l-series/melsec-l-series_user-manual_1808746065.webp)
63
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)
6.4.2
Disconnecting a connection (SP.SOCCLOSE)
*1
File registers set for each local device or program cannot be used.
(1) Setting data
*2
The "Set by" column indicates the following.
User: The data must be set before executing the SP.SOCCLOSE instruction.
System: The CPU module stores the execution result of the SP.SOCCLOSE instruction.
(2) Control data
*3
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the SP.SOCCLOSE instruction.
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
-
-
-
-
*1
*1
-
-
-
*1
-
*1
-
-
-
Setting data
Description
Set by
*2
Data type
U0
Dummy
-
Character string
Connection number (Setting range: 1 to 16)
User
BIN 16-bit
Start number of the device from which control data are stored
System
Device name
Start number of the device which turns on for one scan upon
completion of the instruction
+1 also turns on when failed.
Bit
Device
Item
Description
Setting range
Set by
*3
+0
System area
-
-
-
+1
Completion
status
Completion status is stored
0000
H
: Completed
Other than 0000
H
: Failed (Error code)
-
System
SP.SOCCLOSE
SP.SOCCLOSE
U0
S1
S2
D
Command
S1
S2
D
S1
S2
D
D
S2
S2
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: ......