Download TECHNICAL BULLETIN

Transcript
TECHNICAL BULLETIN
[Issue No.] FA-A-0001-F
[Page] 24/58
[Title] Method of replacing High Performance model QCPU with Universal model QCPU
[Date of Issue] January 2008 (Ver. F: July 2011)
[Relevant Models] Q02UCPU, Q03UDCPU, Q04UDHCPU, Q06UDHCPU, Q10UDHCPU,
Q13UDHCPU, Q20UDHCPU, Q26UDHCPU, Q03UDECPU,
Q04UDEHCPU, Q06UDEHCPU, Q10UDEHCPU, Q13UDEHCPU,
Q20UDEHCPU, Q26UDEHCPU
(c) Program after replacement
In the sequence program after replacement, two programs are required as shown below.
<Before transition>
<After transition>
Main routine
program
Main routine
program
END
Initial processing
FEND
P0
Subroutine
program
An failure status is checked, and if a failure is detected,
a failure number is stored in D200.
RET
END
1) Main routine program
y Replace the CHKST and CHK instructions with the CALL instructions so that a subroutine program is called.
y One CALL instruction is required for each device specified as check condition before the CHK instruction. (In
the program before replacement shown in (b), four CALL instructions need to be added since there are four
check conditions before the CHK instruction.)
y Device number and contact number of X devices (check condition) are specified in each CALL instruction.
y Contact number is used to display failure number when a failure is detected.
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14, YADA-MINAMI 5-CHOME, HIGASHI-KU, NAGOYA, JAPAN