Lathe Macros

More
3 years 7 months ago #266146 by O.R
Replied by O.R on topic Lathe Macros
I use Axis GUI. I tried add that line 37 and files, but no cycles tab.

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

More
3 years 7 months ago #266148 by andypugh
Replied by andypugh on topic Lathe Macros
If you start LinuxCNC from the command-line (command "linuxcnc") then you might be given a clue what is going wrong.

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

More
3 years 7 months ago #266229 by O.R
Replied by O.R on topic Lathe Macros
That command opened configuration selector where i can see my current lathe configuration and also lathe_macros. If I select lathe_macros,

Terminal shows:
"can't load tool table"
"cannot find file for: core_sim_lathe.hal"

Debug file shows:
Stopping realtime threads
Unloading hal components

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

More
3 years 7 months ago - 3 years 7 months ago #266232 by andypugh
Replied by andypugh on topic Lathe Macros
That probably means that you need to add the path of the INI to the subroutine path.

In the INI file find SUBROUTINE_PATH and add
Code:
:.
to the end. The path is a list of colon-delimited entries, and . means "current directory" so :. means "and also this directory"

(It also says that you have no tool table in that config, but that's a separate issue)
Last edit: 3 years 7 months ago by andypugh.

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

More
3 years 7 months ago #266313 by O.R
Replied by O.R on topic Lathe Macros
Ok I tried like this:

SUBROUTINE_PATH = macros:./home/sorvi/Desktop/Lathe/Lathe.ini:.

or

SUBROUTINE_PATH = /home/sorvi/Desktop/Lathe/Lathe.ini:.

but I get still same errors than previously.

I don't have any clue what i'm doing. Are these macros kind of add on to my original Lathe configuration or is it not related to the original at all. Should i have to for example make joint settings similarly to the "lathe_macro.ini" file, like i have done in my "Lathe.ini" file originaly.

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

More
3 years 7 months ago #266316 by andypugh
Replied by andypugh on topic Lathe Macros
The macros are an add-on.

Start with a working lathe config that controls your lathe adequately, then add the macros as a tab in the GUI.

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

Time to create page: 0.081 seconds
Powered by Kunena Forum