Mitsubishi QD51 Programming Manual page 640

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
ZSTART
Instruction
• Starts up the specified program.
ZSTART <number>
Syntax
ZSTART <number>,"[<drive number>:][<system name>\]<file name>"
number
drive number
system name
file name
ZSTART 5
Examples
ZSTART 2,
"0:PRO\TEST.BAS"
• The ZSTART instruction starts up a program in the specified task area.
Description
When starting a program already resident in memory of the communication module
• Specify only <number>, then the program stored in the task area specified by the
<number> is started up.
• In order to start up a program using this method, it is necessary that the task area specified
by <number> is in one of the following conditions:
(1) When the task area is set to "BOOT" by the SET command in system mode of the
(2) When the task area is set to "START" by the SET command in system mode of the
(3) When the program has been started by the ZSTART instruction or by an interrupt from
• An error occurs if a program is not stored in the task area specified by <number>.
11 - 470
communication module.
communication module and the started program has been stopped by the END
instruction.
the PLC CPU and subsequently stopped by the END instruction.
REMARK
See the AD51H-BASIC Programming Manual (Program Editing and Compiling) for
the details about the multitask operations and system mode of the communication
module.
Z START
• • • •
Specify the number of the task area where the
program is started up.
• • • •
Specify the memory card, FD, or HD that stores the
program to be started up.
• • • •
Specify the system name under which the program
to be started up is stored.
• • • •
Specify the file name of the program to be started
up.
• • • •
Starts up the program stored in the task area No. 5.
• • • •
Starts up after reading the program stored with file
name TEST.BAS under system name PRO in the
memory card mounted in the AD51H-S3 MEMORY
CARD 1 drive into BASIC task area No. 2.
MELSEC-Q
Available only in execution mode
11 - 470

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents