Z axis height at end of cut

More
11 Jun 2020 21:35 #171185 by rodw
Phill, could the Z axis be retracted to the maximum height at the end of a gcode file? At the moment I think it goes to probe height.
This causes havoc on a water table as it splashes water everywhere due to the post flow. Very bad if it is near the edge of the table. There is a lot less splash when the torch is further away.

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

More
11 Jun 2020 23:20 #171187 by phillc54

Phill, could the Z axis be retracted to the maximum height at the end of a gcode file? At the moment I think it goes to probe height.
This causes havoc on a water table as it splashes water everywhere due to the post flow. Very bad if it is near the edge of the table. There is a lot less splash when the torch is further away.

Yes, I know what you mean, it is something I have thought of before. It doesn't even look right when you see it in a sim.
Technically it does go to max height at the end of the gcode which is when it sees the end of a program from a M2 or a M30. The problem is the the last X/Y motion obviously need to be before that.
I have had a quick look a couple of time previously to see how it could be done but didn't see any obvious way to do it so just put it on the backburner.
I think we need some way to distinguish the last M5 in the file. I am pretty sure gcode cannot set HAL pins, only read them otherwise that could be a way to do it.
It could probably be done with a M code calling a bash script that sets a HAL pin but that seems a bit clunky and I am not sure how the timing would pan out. I do some pendant buttons like that for probe test and goto Z max etc. and it works well but of course there are no timing issues because there is no motion at the time.
Ideas welcome...

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

More
11 Jun 2020 23:39 #171190 by rodw
Replied by rodw on topic Z axis height at end of cut
I think doing it on a M2 or M30 would be OK. While the torch is moving the splash is not too bad. Unless you put it on a digital pin so we could add it to the end of the file. I try and remember to add a parking code to the middle of the table in Sheetcam but if I forget it goes back to the edge and makes a mess

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

More
11 Jun 2020 23:42 #171191 by phillc54
That is how it works now, the problem is the M2/M30 is not issued until the last X/Y motion is complete. That is when it does the last move up to the Z starting position.

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

More
11 Jun 2020 23:49 #171192 by rodw
Replied by rodw on topic Z axis height at end of cut

That is how it works now, the problem is the M2/M30 is not issued until the last X/Y motion is complete. That is when it does the last move up to the Z starting position.


I think that would be OK. Just make it go to max height

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

More
11 Jun 2020 23:51 #171193 by phillc54
But it does that now. Am I missing something?

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

More
12 Jun 2020 01:17 #171199 by rodw
Replied by rodw on topic Z axis height at end of cut
Mine definitely doesn't. I'll upgrade and see how it goes but it won't be for a while. I pulled the control box off to do a bit of an upgrade. I sent an extra box off to powdercoating this morning so it might be a couple of weeks.

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

More
12 Jun 2020 02:24 #171208 by phillc54
OK.

On another note I have been doing some experimenting with material changes and the material actually changes a lot quicker than I thought. I have strung together a list of material changes with no wait on the M66 (M66 P3 L0) and no other active code and you can see the materials changing. I haven't had an error yet.

These were the load times:
0.0884439945221
0.0435960292816
0.0502989292145
0.0375521183014
0.0477669239044
0.0407938957214
Attachments:
The following user(s) said Thank You: tommylight

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

More
12 Jun 2020 09:36 #171230 by tommylight
Again this is putting me in a bad position, as i am really against adding features that are pretty much useless to most users of PlasmaC and complicating everything from setup to support for Phill.
That should be easily done in post processor by adding G0 or G1 and a Z value to go to at the end of the gcode file.
Or as i have done it, set the probe heigh to something lower than the Z axis max limit. I have it at 150mm and the probe speed set to 4m/m so it is very fast at moving up and down, but the very slow retraction speed still remains, making all the efforts to build a very fast machine void. This is an issue when using floating switch, not so much when using ohmic probing, as ohmic needs to be done much slower. Most users of PlasmaC use floating type probing, not ohmic.

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

More
12 Jun 2020 09:46 #171234 by rodw
Replied by rodw on topic TZ axis height at end of cut
Tommy you forget that Plasmac strips out any Z axis motion code. I have not tried but I don't think I can simply add some g code to go to top of the Zaxis.

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

Moderators: snowgoer540
Time to create page: 0.151 seconds
Powered by Kunena Forum