Mitsubishi Electric MELSEC Q Series Programming Manual page 329

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

Advertisement

6 POSITIONING CONTROL
(6) Motion SFC program
Motion SFC program for which executes the servo program is shown below.
1 axis constant-speed control
1 axis constant-speed control
[F10]
SET M2042
[G10]
PX000*M2475
[K500]
CPSTART1
Axis
4
Speed
INC-1
Axis
4,
FOR-TIMES
K 100
INC-1
Axis
4,
INC-1
Axis
4,
NEXT
INC-1
Axis
4,
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 and Axis 4 servo ready turn on.
Start constant-speed control
Axis used . . . Axis 4
10000pulse/s
Positioning speed . . . . . . . . . . 10000[pulse/s]
1 axis linear positioning control
Axis used . . . . . . . . . . . . . . . Axis 4
-1000pulse
Travel value to pass point . . . -1000[pulse/s]
Number of repetitions 100
1 axis linear positioning control
Axis used . . . . . . . . . . . . . . . Axis 4
2000pulse
Travel value to pass point . . . 2000[pulse/s]
1 axis linear positioning control
Axis used . . . . . . . . . . . . . . . Axis 4
-2000pulse
Travel value to pass point . . . -2000[pulse/s]
End repetition region
1 axis linear positioning control
Axis used . . . . . . . . . . . . . . . Axis 4
1000pulse
Travel value to pass point . . . 1000[pulse/s]
End constant-speed control
Wait until PX000 turn off after constant-speed
control completion.
6 - 142

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents