Floating head touch off

More
16 Apr 2020 21:55 #164205 by timko307
Replied by timko307 on topic Floating head touch off
Thanks Rod. I've attached the edited post processor that I'm using in sheertcam. It loads the touch off sub (as text under function OnInit) at the beginning of the g code file, then calls the sub under function OnPenDown.
I've also attached the g code file from sheetcam of a 2 inch circle, inside offset with a 1 inch perpendicular lead in.
In sheetcam I have set pierce height to .1", cut height to .06" and pierce delay to 1 second.
In the generated g code, pierce height and cut height are okay, but pierce delay is 0.0394, instead of 1. It's like the post processor is treating the pierce delay as a metric value. (I set the pierce delay in sheetcam to 25.4 sec and the value in the g code changed to 1.00). It seems to me it has to be somewhere in the post processor, but I'm at a loss trying to figure it out. I tried changing the scale value under OnPenDown but couldn't get it to work right.
I have the Mesa 7i96 and the THCAD-10 boards but I won't be setting these up with PlasmaC until I have a much better understanding of Linuxcnc. Not comfortable yet working in the hal & ini files.
Attachments:

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

More
17 Apr 2020 01:10 - 17 Apr 2020 01:48 #164217 by phillc54
Replied by phillc54 on topic Floating head touch off
In your PP line 96 is :
   post.NonModalNumber("[", pierceDelay * scale, "0.##")
this is time so doesn't require scaling. Try:
   post.NonModalNumber("[", pierceDelay, "0.##")
Last edit: 17 Apr 2020 01:48 by phillc54.

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

More
17 Apr 2020 03:11 #164227 by rodw
Replied by rodw on topic Floating head touch off
I have a vague recollection that Sheetcam works in metric internally. Just one more reason for the US laggards (one of two remaining countries) to join the rest of the world in using real dimensions AKA SI units (metric to the unwashed).
The following user(s) said Thank You: tommylight

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

More
17 Apr 2020 14:46 - 17 Apr 2020 14:47 #164274 by timko307
Replied by timko307 on topic Floating head touch off
Phil, That fixed it. Many thanks!
Last edit: 17 Apr 2020 14:47 by timko307. Reason: forgot name

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

Time to create page: 0.185 seconds
Powered by Kunena Forum