Open Instruction - Mitsubishi QCPU Structured Programming Manual

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

Advertisement

ZP_OPEN
5.4.16

OPEN instruction

ZP_OPEN
Structured ladder
ZP_OPEN
EN
ENO
Un*
s1
s2
Input argument
EN:
Un*:
s1:
s2:
Output argument
ENO:
d:
Function
This instruction establishes (opens) a connection with external device for data communication.
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5-138
5.4.16 OPEN instruction
ST
ENO:=
(EN, Un*, s1, s2, d);
ZP_OPEN
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
d1
Executing condition
ZP_OPEN
:Bit
:String
:ANY16
:Array of ANY16 [0..9]
:Bit
:Array of bit [0..1]
J
\
R, ZR
U
Bit
Word
*1: Local devices and file registers per program cannot be used as setting data.
ZP_OPEN
:
indicates the following instruction.
Constant
Zn
Others
\G
K, H

Advertisement

Table of Contents
loading

Table of Contents