Gmocappy fires relay twice

More
7 years 1 month ago #144493 by dgarrett
Replied by dgarrett on topic Gmocappy fires relay twice
The userspace pin halui.machine.is-on is following
realtime motion pin motion.motion-enabled.
Some investigation shows this behavior with gmoccapy
has existed for a while -- it has probably just
never been reported.

The problematic code is likely in this function or
its triggers (2.8 branch):
github.com/LinuxCNC/linuxcnc/blob/fbd3f7...py/gmoccapy.py#L2296


Using configs/sim/gmoccapy/gmoccapy.ini, Pressing the Machine-On button:


Suggestion: file a bug report (issue) on github and/or notify Norbert
The following user(s) said Thank You: tommylight

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

More
7 years 1 month ago #144501 by bevins
Replied by bevins on topic Gmocappy fires relay twice

PCW wrote: Does your axis config use halui the same way?
What pokes halui.machine.on and halui.machine.off ?


Yes it does. This basically a generic pncconf. I am just starting towork on the configs and I wanted the customer to use gmocappy.
I am really comfortable with Axis, so I am testing in axis and thenmodifying gmocappy config. I have two machine configs.

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

More
7 years 1 month ago - 7 years 1 month ago #144502 by bevins
Replied by bevins on topic Gmocappy fires relay twice

dgarrett wrote: The userspace pin halui.machine.is-on is following
realtime motion pin motion.motion-enabled.
Some investigation shows this behavior with gmoccapy
has existed for a while -- it has probably just
never been reported.

The problematic code is likely in this function or
its triggers (2.8 branch):
github.com/LinuxCNC/linuxcnc/blob/fbd3f7...py/gmoccapy.py#L2296


Using configs/sim/gmoccapy/gmoccapy.ini, Pressing the Machine-On button:


What is triggering motion.motion-enable?

/EDIT nevermind I think I understand how it works. The function (on_tbtn_on_toggled) looks like it works. Must be in the triggers in the widgets.

Where can I create a bug report?
Last edit: 7 years 1 month ago by bevins.

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

More
7 years 1 month ago #144505 by cmorley

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

More
7 years 1 month ago #144706 by newbynobi
Hallo @ALL,

i am able to reproduce the behavior. so now is just to find the reason and bug fix that one.
I apologize for the inconvenience.

Norbert
The following user(s) said Thank You: bevins, tommylight

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

More
6 years 9 months ago #154343 by bevins
Replied by bevins on topic Gmocappy fires relay twice
Any headway on this issue?

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

Time to create page: 0.129 seconds
Powered by Kunena Forum