Repeat Instructions - Mitsubishi MELSEC-F FX-1GM Handy Manual

Programmable controllers, position control unit
Table of Contents

Advertisement

3.4.3
Repeat instructions
REPEAT
Start of the repeat
instruction
RPT instructions under a RPT in-
struction can be used up to 15 times.
REPEAT END
End of repeat section
Machine home General return Initial position
position
position
a
?
a'
Relevant elemenla:
1) K1 to Kg999
2) X70 to X77 (BFM)
3) X1 to X6543 (digital switch)
Execution time:
Instantaneous progressing type
1) 1 msec or less
2)
1
programmable controller cycle
3) See page 136.
A value of 0 to 9,999 is valid.
A value of 0 will execute once.
Relevant elements:
Not necessary
Execution limo:
Instantaneous progressing time (1 msec or
less)
a"
Repeat
steps
(3) to (5)
3
times.
Y
I
position
return
A program
between
an
RPT
instruction
and an RPE instruction is repeated
1 t o
600
Timer wait 1 sec
8 0 0
Timer wait 1 sec
too
(6) General return
I
I
68
69
7 0
71
7 2
7 3
74
75
7 6
77
7 8
79
80
81
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ELK
CALL
R PT
WAIT
ADR
D RV
ADR
D RV
ADR
D RV
TMR
RPE
D RV
END
1
00
-
The subroutine given on page 45 can be used directly.
It is a command standard program for home position return.
-
Set the general return so that it is used by every block.
In this
way, the block may be repeated from the general return posi-
tion instead of the last position.
Page
134
gives details about the applicable versions of the F2-30TP
- 4 6 -

Advertisement

Table of Contents
loading

Table of Contents