
3 - 50 3 - 50
MELSEC-Q
3 SPECIFICATIONS
(d) To turn OFF the signal designated by the start task No. that was turned ON,
do so only after confirming that the designate task has been executed.
To check if the designated task has started, use the method of turning the
general input (X) allocated to the Reset (OFF) instruction by the BASIC
program as shown in the example on the next page.
Example
This example shows the procedure in the case where a task is started, and for turning the start task
No. designated signal(Y11)/task start signal(Y19) OFF.
[Conditions]
1) Start Task No. ······ 1
2) Start task No. designation signal / Task start signal reset instruction ······ X11
Task start instruction
Task start completed
Slot No.
0
1
2
QD51
(-R24)
Input/Output No. as seen from the programmable controller CPU: X/Y00 to X/Y1F
Value designated by B@: X/Y&H00 to X/Y&H1F
[Procedure]
1) Set the task No. · · · · · Turn Y11 ON by a sequence program.
2) Start the task · · · · · · ·
Turn Y19 ON by a sequence program.
3) Turn the Start Task No. designation signal(Y11) / Task Start Signal(Y19) OFF
Programmable controller CPU
Task 1 Start Instruction
PLS M0
SET DY11
SET DY19
SET M1
RST DY11
RST DY19
RST M1
M0
DX11
Set Task No. 1
1)
QD51(-R24)
Start task.
2)
Turn the Task No. designation sign(Y11) /
Task Start Signal(Y19)
3)
Output
&H11 &H12
&H19
Start task No. 1
B@ (X,&H11)=1
Program-
mable
controller
CPU
Power
Supply
module
· · · · · · Turn X&H11 ON by a BASIC program.
Reset
instruction ON
Содержание QD51
Страница 1: ......
Страница 2: ......
Страница 154: ...App 7 App 7 MELSEC Q APPENDIX MEMO ...
Страница 159: ......
Страница 160: ......