Gmocappy fires relay twice

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

JohnnyCNC wrote: I had a similar problem in Axis when it was starting up. I used a debounce to solve the problem.

Code:
#This stops the relay that controls the 48volts from briefly clicking on while LCNC is starting. net machine-ison halui.machine.is-on => vc-p4s.machine.ison debounce.1.0.in # SSR 48Volt DYN4 Power net mach-on debounce.1.0.out => hm2_5i25.0.7i76.0.0.output-02 hm2_5i25.0.7i76.0.0.output-04


I am pressing a button in the gui. There should be no debounce problem there. IF there is it should be dealt with in the code for the gui.

I tried your example and that didnt work.
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 #144484 by PCW
Replied by PCW on topic Gmocappy fires relay twice

bevins wrote:

cmorley wrote: what drives the signal 'machine-is-on'?

Chris M


When you press the on button in the gui.

Gmocappy version 3.08


I think what Chris meant is: what drives the 'machine-is-on' signal in the hal file

Could you post your hal files?
The following user(s) said Thank You: bevins

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

More
7 years 1 month ago #144485 by bevins
Replied by bevins on topic Gmocappy fires relay twice
When hitting estop it clicks twice also.

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

More
7 years 1 month ago - 7 years 1 month ago #144486 by bevins
Replied by bevins on topic Gmocappy fires relay twice
Axis Hal Scope when pressing machine-on button in gui.



Gmocappy Hal Scope when pressing machine-on button in gui.

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 - 7 years 1 month ago #144488 by bevins
Replied by bevins on topic Gmocappy fires relay twice

PCW wrote:

bevins wrote:

cmorley wrote: what drives the signal 'machine-is-on'?

Chris M


When you press the on button in the gui.

Gmocappy version 3.08


I think what Chris meant is: what drives the 'machine-is-on' signal in the hal file

Could you post your hal files?


halui,machine-is-on is driving machine-is-on.


Hal File
Warning: Spoiler!


custom.hal
Warning: Spoiler!
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 #144492 by PCW
Replied by PCW on topic Gmocappy fires relay twice
Does your axis config use halui the same way?
What pokes halui.machine.on and halui.machine.off ?

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

Time to create page: 0.149 seconds
Powered by Kunena Forum