3 - 60 3 - 60
MELSEC-Q
3 SPECIFICATIONS
3.11.3 Starting by an interrupt from the programmable controller CPU (Start Condition: IT)
This is the case where the start condition in the multitask settings is set on "IT".
Starting of a task is done if the "Run Permission Conditions" listed in Section 3.11.1
are established and when there is a start request from the programmable controller
CPU.
A start request from the programmable controller CPU is executed by:
1) Start task No. designation signal (Y11/Y12).
2) Task start signal (Y19).
(For details concerning the start task No. designation signal (Y11/Y12) and the task
start signal (Y19), refer to Section 3.8.2.)
(1) Processing when powered on or reset
When the power is turned on or there is a reset, the program to be run which is
stored in Flash ROM is read and loaded into the QD51 (-R24)'s internal memory.
The loaded BASIC program is then run when there is a start request from the
programmable controller CPU.
(2) Running a task
(a) When the power is turned on or there is a reset, the Basic program that is
read from the Flash ROM is started by a task start signal (Y19) from the
programmable controller CPU to the QD51 (-R24).
When the task start signal (Y19) rises, the task with the start task No.
designation signal (Y11/Y12) ON is started.
Start request from
programmable
controller CPU
BASIC Program
END
Task with IT set in the start condition.
BASIC program stops.
(b) For a task that is started by an interrupt from the programmable controller
CPU, write it so that an "END" command is run at the end of the BASIC
program.
If an "END" command is run, the interrupt from the programmable controller
CPU is reset and it is made possible for the next interrupt to be received.
POINT
When using compiled BASIC, "IT" cannot be set in the start condition.
Summary of Contents for QD51
Page 1: ......
Page 2: ......
Page 154: ...App 7 App 7 MELSEC Q APPENDIX MEMO ...
Page 159: ......
Page 160: ......