203
CHAPTER 15 DEDICATED INSTRUCTIONS
15
15.6 ZP.CLOSE
15.6 ZP.CLOSE
This instruction disconnects (closes) a connection with the connected device performing data communications.
*1 The file registers set for each local device and program cannot be used.
(1) Setting data
(2) Control data
Setting data
*1
Available device
Internal device
(system, user)
File
register
Link direct device
J\
Intelligent
function module
device U\G
Index
register
Zn
Constant
Others
Bit Word Bit Word K, H $
(S1)
(S2)
(D1)
Setting data Description Set by Data type
Un/"Un"
Start I/O number of the E71 (00 to FE
H
: The first two digits
of the three-digit I/O number)
User
BIN 16-bit/character
string
(S1) Connection number (1 to 16) BIN 16-bit
(S2) Start number of the device that stores control data
System
Device name
(D1)
The start number of the bit device in the own station that
turns on for one scan upon completion of the instruction.
(D1)+1 also turns on if the instruction ends abnormally.
Bit
Device Item Setting data Setting range Set by
(S2)+0 System area
(S2)+1
Completion
status
Stores the status at completion.
• 0000
H
: Normal completion
• Values other than 0000
H
: Abnormal end (error code)
System
ZP.CLOSE
Command
ZP.CLOSE Un (S1) (S2) (D1)