Mitsubishi Electric MELSEC Q Series Programming Manual page 336

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

Advertisement

6 POSITIONING CONTROL
(d) Motion SFC program
Motion SFC program for which executes the servo program is shown below.
4 axes constant speed control
4 axes constant speed control
[F10]
SET M2042
[G10]
PX000*M2415*M2435*M2455
[K506]
CPSTART4
Axis
1
Axis
2
Axis
3
Axis
4
Speed
10000pulse/s
INC-4
Axis
1,
3000pulse
Axis
2,
4000pulse
Axis
3,
4000pulse
Axis
4,
4000pulse
INC-4
Axis
1,
5000pulse
Axis
2,
3500pulse
Axis
3, -4000pulse
Axis
4, -6000pulse
INC-4
Axis
1,
5000pulse
Axis
2,
3500pulse
Axis
3,
3000pulse
Axis
4,
6000pulse
CPEND
[G20]
!PX000
END
(Note): Example of the above Motion SFC program is started using the automatic start or sequence program.
Turn on all axes servo ON command.
Wait until PX000, Axis 1 servo ready, Axis 2 servo
ready, Axis 3 servo ready and Axis 4 servo ready
*M2475
turn on.
Start constant-speed control
Axis used. . . Axis 1, Axis 2, Axis 3, Axis 4
Positioning speed . . . . . . . . . . 10000[pulse/s]
4 axes linear interpolation control (P1)
Travel value to pass point
4 axes linear interpolation control (P2)
Travel value to pass point
4 axes linear interpolation control (P3)
Travel value to pass point
End constant-speed control
Wait until PX000 turn off after constant-speed
control completion.
6 - 149
Axis 1 . . . 3000pulse
Axis 2 . . . 4000pulse
Axis 3 . . . 4000pulse
Axis 4 . . . 4000pulse
Axis 1 . . . 5000pulse
Axis 2 . . . 3500pulse
Axis 3 . . . -4000pulse
Axis 4 . . . -6000pulse
Axis 1 . . . 5000pulse
Axis 2 . . . 3500pulse
Axis 3 . . . 3000pulse
Axis 4 . . . 6000pulse

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents