Specifications
App - 62
Appendix 5.3 CLOSE Instruction
This instruction disconnects (closes) a connection by which data was communicated
with an external device.
Applicable device
Internal device
(System, user)
MELSECNET/H,
MELSECNET/10
Direct J
\
Constant
Setting
data
Bit Word
File
register
Bit Word
Special module
U
\G
Index
register
Zn
K,H $
Others
(S1)
(S2)
(D1)
"Un"ZP.CLOSECLOSE (D1)(S2)(S1)
[Instruction code] [Executing condition]
Command
Setting data
Setting data Description Set by (*1) Data type
"Un"
Start input/output signal of the Ethernet module
(00 to FE: Two higher digits of the 3-digit input/output signal)
Binary 16 bits
(S1) Connection number (1 to 16)
User
Binary 16 bits
(S2) Head number of the device that stores the control data Binary 16 bits
(D1)
Head number of the host station bit device that turns on for one scan upon
completion of instruction.
(D1) + 1 also turns on if the instruction execution ends abnormally.
System
Bit
The file registers for each of the local device and the program cannot be used as devices to be
used in the setting data.
Control data
Device Item Setting data Setting range Set by (*1)
(S2)+0 System area
(S2)+1 Complete status
•
Stores the status at completion.
0000
H : Normal completion
Other than 0000
H : Abnormal completion (error code) (*2)
System
*1 The "Set by" column indicates the following:
User : Data set by the user before executing a dedicated instruction.
System : The PLC CPU stores the execution results of a dedicated instruction.
*2 For details on the error codes at abnormal completion, refer to Q Corresponding Ethernet Interface Module User's Manual (Basic).