8 - 13 8 - 13
MELSEC-Q
8 MULTITASK PROCESSING
8.4 Start Another Program from within a Program
It is possible to start a new program using the ZSTART instruction to specify any task
area while executing multitask processing.
ZSTART
Task area
m
Task area
n
Before starting a program using the ZSTART instruction,
set the applicable task area to 'START', 'BOOT', 'IT', or 'ON' using the SET command in
system mode. A program cannot be started in the task area using the ZSTART instruction
if the task area is set to 'OFF'.
There are two ways to start a program using the ZSTART instruction.
1) Read a program from a memory card to the specified task area and start it.
ZSTART<task area>, <program to be read>
MITSUBISHI
MEMORY CARD
A6MEM-512KA-W
A program can be read from
the FD or HD as well.
Read a program to the
area of the specified
BASIC number.
The program in the specified
task area is executed.
2) Start a program already residing in the task area, which has currently been put in
the stop status by the END instruction.
A program that was in the
sleep status is executed.
ZSTART<task area>
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...