6POSITIONING 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]

<K 701>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VSTART

 

 

 

 

1)

 

 

 

2)

 

 

INC-2

 

 

 

 

Condition 1

Condition 2

Condition 3

Axis

1,

 

230000

 

 

Axis

2,

 

10000

 

FOR-TIMES

 

K1

 

K2

 

K3

Speed

 

 

2000

 

 

 

 

 

 

 

 

 

 

X010

ON

X010

ON

VINC

 

 

 

 

 

 

 

Axis

1,

 

40000

 

 

X010

ON

during first

during third

Speed

 

 

2000

 

FOR-ON

 

 

 

from start

execution of

execution of

1)

 

 

2)

 

 

VINC

 

 

 

 

 

 

3)

 

3)

 

 

 

 

 

 

 

 

X011

OFF

X011

OFF

Axis

1,

 

30000

 

 

 

 

Speed

 

 

500

3)

FOR-OFF

X011

OFF

during first

during third

VINC

 

 

 

1,

 

20000

 

from start

execution of

execution of

Axis

 

 

 

Speed

 

 

1000

 

 

 

 

3)

 

3)

 

NEXT

 

 

 

 

 

 

 

 

 

 

 

VEND

 

 

 

 

 

 

 

 

 

 

 

(1) Operation in condition 1

2000

1000

 

 

0

100000

200000

X010

OFF

ON

 

 

 

X011

ON

OFF

 

(2) Operation in condition 2

2000

 

 

 

 

 

 

 

 

 

1000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

100000

200000

X010

OFF

 

 

 

ON

 

 

 

 

 

 

 

 

 

 

 

 

X011 ON

 

 

 

OFF

 

 

 

 

6 - 115