164
4 ADVANCED POSITIONING CONTROL
4.3 Setting the Block Start Data
Repeated start (FOR loop)
In Repeated start (FOR loop), the data between the block start data in which 4: FOR loop is set in [Da.13] Special start
instruction and the block start dat0 in which 6: NEXT start is set in [Da.13] Special start instruction is repeatedly executed for
the number of times set in [Da.14] Parameter. An endless loop will result if the number of repetitions is 0.
(The number of repetitions is set in [Da.14] Parameter of the block start data in which 4: FOR loop is set in [Da.13] Special
start instruction.)
The following shows setting examples and a control example in which Block start data and Positioning data are set as shown
in the setting examples.
Setting example
■
Block start data settings
No. of repetitions has been set in [Da.14] Parameter.
■
Positioning data settings
Control example
The following describes the control to be executed when the operation using the 1st point block start data of the axis 1 is
started.
• The positioning data No.1, 2, 3, 10, 11, 50, and 51 of the axis 1 are executed.
• Processing returns to the 1st point block start data of the axis 1 and the positioning data No.1, 2, 3, 10, 11, 50, and 51 is
executed again, then the control is stopped. (Processing will be repeated for the number of times (2 times) set in [Da.14].)
Axis 1 block start data
[Da.11] Shape
[Da.12] Start data No.
[Da.13] Special start
instruction
[Da.14] Parameter
1st point
1: Continue
1
4: FOR loop
2
2nd point
1: Continue
10
0: Block start
3rd point
0: End
50
6: NEXT start
Axis 1 positioning 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
Summary of Contents for MELSEC iQ-R RD75P4
Page 1: ...MELSEC iQ R Positioning Module User s Manual Application RD75P2 RD75P4 RD75D2 RD75D4 ...
Page 2: ......
Page 13: ...11 MEMO ...
Page 19: ...17 CONTENTS INDEX 588 REVISIONS 592 WARRANTY 593 TRADEMARKS 594 ...
Page 498: ...496 13 PROGRAMMING 13 2 List of Labels Used ...
Page 503: ...13 PROGRAMMING 13 4 Program Example 501 13 ...
Page 514: ...512 13 PROGRAMMING 13 4 Program Example Restart program Parameter data initialization program ...
Page 515: ...13 PROGRAMMING 13 4 Program Example 513 13 Flash ROM write program Error reset program ...
Page 516: ...514 13 PROGRAMMING 13 4 Program Example Stop program ...
Page 565: ...APPENDICES Appendix 4 Operation Examples of When the Remote Head Module Is Mounted 563 A ...
Page 597: ......