Mitsubishi Electric MELSEC Q Series Programming Manual page 211

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

Advertisement

6 POSITIONING CONTROL
(3) Operation timing
Operation timing for the servo program No.0 is shown below.
PLC ready flag (M2000)
All axes servo ON command
(M2042)
All axes servo ON accept flag
(M2049)
Axis 4 servo ready (M2475)
Start command (PX000)
Servo program start
Axis 4 start accept flag
(M2004)
(4) Servo program
Servo program No.0 for positioning control is shown below.
<K
0>
INC-1
Axis
Speed
(5) Motion SFC program
Motion SFC program for which executes the servo program is shown below.
1 axis linear positioning control
1 axis linear positioning control
[F10]
SET M2042
[G10]
PX000*M2475
[K0]
INC-1
Axis
4,
Speed
[G20]
!PX000
END
(Note): Example of the above Motion SFC program is started using the automatic start or sequence program.
V
10000
1 axis linear positioning control
4,
80000
10000
Turn on all axes servo ON command.
Wait until PX000 and Axis 4 servo ready turn on.
1 axis linear positioning control
80000pulse
Axis used . . . . . . . . . . Axis 4
10000pulse/s
Travel value to . . . . . . . 80000[pulse]
stop position
Command speed . . . . . 10000[pulse/s]
Wait until PX000 turn off after linear positioning
completion.
6 - 24
Servo Program No.0
Axis used . . . . . . . . . . . Axis 4
Travel value to . . . . . . . . 80000
stop position
Command speed . . . . . . 10000
t

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents