Hurco BMC 30 AP

More
5 months 6 days ago #346655 by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
Thanks for your reply. What do you need to help narrow down the problem? I only adapted the `Toolchanger.ngc` file for my machine; otherwise, I haven't changed anything in the G-code.
The following user(s) said Thank You: tommylight

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

More
5 months 2 days ago #346751 by tommylight
Replied by tommylight on topic Hurco BMC 30 AP
We would need more info about what you want to do and what you already did.

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

More
4 months 3 weeks ago #347035 by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
Hello,

We created the `toolchanger_index_new` HAL file to map all the M-codes for `toolchange.ngc`; this kept things reasonably organized and allowed us to track what codes like M66 actually do.
Then we built the NGC file.
Once that was done, we integrated everything and added the remap section to the INI file.
When we started LinuxCNC, we got the error message mentioned in the previous post.
We suspect there might be an issue with the file path or something similar.
As soon as we comment out the remap configuration, everything runs without problems again.

The only exception is the `conv-float-32` converter; it used to work, but now LinuxCNC claims it already exists.
That is likely a separate issue and unrelated to the mapping setup mentioned above.

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

More
3 months 3 weeks ago #347664 by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
Hi everyone,
I’ve tried a few more times to solve my problem, but unfortunately, I’m not getting anywhere. Perhaps someone can tell me how to fix the issue so I can get the tool changer up and running.

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

More
3 months 3 weeks ago #347666 by Aciera
Replied by Aciera on topic Hurco BMC 30 AP
Re: forum.linuxcnc.org/30-cnc-machines/42689...0-ap?start=80#346618

1. These two errors are connected. The parameter #<_tool_in_spindle> is not defined because 'change_prolog' cannot be found.

2. Looking at your ini file it seems that your paths are messed up. TOPLEVEL should point to the file 'toplevel.py' not just some folder:
Code:
[PYTHON] PATH_PREPEND = python TOPLEVEL = /home/cnc/linuxcnc/nc_files/remap_lib/python-stdglue/python/ PATH_APPEND = /home/cnc/linuxcnc/nc_files/remap_lib/python-stdglue/ [RS274NGC] PARAMETER_FILE = linuxcnc.var #SUBROUTINE_PATH = /home/cnc/linuxcnc/nc_files/remap_lib/python-stdglue/python/ #USER_M_PATH = /home/cnc/linuxcnc/nc_files/hurcoMCODE #REMAP= M6 modalgroup=6 ngc=sub_progs/Werkzeugwechsel_Main SUBROUTINE_PATH = ./ #REMAP=M6 modalgroup=6 ngc=toolchange REMAP=M6 modalgroup=6 prolog=change_prolog ngc=toolchange epilog=change_epilog # parameters exposed by setspeed_prolog/evaluated by setspeed_epilog: #<speed> #REMAP= S prolog=setspeed_prolog ngc=setspeed epilog=setspeed_epilog

Since we don't have your complete config folder there is no telling where you have the relevant files but if you compare your setting with the built in 'sim/axis/remap/extend-builtins/' you might get some ideas.

(You will find the [PYTHON] section at the very bottom of the ini file below):
github.com/LinuxCNC/linuxcnc/blob/2.9/co.../extend-builtins.ini

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

More
3 months 3 weeks ago #347675 by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
Hi, thanks for your help. Unfortunately, I misunderstood something last time. I have uploaded my complete LinuxCNC folder as an attachment.

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

Time to create page: 0.319 seconds
Powered by Kunena Forum