7. POSITIONING CONTROL
7 − 87
(3) FOR-OFF (loop-out trigger condition setting)
(a) The set repeated range is executed while the designated bit device is OFF.
(b) The following devices are available to set the loop-out trigger condition:
1) Input (X)
2) Output (Y)
3) Internal relay (M)/Special relay (SP.M)
4) Latch relay (L)
5) Link relay (B)
6) Annunciator (F)
Repeated operation using FOR-TIMES, FOR-ON, and FOR-OFF is shown below.
[Servo Program]
2)
1)
Condition 1 Condition 2 Condition 3
FOR-TIMES K1 K2 K3
FOR-ON
X010 → ON
from start
X010 → ON
during first
execution of 3)
X010 → ON
during third
execution of 3)
FOR-OFF
X010 → OFF
from start
X011 → OFF
during first
execution of 3)
X011 → OFF
during third
execution of 3)
<K 701>
VSTART
INC-2
Axis 1, 230000
Axis 2, 100000
Speed 2000
VINC
Axis 1, 40000
Speed 2000
1)
2)
VINC
Axis 1, 30000
Speed 500
VINC
Axis 1, 20000
Speed 1000
NEXT
VEND
3)
(1) Operation under condition 1
0
2000
10000
200000
1000
X010 ON
X011
OFF
(2) Operation under condition 2
0
2000
100000
200000
1000
X010 ON
X011
OFF