6 -
187
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.
Manual pulse generator enable flag
(M2051 : P1, M2052 : P2)
MM
MM
Motion CPU control module
Axis
4
Axis
1
Axis
2
Axis
3
Manual pulse generator P2
Manual pulse generator P1
AMP AMP AMP AMP
Q61P Q02H
CPU
Q172H
CPU
Q172
LX
QX41
(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)/
M2052 (Axis 2) ON
(d) Manual pulse generator operation end ................M2051 (Axis 1)/
M2052 (Axis 2) OFF
(3) Motion SFC program
Motion SFC program for manual pulse generator operation is shown below.
Manual pulse generato
r
D720=100
D721=100
D714L=H00000001
D716L=H00000002
SET M2051
SET M2052
Wait until PX000 turn off after manual pulse
generator operation end.
RST M2051
RST M2052
END
SET M2042
PX000*M2415*M2435
!PX000
Wait until PX000, Axis 1 servo ready and
Axis 2 servo ready turn on.
Manual pulse generator
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.
Manual pulse generator enable flag OFF
for Axis 1, Axis 2.
(Note): Turn the manual pulse generator enable
flag off for P1, P2, so that the operation
may not continued for safety.
[F10]
[G10]
[F20]
[G20]
[F30]
(Note): Example of the above Motion SFC program is started using the automatic start or PLC program.