Alarms & Guards
Stop the machine deliberately when a measurement is out of tolerance.
A macro that can measure should also be able to refuse. #3000 = 105 (MESSAGE) raises a real Haas alarm with your text on the screen and stops the program — far better than quietly cutting a scrap part. The number is the alarm code; the text in parentheses shows on the control.
Your turn
A measured deviation is waiting in #101. If its magnitude is more than 0.05, raise an alarm with #3000. Otherwise set #102 to 1 to mark the part good.
The machine gives you
0.02 over — inside tolerance:
#101 = 0.020.08 over — out of tolerance:
#101 = 0.080.08 under — out of tolerance the other way:
#101 = -0.08Your program is run once for each set of conditions. It has to work for all of them.
Loading...
This is a learning simulation — always prove out a program on the actual control before you cut metal.