Mitsubishi Electric MELSEC Q Series Programming Manual page 384

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

Advertisement

6 POSITIONING CONTROL
[Program]
Program executes manual pulse generator operation is shown as the following
conditions.
(1) System configuration
Manual pulse generator operation of Axis 1 and Axis 2.
Q61P Q03UD
Q172D
CPU
CPU
AMP
Axis
1
M
(2) Manual pulse generator operation conditions
(a) Manual pulse generator operation axis................Axis 1, Axis 2
(b) Manual pulse generator 1- pulse input magnification............ 100
(c) Manual pulse generator operation enable ...........M2051 (Axis 1)/
(d) Manual pulse generator operation end ................M2051 (Axis 1)/
(3) Motion SFC program
Motion SFC program for manual pulse generator operation is shown below.
Manual pulse generator
Manual pulse generator
[F10]
SET M2042
[G10]
PX000*M2415*M2435
[F20]
D720=100
D721=100
D714L=H00000001
D716L=H00000002
SET M2051
SET M2052
[G20]
!PX000
[F30]
RST M2051
RST M2052
(Note): Example of the above Motion SFC program is started using the automatic start or sequence program.
Motion CPU control module
QX41 QY41P
Q173D
PX
Manual pulse generator P1
Manual pulse generator P2
AMP
AMP
AMP
Axis
Axis
Axis
2
3
4
M
M
Wait until PX000, Axis 1 servo ready and
Axis 2 servo ready turn on.
Manual pulse generator 1- pulse input
magnification for Axis 1, Axis 2.
Control Axis 1 by P1.
Control Axis 2 by P2.
Manual pulse generator enable flag ON
for Axis 1, Axis 2.
Wait until PX000 turn off after manual pulse
generator operation end.
Manual pulse generator enable flag OFF
for Axis 1, Axis 2.
(Note): Turn the manual pulse generator enable
END
6 - 197
Manual pulse generator
enable flag
(M2051: P1, M2052: P2)
M
M2052 (Axis 2) ON
M2052 (Axis 2) OFF
flag off for P1, P2, so that the operation
may not continued for safety.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents