# ID 21413

WAIT without SYN is not allowed.
Description | The WAIT keyword may only be used in the #MACHINE DATA command if the axis parameter (SYN) is set to synchronised . Example: Set a software limit switch and wait in the channel: Wrong: G00 X0 Y0 Z0 :

#MACHINE DATA [AX=X AXPARAM="kenngr.swe_pos 15000000" WAIT]

:

N1000 M30

Correct:

G00 X0 Y0 Z0

:

#MACHINE DATA SYN [AX=X AXPARAM="kenngr.swe_pos 15000000" WAIT]

:

N1000 M30

Response | Class | 2 | Abort NC program processing.
Solution | Class | 3 | Check and modify NC program. Add the SYN keyword to the #MACHINE DATA command or remove WAIT. See also [PROG// Chapter Writing of machine data]
Error type | 1, Error message from NC program.