7.4.2
Disconnecting a connection (SP.SOCCLOSE)
SP.SOCCLOSE
Setting data
S1
S2
D
*1
Local devices cannot be used.
(1) Setting data
Setting data
U0
S1
S2
D
*1
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
Device
+0
S2
+1
S2
*1
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the SP.SOCCLOSE instruction.
92
Command
Internal device
R, ZR
Bit
Word
*1
(Except
*1
for T, ST, C)
Description
Dummy
Connection number (Setting range: 1 to 16)
Start number of the device from which control data are stored
Start number of the device which turns on for one scan upon
completion of the instruction
+1 also turns on when failed.
D D
Item
System area
Completion status is stored
Completion
0000
: Completed normally
H
status
Other than 0000
SP.SOCCLOSE
"U0"
J\
Bit
Word
*1
*1
Description
: Failed (Error code)
H
D
S1
S2
Constan
U\G
Zn
t
K, H
*1
Data type
Set by
Character string
User
Device name
System
Setting range
Others
BIN 16-bit
Bit
*1
Set by
System