7. POSITIONING CONTROL
7
−
133
[Program Example]
This program executes simultaneous start of JOG operations under the conditions
below.
(1) System configuration
JOG operation of Axis 1, Axis 2, and Axis 4.
A61P A273UH
CPU
A278
LX
M
M
M
M
A61P AX41
JOG operation command(X000)
MR- -B MR- -B MR- -B MR- -B
Axis 4
Axis 3
Axis 2
Axis 1
(2) JOG operation conditions
(a) The JOG operation conditions are tabled below.
Item
JOG
Axis number
Axis 1
Axis 2
Axis 4
JOG operation speed
1000
500
1000
JOG operation direction
Forward
Forward
Reverse
(b) JOG operation command ...... X000 ON
(3) Sequence program
CIRCUIT END
Turns ON all axes servo start
command.
Turns ON PLC ready.
Stores the JOG operation speed for
each axis in the appropriate JOG
operation speed setting registers.
Stores in D710 to D713 JOG operation
axes while X000 is ON.
Turns ON M141 when setting is
complete for simultaneous start axes
and JOG operation speeds.
M9039
M9074
X000
X000
M9074 M2049 M9076
M141
M2000
M2042
DMOV
DMOV
500
DMOV
D710
D640
D642
K
D646
DMOV
0
2
4
38
41
M2001 M2002 M2004
SET
M141
M2048
RST
M141
1000
K
1000
K
0003
X000
JOG operation
Turns OFF M141 when X000
turns OFF.
K
DMOV
D712
0008
H