Haas Alarm: 312 PROGRAM END – End of subroutine reached before M99. Need an M99 to return from subroutine. Check your sub routine or sub program for M99. Sub routines and sub programs need to have M99 to return to where they were called from with the M96, M97, M98 or G65.