7. POSITIONING CONTROL
7
−
128
[Program Example]
This program executes JOG operation under the conditions below.
(1) System configuration
JOG operation of Axis 4.
A172SHCPUN
Forward JOG operation command (X000)
A172B
A172S
ENC
A1S
X10
Axis 1
M
M
M
M
Axis 2
Axis 3
Axis 4
MR-[]-B
MR-[]-B
MR-[]-B
MR-[]-B
Reverse JOG operation command (X001)
(2) JOG operation conditions
(a) Axis number..............................Axis 4
(b) JOG operation speed ...............1000
(c) JOG operation commands
1) Forward JOG operation........X000 ON
2) Reverse JOG operation .......X001 ON
(3) Sequence program
Turns ON all axes servo start
command.
CIRCUIT END
Turns ON PLC ready.
Stores JOG operation speed
(1000) in D982, D983 when
X000 or X001 is ON.
Turns OFF M140 when X000 and
X001 turn OFF.
M9039
M9074
X0000
M9074 M2009
M2000
M2042
1000
RST
D982
K
M140
DMOV
0
2
4
18
22
M9076
M140
M140
M1862
M1863
X0000
X0001
X0000 M1863
X0001 M1862
X0001
M2004
SET
M140
Turns ON M140 when storage of
JOG operation speed is complete.
Forward JOG operation
Reverse JOG operation
26
Downloaded from