Call external subroutine not working in recent versions of LCNC

More
7 years 8 months ago - 7 years 8 months ago #126305 by shipmodeller
Well, going to the documentation, they do not show a % in a called file. BUT, they do show a m2 ending. Elsewhere, they do say that a file must contain a Leading % and and ending % OR a terminating M2. Since the docs don't specifically forbid using a file structure similar to the primary files, I would think that the % in the subroutine file should be treated as a valid condition. Unless I missed the doc that forbade the leading and trailing % in a subroutine, I would think a subroutine file would / should be able to follow the same rules.. I believe this all worked in 2.7.3, and I didn't have the issue till 2.8 came out, but I do not want to go back to try it. I still think it is a "quirk defect" and should be resolved by code, or by a documentation statement.

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.
Last edit: 7 years 8 months ago by shipmodeller. Reason: Post processor comments.

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

More
7 years 8 months ago #126315 by andypugh
I can confirm that the problem does not seem to exist with 2.7.14
(I just tried it)
The following user(s) said Thank You: shipmodeller

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

More
7 years 8 months ago #126334 by andypugh

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

More
7 years 8 months ago - 7 years 8 months ago #126349 by shipmodeller
May I then assume that you will enter a defect on this topic into the LinuxCNC stream?

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.
Last edit: 7 years 8 months ago by shipmodeller. Reason: Add information

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

More
7 years 8 months ago #126350 by andypugh

shipmodeller wrote: May I then assume that you will enter a defect on this topic into the LinuxCNC stream?

I am not sure what you mean. I have submitted a bug report, how does what you suggest differ?


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.

Some need to be touched-off to work properly. Some may exceed the bounds of your machine.
Which ones don't work, and what is the error message?

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

More
7 years 8 months ago #126371 by shipmodeller
No, the bug report ( defect ) is what I assumed would be done. I am just going to the shop to go through the samples. The few I checked out yesterday said something like "Unexpected character b in around line 26 ... ) I will be detailed today.
Thank you'

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

Time to create page: 0.441 seconds
Powered by Kunena Forum