EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q Series - Page 336

Mitsubishi Electric MELSEC-Q Series
624 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 - 149
6 POSITIONING CONTROL
(d) Motion SFC program
Motion SFC program for which executes the servo program is shown below.
SET M2042
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
PX000*M2415*M2435*M2455
END
4 axes constant speed control
!PX000
4 axes constant speed control
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
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
Axis 1 . . . 3000pulse
Axis 2 . . . 4000pulse
Axis 3 . . . 4000pulse
Axis 4 . . . 4000pulse
End constant-speed control
4 axes linear interpolation control (P2)
*M2475
4 axes linear interpolation control (P3)
Travel value to pass point
Axis 1 . . . 5000pulse
Axis 2 . . . 3500pulse
Axis 3 . . . -4000pulse
Axis 4 . . . -6000pulse
Travel value to pass point
Axis 1 . . . 5000pulse
Axis 2 . . . 3500pulse
Axis 3 . . . 3000pulse
Axis 4 . . . 6000pulse
Wait until PX000 turn off after constant-speed
control completion.
[F10]
[G10]
[K506]
[G20]
(Note): Example of the above Motion SFC program is started using the automatic start or sequence program.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC-Q Series

Related product manuals