BASIC commands
PROGRAMMING MANUAL
146
R
e
vi
si
o
n
1
.0
fig. 43
/i
3.2.197 MOVEMODIFY
/i
ENCODER
AXIS 1
NON-SERVO
SPINDLE MOTOR
SERVO MOTOR
AXIS 0
Example
In this example on coil winding the unit conversion factors
UNITS
are set so
that the payout movements are in mm and the spindle position is measured in
revolutions. The payout eye therefore moves 50 mm over 25 revolutions of
the spindle with the command
MOVELINK(50,25,0,0,linkax)
. To accelerate
over the first spindle revolution and decelerate over the final 3 use the com-
mand
MOVELINK(50,25,1,3,linkax)
.
OP(motor,ON) ' Switch spindle motor on
FOR layer=1 TO 10
MOVELINK(50,25,0,0,1)
MOVELINK(-50,25,0,0,1)
NEXT layer
WAIT IDLE
OP(motor,OFF)
See also
AXIS
,
UNITS
,
REP_OPTION
.
Type
Axis command
Syntax
MOVEMODIFY(position)
MM(position)
Description
The
MOVEMODIFY
command changes the absolute end position of the cur-
rent single-axis linear move (
MOVE
,
MOVEABS
). If there is no current move
or the current move is not a linear move, then
MOVEMODIFY
is treated as a
MOVEABS
command. The
ENDMOVE
parameter will contain the position of
the end of the current move in user units.
MOVEMODIFY
works on the default basis axis (set with
BASE
) unless
AXIS
is used to specify a temporary base axis.
Arguments
•
position
The absolute position to be set as the new end of move.