- Posts: 19306
- Thank you received: 0
Call external subroutine not working in recent versions of LCNC
Unfortunately I can't reproduce the issue here with the checkers12 G-code file. Possibly it is an interaction between that and tolchange3? Can you attach the toolchange3 file and I will try adding that to my test config here. (At the moment _my_ toolchange3 just contains
Please Log in to join the conversation.
- shipmodeller
- Topic Author
- Offline
- Senior Member
-
- Posts: 52
- Thank you received: 0
100% failure rate with the scenario I indicated
Attachment not found
And again.. my revision of Axis code is pre1-4559
Please Log in to join the conversation.
- shipmodeller
- Topic Author
- Offline
- Senior Member
-
- Posts: 52
- Thank you received: 0
Please Log in to join the conversation.
shipmodeller wrote: It's interesting to note that the toolchange3.ngc ALSO has the % front and back
Indeed, and removing them makes things work again (with them I _can_ reproduce your issue)
I have a vague memory that % shouldn't be used in an external subroutine file, but I had forgotten it until just now.
I wonder if that is documented anywhere?
Please Log in to join the conversation.
- shipmodeller
- Topic Author
- Offline
- Senior Member
-
- Posts: 52
- Thank you received: 0
Thank you for your patience and assistance.
Oh, and since the Post processor is generating the % front and back, then any subroutines I generate, and I do have a few, are going to have the % front and back. Yes, I could change the post processor.. but ...... Consistency in format is always a great coding mantra.
Please Log in to join the conversation.
(I just tried it)
Please Log in to join the conversation.
Please Log in to join the conversation.
- shipmodeller
- Topic Author
- Offline
- Senior Member
-
- Posts: 52
- Thank you received: 0
Also, I started to go through the sample GCode that is supplied in the sample directory, and a few of them will not load correctly anymore. If I have time today, I will make a list. I thought LinuxCNC had regression test cases? I would create a separate topic for that issue.
Please Log in to join the conversation.
I am not sure what you mean. I have submitted a bug report, how does what you suggest differ?shipmodeller wrote: May I then assume that you will enter a defect on this topic into the LinuxCNC stream?
Some need to be touched-off to work properly. Some may exceed the bounds of your machine.Also, I started to go through the sample GCode that is supplied in the sample directory, and a few of them will not load correctly anymore. If I have time today, I will make a list. I thought LinuxCNC had regression test cases? I would create a separate topic for that issue.
Which ones don't work, and what is the error message?
Please Log in to join the conversation.
- shipmodeller
- Topic Author
- Offline
- Senior Member
-
- Posts: 52
- Thank you received: 0
Thank you'
Please Log in to join the conversation.
