Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
8-5
ZCOM
1
2
3
4
6
6
7
8
8.1 Network refresh instructions
8.1.1 Refresh instruction for the designated module (S(P)/J(P)/G(P).ZCOM)
(6) Designating "Un" in the argument enables the target designation of the intelligent function as
well as the network modules.
In this case, the auto refresh is performed for the buffer memory of the intelligent function
modules. (It replaces the FROM/TO instructions.)
(7) Only with the universal model QCPU, interruption of processing is enabled during the
execution of the ZCOM instruction. However, when refresh data are used in an interrupted
program, the data can split.
1. The ZCOM instruction cannot be used in a fixed cycle execution type program
or interrupt program.
2. The Redundant CPU has restrictions on use of the ZCOM instruction.
Refer to the manual below for details.
QnPRHCPU User's Manual (Redundant System)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
When the specified network number is not connected to the host station
(Error code: 4102)
When the module specified with the head I/O number is not a network module or link
module (Except Universal model QCPU) (Error code: 2111)
When the module specified with the head I/O number is not a network module or link
module (Only Universal model QCPU) (Error code: 4102)
To conduct only communication with peripheral device, use the COM instruction
(refer to Section 7.6.9, 9.1).
Program Example
(1) The following program conducts a link refresh for the network module of network No. 6 while
X0 is ON.
[Ladder Mode] [List Mode]
(2) The following program conducts a link refresh for the network module mounted to the
position whose head I/O number is a X/Y30 to X/Y4F while X0 is ON.
[Ladder Mode] [List Mode]
Instruction
Device
Step
Instruction
Device
Step