
MCO 305 Design Guide
__ Software Reference __
98
MG.33.L4.02 – VLT
®
is a registered Danfoss trademark
AVEL
Summary
Queries actual velocity of axis.
Syntax
res = AVEL
Return Value
res = actual velocity of axis in UU/s, the value is signed
Description
This function returns the actual velocity of the axis in User Units per second. The
accuracy of the values depends on the duration of the measurement (averaging).
The standard setting is 20 ms, but this can be changed by the user with the
_GETVEL command. It is sufficient to call up the command once in order to work
with another measuring period from then on. Thus, the command:
var = _GETVEL 100
sets the duration of the measurement to 100 ms, so that you have a considerably
better resolution of the speed with AVEL and MAVEL, however, in contrast, quick
changes are reported with a delay of a maximum of 100 ms.
Command Group
I/O
Cross Index
MAVEL, APOS, _GETVEL
Syntax Example
PRINT AVEL
/* queries actual velocity of axis and display on the PC */
Summary of Contents for MCO 305
Page 4: ......