Mitsubishi QD51-R24 User Manual page 85

Melesec q series
Hide thumbs Also See for QD51-R24:
Table of Contents

Advertisement

3 SPECIFICATIONS
3 - 50
(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
Program-
Power
QD51
mable
Supply
(-R24)
controller
module
CPU
Task start completed
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
· · · · · · Turn X&H11 ON by a BASIC program.
Programmable controller CPU
Task 1 Start Instruction
PLS M0
M0
SET DY11
SET DY19
SET M1
DX11
RST DY11
RST DY19
RST M1
0
1
2
1)
Set Task No. 1
2)
Start task.
Turn the Task No. designation sign(Y11) /
3)
Task Start Signal(Y19)
MELSEC-Q
Slot No.
QD51(-R24)
Output
&H11 &H12
&H19
Start task No. 1
B@ (X,&H11)=1
Reset
instruction ON
3 - 50

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qd51

Table of Contents