6 - 86
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, 500000pulse
Axis 3, 300000pulse
Speed
PX000*M2435*M2455
END
!PX000
Positioning speed . . . . . . . . . . . . . . . 10000[pulse/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[pulse]
Axis 3 . . . 300000[pulse]
Travel value . . . . . .
After fixed-pitch feed completion,
PX000 is ON : Fixed-pitch feed start again.
PX000 is OFF : Motion SFC program end.
10000pulse/s
(Note): Example of the above Motion SFC program is started using the automatic start or sequence program.