Example
LABEL 1
MOVE_D 4096 1000
MOVE_D –4096 –1
END
Example
The motor moves 4096 user units in the positive direction.
Explanation
Execution of the next MOVE command commences as soon as the
previous motion ends (after 1000 ms), this time in the opposite
direction. The time of the movement is determined internally
according to the motion profile (see section 12.2, Motion Profile)
you specified.
See Also
MOVE, MOVE_H, MOVE_R, GO, GO_D, ACCELERATION,
JERK_TIME, SPEED
Variables: Max_Profile_Velocity, Profile_Velocity,
Max_Profile_Acceleration, Profile_Acceleration.
Parameters: Pn2A2, Pn2A3, Pn2A4, Pn2A5
MOVE_H
Table explanation
Group
Motion
Syntax
MOVE_H <distance>
Op. Code
118
Modes
Program, Sequential
Motion
Hunting (-1)
Mode
Description
While the motor is still in motion, enables addition of a <distance>
to the commanded motion. This is unlike the MOVE and MOVE_D
commands where every command is executed only after the
previous one has ended. (After the MOVE and MOVE_D commands,
the motor comes to a full stop.)
The motion is according to the motion profile (see section 12.2,
Motion Profile).
Speed and acceleration can be changed during motion (as shown
in the example below). The jerk value used at the beginning of the
motion remains in effect while in Hunting mode (see section 5.3,
Motion Modes). Use the STOP_EX command to change the motion
mode.
Syntax
Distance
Arguments
XtraWare User Manual
Command Reference
The movement distance.
[user position units]
Serial
4
V
141