Mitsubishi Q00JCPU User Manual page 75

Q series, logic
Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(3) Subroutine program management
Basic
Note3.4
Note4
Basic
Since the Basic model QCPU cannot execute
multiple programs, the file name is fixed to
Note3.4
"MAIN".
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.
Note3.4
Program A
P0
Subroutine
program
P8
P1
Note4
Main routine
program
FEND
Y10
RET
Y11
RET
Y12
RET
END
Diagram 3.8 Subroutine programs
MAIN
P0
P8
P1
3.1 Sequence Program
3.1.2 Subroutine programs
Write
File of
program A
File name is fixed to "MAIN".
Main routine
program
FEND
Y10
RET
Y11
RET
Y12
RET
END
3
1
2
3
4
5
6
7
8
- 10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents