4 - 26 4 - 26
MELSEC-Q
4 SEQUENCE PROGRAM CONFIGURATION AND EXECUTION
CONDITIONS
(b) Changing the program setup
1) Create a program compatible with all programs and use it only to
execute necessary programs.
Programs designated as stand-by type programs in the “(PLC)
Parameter" dialog box can be converted to scan execution type
programs and executed in a sequence program.
Change the execution type in the High Performance model QCPU by
using PSCAN, PLOW, PSTOP, and POFF instructions. (See Section
4.2 3).)
(c) The following methods can be used to convert a program which is to be
executed.
1) Selecting the program to be executed from a single management
program:
• Convert a stand-by type program that meets the designated
conditions to a scan execution type program by using a constantly
executed scan execution type program as the management
program. Then execute the converted program.
Scan execution type programs which are not required can be
converted to stand-by type programs.
• Execute types of "ABC","DEF","GHI" and "JKL" stand-by type
programs are converted as shown below.
"PSCAN" is an instruction
that switches the specified
"ABC" program to a scan
execution type program.
PSCAN "ABC"
M0
When M0 is on, switch
the "ABC" program from a
stand-by type program to a
scan execution type program.
When M1 is on, switch
the "ABC" program from
a scan execution type
program to a stand-by
type program.
Scan execution type program
(Control program)
Stand-by
type
program
: ABC
Stand-by
type
program
: DEF
Stand-by
type
program
: GHI
Stand-by
type
program
: JKL
PSTOP "ABC"
M1
PSCAN "DEF"
PSTOP "DEF"
"PSTOP" is an instruction
that switches the specified
"ABC" program to a stand-
by type program.
Содержание QCPU (Q Mode)
Страница 111: ...5 19 5 19 MELSEC Q 5 ASSIGNMENT OF I O NUMBERS MEMO ...
Страница 450: ...App 59 App 59 MELSEC Q APPENDICES MEMO ...