Mitsubishi Electric MELSEC Q Series Programming Manual page 325

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

Advertisement

6 POSITIONING CONTROL
(5) Motion SFC program
Motion SFC program for which executes the servo program is shown below.
Speed-switching during instruction execution
Speed-switching during
instruction execution
[F10]
SET M2042
[G10]
PX000*M2415*M2435
[F20]
SET M2040=PX010
RST M2040=!PX010
[K310]
CPSTART2
Axis
1
Axis
2
Speed
10000pulse/s
ABS-2
Axis
1,
20000pulse
Axis
2,
10000pulse
ABS
Axis
1,
30000pulse
Axis
2,
20000pulse
Center 1,
30000pulse
Center 2,
10000pulse
ABS-2
Axis
1,
40000pulse
Axis
2,
25000pulse
Speed
15000pulse/s
ABS-2
Axis
1,
50000pulse
Axis
2,
40000pulse
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 and Axis 2 servo
ready turn on.
Speed-switching point specified flag turn on when
PX010 turn on.
Speed-switching point specified flag turn off when
PX010 turn off.
Set P1
Set P2
Set P3
Speed change
Set P4
Wait until PX000 turn off after constant-speed control
completion.
6 - 138

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents