Hi Vmax549,
Is there a chance to add the "E" "H" "P" "Q" values into fields and macro executed with a press of a button (when written values in the text fields are taken into macro).
Something like this? :
Thank you
// E = X probing distance
// H = Y probing Distance
// P = Probing Feed Rate
// Q = Z probing Depth
if ( (Qvar == null) || (Evar == null) || (Hvar == null) || (Pvar == null) )
{
MessageBox.Show("There Is a Missing Parameter E H Q P");
exec.Stop();
return;
}
double? Xlen = Evar;
double? Ylen = Hvar;
double? Frate = Pvar;
double? Zdepth = Qvar;
double Xlen = AS3.Getfielddouble(20001); // X probing distance
double Ylen = AS3.Getfielddouble(20002); // Y probing Distance
double Zdepth = AS3.Getfielddouble(20003);// Z probing Depth
double Frate = AS3.Getfielddouble(20004); // Probing Feed Rate
if (Xlen != 0 )
{
if ((Xpos1 - Xstart) >= Xlen)
{
MessageBox.Show("There was a MISSED probe trip in X right , Reset E parameter");
exec.Stop();
return;
}
}
if (Xlen != 0 )
{
exec.AddStatusmessage("The machine moved to X right position");
exec.Wait(100);
}
Vmax549 wrote:Working on one JUST for you (;-) Center of Space, Double Tap. Using probe points.
Can you give me a list of the ones you need ?
(;-) TP
Users browsing this forum: No registered users and 8 guests