QTPlasmaC with fourth axis - rotary

More
3 years 4 months ago #273662 by phillc54

Is there any way to just call PlasmaC's touch-off routine without firing the torch?
Not without a lot of work. Not sure if it would help anyway as it is done using external offsets so it has no real relationship with the Z axis position.
I did try to set a Z zero touch off at the probed material surface but it doesn't play well with the offsets at all.

If I can use PlasmaC's built in touch-off it can use the touch-off switch offset already configured in PlasmaC. I can do the probing directly in the post but then the switch offset needs to be entered into the post as well. It's not a big deal but it is simpler fro the user to only have one switch offset configured.
Would it be possible to read the hal pin value for the switch offset, then the linuxcnc probe input could be tied to the plasmac probe input.

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

More
3 years 4 months ago - 3 years 4 months ago #273838 by LesNewell
Does this look reasonable? It currently uses a switch offset that is hard coded in the post.

Would it be possible to read the hal pin value for the switch offset, then the linuxcnc probe input could be tied to the plasmac probe input.

That should work if it is possible to read a hal pin fron g-code, for example as a parameter.
Last edit: 3 years 4 months ago by LesNewell.
The following user(s) said Thank You: phillc54

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

More
3 years 4 months ago #273843 by phillc54
Thanks, I will have a play with it tomorrow.
The HAL pin can be read with:
Code:
#<_hal[plasmac.float-switch-travel]>
 
The following user(s) said Thank You: tommylight

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

More
3 years 4 months ago #273847 by LesNewell
In that case I should be able to do something like:
Code:
G92 Z[50 - #<_hal[plasmac.float-switch-travel]>]  
Does that look reasonable? It's a while since I last played around with LinuxCNC gcode.
The following user(s) said Thank You: tommylight

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

More
3 years 4 months ago #273849 by phillc54
Yep, that should work.

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

More
3 years 4 months ago - 3 years 4 months ago #273859 by mariusl
For interest sake. Does one have to code the fourth axis in by hand or does the configuration of the gui allow for the fourth axis?

EDIT: I redid the config from scratch

Regards
Marius


www.bluearccnc.com

Last edit: 3 years 4 months ago by mariusl.

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

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