6 - 115
6 POSITIONING CONTROL
(3) FOR-OFF (loop-out trigger condition setting)
(a) The repetition range set until the specified bit device turns off is executed
repeatedly.
(b) The following devices are used as the loop-out trigger condition:
1) Input (X/PX)
2) Output (Y/PY)
3) Internal relay (M)/Special relay (SP.M)
4) Latch relay (L)
5) Link relay (B)
6) Annunciator (F)
Operation of the repetition control 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
X011
OFF
from start
X011
OFF
during first
execution of
3)
X011
OFF
during third
execution of
3)
VSTART
2000
2)
VINC
Speed
1)
VINC
VINC
NEXT
VEND
40000
2000
30000
20000
1000
3)
<K 701>
INC-2
230000
10000
500
Speed
Axis 1,
Axis 1,
Speed
Speed
Axis 1,
Axis 2,
Axis 1,
(1) Operation in condition 1
1000
0
2000
100000 200000
ON
OFF
X010
X011
OFF
ON
(2) Operation in condition 2
1000
0
200000
2000
100000
ON
OFF
X010
X
011
OFF
ON