Mitsubishi Electronics Q172HCPU Manual Do Utilizador

Página de 454
 
 
 
6 - 80 
 
6   POSITIONING CONTROL 
 
(5)   Motion SFC program 
Motion SFC program for which executes the servo program is shown below. 
 
 
1 axis fixed-pitch feed control
SET M2042
FEED-1
 Axis          4,    80000PLS
 Speed             10000PLS/s
 Dwell                 1000ms
PX000*M2475
 
!PX000*!PX001
P0
P0
END
PX001
1 axis fixed-pitch feed control
1 axis fixed-pitch feed
   Axis used  . . . . . . . . . . Axis 4
   Travel value  . . . . . . . . 80000[PLS]
Command speed . . . . . .
10000[PLS/s]
Dwell  . . . . . . . . . . . . . . . . .  1000[ms]
Turn on all axes servo ON command.
Wait until PX000 and Axis 4 servo ready turn on.
Wait until PX000 and PX001 turn off after 
fixed-pitch feed completion.
[F10]
[G10]
[K300]
[G20]
[G30]
After fixed-pitch feed completion,
PX001 is ON   : Fixed-pitch feed starts.
PX001 is OFF : Motion SFC program ends.
 
 
(Note): Example of the above Motion SFC program is started using the automatic start or PLC program.