- Posts: 5713
- Thank you received: 2100
QTPlasmaC with fourth axis - rotary
3 years 4 months ago #273662
by phillc54
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.
Replied by phillc54 on topic QTPlasmaC with fourth axis - rotary
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.Is there any way to just call PlasmaC's touch-off routine without firing the torch?
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.
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.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.
Please Log in or Create an account to join the conversation.
3 years 4 months ago - 3 years 4 months ago #273838
by LesNewell
Replied by LesNewell on topic QTPlasmaC with fourth axis - rotary
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.
3 years 4 months ago #273843
by phillc54
Replied by phillc54 on topic QTPlasmaC with fourth axis - rotary
Thanks, I will have a play with it tomorrow.
The HAL pin can be read with:
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.
3 years 4 months ago #273847
by LesNewell
Replied by LesNewell on topic QTPlasmaC with fourth axis - rotary
In that case I should be able to do something like:
Does that look reasonable? It's a while since I last played around with LinuxCNC gcode.
Code:
G92 Z[50 - #<_hal[plasmac.float-switch-travel]>]
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
3 years 4 months ago #273849
by phillc54
Replied by phillc54 on topic QTPlasmaC with fourth axis - rotary
Yep, that should work.
Please Log in or Create an account to join the conversation.
3 years 4 months ago - 3 years 4 months ago #273859
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic QTPlasmaC with fourth axis - rotary
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
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