Repeated Start (For Loop) - Mitsubishi Electric MELSEC-LD77MS2 User Manual

Hide thumbs Also See for MELSEC-LD77MS2:
Table of Contents

Advertisement

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 "
Da.13
"6: NEXT start" is set in "
the number of times set in "
number of repetitions is set to "0".
(The number of repetitions is set in "
which "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
(1) Block start data setting example
Axis 1 block
start data
1st point
2nd point
3rd point
(Note): The "condition data Nos." have been set in " Da.14 Parameter".
(2) Positioning data setting example
Axis 1 positioning
data No.
1
2
3
10
11
50
51
[2] Control examples
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 number of times (2 times) set in
Chapter 10 High-Level Positioning Control
Special start instruction" and the "block start data" in which
Da.13
Special start instruction " is repeatedly executed for
Da.14
Parameter". An endless loop will result if the
Da.14
Parameter" of the "block start data" in
Da.13
Special start instruction".)
Da.11
Da.12
Shape
Start data No.
1: Continue
1
1: Continue
10
0: End
50
Da.1
Operation pattern
01: Continuous positioning control
01: Continuous positioning control
00: Positioning complete
11: Continuous path control
00: Positioning complete
01: Continuous positioning control
00: Positioning complete
10 - 13
Da.13
Special start
Parameter
instruction
4: FOR loop
0: Block start
6: NEXT start
Da.14
.)
Da.14
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l seriesMelsec-ld77ms4Melsec-ld77ms16

Table of Contents