Danfoss VLT 5000 Series Manual page 99

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 ON TIME
After expiration of the time set the corresponding
subroutine is called up. In the meantime the pro-
gram flow continues normally.
Summary
One-time access of a subroutine
Syntax
ON TIME n GOSUB name
Parameter
n =
time in ms, after which the subroutine is
called up (maximum MLONG)
name =
name of the subroutine
NB!
The precision with which the time is kept
depends on the remaining program. Typi-
cally the precision is ±1 ms.
Peculiarities
The subroutine to be called up must be defined
within the SUBMAINPROG and ENDPROG
identified program.
NB!
During the execution of an ON TIME sub-
routine NOWAIT is set to ON.
Command group
INT
Cross Index
ON PERIOD, GOSUB
Syntax-Example
OUT 1 1
/* light on */
ON TIME 200 GOSUB off1
/* light off again after 200 ms */
SUBMAINPROG
SUBPROG off1
OUT 1 0
RETURN
ENDPROG
MG.10.J4.02 – VLT is a registered Danfoss trade mark
®
VLT
5000 SyncPos option
I I I I I OUT
The 8 digital outputs of the SyncPos option and
the 2 relay outputs of the VLT5000 can be set and
reset by using the OUT command.
Summary
Set or reset digital outputs
Syntax
OUT n s
Parameter
n = output number
SyncPos option: O1 ... O8
Relay O1 = 11
Relay O4 = 14
s = condition (0 = OFF, 1 = ON)
NB!
After switching on the system, all outputs
are OFF.
These outputs, which have pre-defined functions
according to the I/O parameter settings, will also
be influenced by the OUT commands! The actual
output status remains as it is, even after program
end or program abort. The output circuit and maxi-
mum load current can be taken from the chapter
input/output terminal and the VLT5000 manual.
Command group
I/O
Cross Index
OUTB, IN, INB
Syntax-Example
OUT 3 1
/* 03 on */
OUT 6 0
/* 06 off */
Program sample
OUT_01.M
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents