Disconnecting A Connection (Sp.socclose) - Mitsubishi MELSEC L Series User Manual

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

6.4.2

Disconnecting a connection (SP.SOCCLOSE)

SP.SOCCLOSE
Internal device
Setting
data
Bit
S1
S2
D
*1
File registers set for each local device or program cannot be used.
(1) Setting data
Setting data
U0
S1
S2
D
*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
Device
+0
S2
+1
S2
*3
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the SP.SOCCLOSE instruction.
Command
R, ZR
Word
-
*1
*1
-
*1
*1
-
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
Item
System area
Completion status is stored
Completion
0000
: Completed
H
status
Other than 0000
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
SP.SOCCLOSE
U0
S1
J \
U \G
Bit
Word
-
-
-
Description
-
: Failed (Error code)
H
S2
D
Constant
Zn
Others
K, H
-
-
-
-
-
*2
Data type
Set by
-
Character string
User
BIN 16-bit
Device name
System
Bit
*3
Setting range
Set by
-
-
-
System
6
63

Advertisement

Table of Contents
loading

Table of Contents