Question,
On some controlls it is possible to display an operator message. I havn't read into this on the haas controll. I would like to write a macro for probing a inside width in x, and subtracting the difference from the work offset I am using. I do not want to shift the work coordinates, just check the positioning accuracy of the fixture each time. I want to have a program stop M00 after probing and see on the "current comands" screen the difference in the probed center in x compared to the work offset. Or use an "if" statement to create an alarm if the difference is greater than say .0015". If the "if" statement is smaller than .0015" the program would continue to run.
Most of you would ask , why not just update the current work offset?, The part is not flat on any side, the fixturing I have designed locates on a radius. If the part "rotates" it also shifts in X axis location. The fixture has a mechanical centering device that should locate the part within a couple of tenths (centered in X). I guess I could create a macro that would also trig the angle it is rotated and use coordinate rotation. This might not satisfy my accuracy as the radii are verry large, and .001 degrees would be a larger shift than a x axis .0001" shift.
Anyways , any input on messages, it is something I have been curious about.
thanks. |