- Posts: 23
- Thank you received: 0
Lathe Macros
Karl
EDIT: I probably was just too dumb to apply FEATURES=12 in the ini file as said in post #42245... so I consider changing everything to paramters was an appropriate punishment.
Please Log in to join the conversation.
- BruceLayne
- Offline
- New Member
-
- Posts: 2
- Thank you received: 0
Please Log in to join the conversation.
BruceLayne wrote: I'm particularly interested in using them as G code generators so I can create programs for short run production jobs..
These macros don't produce any G-code. Each operation runs a pre-programmed routine with different parameters.
If you want to produce G-code then look at NGCGUI or Features or JT's G-code generator
Please Log in to join the conversation.
The macros now receive the values as subroutine parameters. so the FEATURES option is not needed.
Also new is the ability to type "3in" and have the value automatically become 76.2 to use imperial values on a metric lathe, or type "75mm" and have the value automatically become "2.95" for the reverse
You can also type "tpi" for conversion to mm pitch or "pitch" to convert mm pitch numbers to TPI.
Also converted are the fractions "/2" "/4" "/16" "/32" "/64" too. I found this very useful making Imperial Ner-a-Car parts on my Metric lathe.
So, if you want you can type "2 5/64in" and end up with the value in the box of "52.784"
There is code in the handler to move the cursor to the end when these conversions happen, but for some reason it doesn't work.
Please Log in to join the conversation.
Also, when I hover over the feed per rev spinbutton the tool tip says "Feed per rev, mm" I assume if I change to Imperial I need to change the tooltip in glade?
Thanks,
-Tom
Please Log in to join the conversation.
tome wrote: How does one use this in Imperial mode? I went through the .ngc files and change G21 to G20 but the DRO display is still in metric
It doesn't actually have an Imperial mode.
You _can_ type "in" after any number and it automatically converts the number to mm. But I suspect that isn't the solution you want.
I think that the most expedient way to change the DRO units is to open lathemacro.ui in a text editor and find/replace all
Please Log in to join the conversation.
andypugh wrote:
tome wrote: How does one use this in Imperial mode? I went through the .ngc files and change G21 to G20 but the DRO display is still in metric
It doesn't actually have an Imperial mode.
You _can_ type "in" after any number and it automatically converts the number to mm. But I suspect that isn't the solution you want.
I think that the most expedient way to change the DRO units is to open lathemacro.ui in a text editor and find/replace allwithCode:<property name="display_units_mm">True</property>Code:<property name="display_units_mm">False</property>
Ok, thanks.
-Tom
Please Log in to join the conversation.
1) Was wondering if the boring option also does internal taper and if the turning option does OD taper?
2) Is there an RPM meter in the GUI? I haven't been able to locate screen shots of total GUI interface to be able to tell.
Thanks
Please Log in to join the conversation.
Yes, both turning and boring have optional taper and run-out radius.Davenc wrote: 1) Was wondering if the boring option also does internal taper and if the turning option does OD taper?
No, there is no rpm meter in the layouts. As the routines all run at constant surface speed there isn't much to be gained from one.2) Is there an RPM meter in the GUI? I haven't been able to locate screen shots of total GUI interface to be able to tell.
Please Log in to join the conversation.
I am using LatheMacro-3.zip on a Beaglebone Black.
I see the related gladevcp is eating a lot of CPU (15 to 25%).
Same issue if I run it in standalone mode with "gladevcp lathemacro.ui" command.after starting a HAL environment with "halrun".
Any idea ?
Any polling frequency to be tuned ?
Thanks.
Frederic.
Please Log in to join the conversation.
