Repeated Start (For Loop) - Mitsubishi Electric MELSEC iQ-F Series FX5 User Manual

Positioning control - intelligent function module
Hide thumbs Also See for MELSEC iQ-F Series FX5:
Table of Contents

Advertisement

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 data in which 6: NEXT start is set in [Da.13] Special start instruction is repeatedly implemented
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
Axis 1 block start data
[Da.11] Shape
1st point
1: Continue
2nd point
1: Continue
3rd point
0: END
No. of repetitions has been set in [Da.14] Parameter.
■Positioning data settings
Axis 1 positioning data
[Da.1] Operation pattern
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
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].)
[Da.12] Start data No.
[Da.13] Special start
instruction
1
4: FOR loop
10
0: Start block
50
6: NEXT start
Compatible block start data
1st point
2nd point
3rd point
[Da.14] Parameter
2
Start positioning data No. 1 to 3 en block
(Repeat start twice from 1st to 3rd point)
Positioning data No. 10 and 11 are started en
block
Positioning data No. 50 and 51 are started en
block
10 ADVANCED POSITIONING CONTROL
10.3 Setting the Block Start Data
10
175

Advertisement

Table of Contents
loading

Table of Contents