4 - 25 4 - 25
MELSEC-Q
4 SEQUENCE PROGRAM CONFIGURATION AND EXECUTION
CONDITIONS
4.2.4 Stand-by type program
(1) Definition of stand-by type program
(a) Stand-by type programs are executed only when requested.
(b) Stand-by type programs are used for the following applications.
1) Placing programs in the library
Sub-routine and interrupt programs are converted to stand-by type
programs which are managed separately from the main program.
2) Changing the program setup
Main routing programs registered as stand-by type programs can
execute the programs required for control by converting them to scan
execution type programs.
They will be reconverted to stand-type programs after they completes
the program execution.
(2) Stand-by type program applications
(a) Placing programs in the library
1) This application is used to manage sub-routine and interrupt programs
separately from the main routine program.
Multiple sub-routine and interrupt programs can be created for a single
stand-by type program.
Scan execution type program
Main routine
program
Sub-routine
program
Interrupt
program
P100
I0
Stand-by type program
Scan execution type program
Main routine
program
Sub-routine
program
Interrupt
program
P100
I0
2) When stand-by type program execution is completed, the program,
which was active before the stand-by type program was executed, is
executed.
A stand-by type program's sub-routine and interrupt programs are
executed as shown below.
Scan execution type program
Sub-routine program
Interrupt program
P100
RET
I0
IRET
END processing
CALL P100 command execution
END processing
Interrupt error factor occurred.
END processing
Содержание 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 ...