Danfoss VLT 5000 Series Manual page 86

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 INB
The condition of the digital inputs can be read as
byte via the INB command.
The values reflect the condition of the individual
inputs.
Summary
reads one byte from digital inputs
Syntax
res = INB n
Parameter
n =
input byte
0 = input 1 (LSB) ... 8 (MSB)
1 = input 33 (LSB) ... 16 (MSB)
Return value
res = value of the input byte (0 ... 255)
The least significant bit corresponds to the condi-
tion of input 1/33.
NB!
The definition of the high and low level, as
well as the input circuit, can be taken from
the chapter Input/output terminal or the VLT5000
manual.
Command group
I/O
Cross Index
IN, OUT, OUTB
Syntax-Example
in = INB 0
/* store the condition of the first 8 inputs */
Example
IN1 = low, IN2 = high, IN3 = high,
all other inputs are low
res = 2^1 + 2^2 = 6
Program sample
INB_01.M, INB_02.M,
OUTB_01.M
86
VLT
®
5000 SyncPos option
I I I I I INDEX
Movement to the index position of the encoder will
be started via the INDEX command. The Index
search takes places from the Home velocity
fined in parameter HOME_VEL (7). The
HOME_VEL sign determines the rotational direc-
tion in which the Index signal will be searched.
Summary
Move to index position of the encoder
Syntax
INDEX
Peculiarities
The utilized encoder must have an index channel.
NB!
Only encoders with a low active index pulse
can be used.
If an index pulse is not found within a complete
revolution, then an alarm signal occurs.
The INDEX command will also be carried out to
the end in NOWAIT ON, before further program
processing can be begun.
Command group
INI
Cross Index
HOME, POSA, DEF ORIGIN
Syntax-Example
INDEX
/* move to index */
Program sample
INDEX_01.M
MG.10.J4.02 – VLT is a registered Danfoss trade mark
Home velocity
Home velocity de-
Home velocity
Home velocity

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents