- Posts: 40
- Thank you received: 0
"KeyError" suddenly appears after moving a limitswitch
- SebastianM
- Topic Author
- Offline
- Senior Member
-
Less
More
1 year 2 months ago #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.
Please Log in to join the conversation.
- SebastianM
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
1 year 2 months ago #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
Please Log in to join the conversation.
1 year 2 months ago #333013
by Lcvette
Replied by Lcvette on topic "KeyError" suddenly appears after moving a limitswitch
I wonder if it's because it's being loaded before the GUI is loaded
Please Log in to join the conversation.
- SebastianM
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
1 year 2 months ago #333014
by SebastianM
Replied by SebastianM on topic "KeyError" suddenly appears after moving a limitswitch
Good question.
I also wonder is this really is a PB issue or maybe a general LinuxCNC topic. What do you think?
I also wonder is this really is a PB issue or maybe a general LinuxCNC topic. What do you think?
Please Log in to join the conversation.
1 year 2 months ago #333016
by Lcvette
Replied by Lcvette on topic "KeyError" suddenly appears after moving a limitswitch
It looks like maybe a comflict in pb, the ui tries loading which should set an active work coordinate system. This is how the button synchronization and exclusivity functions.
It may be your pendant code. This is the first error of that nature ive had reported in 8 years and there are thousands of pendant users out there.
I would try moving any items that need to synchronize with the gui into the postgui halfile and see if functionality still works and the error goes away.
It may be your pendant code. This is the first error of that nature ive had reported in 8 years and there are thousands of pendant users out there.
I would try moving any items that need to synchronize with the gui into the postgui halfile and see if functionality still works and the error goes away.
Please Log in to join the conversation.
- SebastianM
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
1 year 2 months ago #333018
by SebastianM
Replied by SebastianM on topic "KeyError" suddenly appears after moving a limitswitch
Success!
I moved that line to my posthui.hal and now everything works.
# --- ESTOP-EXT ---
net pendant-estop <= hm2_7i76e.0.7i76.0.0.input-29
Thx for the support.
I moved that line to my posthui.hal and now everything works.
# --- ESTOP-EXT ---
net pendant-estop <= hm2_7i76e.0.7i76.0.0.input-29
Thx for the support.
Please Log in to join the conversation.
Time to create page: 0.079 seconds
