Mitsubishi Electronics Q172HCPU Baby Accessories User Manual


 
6 - 125
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)
The repetition control 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
during first
positioning 3)
X010
ON
during second
positioning 3)
X010
ON
during third
positioning 3)
FOR-OFF
X011
OFF
during first
positioning 3)
X011
OFF
during second
positioning 3)
X011
OFF
during third
positioning 3)
Axis 1
Axis 2
CPSTART
<K 701>
20000
2)
ABS-2
Speed
Axis 1,
Axis 2,
1)
INC-2
Axis 1,
Axis 2,
INC-2
Axis 1,
Axis 2,
NEXT
CPEND
0
40000
1000
30000
20000
20000
3)
50000
Operation in condition 2
Repeat 3)
Operation in condition 3
Axis 2
Operation in condition 1
1000000
Axis 1
200000