THC Plugin, Developer needed

This is where you talk about Plugins. How they are made and how they work, show examples.

THC Plugin, Developer needed

Postby Mcasey » Sun Apr 11, 2021 6:31 pm

Hi Guys,

Has anyone tried to make a THC Plugin for UCCNC?

It is something we have been thinking about for a while now but we just do not have the time resources to complete, so we thought this would be the best place to see if anyone would be interested.

It does at least seem like something that can be done, maybe I am wrong. Use the analog voltage input for the arc voltage reading (0-5v from a 50:1 divider card), clean up the signal and then use internal signals for THC control.

If anyone on here thinks they could do it, I would be happy to pay them for the development.

Thanks
Mike
Mcasey
 
Posts: 5
Joined: Sun Apr 11, 2021 6:10 pm

Re: THC Plugin, Developer needed

Postby Robertspark » Tue Apr 13, 2021 11:23 am

it needs more than a plugin, it needs a firmware change

the problem is windows + the use of a motion controller

how are you intending to use the sampled analog input?

imo the data arriving for the plugin to do anything with it will be too late to do anything with it as the event would have already past.

I think the fastest sample rate from motion controller to plugin (from memory) is 25hz (25x per second)

the highest federated I have seen on an air plasma cutter are 400ipm (10160mm/min), at 25 Hz the torch would have moved 0.267" (6.7mm), the plugin would need to do something with that data and tell uccnc to do something with it in the next 1/25th of a second.... whilst the torch has moved another 6.7mm.... whilst it's skimming over the metal at ~1.5mm and maintaing that height....

that is why unless there is a firmware change (sample rate increased to 1khz) and the thc is an internal (firmware function) people use external thcs.

if you wish to use Windows you are limited to an external thc issuing thcup or thcdn signals, or a stand alone thc.
Robertspark
 
Posts: 1826
Joined: Sat Sep 03, 2016 4:27 pm

Re: THC Plugin, Developer needed

Postby Mcasey » Mon Apr 19, 2021 5:03 pm

Thanks very much Robert, I didn't realise how slow the sampling rate actually is, that's unfortunate, back to the drawing board
Mcasey
 
Posts: 5
Joined: Sun Apr 11, 2021 6:10 pm

Re: THC Plugin, Developer needed

Postby Robertspark » Mon Apr 19, 2021 10:07 pm

unfortunately with uccnc (mach3, mach4) you are in need of an external thc
Robertspark
 
Posts: 1826
Joined: Sat Sep 03, 2016 4:27 pm

Re: THC Plugin, Developer needed

Postby Mcasey » Tue Apr 20, 2021 4:16 pm

I think I will just use a little PLC, unitronics standard plc will sample around 600hz, doing the math, at 10160mm/min that should be a signal every 0.28mm, which hopefully should work okay. If I'm only cutting at 6000mm/min this is 0.167mm
Mcasey
 
Posts: 5
Joined: Sun Apr 11, 2021 6:10 pm


Return to Plugins

Who is online

Users browsing this forum: No registered users and 2 guests