Mitsubishi Q00JCPU User Manual page 107

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

Advertisement

3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(3) Stand-by type program execution method
A stand-by type program can be executed in either of the following methods.
(a) When placing subroutine or interrupt programs in a single stand-by type
• Create subroutine and/or interrupt programs in a stand-by type program and call
them using a pointer or when an interrupt occurs.
(
(3)(a) in this section)
• Change a stand-by type program to any other execution type using an instruction
(
(3)(b) in this section)
program
When creating subroutine or interrupt programs in a single stand-by type
program, start it from Step 0.
The FEND instruction used for creation of subroutine or interrupt programs is not
required after the main routine program.
Program A
Main routine
program
Program B (Stand-by type program)
P500
P508
P501
Use common pointer.
Diagram 3.38 When placing subroutine programs in stand-by type program
3.3 Settings for Creation and Execution of Multiple Sequence Programs
Write
Write
Y10
RET
Y11
RET
Y12
RET
END
3.3.4 Stand-by type program
Program A
Program B
3
- 42
1
2
3
4
5
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents