10 - 14
MELSEC-A
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
(a) Start block data setting example
Axis 1 start
block data
Da.10
Shape
Da.11
Start data No.
Da.12
Special
start command
Da.13
Parameter
1st point
1: Continue
1
5: FOR loop
2
2nd point
1: Continue
10
0: Normal start
–
3rd point
0: End
50
7: NEXT start
–
•
•
* The "condition data Nos." have been set in "
Da.13 Parameter".
(b) Positioning data setting example
Axis 1 position-
ing data No.
Da.1
Operation pattern
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
•
(2) Control examples
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 .)
Summary of Contents for A1SD75M1
Page 2: ......
Page 20: ...A 18 MEMO...
Page 22: ...MEMO...
Page 27: ...1 5 MELSEC A 1 PRODUCT OUTLINE MEMO...
Page 42: ...1 20 MELSEC A 1 PRODUCT OUTLINE MEMO...
Page 52: ...2 10 MELSEC A 2 SYSTEM CONFIGURATION MEMO...
Page 111: ...5 21 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 115: ...5 25 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 123: ...5 33 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 127: ...5 37 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 167: ...5 77 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 193: ...5 103 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 276: ...5 186 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 332: ...7 18 MELSEC A 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Page 334: ...MEMO...
Page 422: ...9 64 MELSEC A 9 MAIN POSITIONING CONTROL MEMO...
Page 446: ...10 24 MELSEC A 10 ADVANCED POSITIONING CONTROL MEMO...
Page 472: ...11 26 MELSEC A 11 MANUAL CONTROL MEMO...
Page 576: ...12 104 MELSEC A 12 CONTROL AUXILIARY FUNCTIONS MEMO...
Page 745: ......