- Posts: 19899
- Thank you received: 4655
M66 Wait For Arc-OK: L1 or L3?
- andypugh
- Offline
- Moderator
-
Less
More
11 years 9 months ago #55484
by andypugh
You can debounce in software. Then it's easy to change the time constant:
www.linuxcnc.org/docs/html/man/man9/debounce.9.html
Replied by andypugh on topic M66 Wait For Arc-OK: L1 or L3?
Paul wrote: Thanks. I think I could use debounce on a few pins. I get the occational limit switch trip at times. That hasn't happened since adding capacitors across those connections..
You can debounce in software. Then it's easy to change the time constant:
www.linuxcnc.org/docs/html/man/man9/debounce.9.html
The following user(s) said Thank You: Paul
Please Log in or Create an account to join the conversation.
- Paul
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 1
11 years 9 months ago - 11 years 9 months ago #55488
by Paul
Much simpler (I mean convenient. I'm sure it's not simple!). I should have known you would already have a way to address this...
Thank You
Replied by Paul on topic M66 Wait For Arc-OK: L1 or L3?
andypugh wrote: You can debounce in software. Then it's easy to change the time constant:
www.linuxcnc.org/docs/html/man/man9/debounce.9.html
Much simpler (I mean convenient. I'm sure it's not simple!). I should have known you would already have a way to address this...
Thank You
Last edit: 11 years 9 months ago by Paul.
Please Log in or Create an account to join the conversation.
- Paul
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 1
11 years 8 months ago #55617
by Paul
Replied by Paul on topic M66 Wait For Arc-OK: L1 or L3?
Very nice. I now am using debounce for all inputs. Haven't ran the table too much, but haven't noticed any false triggers so far. Thanks again.
Paul
Paul
Please Log in or Create an account to join the conversation.
- Paul
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 1
11 years 8 months ago - 11 years 8 months ago #55866
by Paul
Replied by Paul on topic M66 Wait For Arc-OK: L1 or L3?
OK - On the slim chance this happens to someone else looking for a solution, I'm fairly sure I figured out the whole problem. I may have had false arc-ok triggering, but that wouldn't have been the only thing.
Earlier in life, and for another reason, I changed my M66 wait time from 5 seconds to 2 seconds. That worked without any troubles when I ran a high frequency start cutter that could fire the arc while the air was still flowing. I'm now running a cutter that has to shut down the air flow in order to fire the torch. That takes time and the M66 timer must have been timing out a bit too early for this setup.
I am now programmed back to 5 seconds and after 150 pierces, not one delay problem. I kind of figured this out, in part, because I never noticed the first pierce ever moving too soon. I would have guessed all subsequent pierces would have been running into the problem, but maybe I was only noticing the really early (no) delays.
Again - thank for your help...
Paul
Earlier in life, and for another reason, I changed my M66 wait time from 5 seconds to 2 seconds. That worked without any troubles when I ran a high frequency start cutter that could fire the arc while the air was still flowing. I'm now running a cutter that has to shut down the air flow in order to fire the torch. That takes time and the M66 timer must have been timing out a bit too early for this setup.
I am now programmed back to 5 seconds and after 150 pierces, not one delay problem. I kind of figured this out, in part, because I never noticed the first pierce ever moving too soon. I would have guessed all subsequent pierces would have been running into the problem, but maybe I was only noticing the really early (no) delays.
Again - thank for your help...
Paul
Last edit: 11 years 8 months ago by Paul.
Please Log in or Create an account to join the conversation.
- Paul
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 1
11 years 7 months ago #56579
by Paul
Replied by Paul on topic M66 Wait For Arc-OK: L1 or L3?
OK - So it's not fixed or I don't see any problems on 11 gauge or thinner, but problem still there on 3/16". It just seems like the G04 P0.2 (or whatever) is sometimes being ignored. I ended up using G04 P0.6 to get through the job.
Alone, I can't watch everthing during this time, but by watching the screen's arc-ok light and listening to the torch/table, I don't think the arc-ok is faulting. Is there any suggestions of what I can check or monitor in order to better understand this problem?
Basically, it's: move to position, touch-off, lift to pierce height, fire torch, wait upto 5 seconds for arc-ok signal, wait 0.2 seconds, move Z to cut height, and cut. But sometimes when the torch fires, it's like it is going straight to cut height and moving through the lead-in without any waiting after the torch actually fires.
Any insight greatly appreciated!!
Paul
Alone, I can't watch everthing during this time, but by watching the screen's arc-ok light and listening to the torch/table, I don't think the arc-ok is faulting. Is there any suggestions of what I can check or monitor in order to better understand this problem?
Basically, it's: move to position, touch-off, lift to pierce height, fire torch, wait upto 5 seconds for arc-ok signal, wait 0.2 seconds, move Z to cut height, and cut. But sometimes when the torch fires, it's like it is going straight to cut height and moving through the lead-in without any waiting after the torch actually fires.
Code:
G00 X19.3700 Y19.7648
o<TouchOff> call
o<touchoff> sub
G38.2 Z-50 F3001.0
G10 L20 P1 Z0.000
G00 Z9.85000
G10 L20 P1 Z0.00
o<touchoff> endsub
M2
G00 Z3.8100
M03
M66 P0 L3 Q5 (Wait for ARC-OK from torch)
G04 P0.6
G01 X19.3700 Y19.7648 Z1.5240 F3810.0
Any insight greatly appreciated!!
Paul
Please Log in or Create an account to join the conversation.
- Paul
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 1
11 years 7 months ago #57006
by Paul
Replied by Paul on topic M66 Wait For Arc-OK: L1 or L3?
So - It seemed to be a noise issue. At least it seems so at 65 amps. I replaced the plasma control cable with a shielded one and re-routed the torch lead and after 385 pierces all observing the coded pierce timing, I NOW feel like I have this taken care of.....Again.
Thanks for the replies.
Paul
Thanks for the replies.
Paul
Please Log in or Create an account to join the conversation.
Time to create page: 2.405 seconds