Mitsubishi Electronics Q172HCPU Baby Accessories User Manual


 
6 - 95
6 POSITIONING CONTROL
(4) Servo program
Servo program No.55 for speed control ( ) is shown below.
<K 55>
4000
Axis 3
Speed
VVF
Positioning speed . . . 4000
Axis used . . . . . . . . . Axis 3
Speed control ( ) (Forward rotation)
(5) Motion SFC program
Motion SFC program for which executes the servo program is shown below.
Speed control ( )
SET M2042
VVF
Axis 3
Speed 4000PLS/s
PX000*M2455
END
SET M3240
!M2003
Turn on Axis 3 stop command.
RST M3240
Turn off Axis 3 stop command.
!PX000
Speed control ( )
Turn on all axes servo ON command.
Wait until PX000 and Axis 3 servo ready turn on.
Speed control ( ) (Forward rotation)
Axis used . . . . . . . . . Axis 3
Positioning speed . . . 4000[PLS/s]
Wait until PX000 turn off after speed control ( ) start.
Wait until Axis 3 start accept flag turn off.
[G10]
[F10]
[K55]
[G20]
[G30]
[F20]
[F30]
(Note): Example of the above Motion SFC program is started using the automatic start or PLC program.