dezsoe wrote:I thoght over and found that the best way is to check if probing is in progress and the signal is lost and then press stop. The macro below is a macroloop, test it!
- Code: Select all
int errorled = 7; // See LEDs_by_number.htm for input pin LED numbers
if (exec.GetLED(errorled) && exec.GetLED(24) && !exec.Ismacrostopped()) // Check while probing
{
exec.Callbutton(130); // Press Cycle stop
exec.AddStatusmessage("Probe lost connection, start over");
}
Thanks! It does exactly what I needed.
But, I have one more problem. The probe goes sleeping after some time to save battery, and this will trigger alarm as it should. Lets say probe gets sleepy, my cycle calls M6 toolchange and wants to measure the tool and it cannot, becaose the probe is sleeping, although tool lenght probe is hardwired. Is it possible to do something about this?
Also Ive found some other problems that are related to probing in general. The FRO influents probing speeds. This is in general not good. If I forget that i altered the FRO and do probing, either workpiece, either tool lenght, probing will not be consistent.
While probe finding speed is not problem, slow probe speed is. Homing is done the right way, it will go at set speed regardles FRO.
Am I thinking right?
Best regards, Matej