123
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
Software Reference
■
■
■
■
■
MAPOS
With the MAPOS command it is possible to query
the actual master position (absolute to the actual
zero position).
Summary
Queries current actual position of the master
Syntax
res = MAPOS
Return value
res = master position to absolute 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 MAPOS
/* Queries actual master position and print to PC */
■
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
AVE L
Cross Index
PR I NT MAVE L
/* Queries actual velocity of the master and print to
PC */