planner error

More
04 Mar 2022 08:18 #236321 by MichalHK
planner error was created by MichalHK
Hi,

If I run program by pressing "R" shortcut linux give me error at picture, but if I run program by clicking at button "start" nothings happens.
If error pops up, nothing happens program runs correctly, parts is good, but its crazy for me becouse after 10 parts I have 10 pops up error messages :-)

Thanks
Attachments:

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

More
04 Mar 2022 13:09 #236338 by HansU
Replied by HansU on topic planner error
Which version of LinuxCNC are you running?
And does it happen with all G-Code files or only with a specific one?

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

More
04 Mar 2022 13:54 #236347 by tommylight
Replied by tommylight on topic planner error
The error means the machine is already in AUTO mode, so it is in pause or step by step/line by line mode.
If using Axis GUI, there are two buttons right side of the play/pause/stop/step buttons, one is for line by line mode i think, been a long time since i used that.

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

More
04 Mar 2022 14:33 #236349 by HansU
Replied by HansU on topic planner error
Yeah it occurs when trying to run the interpreter (AUTO_RUN) in INTERP_WAITING mode.
Actually this should be avoided by this statement:
if (keyname == "R" or keyname == "r") and self.stat.interp_state == linuxcnc.INTERP_IDLE:
    ...
    self.command.auto(linuxcnc.AUTO_RUN,0)
But the `stat` is only updated every 100 ms. Switching fast from pause to pressing "R" can trigger this. But I cannot reproduce this  constantly. So I assume something with the G-Code file...


 

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

More
04 Mar 2022 16:42 #236361 by tommylight
Replied by tommylight on topic planner error

Switching fast from pause to pressing "R" can trigger this.

In that case, it might have to do with "typematic rate settings" in computers BIOS, but it's been a long time since I've seen that. It was to set after how long of a key press it should start repeating.

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

More
05 Mar 2022 18:41 #236444 by MichalHK
Replied by MichalHK on topic planner error
Im 100% sure that not depends on gcode. I run multiple different gcodes and always its happened.

But gcode is generated by CAM so maybe header of file that is always same can generate this error. I dont know. Always messeges popup at the start of program immediately I pres "R".

I send uname - a asap. I think Im using 2.8.2 Debian 10 Buster

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

More
05 Mar 2022 18:45 #236445 by MichalHK
Replied by MichalHK on topic planner error
OK I will be experimenting with gcode. Maybe I can detect whitch line of gcode generate this.

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

More
05 Mar 2022 19:29 #236447 by HansU
Replied by HansU on topic planner error
What if you run one of the G-code examples of LinuxCNC?
If running this via start button doesn't work - then it is probably some wrong with your config or installation.

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

Moderators: newbynobiHansU
Time to create page: 0.111 seconds
Powered by Kunena Forum