115
MG.10.J4.02 – VLT is a registered Danfoss trade mark
VLT
®
5000 SyncPos option
■ ■
■ ■
■ SYSVAR
The system variable SYSVAR – a prepared pseudo
array – provides detailed system information. You
also need this index if you link the system variable
with the LCP display using LINKSYSVAR or specify
recording data of a test run with TESTSETP.
Summary
System variable (Pseudo array) reads system
values.
Syntax
SYSVAR[n]
n = index
System Process Data
Index Description
1 Input Byte 0 (I1 … I8)
2 Input Byte 1 (VLT input 16 … 33)
9 Output Byte 0
17 Top 2 bytes which are provided by the
SyncPos command STAT
22 Value which is also supplied by the
SyncPos command TIME
28 Actual motor current
30 Motor voltage
31 VLT status word
32 Actual output frequency
33 current line number of the SyncPos pro-
gram in case of #DEBUG NOSTOP
Axis Process Data
Index Description
4096 Current position slave in qc (without con-
version to UU) (see APOS)
4097 Set position slave in qc (without conver-
sion to UU) (see CPOS)
4098 Last slave index position in qc (without
conversion to UU) (see IPOS)
4099 Actual velocity in qc/st, where st is the
sample time set by _GETVEL.
4100 Current velocity Master (as above)
4101 Current position error in qc
4102 Contains the number of revolutions of the
encoder after the first overflow of the ab-
solute encoder, provided the graduation
per revolution is entered correctly in EN-
CODER (2).
4103 As above for the master
4105 Current master position without conversion
(qc) (see MAPOS)
4106 Last Master index position without conver-
sion (qc) (see MIPOS)
4107 Internal current velocity (ACTPOS – last
ACTPOS) (qc/1 ms)
4108 Internal Master velocity (see above)
4109 Current frequency of the master simulation
(1/1000 Hz) (see PULSVEL)
4110 D e termines whether the master simulation
is active or not (1 or 0)
4111 REG_REFERENCE Actual set value
which is output by the control through the
position controller (between –FFFFF and
FFFFF resp. –1048575 and 1048575 deci-
mal)
Axis Process Data, Profile generator value
Index Description
4218 Returns all 32 flags of the profile generator.
These are:
PG_FLAG_BUSY 1L
// Flag for busy information
PG_FLAG_COMMANDERR2L
// Flag for Command Error occurred (not
used)
PG_FLAG_POSREACHED 4L
// Flag for Position reached
PG_FLAG_INDEX_HIT 8L
// Flag for Index observed
PG_FLAG_WRAP_OCC 16L
// Flag for Wraparound occurred (not used)
PG_FLAG_POS_ERR 32L
// Flag for Position Error occurred
PG_FLAG_BRKPT_RCHD 64L
// Flag for Breakpoint reached (not used)
PG_FLAG_FLOATING 128L
// Flag for MOTOR OFF
Software Reference