Does M5 Break Blending?

More
10 years 9 months ago #68443 by andypugh
Replied by andypugh on topic Does M5 M05 Break Blending Or Traj Planner?

Paul wrote: A possible wrinkle for me is that I setup my table to hold motion using an and2 component for both the arc-ok signal and motion.spindle-on pin. Can I use the m62/m63 method and still achieve a hold if I loose the arc-ok signal?


You just need to net the and2 input that currently connects to the spindle-on pin to the same signal as the motion.digital-out-00 pin.
The following user(s) said Thank You: Paul

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago - 10 years 9 months ago #68446 by Paul
Cool - Thanks Andy!

Edit: That also sounds like I will need to reprogram all existing jobs because those M3/M5 jobs won't run as the new and2 inputs won't be satisfied. Not all current jobs *need* the torch off early.

:whistle: I wonder if I can do simple find and replace of M3/M5 lines with the M62/M63 commands...? I'm not sure that is a safe route :blink:

PK
Last edit: 10 years 9 months ago by Paul.

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #68450 by Todd Zuercher
Replied by Todd Zuercher on topic Does M5 M05 Break Blending Or Traj Planner?
You could also make a filter script that automatically replaces them when Linuxcnc loads the g-code file.
linuxcnc.org/docs/2.6/html/config/ini_co...l#sub:FILTER-Section
The following user(s) said Thank You: Paul

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago - 10 years 9 months ago #68473 by Rick G
Replied by Rick G on topic Does M5 M05 Break Blending Or Traj Planner?

Edit: That also sounds like I will need to reprogram all existing jobs because those M3/M5 jobs won't run as the new and2 inputs won't be satisfied. Not all current jobs *need* the torch off early.


Not really. as Andy said I just use an and2 in hal, for the torch to light both M62 and M3 need to be active.
M63 or M5 will turn torch off.

I set the M62 in my light torch sub, (go to pierce height, light torch, go to cut height etc.)
You could also just command a M62 at the beginning of the existing programs and let the M3 and M5 do there thing.

Rick G
Last edit: 10 years 9 months ago by Rick G.

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #68625 by Paul
Thanks for all the help. I worked with this and can see a big difference using M62/M63 compared to M3/M5. No stops noticed at all using M63. I don't have my config just right yet because M3/M5 doesn't work now. This is what I changed:

From
Code:
net spindle-on and2.0.in1 <= motion.spindle-on => parport.0.pin-16-out net ext-feedhold and2.0.out => motion.feed-hold

To:
Code:
net spindle-on and2.0.in1 <= motion.digital-out-01 => parport.0.pin-16-out net ext-feedhold and2.0.out => motion.feed-hold

The thing that bothers me now is wondering if it's possible to ever have a M63 without a move following it. At first I thought I could just program or restate the current position, but that doesn't work. It seems an actual move must happen in order for M62/M63 to work.

And, Todd, as far as a filter script: I swear I read the manual (honestly), but many areas of the manual must fly right over me. I've seen this section many times, but didn't realise what all can be done using a filter. Thanks for that and now I wonder what else I've missed. Much I am sure.

Thanks again - I know I have more to figure out to get M3/M5 to work, but I am happy to be able to use M62/M63 for the torch.

PK

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #68627 by andypugh
Replied by andypugh on topic Does M5 M05 Break Blending Or Traj Planner?

Paul wrote: The thing that bothers me now is wondering if it's possible to ever have a M63 without a move following it.


No, but you can use the M64 / M65 non-synched commands instead if there is no move following.

Please Log in or Create an account to join the conversation.

Time to create page: 0.967 seconds
Powered by Kunena Forum