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

Programmable
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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] Special
start instruction" and the "block start data" 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 set to
"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 control examples are shown when the "block start data" and "positioning data" are set as shown in the setting examples.
Setting examples
■Block start data setting example
Axis 1 block start data
1st point
2nd point
3rd point
The "condition data Nos." have been set in "[Da.14] Parameter".
■Positioning data setting example
Axis 1 positioning data
No.
1
2
3
10
11
50
51
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 the setting
examples and started.
1.
Execute "positioning data No.1, 2, 3, 10, 11, 50, and 51" for axis 1.
2.
Return to the "1st point block start data" for axis 1. Again execute "positioning data No.1, 2, 3, 10, 11, 50 and 51" for axis
1, and then stop the control. (Repeat for the number of times (2 times) set in [Da.14].)
Downloaded from
ManualsNet.com
[Da.11] Shape
1: Continue
1: Continue
0: End
[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
search engine
[Da.12] Start data No.
[Da.13] Special start
instruction
1
4: FOR Loop
10
0: Block start
50
6: NEXT Start
[Da.14] Parameter
2
4 HIGH-LEVEL POSITIONING CONTROL
4.3 Setting the Block Start Data
4
147

Advertisement

Table of Contents
loading

Table of Contents