
3 - 62 3 - 62
MELSEC-Q
3 SPECIFICATIONS
(2) Running a task
(a) Starting a task
A task starts when it is designated by the "ZSTART" command from
another BASIC program.
The designation method of the "ZSTART" command varies depending on
the start condition.
BOOT
: Designated by <number> of the task No. area
ON
: Designated by <number> of the task No. area and by "<drive
No.>:<system name>\<file name>" of the BASIC program to
be read
[If the start condition is "BOOT"]
Start request from
another BASIC program
BASIC Program
END
Start request from
another BASIC program
[If the start condition is "ON"]
BASIC Program
BASIC program is
read from the user
FD/HD.
END
• BASIC
Program
stops.
• Start request
is reset.
• BASIC Program
stops.
• Start request is
reset.
(b) For a task that is started by a start request from another BASIC program,
write it so that an "END" command is run at the end of the BASIC program.
If an "END" command is run, the start request is reset and it is made
possible for the next interrupt to be received.
Содержание QD51
Страница 1: ......
Страница 2: ......
Страница 154: ...App 7 App 7 MELSEC Q APPENDIX MEMO ...
Страница 159: ......
Страница 160: ......