38
SET_VEL
Data/direction:
Encoding:
Axis acted on:
Available on:
Double buffered:
Set command velocity
2/write
11 (hex)
current axis
all axes
yes
SET_VEL sets the maximumvelocity magnitude used during the S-
curve, trapezoidal, and velocity contouring profile modes. The velocity
is specified as an unsigned 32-bit number with units of usteps/cycle.
The data word scaling is 1/216. The range is 0 to +1,073,741,823. The
loaded velocity is not utilized until a parameter update occurs.
SET_ACC
Data/direction:
Encoding:
Axis acted on:
Available on:
Double buffered:
Set command acceleration
2/write
12 (hex)
current axis
all axes
yes
SET_ACC sets the command acceleration. When in trapezoidal point-
to-point mode, the acceleration is specified as an unsigned 32-bit
number with units of usteps/cycle2, represented using 1/216 scaling.
The range is 0 to +1,073,741,823. When in the velocity contouring
mode, the acceleration is specified as a signed 32-bit number with units
of usteps/cycle2, represented in 1/216 format.The range is -
1,073,741,824 to +1,073,741,823. The loaded acceleration is not
utilized until a parameter update occurs.
This command is used when the profile mode is set to trapezoidal
point-to-point or velocity contouring.
SET_MAX_ACC
Data/direction:
Encoding:
Axis acted on:
Available on:
Double buffered:
Set maximum acceleration
1/write
15 (hex)
current axis
all axes
yes
SET_MAX_ACC sets the maximumacceleration. The acceleration is
specified as an unsigned 16-bit number with units of usteps/cycle2
represented using 1/216 scaling. The range is 0 to +1,073,741,823. The
loaded max. acceleration is not utilized until a parameter update occurs.
This command is used when the profile mode is set to S-curve
point to point.
SET_JERK
Data written:
Data read:
Encoding:
Axis acted on:
Available on:
Double buffered:
Set command jerk
2 words
none
13 (hex)
current axis
all axes
yes
SET_JERK sets the command jerk used during the S-curve profile
generation mode. The jerk is specified as an unsigned 32-bit number
with units of usteps/cycle3. The scaling is 1/232. The range is 0 to
2,147,483,647. The loaded jerk is not utilized until a parameter update
occurs.
SET_RATIO
Data/direction:
Encoding:
Axis acted on:
Available on:
Double buffered:
Set command gear ratio
2/write
14 (hex)
current axis
all axes
yes
SET_RATIO sets the electronic gear ratio used by the trajectory profile
generator. It is used when the profile mode is set to electronic gear. The
gear ratio is specified as a signed 32-bit number with 1/216 scaling. The
range is -1,073,741,824 to +1,073,741,823. The specified ratio value is
defined as the number of mcrosteps per encoder count with a positive
number indicating motion in the same direction. For example a value of
+8000 hex (1/2) will result in 1 mcrostep in the positive direction for
each two encoder counts in the positive direction, and a value of -
FFFE0000 hex (-2) will result in 2 mcrosteps in the negative direction
for each encoder count in the positive direction. The loaded ratio is not
utilized until a parameter update occurs.
This command will only function properly when an encoder is
attached.
SET_START_VEL
Data/direction:
Encoding:
Axis acted on:
Available on:
Double buffered:
Set starting velocity
2/write
6a (hex)
current axis
all axes
no
SET_START_VEL sets the mnimumallowed velocity. This command
is used during the trapezoidal and velocity contouring profile modes,
and is useful in conjunction with systems that may be induced to
oscillate if operated at too low a speed. The starting velocity is specified
as an unsigned 32-bit number with units of usteps/cycle. The data word
scaling is 1/216. The range is 0 to +1,073,741,823.
The starting velocity must always be smaller than the maximum
velocity set using the SET_VEL command.
This command is not used with the S-curve and electronic gear
profile modes.