Download Print this page

Danfoss MCO 305 Design Manual page 174

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
WAITNDX
Summary
Syntax
Parameter
Description
Command Group
Cross Index
Syntax Example
WAITP
Summary
Syntax
Parameter
Description
Command Group
Cross Index
Syntax Example
174
__ Software Reference __
waits until the next index position is reached
WAITNDX t
t = time-out in ms
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).
CON
WAITI, WAITP, INDEX
CVEL 1
CSTART
WAITNDX 10000
/* Waits a maximum of 10 s for the axis to reach the index position */
OUT 1 1
waits until a certain position is reached
WAITP p
p = absolute position being waited for
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.
CON
DELAY, WAITI, WAITAX
NOWAIT ON
POSA 10000
WAITP 5000
/* wait for position 5000 */
OUT 1 1
/* set output 1 */
NOWAIT OFF
Output 1
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
5000
10000
Position

Advertisement

loading