standalone THC control with gcode and built in thc settings

If you have a question about the software please ask it here.

standalone THC control with gcode and built in thc settings

Postby jake519 » Sat Jan 22, 2022 12:39 pm

Greetings all, Apologies for what may be a long post!

I have uccnc with a axbb-e controller and a neuron lite thc.

As some may know the neuron only needs one output from the axbb-e to control the hold function of the z axis.
- This is currently pin 2 port 1 and controlled by m10.1
- I have pin 2 controlling the ground side connection of the 5V source to thc hold on the neuron.

I would like to use the built in anti dive in uccnc to lock the z axis if the feedrate drops, as well as use sheetcam rules (m10.1 thc off, m11.1 thc on) but they do not work together.
- If i have anti dive active through uccnc and input m10.1 through the MDI the thc hold will only briefly turn on, then turns back off instantly. Basically does not work with gcode to control thc hold, but the thc will hold if the feedrate threshold is below my setting in uccnc.

- If i deactivate anti dive in uccnc, i can now control thc hold through g code, m10.1 will turn on thc hold until a m11.1 is issued, but obviously now there is no internal control of thc hold based on feedrate threshold.


I'm not sure if there is a way to make these both work in the software, and if not maybe there's a way to make them both work by adding a relay and a second output (m10.2)?

I love the built in thc anti dive, but i also like to use rules in sheetcam to lock the thc mainly for holes and before the end of cut to prevent torch dive.


ANY INPUT IS APPRECIATED!!!


thc settings.JPG

ss.JPG
jake519
 
Posts: 3
Joined: Sat Jan 22, 2022 12:12 pm

Re: standalone THC control with gcode and built in thc setti

Postby jake519 » Sat Jan 22, 2022 5:47 pm

I got it working, although not sure if it would be the "proper way"

I connected a wire from pin 2 and pin 3 together to the THC hold on the neuron.
UCCNC anti dive outputs on pin 2, m10.1/m11.1 outputs on pin 3. So if either of them go active my THC hold starts.
jake519
 
Posts: 3
Joined: Sat Jan 22, 2022 12:12 pm

Re: standalone THC control with gcode and built in thc setti

Postby dezsoe » Wed Jan 26, 2022 11:10 am

You have 2 different functions configured to the same output pin. This will not work.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: standalone THC control with gcode and built in thc setti

Postby beefy » Wed Jan 26, 2022 8:43 pm

dezsoe wrote:You have 2 different functions configured to the same output pin. This will not work.


Hi Dezsoe,

I showed him how I got around this issue (he asked about this on another forum).

I had three separate outputs from UCCNC and if any of them went active (LOW) it would trigger the HOLD input on the Neuron.

I used Schottky diodes (low voltage drop) on each output, with the other side of the diodes connected together and going to the Neuron HOLD input.
This effectively created a 3 input OR gate, worked great.

DIODE OR GATE.jpg
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: standalone THC control with gcode and built in thc setti

Postby dezsoe » Wed Jan 26, 2022 10:16 pm

Hi Beefy,

Yes, it's the hardware solution. :)
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: standalone THC control with gcode and built in thc setti

Postby jake519 » Mon Jan 31, 2022 3:55 pm

beefy wrote:
dezsoe wrote:You have 2 different functions configured to the same output pin. This will not work.


Hi Dezsoe,

I showed him how I got around this issue (he asked about this on another forum).

I had three separate outputs from UCCNC and if any of them went active (LOW) it would trigger the HOLD input on the Neuron.

I used Schottky diodes (low voltage drop) on each output, with the other side of the diodes connected together and going to the Neuron HOLD input.
This effectively created a 3 input OR gate, worked great.

DIODE OR GATE.jpg


I added a schottky diode to each of the outputs as Beefy described, works great!
Thanks for the help!
jake519
 
Posts: 3
Joined: Sat Jan 22, 2022 12:12 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 36 guests