
MCO 305 Design Guide
__ Software Reference __
174
MG.33.L4.02 – VLT
®
is a registered Danfoss trademark
WAITNDX
Summary
waits until the next index position is reached
Syntax
WAITNDX
t
Parameter
t = time-out in ms
Description
Waits for the index while checking time-out. The program waits until either the
index of the axis is found or the time (time-out) is exceeded.
NB!:
If the time is exceeded then an error is triggered which can be evaluated with a ON
ERROR function.
NB!:
The command WAITNDX can not be used with absolute encoders (see par. 32-00
Incremental Signal Type).
Command Group
CON
Cross Index
WAITI, WAITP, INDEX
Syntax Example
CVEL
1
CSTART
WAITNDX 10000
/* Waits a maximum of 10 s for the axis to reach the index position */
OUT 1 1
WAITP
Summary
waits until a certain position is reached
Syntax
WAITP
p
Parameter
p = absolute position being waited for
Description
The WAITP command causes the program to wait until position p is reached. If,
from the speed and the current position, it follows that the point p has already been
exceeded then the command is also terminated.
NB!:
Active ON INT or ON PERIOD commands can affect the precision and reproducibility.
Command Group
CON
Cross Index
DELAY, WAITI, WAITAX
Syntax Example
NOWAIT
ON
POSA 10000
WAITP 5000
/* wait for position 5000 */
OUT 1 1
/* set output 1 */
NOWAIT OFF
Output 1
5000
10000
Position
175MD052
Summary of Contents for MCO 305
Page 4: ......