7. POSITIONING CONTROL
7
−
130
[Program Example]
This program executes JOG operation under the conditions below.
(1) System configuration
JOG operation of Axis 4.
A61P A273UH
CPU
A278
LX
M
M
M
M
A61P AX41
MR- -B MR- -B MR- -B MR- -B
Axis 4
Axis 3
Axis 2
Axis 1
Forward JOG operation command (X000)
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 D646, D647 when
X000 or X001 is ON.
Turns OFF M140 when X000 and
X001 turn OFF.
M9039
M9074
X000
M9074 M2049
M2000
M2042
1000
RST
D646
K
M140
DMOV
0
2
4
18
22
M9076
M140
M140
M3262
M3262
X0000
X0001
X000
M3263
X001
M3262
X001
M2004
SET
M140
Turns ON M140 when storage of
JOG operation speed is complete.
Forward JOG operation
Reverse JOG operation
26