Danfoss VLT5000 SyncPos Operating Instructions Manual page 163

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

Advertisement

■ ■ ■ ■ ■ WAITI
The WAITI command waits before continuing the
processing until the specified input has got the
desired signal level.
Summary
Wait for defined input condition
Syntax
WAITI n s
Parameter
n = input number
s = expected condition:
NB!
If the expected input condition does not occur,
then the program will remain 'stuck' at this
point. A minimal signal length is required for the
sure identification of a signal condition!
The VLT manual and the chapter input/output
terminals give information about the circuit and
technical data for the inputs.
Command group
CON
Cross Index
ON INT GOSUB, DELAY, WAITT, WAITAX
VLT5000 manual
Syntax-Example
WAITI 4 ON
/* Wait till High level reached input 4 */
WAITI 4 1
/* 3 alternative forms: */
WAIT I 4 ON
WAIT I 4 1
WAITI 6 OFF
/* Wait till Low level reached input 6 */
WAITI 6 0
/* 3 alternative forms: */
WAIT I 6 OFF
WAIT I 6 0
Program sample
WAIT_01.M
162
■ ■ ■ ■ ■ WAITNDX
1 – 8 or 16 – 33
ON = High-Signal
OFF = Low-Signal
Programmable SyncPos motion controller
Waits for the index while checking timeout. The
program waits until either the index of the axis is
found or the time (timeout) is exceeded.
Summary
waits until the next index position is reached
Syntax
WAITNDX t
Parameter
t = timeout in ms
NB!
If the time is exceeded then an error is
triggered which can be evaluated with a ON
ERROR function.
Command group
CON
Cross Index
WAITI, WAITP, INDEX
Syntax-Example
CVEL 1
CSTART
WAITNDX 10000
OUT 1 1
/* Waits a maximum of 10 seconds for the axis to
reach the index position */
MG. 1 0.J8.02 – VLT is a registered Danfoss trade mark

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents