Something wrong

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

Something wrong

Postby shad » Wed Oct 05, 2016 3:57 am

There are two basically THC futures:
First - THC on/off future - allow to hold XY machine moves when ArcOK signal from plasma cutter turn off.
Second - turn on/turn off automatic torch height control during cutting (from the THC inputs control - torch freeze - antidive, on corners, etc... ) using internal THC logic or commands from Gcode (M205/206).

When I try to turn on/off automatic height control from Gcode (M205/206) UCCNC enable/disable first basic THC ON/OFF future, not automatic height control and then it is clear what is happening. For example if I need to disable control on the hole (THC OFF by M206) no wait for ArcOK.
Correct me if I'm wrong.
Thank you!
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 332
Joined: Thu Sep 15, 2016 5:23 pm

Re: Something wrong

Postby cncdrive » Wed Oct 05, 2016 6:58 am

Yes, exactly with an extension:

When THC is on and setting "Control THC even if the THC on signal is not active" is not set and M3 is active then there is wait for ArcOK.
If any of the above is not true then there is no wait for the ArcOK.
So, yes, if you turn the THC off (M206) then there is no wait for the ArcOK.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Something wrong

Postby shad » Thu Oct 06, 2016 5:27 am

Hmm, it's not good.
I think this two futures must be separated. Just no sense to control THC ON/OFF global future (wait for ArcOK) from gcode. Operator in any time can enable/disable THC from the screen.
Then M205/206 codes can enable/disable Automatic Height Control during cutting. IMHO it's will be easy and clearer for all.
Of course this is my opinion.... But may be you have other more compelling reasons for current algorithm.
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 332
Joined: Thu Sep 15, 2016 5:23 pm

Re: Something wrong

Postby cncdrive » Thu Oct 06, 2016 8:00 am

As far as I remember this is done the same in Mach3, those functions are not separated, the THC on off and the M3 together controls the wait for ArcOK.
I beleive we implemented these exactly the same...
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Something wrong

Postby Robertspark » Thu Oct 06, 2016 10:36 am

What about using M207-M212 given for corners + small circles you're trying to inhibit downward motion?

M205 : Turns THC on in synchronous with the motion.
M206 : Turns THC off in synchronous with the motion.
M207 : Turns the THC delay on in synchronous with the motion.
M208 : Turns the THC delay off in synchronous with the motion.
M209 : Turns the THC anti dive on in synchronous with the motion.
M210 : Turns the THC anti dive off in synchronous with the motion.
M211 : Turns the THC anti down on in synchronous with the motion.
M212 : Turns the THC anti down off in synchronous with the motion.
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Something wrong

Postby cncdrive » Thu Oct 06, 2016 2:40 pm

Yes, Anti dive inhibits downwards THC control automatically if the feedrate drops under the set %, it acts in syncron with the motion buffer.
And Anti down is similar, but manually switchable, so while it is on it will disable the downwards THC while the function is turned on.
The basic idea behind the anti-down is that CAM softwares can be coded to insert the anti-down on/off macros to problematic points of the path, e.g. small circles and cross-sections.
These macros are built in ones and they do not cause any delays, they act in syncron with the motion buffer, they are inserted in the motion buffer just like if they were some motion commands between other motions.
And these macros also have non-syncronous equivalent button codes to call asyncronously from button presses or plugins etc.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Something wrong

Postby Robertspark » Thu Oct 06, 2016 3:02 pm

Yup, that's how I use them in my sheetcam post processor.... maybe with the neuron THC shad requires one of them linked to an output pin (optional setting... like m10/m11)... hence thc can be enabled via m205, but the neuron can be told via fast acting hardware pin that thc downward motion or any motion (2 hardware pins maybe required) for m209 and m211?
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Something wrong

Postby shad » Thu Oct 06, 2016 5:50 pm

cncdrive wrote:As far as I remember this is done the same in Mach3, those functions are not separated, the THC on off and the M3 together controls the wait for ArcOK.

Yes, It's correct.
But I mean how M205/206 commands works. I think it makes no sense to enable/disable "wait for ArkOK" THC future on this commands. Just freeze torch (turn off automatic height control) and set attached hardware output pin for external devices. This also can applies to the other UCCNC THC futures (antidive and antidown) - freeze torch and set same hardware pin - OR logic.
All this comes down to use only M205/206 to freeze/defreeze torch from gcode. All other futures works constantly in parallel and can be turned on/off from the "configuration/IO setup".
Robertspark wrote: maybe with the neuron THC shad requires one of them linked to an output pin (optional setting... like m10/m11)..

Yes it's will be great! :D
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 332
Joined: Thu Sep 15, 2016 5:23 pm

Re: Something wrong

Postby Robertspark » Thu Oct 06, 2016 6:16 pm

The problem is, how does uccnc know the application is plasma? (Instead of a mill or lathe application setup)

Only by using the thc at present.... hence wait enable/ disable....
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Something wrong

Postby shad » Thu Oct 06, 2016 6:55 pm

Yes, this is why we are here. :)
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 332
Joined: Thu Sep 15, 2016 5:23 pm

Next

Return to CNC Plasma

Who is online

Users browsing this forum: No registered users and 8 guests