6 POSITIONING CONTROL

(4) Servo program

Servo program No. 501 for speed-switching control by the repetition instruction is shown below.

<K 501>

VSTART

INC-2

Axis 2,

Axis 3,

Speed

VINC

Axis 2,

Speed

FOR-TIMES

VINC

Axis 2,

Speed

VINC

Axis 2,

Speed

NEXT

VEND

230000

100000

10000

40000

40000

K 2

30000

20000

50000

40000

Starts speed-switching control

 

 

2 axes linear interpolation control (incremental data method)

Axis used . . . . .. . . . . .. . . . ..

Axis 2, Axis 3

Travel value to stop position

Axis 2 . . .

230000

 

Axis 3 . . .

100000

Positioning speed

 

 

Speed-switching point, speed setting

 

Indicated axis . . . . . . . . . . . .

. . . . . . . . .

Axis 2

Travel value to speed-switching point . . .

40000

Speed to speed-switching point .

. . . . . . . . .

40000

Number or repetition 2

 

 

Speed-switching point, speed setting

 

Indicated Axis No.

Axis 2

Speed-switching point

30000 50000

Speed to speed-switching point

20000 40000

End repetition region

 

 

End speed-switching control

 

 

(Note): Example of the Motion SFC program for positioning control is shown next page.

6 - 118