Mitsubishi Electric MELSEC Q Series Programming Manual page 305

Motion controller, real mode
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6 POSITIONING CONTROL
(4) Servo program
Servo program No.500 for speed-switching control is shown below.
<K 500>
VSTART
ABS-2
Axis
2,
Axis
3,
Speed
VABS
Axis
2,
Speed
VABS
Axis
2,
Speed
VEND
(Note): Example of the Motion SFC program for positioning control is shown next page.
(5) Motion SFC program
Motion SFC program for which executes the speed-switching control is shown
below.
Speed-switching control
Speed-switching control
[F10]
SET M2042
[G10]
PX000*M2435*M2455
[K500]
VSTART
ABS-2
Axis
2, 100000pulse
Axis
3,
50000pulse
Speed
2000pulse/s
VABS
Axis
2,
40000pulse
Speed
8000pulse/s
VABS
Axis
2,
70000pulse
Speed
5000pulse/s
VEND
[G20]
!PX000
END
(Note): Example of the above Motion SFC program is started using the automatic start or sequence program.
Start speed-position switching control
2 axes linear interpolation control (absolute data method)
100000
Axis used . . . Axis 2, Axis 3
50000
End address
2000
Positioning speed . . . . . . . . . . 2000
40000
8000
Speed-switching point, speed setting
Indicated axis No.
70000
Speed-switching point
5000
Speed to speed-switching point
End speed switching control
Turn on all axes servo ON command.
Wait until PX000, Axis 2 servo ready and Axis 3 servo
ready turn on.
Start speed-switching control
2 axes linear interpolation control (absolute data method)
Axis used . . . . . . . . . . . Axis 2, Axis 3
End address
Positioning speed . . . . . . . .. . 2000[pulse/s]
Speed-switching point, speed setting
Indicated axis No.
Speed-switching point
Speed to speed-switching point
End speed-switching control
Wait until PX000 turn off after speed-switching control
completion.
6 - 118
Axis 2 . . . 100000
Axis 3 . . . . 50000
Axis 2
40000
70000
8000
5000
Axis 2 . . . 100000[pulse]
Axis 3 . . . . 50000[pulse]
Axis2
40000 70000
8000
(Unit : Point [pulse]/speed[pulse/s])
5000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents