Danfoss VLT 5000 Series Manual page 81

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 EXIT
The EXIT command ends a program where active
positioning procedures are being carried out to the
end.
The EXIT command is especially intended for use
in an error treatment routine, and permits an
unplanned program termination in the case of an
un-correctable error occurrence.
After an abort with EXIT, programs marked with
"AUTOSTART" will start up again automatically if
SET PRGPAR = –1.
Summary
Premature program termination
Syntax
EXIT
NB!
A program should only be terminated in the
case of a serious error, e.g. when reacting to
a limit switch.
Cross Index
ON ERROR GOSUB
SET PRGPAR
"AUTOSTART"
Syntax-Example
EXIT
/* Program termination */
Program sample
EXIT_01.M, ERROR_01.M, GSVEL_01.M
MG.10.J4.02 – VLT is a registered Danfoss trade mark
®
VLT
5000 SyncPos option
I I I I I GET
Reads the value of an axis parameter, a global
parameter or an user parameter of the SyncPos
option.
Global and axis parameter are addressed with a
code, for example KPROP (11) for the Proportional
factor, , , , , KDER (12) for the Derivative Factor
factor
factor
factor
factor
POSERR (15) for the T T T T T olerated position error
olerated position error
olerated position error
olerated position error. A
olerated position error
complete list of the codes can be found in the
Parameter reference.
User parameter are addressed with a number, 130
– 229. See also the Parameter reference for
details.
Summary
Reads an axis parameter, a global parameter or an
user parameter
Syntax
res = GET par
Parameter
par = parameter identification
Return value
res = parameter value
Command group
PAR
Cross Index
SET, GETVLT, SETVLT, LINKGPAR, LINKAXPAR
Parameter reference
Syntax-Example
PRINT GET POSLIMIT
/* Print-out positive positioning limit */
posdiff = GET POSERR
/* Read actual setting tolerated position error */
Syntax-Example
PRINT GET I_BREAK /* reads input for abort */
Program sample
GETP_01.M
Proportional
Proportional
Proportional
Proportional
Derivative Factor
Derivative Factor
Derivative Factor or
Derivative Factor
81

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents