Mitsubishi Q00JCPU User Manual page 109

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

Advertisement

3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
[Before execution of PSCAN and PSTOP instructions]
[After execution of PSCAN and PSTOP instructions]
1) Example of changing the execution type in scan execution type program
• Set programs "ABC" and "GHI" as scan execution type programs.
Set program "DEF" as a stand-by type program.
• When the condition is satisfied (the internal relay (M0) in Diagram 3.40
turns ON), "DEF" is changed into a scan execution type program and
"ABC" into a stand-by type program.
Scan execution type program: ABC
M0
PSCAN "DEF"
PSTOP "ABC"
Stand-by type program: DEF
PSCAN
PSTOP "DEF"
Stand-by type program: ABC
M0
PSCAN
PSTOP "ABC"
Scan execution type program: DEF
PSCAN
PSTOP "DEF"
Diagram 3.40 Example of changing the execution type in scan execution type program
3.3 Settings for Creation and Execution of Multiple Sequence Programs
• PSCAN is the instruction that changes the
specified program (DEF) into a scan
execution type.
• PSTOP is the instruction that changes the
specified program (ABC) into a stand-by
type.
Scan execution type program: GHI
"GHI"
When M0 is
turned ON
"DEF"
Scan execution type program: GHI
"GHI"
3.3.4 Stand-by type program
PSCAN "ABC"
PSTOP
"GHI"
PSCAN "ABC"
PSTOP
"GHI"
3
- 44
1
2
3
4
5
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents