Download Print this page

Repeated Start (For Loop) - Mitsubishi A1SD75P1-S3 User Manual

Advertisement

10 ADVANCED POSITIONING CONTROL

10.3.7 Repeated start (FOR loop)

In a "repeated start (FOR loop)", the data between the "start block data" in which "5:
FOR loop" is set in " Da.12 Special start command" and the "start block data" in which
"7: NEXT start" is set in " Da.12 Special start command" is repeatedly executed for the
No. of times set in " Da.13 Parameter". An endless loop will result if the No. of
repetitions is set to "0", and the data between "5: FOR loop" and "7: NEXT start" will be
repeated until the control is stopped by a "stop command".
(The No. of repetitions is set in " Da.13 Parameter" of the "start block data" in which
"5: FOR loop" is set in " Da.12 Special start command".)
Section (2) shows a control example where the "start block data" and "positioning data"
are set as shown in section (1).
(1) Setting examples
(2) Control examples
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
(a) Start block data setting example
Axis 1 start
Da.10 Shape
block data
1st point
1: Continue
2nd point
1: Continue
3rd point
0: End
* The "condition data Nos." have been set in " Da.13 Parameter".
(b) Positioning data setting example
Axis 1 position-
Da.1 Operation pattern
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 "start block 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 start block data". Again execute the axis 1
"positioning data No. 1, 2, 3, 10, 12, and 50", and then stop the control.
(Repeat for the No. of times set in Da.13 .)
10 - 14
Da.11
Da.12 Special
Start data No.
start command
1
5: FOR loop
10
0: Normal start
50
7: NEXT start
MELSEC-A
Da.13
Parameter
2

Hide quick links:

Advertisement

loading

This manual is also suitable for:

A1sd75p2-s3A1sd75p3-s3Ad75p1-s3Ad75p2-s3Ad75p3-s3