Page 1 of 1

Help neaded - homming

PostPosted: Fri Nov 02, 2018 11:29 am
by Marty
Hello,
I am new user of UCCNC and therefore I nead some litle help :)
My controler electronics requires folowing to work ok:
-while homming, before start of homming procedure I nead to set one output pin high. This output is high whole time during homming of axes. After homming is finished, output goes again low (sopsouse it can be easely made with macro - please an example of it)

-for security reason, I nead to implement pull of (backing of) from limit switches after hitting the limit switch while homming (lets say 2mm back from actual homme position and from this new point is working / absolute 0 for CNC system).

Do anyone have example codes how to do this?
Thank you.
BR

Re: Help neaded - homming

PostPosted: Fri Nov 02, 2018 4:02 pm
by dezsoe
LED 23 indicates homing (on when machine is homing), you just need to connect it to an output. Go to Configuration - I/O trigger - Output trigger, set LED to 23, set the output port and pin, click Apply and/or Save. Ready.

Homing backoff is implemented in the test version 1.2101. The latest stable release is 1.2049, it needs a macro to do this job: you can find it here.

Re: Help neaded - homming

PostPosted: Fri Nov 02, 2018 4:04 pm
by Robertspark
May I ask how are you homing?

Are you just clicking the onscreen button?
___________________________________-

I would suggest creating a macro,

Within which the macro sets your pin high
triggers buttoncode 113 (home all)
monitors LED23 (Homing active)
Once LED23 drops out
Resets your pin low
____________________

What is the port / pin that you want to toggle high and low?

__________________
With regards to Backoff, this is set on the Configuration >> Axis Setup >> X,Y,Z,A,B,C axis (about mid page)

Re: Help neaded - homming

PostPosted: Fri Nov 02, 2018 4:05 pm
by Robertspark
..... or do what Dezsoe said .... ^^^^