Danfoss VLT5000 SyncPos Operating Instructions Manual page 119

Motion controller for danfoss vlt5000 series; danfoss vlt 5000flux series
Table of Contents

Advertisement

■ ■ ■ ■ ■ IN B
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 condition
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, I NB_02.M,
OUTB_01.M
118
Programmable SyncPos motion controller
■ ■ ■ ■ ■ INDEX
Movement to the index position of the encoder will
be started via the INDEX command. The Index
search takes places from the Home velocit
in parameter HOME_VEL (7). The HOME_VEL sign
determines the rotational direction in which the
Index signal will be searched.
Summary
Move to index position of the encoder
Syntax
I N DEX
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
I N I
Cross Index
HOME, POSA, DEF ORIGIN
Syntax-Example
I N DEX
/* move to index */
Program sample
I N DEX_01.M
MG. 1 0.J8.02 – VLT is a registered Danfoss trade mark
Home velocit
Home velocit
Home velocity y y y y defined
Home velocit

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents