3.43
EDH0162En1040 – 06/99
MM4005
DV — Read desired velocity
Usage
IMM
PGM
MIP
Syntax
xxDVpp
Parameters
Description
xx
[int]
— Axis number.
pp
— Auxiliary parameter.
Range
xx
—
1
to
4.
pp
—
0
or
1.
Units
xx
— None.
Defaults
xx
Missing: Error B.
Out of range: Error B.
Floating point: Error A.
pp
Missing: 0.
≥
1: 1.
Description
This command reads the motion velocity assigned in the axis setup or
redefined through the VA command. This is the maximum velocity of a
trapezoidal type motion profile used in point-to-point moves.
Since the command is reporting the programmed velocity, it can be used
during motion or at stop.
If
pp
is 0 or missing, the actual value of velocity is reported. If
pp
> or = 1,
the maximum allowed value of velocity is reported.
Returns
xxDVnn
xx
—
Axis number.
nn
—
Velocity value, in pre-defined units/sec.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
S
—
Communication time-out.
Rel. Commands
VA
—
Set velocity.
Example
2VA2.5
|
Define velocity to 2.5 units/sec.
2DV
|
Read desired velocity on axis #2.
2DV2.5
|
Controller returns a value of 2.5.
2DV1
|
Read maximum allowed velocity on axis #2.
2DV20
|
Controller returns a value of 20.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com