Repeated Start (For Loop) - Mitsubishi MELSEC QD75P User Manual

Positioning module
Table of Contents

Advertisement

10 HIGH-LEVEL POSITIONING CONTROL

10.3.6 Repeated start (FOR loop)

In a "repeated start (FOR loop)", the data between the " block start data" in which "4:
FOR loop" is set in "
which "6: NEXT start" is set in "
executed for the No. of times set in "
the No. of repetitions is set to "0".
(The No. of repetitions is set in "
"4: FOR loop" is set in "
Section [2] shows a control example where the " block start data" and "positioning
data" are set as shown in section [1].
[1] Setting examples
[2] Control examples
Da.13
Special start instruction" and the "block start data" in
Da.13
(1) Block start data setting example
Da.11
Axis 1 block
start data
Shape
1st point
1: Continue
2nd point
1: Continue
3rd point
0: End
The "condition data Nos." have been set in "
(2) Positioning data setting example
Axis 1 position-
ing data No.
1
01: Continuous positioning control
2
01: Continuous positioning control
3
00: Positioning complete
10
11: Continuous path control
11
00: Positioning complete
50
01: Continuous positioning control
51
00: Positioning complete
The following shows the control executed when the " block start data" of the 1st
point of axis 1 is set as shown in section [1] and started.
<1> Execute the axis 1 "positioning data No. 1, 2, 3, 10, 11, 50, and 51".
<2> Return to the axis 1 "1st point block start data". Again execute the axis 1
"positioning data No. 1, 2, 3, 10, 11, 50 and 51", and then stop the control.
(Repeat for the No. of times (2 times) set in
10 - 13
Get other manuals https://www.bkmanuals.com
Da.13
Special start instruction " is repeatedly
Da.14
Parameter". An endless loop will result if
Da.14
Parameter" of the " block start data" in which
Special start instruction".)
Da.12
Special start
Start data No.
instruction
1
4: FOR loop
10
0: Block start
50
6: NEXT start
Da.14
Da.1
Operation pattern
Da.14
MELSEC-Q
Da.13
Da.14
Parameter
2
Parameter".
.)

Advertisement

Table of Contents
loading

Table of Contents