Close Instruction - Mitsubishi QCPU Structured Programming Manual

Melsec-q series
Hide thumbs Also See for QCPU:
Table of Contents

Advertisement

ZP_CLOSE
5.4.17

CLOSE instruction

ZP_CLOSE
Structured ladder
ZP_CLOSE
EN
ENO
Un*
s1
s2
Input argument
EN:
Un*:
s1:
s2:
Output argument
ENO:
d:
Function
This instruction shuts off (closes) a connection with external device during data communication.
Control Data
Device
Item
System area
[0]
S2
Completion status
[1]
S2
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5-140
5.4.17 CLOSE instruction
ST
ENO:=
(EN, Un*, s1, s2, d);
ZP_CLOSE
d
Executing condition
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in
three digits)
Connection number (1 to 16)
Variable that stores control data
Execution result
Variable that turns ON upon completion of the instruction
d[1] also turns ON at the time of error completion.
Internal device
Setting
*1
data
Bit
Word
S1
S2
d
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
Executing condition
ZP_CLOSE
:Bit
:String
:ANY16
:Array of ANY16 [0..1]
:Bit
:Array of bit [0..1]
J
\
R, ZR
Bit
Word
*1: Local devices and file registers per program cannot be used as setting data.
Setting data
ZP_CLOSE
:
indicates the following instruction.
Constant
Zn
U
\G
K, H
Setting range
Setting side
System
Others
*1

Advertisement

Table of Contents
loading

Table of Contents