5-140
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5.4.17 CLOSE instruction
ZP_CLOSE
5.4.17
CLOSE instruction
ZP_CLOSE
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction shuts off (closes) a connection with external device during data communication.
C
ont
r
o
l Da
t
a
ZP_CLOSE
Executing condition
:
indicates the following instruction.
ZP_CLOSE
Input argument
EN:
Executing condition
:Bit
Un*:
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in
three digits)
:String
s1:
Connection number (1 to 16)
:ANY16
s2:
Variable that stores control data
:Array of ANY16 [0..1]
Output argument
ENO:
Execution result
:Bit
d:
Variable that turns ON upon completion of the instruction
d[1] also turns ON at the time of error completion.
:Array of bit [0..1]
Setting
data
*1
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
−
−
−
−
−
−
−
−
−
−
Device
Item
Setting data
Setting range
Setting side
*1
[0]
System area
–
–
–
[1]
Completion status
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
–
System
Structured ladder
ST
EN
ENO
U
n
*
d
s1
s2
ZP_CLO
S
E
ZP_CLO
S
E
(EN, U
n
*, s1, s2, d);
ENO:=
S1
S2
d
S2
S2
Содержание QCPU
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Special Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 28: ...2 10 MEMO ...
Страница 32: ...3 4 MEMO ...
Страница 38: ...4 6 MEMO ...
Страница 234: ...5 196 MEMO ...
Страница 238: ...Index 4 MEMO ...
Страница 241: ......