Example 1
Example to demonstrate Pass/Fail flags, as well as the difference between delay commands.
' wrong reply to demonstrate how app flags it
PX=0,DUMMY
PY=0,DUMMY
PZ=0,DUMMY
PU=0,DUMMY
' correct commands from here on
PX=0,OK
PY=0,OK
PZ=0,OK
PU=0,OK
PP,0:0:0:0
HSPD=65000000,OK
ACC=10,OK
ABORT,OK
X1000Y1000Z1000U1000,OK
' DELAYS command is short delay of 500 ms
DELAYS,
PP,1000:1000:1000:1000
ARCXYP0:0:45000,OK
DELAYS,
PP,-1000:1000:1000:1000
X1000Y1000Z1000U1000,OK
' DELAYM command is medium delay of 1500 ms
DELAYM,
PP,1000:1000:1000:1000
ARCTP10000:0:180000:6000,OK
DELAYM,
PP,19055:0:6000:25614
X1000Y1000Z1000U1000,OK
' DELAYL command is long delay of 3000 ms
DELAYL,
PP,1000:1000:1000:1000
ARCZUP0:0:315000,OK
DELAYL,
PP,1000:1000:-1000:-1000
X1000Y1000Z1000U1000,OK
DELAY,
PP,1000:1000:1000:1000
ARCTN-18000:0:470000:-56832,OK
' DELAY command default is now 2000 ms
DELAY,
PP,-11493:17879:-56832:20402