Hurco BMC 30 AP
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4801
- Thank you received: 2161
11 Jul 2026 12:13 #347680
by Aciera
Replied by Aciera on topic Hurco BMC 30 AP
Try this:
1. in your config folder create a new folder named 'python' and put the two attached files 'remap.py' and 'toplevel.py' into this new folder
2. replace the entries in your [PYTHON] section of your ini file with this:
1. in your config folder create a new folder named 'python' and put the two attached files 'remap.py' and 'toplevel.py' into this new folder
2. replace the entries in your [PYTHON] section of your ini file with this:
PATH_PREPEND= ./python
PATH_APPEND= /home/cnc/linuxcnc/nc_files/remap_lib/python-stdglue
TOPLEVEL= ./python/toplevel.py
LOG_LEVEL = 0 Please Log in or Create an account to join the conversation.
- 5_Zylinder
- Offline
- Senior Member
-
Less
More
- Posts: 62
- Thank you received: 3
20 Jul 2026 21:42 #347893
by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
We tried your suggestion, and the error message "G-Code error in axis.ngc" is now gone.
I did, however, forget to add the "TOP_LEVEL = 0" command. I'll add that now.
I wanted to execute the command "o<toolchange> call" in MDI mode. However, I received an error message referencing the tool change program sequence: "Named parameter #<tool_in_spindle> not defined." It seems to me that this parameter hasn't been declared yet, so the system can't locate it.
Perhaps you have a solution for this problem.
I did, however, forget to add the "TOP_LEVEL = 0" command. I'll add that now.
I wanted to execute the command "o<toolchange> call" in MDI mode. However, I received an error message referencing the tool change program sequence: "Named parameter #<tool_in_spindle> not defined." It seems to me that this parameter hasn't been declared yet, so the system can't locate it.
Perhaps you have a solution for this problem.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
Less
More
- Posts: 21827
- Thank you received: 7453
20 Jul 2026 23:39 #347895
by tommylight
Replied by tommylight on topic Hurco BMC 30 AP
That was not mentioned anywhere, so why?
I did, however, forget to add the "TOP_LEVEL = 0" command. I'll add that now.
PATH_PREPEND= ./python PATH_APPEND= /home/cnc/linuxcnc/nc_files/remap_lib/python-stdglue TOPLEVEL= ./python/toplevel.py LOG_LEVEL = 0
Please Log in or Create an account to join the conversation.
- 5_Zylinder
- Offline
- Senior Member
-
Less
More
- Posts: 62
- Thank you received: 3
21 Jul 2026 03:42 #347901
by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
Ah, sorry, it was late. Of course, I mean "LOG_LEVEL = 0".
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
Less
More
- Posts: 21827
- Thank you received: 7453
21 Jul 2026 04:07 #347903
by tommylight
Replied by tommylight on topic Hurco BMC 30 AP
No worries, just trying to prevent you wasting time and wondering "why it does not work" if you make the same typo where it actually matters.
Please Log in or Create an account to join the conversation.
- 5_Zylinder
- Offline
- Senior Member
-
Less
More
- Posts: 62
- Thank you received: 3
21 Jul 2026 19:35 #347930
by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
Thanks for the help.I’ve now implemented everything just as Aciera described. The error persists. I think a directory is still missing here?
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4801
- Thank you received: 2161
22 Jul 2026 07:19 - 22 Jul 2026 07:22 #347951
by Aciera
Replied by Aciera on topic Hurco BMC 30 AP
I just noticed that the file I attached had a date appended 'remap_2026-07-11.py', this date needs to be removed.
So make sure you go to your 'python' folder inside your config and rename that file to 'remap.py'.
So make sure you go to your 'python' folder inside your config and rename that file to 'remap.py'.
Last edit: 22 Jul 2026 07:22 by Aciera.
Please Log in or Create an account to join the conversation.
- 5_Zylinder
- Offline
- Senior Member
-
Less
More
- Posts: 62
- Thank you received: 3
22 Jul 2026 20:42 #347966
by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
I checked the folder name again today; it was correct—without a date. I also have the latest Python3 version, 3.13.5-1. The error persists.
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds