EasyManua.ls Logo

Danfoss VLT5000 SyncPos - Page 118

Danfoss VLT5000 SyncPos
236 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
117
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
Software Reference
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
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 res = 0 … 100
terminal 60: 0 … 20 mA res = 0 … 200
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

Table of Contents

Related product manuals