Disconnecting A Connection (Sp.socclose) - Mitsubishi Electric Q03UDVCPU User Manual

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
Table of Contents

Advertisement

7.4.2

Disconnecting a connection (SP.SOCCLOSE)

SP.SOCCLOSE
Setting
data
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:
System: The CPU module stores the execution result of the SP.SOCCLOSE instruction.
When replacing the ZP.CLOSE instruction (Ethernet module dedicated instruction), dummy argument can be used in a Built-
in Ethernet port QCPU instruction without rewriting.
(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.
110
Command
Internal device
R, ZR
Bit
Word
-
*1
*1
-
(except for
*1
*1
T, ST, and
C)
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
The data must be set before executing the SP.SOCCLOSE instruction.
Item
System area
Completion status is stored
Completion
0000
: Completed
H
status
Other than 0000
SP.SOCCLOSE
U0
J\
Bit
Word
Description
Description
-
: Failed (Error code)
H
S2
D
S1
U\G
Zn
-
-
-
*2
Set by
-
User
System
Setting range
-
-
Constant
Others
K, H
-
-
-
-
-
Data type
Character string
BIN 16-bit
Device name
Bit
*3
Set by
-
System

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents