Why z axis thc not going down , only up.

This is the place to talk about and share things related to CNC plasma machines using UCCNC

Why z axis thc not going down , only up.

Postby andreiir » Thu Nov 18, 2021 4:52 pm

I am having this problem , i am using axbb and the inputs are configured ok in diag they respond like they should , if i go with thc voltage up they activate thc up , if i go voltage dwn , activate thc dwn .
But axis is going only up , the z axis min is to -100 and max is 100 .
I am using sheet cam , and there is a post processor uccnc plasma.
And how to select corect pierce height , or where i found the floating head offset .
Thanks .
andreiir
 
Posts: 10
Joined: Mon Mar 25, 2019 7:58 pm

Re: Why z axis thc not going down , only up.

Postby andreiir » Thu Nov 18, 2021 5:53 pm

Now i changet m31 to
//Z touch with retract for plasma zero height measurement

double Zmin = -200;
double Feedrate = 200;
double retractheight = 5.47; //switch offset

int originaldistancemode = exec.actualdistmode; // remember the distance mode
int originalmodalmode = exec.actualmodal; // remember the modal mode
exec.Code("G90"); // Set system to absolute distance mode

while(exec.IsMoving()){}
exec.Code("G31 Z" + Zmin + " F" + Feedrate); // Move to the probe sensor position in XY
while(exec.IsMoving()){}
exec.Callbutton(102); // zero Z axis

if(!exec.Ismacrostopped()) // If probe action was not interrupted with a stop only then go on...
{
exec.Code("G01 Z" + retractheight); // Move above probe plate
while(exec.IsMoving()){}
exec.Callbutton(102); // zero Z axis
}

exec.Code("G" + originaldistancemode); // Set system back to the original distance mode
exec.Code("G" + originalmodalmode); // Set system back to the original distance mode

And now is probing ok , but still cant manage to make axis go dwn , only up when it gets the thc up signal .
andreiir
 
Posts: 10
Joined: Mon Mar 25, 2019 7:58 pm

Re: Why z axis thc not going down , only up.

Postby andreiir » Thu Nov 18, 2021 7:27 pm

Ok it was the anti dive activated , and that it woludn't worked .
andreiir
 
Posts: 10
Joined: Mon Mar 25, 2019 7:58 pm


Return to CNC Plasma

Who is online

Users browsing this forum: No registered users and 4 guests