91
MG.10.J4.02 – VLT is a registered Danfoss trade mark
VLT
®
5000 SyncPos option
Software Reference
■ MAVEL
This function returns the actual velocity of the
master drive in qc/sec, with qc referring to the
master encoder.
The accuracy of the values depends on the dura-
tion 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 con-
trast, quick changes are reported with a delay of a
maximum of 100 ms.
Summary
queries actual velocity of the master
Syntax
res = MAVEL
Return value
res = actual velocity of the master in qc/sec, the
valve is signed
Command group
AVEL
Cross Index
PRINT MAVEL
/* queries actual velocity of the master and print to
PC */
■■
■■
■ MIPOS
The command MIPOS returns the last index or
marker position of the master absolute to the
current zero point.
Summary
Query last index or marker position of the master
Syntax
res = MIPOS
Return value
res = last index or marker position of the master
absolute to actual zero point in qc
Command group
I/O
Cross Index
CPOS, DEF ORIGIN, SET ORIGIN, POSA, POSR
Parameter: POSFACT_N (26), POSFACT_Z (23)
Syntax-Example
PRINT MIPOS
/* print to the PC the last index position of the
master */