"KeyError" suddenly appears after moving a limitswitch
- Lcvette
-
- Offline
- Moderator
-
Less
More
- Posts: 1446
- Thank you received: 701
05 Aug 2025 02:51 #332863
by Lcvette
Replied by Lcvette on topic "KeyError" suddenly appears after moving a limitswitch
ok, so then in your other config in the ini, add G54 to the start line and it should resolve for the time being. I will investigate the scenario here with it removed from the startup and see if i can reproduce, if so i will look at hardcoding a default work offset for startup to avoid the error in future releases. great job identifying the difference!
The following user(s) said Thank You: SebastianM
Please Log in or Create an account to join the conversation.
- SebastianM
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 2
05 Aug 2025 04:40 - 06 Aug 2025 20:13 #332864
by SebastianM
Replied by SebastianM on topic "KeyError" suddenly appears after moving a limitswitch
Hi!
I am 99% sure that I do have G54 in my startup code, but I will double check tomorrow.
Thx!
Update: Confirmed - G54 was in the startup code line.
I am 99% sure that I do have G54 in my startup code, but I will double check tomorrow.
Thx!
Update: Confirmed - G54 was in the startup code line.
Last edit: 06 Aug 2025 20:13 by SebastianM.
Please Log in or Create an account to join the conversation.
- SebastianM
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 2
06 Aug 2025 19:11 - 06 Aug 2025 22:01 #332972
by SebastianM
Replied by SebastianM on topic "KeyError" suddenly appears after moving a limitswitch
Update / Wednesday 5:52PM:
finally found the root cause for this behavior.
Its line 25 in my pendant.hal
# --- ESTOP-EXT ---
net pendant-estop <= hm2_7i76e.0.7i76.0.0.input-29
when I comment it out, everything is fine.
Now I just have to understand whats going on with this signal.
Regards
Sebastian
###############################
OK, I am one step closer.. I created a "virgin" configuration.. that worked fine and didnt show this error. Than I started copying my old config file by file into the new folder to narrow down when this error would be introduced.
And - believe it or not - it happens as soon as I include my pendant.hal file.
Here is a screencast. Its 100% reproducable.
As soon as "G54" is highlighted in the top left corner, everything is fine. When its "off", I always get this popup...
Does this make any sense to you?
this is my config.
github.com/SebastianMusser/LinuxCNC
finally found the root cause for this behavior.
Its line 25 in my pendant.hal
# --- ESTOP-EXT ---
net pendant-estop <= hm2_7i76e.0.7i76.0.0.input-29
when I comment it out, everything is fine.
Now I just have to understand whats going on with this signal.
Regards
Sebastian
###############################
OK, I am one step closer.. I created a "virgin" configuration.. that worked fine and didnt show this error. Than I started copying my old config file by file into the new folder to narrow down when this error would be introduced.
And - believe it or not - it happens as soon as I include my pendant.hal file.
Here is a screencast. Its 100% reproducable.
As soon as "G54" is highlighted in the top left corner, everything is fine. When its "off", I always get this popup...
Does this make any sense to you?
this is my config.
github.com/SebastianMusser/LinuxCNC
Last edit: 06 Aug 2025 22:01 by SebastianM.
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.084 seconds