APPENDICES
Appendix 5 Method of replacing High Performance model QCPU with Universal model QCPU
App
- 132
9
P
a
ra
met
e
rs
10
Device
Exp
la
n
at
ion
11
CP
U
M
odu
le
P
ro
cessi
ng
Ti
m
e
12
P
roc
e
d
ure
f
or W
rit
in
g
P
rog
ra
m t
o CP
U Mo
du
le
A
p
pe
nd
ic
e
s
In
de
x
2) Subroutine program
• In the subroutine program, the data for outputting ASCII codes using a
fixed scan interrupt program (10ms) are set to work devices. Also, the flag
for activating the processing in the fixed scan interrupt program is turned
ON.
• Specify the following arguments for the subroutine program.
First argument
Output string storage address
(Input)
Second argument
Output module start Y number
(Input)
Figure App.9 Sample program
Data specified by the CALL(P)
arguments are saved.
Output string storage
address
Number of output strings
Output module start number
Devices used for the string
output processing of the
interrupt program I31 are
initialized.
Yn0 to Yn7 (ASCII code),
Yn8 (strobe signal), and Yn9
(in-execution flag) are all
turned OFF.
The flag to activate the string
output processing of the interrupt
program is turned ON.