Lathe Macros
08 Jan 2023 17:52 #261286
by andypugh
Replied by andypugh on topic Lathe Macros
The problem is
It looks like you have run out of HAL memory. Which version of LinuxCNC are you using?
(This is rather annoying as the HAL pins created by the lathe macros are not actually used... They only exist to supply values to the mdi_action buttons. )
HAL: ERROR: insufficient memory for pin 'gladevcp.chamfer.sf-f'
It looks like you have run out of HAL memory. Which version of LinuxCNC are you using?
(This is rather annoying as the HAL pins created by the lathe macros are not actually used... They only exist to supply values to the mdi_action buttons. )
Please Log in or Create an account to join the conversation.
08 Jan 2023 18:13 #261289
by Henk
Replied by Henk on topic Lathe Macros
Hi.
2.8.3 on Debian Buster
2.8.3 on Debian Buster
Please Log in or Create an account to join the conversation.
08 Jan 2023 18:34 #261291
by andypugh
Replied by andypugh on topic Lathe Macros
OK, try 2.9, the HAL memory size is a lot larger in 2.9+ (256 * 4096 rather than 85 * 4096)
Please Log in or Create an account to join the conversation.
09 Jan 2023 19:22 #261374
by Henk
Replied by Henk on topic Lathe Macros
HI
I freed up some hal memory by omitting one of the hal files that contains the sub spindle config and the macros loads
Will probably upgrade to 2.9 once it is released.
thanks for pointing out the problem
Henk
I freed up some hal memory by omitting one of the hal files that contains the sub spindle config and the macros loads
Will probably upgrade to 2.9 once it is released.
thanks for pointing out the problem
Henk
Please Log in or Create an account to join the conversation.
05 Mar 2023 18:52 #265935
by O.R
Replied by O.R on topic Lathe Macros
Hi
Is there some where guidance how to use or run these Lathe Macros?
Is there some where guidance how to use or run these Lathe Macros?
Please Log in or Create an account to join the conversation.
07 Mar 2023 00:24 #265996
by andypugh
Replied by andypugh on topic Lathe Macros
Which GUI are you using? Generally they need an EMBED_TAB command in the INI file of the config and all the files in the config need to be in the config folder.
There is an example for Gmoccapy here:
github.com/LinuxCNC/linuxcnc/blob/master...lathe_macros.ini#L37
There is an example for Gmoccapy here:
github.com/LinuxCNC/linuxcnc/blob/master...lathe_macros.ini#L37
Please Log in or Create an account to join the conversation.
08 Mar 2023 20:26 #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.
08 Mar 2023 20:44 #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.
09 Mar 2023 19:05 #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
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.
09 Mar 2023 19:32 - 09 Mar 2023 19:32 #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 addto 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)
In the INI file find SUBROUTINE_PATH and add
:.
(It also says that you have no tool table in that config, but that's a separate issue)
Last edit: 09 Mar 2023 19:32 by andypugh.
Please Log in or Create an account to join the conversation.
Time to create page: 0.117 seconds