■ ■ ■ ■ ■ WAITP
The WAITP command causes the program to wait
until position p is reached.
If, from the speed and the current position, it fol-
lows that the point p has already been exceeded
then the command is also terminated.
Summary
waits until a certain position is reached
Syntax
WAITP p
Parameter
p = absolute position being waited for
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 100000
WAITP 50000
/* wait on position 50000 */
OUT 1 1
/* set output 1 */
NOWAIT OFF
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
■ ■ ■ ■ ■ WAITT
The WAITT command is suitable for achieval of a
defined program time delay. The inputted parameter
shows the delay time in milliseconds.
Summary
Time delay
Syntax
WAITT t
Parameter
t = delay time in milliseconds (maximum MLONG)
NB!
If an interrupt occurs during the delay time,
then the entire delay procedure will be re-
begun following the processing of the interrupt. The
DELAY command is preferable to the WAITT
command, because of its constant time behavior.
Command group
CON
Cross Index
DELAY, WAITI, WAITAX
Syntax-Example
WAITT 5000
/* wait 5000 seconds */
WAIT T 5000
/* Alternative form: */
Program sample
WAIT_01.M
163