6 - 39
Chapter 6 Sequence Program Used for Positioning Control
Position
-speed s
witching
operati
X41
843
MOVP K1
X40
836
MOVP K3
D32
*
* (5) Position-speed switching operation (Positioning data No.3)
*
Start No
.
U0\
G1532
*<Setting of position-speed switch >
*<Setting of positioning data No.3 >
*
* (7) Fast OPR command and fast OPR command storage OFF
* (Not required when fast OPR is not used)
*
Position
-speed s
witching
enable
X42
850
Position
-speed s
witching
disable
X43
857
Speed ch
anging c
ommand
X41
X42
Position
-speed s
witching
disable
Position
-speed s
witching
enable
Position
-speed s
witching
control
DMOVP D1
U0\
G1530
*<New speed writing >
Position
-speed s
witching
control
Speed (
low-orde
r 16 bit
s)
MOVP K0
U0\
G1532
*<Setting of position-speed switch >
Positon
-speed s
witching
control
Position
ing star
t comman
d
X25
*
* (6) High-level positioning control
*
High-lev
el posit
ioning c
ontrol c
X2A
863
MOVP K7000 D32
Start No
.
*<Block positioning (7000) write >
Machine
OPR comm
and
X23
875
RST M3
Fast OPR
signal
*<Fast OPR command OFF >
MOVP K1
U0\
G1501
RST M4
Fast OPR
command
hold
*<Fast OPR command storage OFF >
*<Positioning start point No.(1) >