6 POSITIONING CONTROL

(5) Servo program

Servo program No.11 for 2 axes linear interpolation control is shown below.

<K 11>

ABS-2

Axis 3,

Axis 4,

Combined-speed

50000

 

2 axes linear interpolation control

 

 

 

 

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

Axis 3, Axis 4

40000

 

Travel value to

Axis 3

50000

 

30000

 

 

stop position . . . . . .

 

 

 

 

Axis 4

40000

 

 

 

 

 

Command positioning speed

 

 

 

Combined-speed . . . . .

30000

 

(6) Motion SFC program

Motion SFC program for which executes the servo program is shown below.

2 axes linear interpolation control

2 axes linear interpolation control

[F10]

SET M2042

 

[G10]

 

 

 

 

 

 

PX000*M2455*M2475

 

[K11] ABS-2

 

 

 

 

 

 

 

Axis

3, 50000PLS

 

Axis

4, 40000PLS

 

Speed

30000PLS/s

[G20]

!PX000

 

 

 

 

 

 

 

 

 

Turn on all axes servo ON command.

Wait until PX000, Axis 3 servo ready and Axis 4 servo ready turn on.

2 axes linear interpolation control

 

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

Axis 3, Axis 4

Travel value to

Axis 3 . . .

50000[PLS]

stop position . . . . . . . .

Axis 4 . . .

40000[PLS]

Command positioning speed

 

 

Combined-speed . . . . . . . . .

30000[PLS/s]

Wait until PX000 turns off after linear interpolation completion.

END

(Note): Example of the above Motion SFC program is started using the automatic start or PLC program.

6 - 26