6 - 84
6 POSITIONING CONTROL
(5) Motion SFC program
Motion SFC program for which executes the speed-switching control is shown
below.
Fixed-pitch feed using 2 axes linear interpolation
Fixed-pitch feed using 2 axes linear interpolation
SET M2042
FEED-2
Axis 2, 500000PLS
Axis 3, 300000PLS
Speed
PX000*M2435*M2455
END
!PX000
Positioning speed . . . . . . . . . . . . . . . 10000[PLS/s]
P0
P0
Fixed-pitch feed using
2 axes linear interpolation
Turn on all axes servo ON command.
Wait until PX000, Axis 2 servo ready and Axis 3
servo ready turn on.
Axis used . . . . . . . . . . Axis 2, Axis 3
Axis 2 . . . 500000[PLS]
Axis 3 . . . 300000[PLS]
Travel value . . . . . .
After fixed-pitch feed completion,
PX000 is ON : Fixed-pitch feed start again.
PX000 is OFF : Motion SFC program end.
10000PLS/s
[G10]
[F10]
[K310]
[G20]
(Note): Example of the above Motion SFC program is started using the automatic start or PLC program.