6 - 39
Chapter 6 Sequence Program Used for Positioning Control
Position
-speed s
witching
operati
X41
774
MOVP K1
X40
768
MOVP K3
D32
*
* (5) Position-speed switching operation (Positioning data No.3)
*
Start No
.
U0\
G4332
*<Setting of position-speed switch >
*<Setting of positioning data No.3 >
*
* (7) Fast HPR command and fast HPR command storage OFF
* (Not required when fast HPR is not used)
*
Position
-speed s
witching
enable
X42
780
Position
-speed s
witching
disable
X43
786
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\
G4330
*<New speed writing >
Position
-speed s
witching
control
Speed (
low-orde
r 16 bit
s)
MOVP K0
U0\
G4332
*<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
791
MOVP K7000 D32
Start No
.
*<Block positioning (7000) write >
Machine
HPR comm
and
X23
801
RST M3
Fast HPR
signal
*<Fast HPR command OFF >
MOVP K1
U0\
G4301
RST M4
Fast HPR
command
hold
*<Fast HPR command storage OFF >
*<Positioning start point No.(1) >