Lathe Macros

More
9 years 2 months ago #97980 by sqmathlete
Replied by sqmathlete on topic Lathe Macros
Hi,

Just wondering how would one go about making the changes for an imperial lathe?

Dan

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

More
9 years 2 months ago #97981 by andypugh
Replied by andypugh on topic Lathe Macros
It ought to work as-is, if not optimally. (Just type "tpi" after typing the thread pitch, and "in" after each dimension.

Ideally you would want to use the Glade editor to change the number formats and increments in the linked "Adjustment" and change each G-code sub to G20 mode.

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

More
8 years 11 months ago #101440 by sliptonic
Replied by sliptonic on topic Lathe Macros
I'm trying to integrate the macros with my existing lathe configuration.

I copied the files over and the Cycles tab displays in axis. I can switch to a macro tab and fill out the fields but when I hit the play button, I get an error.

emc/task/emctask.cc 399: interp_error: EOF in file:/usr/share/axis/images/axis-lathe.ngc seeking o-word: o<radius> from line: 0
EOF in file:/usr/share/axis/images/axis-lathe.ngc seeking o-word: o<radius> from line: 0

The file name will change if an actual gcode file is loaded.

I don't understand how these macros are actually called and executed so I'm having difficulty troubleshooting this.

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

More
8 years 11 months ago #101449 by andypugh
Replied by andypugh on topic Lathe Macros
Where have you put the .ngc files that correspond to each macro?
They need to be somewhere in the SUBROUTINE_PATH. I keep mine out of harms way in the actual config folder, and added that to the path. That's the ":." at the end of this line in the INI.

SUBROUTINE_PATH = ../../../nc_files/gladevcp_lib:.
The following user(s) said Thank You: sliptonic

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

More
8 years 11 months ago #102036 by sliptonic
Replied by sliptonic on topic Lathe Macros
I'm trying to upgrade the lathe macros. I've installed the version with the single combined svg and the image doesn't display. I saw an earlier post about needing python-rsvg which I already have installed.

This is actually machinekit/debian jessie/gmoccapy. Any other guidance about why the image doesn't show?

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

More
8 years 11 months ago #102037 by andypugh
Replied by andypugh on topic Lathe Macros

sliptonic wrote: This is actually machinekit/debian jessie/gmoccapy. Any other guidance about why the image doesn't show?


I have never used any of those three alone (possibly Jessie) and certainly not in combination.

It might be a GTK3 problem, LinuxCNC Glade need GTK2, no idea if Machinekit have upgraded.

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

Time to create page: 0.136 seconds
Powered by Kunena Forum