Danfoss VLT 5000 Series Manual page 82

Synchronizing and positioning option onizing and positioning option
Hide thumbs Also See for VLT 5000 Series:
Table of Contents

Advertisement

I I I I I GETVLT
GETVLT reads VLT parameters and return the
corresponding value. Thus, with GETVLT you have
access to the operating data (e.g. motor current
P520) or to the configurations (e.g. max. command
value P205) of the VLT.
Since only integer values are transmitted, it is ne-
cessary to take the conversion index into conside-
ration when evaluating the return value.
Thus an LCP value of 50.0 Hz (conversion index =
–1) is equivalent to a return value of 500.
The list of VLT parameters with their respective
conversion index can be found in the VLT5000
operating instructions.
Summary
Reads a VLT parameter
Syntax
res = GETVLT par
NB!
It is not possible to read parameters with
sub indexes. E.g. VLT parameter 606 – 617.
Parameter
par = parameter number
Please inform you about the parameter number in
the VLT5000 manual.
Return value
res = parameter value
Command group
PAR
Cross Index
SETVLT
Syntax-Example
PRINT GETVLT 202
/* reads parameter 202 output frequency high */
82
VLT
®
5000 SyncPos option
I I I I I GOSUB
The GOSUB command will call up a subroutine,
and the accompanying program will be carried out.
The main program will be continued following the
completion of the last subroutine command
(RETURN).
Summary
calls a subroutine
Syntax
GOSUB name
Parameter
name = subroutine name
NB!
The subroutine must be defined at the
beginning or end of a program within the
SUBMAINPROG area.
Command group
CON
Cross Index
SUBMAINPROG...ENDPROG,
SUBPROG...RETURN
ON ERROR GOSUB, ON INT n GOSUB
Syntax-Example
GOSUB testup /* Call-up the subroutine testup */
Command line 1
Command line n
SUBMAINPROG
/* Subroutine testup must be defined */
SUBPROG testup
Command line 1
Command line n
RETURN
ENDPROG
Program sample
GOSUB_01.M
AXEND_01.M, INCL_01.M, STAT_01.M
MG.10.J4.02 – VLT is a registered Danfoss trade mark

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents