Mitsubishi Q00JCPU User Manual page 108

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(3) Subroutine program management
Basic
Note4
Note3.4
Note4
Basic
Note3.4
3
- 10
3.1 Sequence Program
3.1.2 Subroutine programs
Subroutine programs are created after a main routine program (after the FEND
instruction).
Subroutine programs can also be managed as a single program.
(a) Creating subroutine programs after main routine program
1) Location of creating subroutine programs
Create subroutine programs between the FEND and END instructions of the
main routine program.
Subroutine
program
Since the Basic model QCPU cannot execute
multiple programs, the file name is fixed to
"MAIN".
Note3.4
Program A
Main routine
program
FEND
P0
Y10
RET
P8
Y11
RET
P1
Y12
RET
END
Figure 3.8 Subroutine programs
Write
File of
program A
File name is fixed to "MAIN".
MAIN
Main routine
program
FEND
P0
Y10
RET
P8
Y11
RET
P1
Y12
RET
END

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents