I tried to modify the PLC program as mentioned above but compile fails. Here is the compiler output and the modified .src file.
This is my first go at compiling so its probably something simple but I cant figure it out.
"C:\cncm\compile.cmd" "Centroid-Standard-Mill-ALLIN1DC-r7-spbrk.src"
Process started (PID=1732) >>>
C:\Program Files (x86)\Notepad++>cd \cncm
C:\cncm>mpucomp.exe "Centroid-Standard-Mill-ALLIN1DC-r7-spbrk.src" mpu.plc
MPUCOMP v4.20 MPU11 PLC compiler
Copyright 2001-2018 Centroid Corp.
Input file : Centroid-Standard-Mill-ALLIN1DC-r7-spbrk.src
Output file: mpu.plc
Error Line 2544 Col 5: Undefined label Aux3Key
IF (Aux3Key || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
^
Error Line 2545 Col 5: Undefined label Aux3LED
IF (Aux3LED ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED)
^
Error Line 2546 Col 4: Undefined label Aux3LED
IF Aux3LED && !SpindleEnableOut THEN (SpindleBrake)
^
Error Line 2651 Col 5: Undefined label Aux3Key
IF (Aux3Key || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
^
Error Line 2652 Col 5: Undefined label Aux3LED
IF (Aux3LED ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED)
^
Error Line 2653 Col 4: Undefined label Aux3LED
IF Aux3LED && !SpindleEnableOut THEN (SpindleBrake)
^
Error Line 2544 Col 5: Bad Numerical Factor
IF (Aux3Key || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
^
Error Line 2545 Col 5: Bad Numerical Factor
IF (Aux3LED ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED)
^
Error Line 2546 Col 4: Bad Numerical Factor
IF Aux3LED && !SpindleEnableOut THEN (SpindleBrake)
^
Error Line 2651 Col 5: Bad Numerical Factor
IF (Aux3Key || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
^
Error Line 2652 Col 5: Bad Numerical Factor
IF (Aux3LED ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED)
^
Error Line 2653 Col 4: Bad Numerical Factor
IF Aux3LED && !SpindleEnableOut THEN (SpindleBrake)
^
Compilation failed.