QTPlasmaC with fourth axis - rotary
- mariusl
- Topic Author
- Offline
- Platinum Member
15 Jun 2023 14:59 #273616
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic QTPlasmaC with fourth axis - rotary
I thought that Phill indicated that with the tube cutting spindle he will not activate any of those functions. That will mean that normal Gcode probing can be done. Or am I missing something?
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
- LesNewell
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 21
15 Jun 2023 15:08 #273618
by LesNewell
Replied by LesNewell on topic QTPlasmaC with fourth axis - rotary
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.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
16 Jun 2023 00:09 #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.
- LesNewell
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 21
19 Jun 2023 11:12 - 19 Jun 2023 11:13 #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: 19 Jun 2023 11:13 by LesNewell.
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
19 Jun 2023 11:40 #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:
#<_hal[plasmac.float-switch-travel]>
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- LesNewell
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 21
19 Jun 2023 11:47 #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.
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.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
19 Jun 2023 12:04 #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.
- mariusl
- Topic Author
- Offline
- Platinum Member
19 Jun 2023 16:17 - 19 Jun 2023 17:12 #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: 19 Jun 2023 17:12 by mariusl.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
20 Jun 2023 03:18 #273893
by phillc54
TBH I have never tried with PNCconf although I assume that it should work.
Replied by phillc54 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?
TBH I have never tried with PNCconf although I assume that it should work.
Please Log in or Create an account to join the conversation.
- mariusl
- Topic Author
- Offline
- Platinum Member
20 Jun 2023 07:12 - 20 Jun 2023 07:13 #273903
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic QTPlasmaC with fourth axis - rotary
I used PNCconf and it works just fine. We have a machine running with a config done on PNCconf.
I also did a config that I changed to include the A axis using PNCconf and that also seems fine. I have not tried it on a machine yet but everything is there.
The only hand coding I have to do is to duplicate one stepper config in the HAL file to make a slave axis for the X axis right hand motor.
I also did a config that I changed to include the A axis using PNCconf and that also seems fine. I have not tried it on a machine yet but everything is there.
The only hand coding I have to do is to duplicate one stepper config in the HAL file to make a slave axis for the X axis right hand motor.
Regards
Marius
www.bluearccnc.com
Last edit: 20 Jun 2023 07:13 by mariusl.
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.081 seconds