Danfoss VLT 5000 Series Manual page 85

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 IN
The status of a digital input can be read with the
IN command. Depending on the signal level, a 0 or
1 will be given.
Summary
reads status of digital input
Syntax
res = IN n
Parameter
n = input number
SyncPos option: 1 ... 8
VLT control card: 16, 17, 18, 19, 27, 29, 32, 33
Return value
res = input status
0 = Low-level or undefined
1 = High-level
NB!
The definition of a high or low level, as well
as the input circuit, can be taken from the
chapter Input/output terminals, as well as the
VLT5000 manual.
Command group
I/O
Cross Index
INB, OUT, OUTB
Syntax-Example
in4 = IN 4
/* store condition input 4 in variable in4 */
IF (IN 2) THEN
/* If high level on terminal 2, set output 01 */
OUT 1 1
ELSE
OUT 1 0
ENDIF
Program sample
IN_01.M
MG.10.J4.02 – VLT is a registered Danfoss trade mark
®
VLT
5000 SyncPos option
I I I I I INAD
The INAD command reads the value of the analog
inputs.
Summary
reads analog input
Syntax
res = INAD n
Parameter
n = number of the analog input: 53, 54 and 60
Return value
res = analog value
NB!
The resolution of the analog inputs was
increased with the introduction of software
version SyncPos VLT 3.12.
For these versions the following return values are
true:
terminal 53/54
–1000 ... 1000 = –10 V ... 10 V
terminal 60:
0 ... 2000 = 0 ... 20 mA
For the software version SyncPos VLT2.03 following
return value are valid:
terminal 53/54
0 ... 10 V
terminal 60:
0 ... 20 mA
You will find the number of the software version in
parameter 624 on the VLT display.
Command group
I/O
Syntax-Example
an1 = INAD 53
PRINT "Analog input 53 " ,an1
res = 0 ... 100
res = 0 ... 200
85

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VLT 5000 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents