VLT
®
5000 SyncPos option
MG.10.J4.02 – VLT is a registered Danfoss trade mark
118
■ ■
■ ■
■ TIME
The internal system-time can be read out using the
TIME command. The TIME command is most sui-
table for calculating the execution time of a com-
mand sequence or device cycle time.
Summary
reads system-time
Syntax
res = TIME
Return value
res = system-time in milliseconds after switching on
NB!
Please note that after counting up to
MLONG the value will change to –MLONG.
Command group
I/O
Syntax-Example
PRINT TIME /* print current system-time */
timestop1 = TIME
/* store current entary system-time */
Program sample
ACC_01.M, DELAY_01.M, EXIT_01.M, GOSUB_01.M
■■
■■
■ TRACKERR
With TRACKERR it is possible to query the actual
position error of the axis in User Units (in considera-
tion of the signs). This is the difference between the
set value (CPOS) and the actual position (APOS).
Summary
queries actual position error of the axis
Syntax
res = TRACKERR
Return value
res = actual trailing of the axis in UU
Command group
I/O
Cross Index
APOS, CPOS, POSERR (15)
Syntax-Example
PRINT TRACKERR
/* query actual position error of the axis */
Software Reference