
MCO 305 Design Guide
__ Software Reference __
124
MG.33.L4.02 – VLT
®
is a registered Danfoss trademark
MAPOS
Summary
Queries current actual position of the master
Syntax
res = MAPOS
Return Value
res = master position to absolute actual zero point in qc
Description
With the MAPOS command it is possible to query the actual master position
(absolute to the actual zero position).
Command Group
I/O
Cross Index
CPOS, DEF ORIGIN, SET ORIGIN, POSA, POSR,
Parameters: 32-12
User Unit Numerator
, 32-11
User Unit Denominator
Syntax Example
PRINT MAPOS
/* queries actual master position and print to PC */
MAVEL
Summary
Queries actual velocity of the master
Syntax
res = MAVEL
Return Value
res = actual velocity of the master in qc/s, the value is signed
Description
This function returns the actual velocity of the master drive in qc/s, with qc
referring to the master encoder.
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 / MAVEL, however, in contrast, quick
changes are reported with a delay of a maximum of 100 ms.
Command Group
I/O
Cross Index
AVEL
Syntax sample
PRINT MAVEL
/* queries actual velocity of the master and print to PC */
Summary of Contents for MCO 305
Page 4: ......