Gmocappy fires relay twice

More
7 years 1 month ago - 7 years 1 month ago #144446 by bevins
This is a weird one. Don't know what I am doing wrong. Really basic stuff. I am firing three relays with machine-is-on. They are used for various things but a major one is drive enable. The relays energize twice with Gmocappy. They click on, off then on again when I turn on the machine.

In Axis they don't do that. They just fire once.

Any ideas?
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 #144447 by bevins
Replied by bevins on topic Gmocappy fires relay twice
Here is a video showing this behavior.




Code:
#Gmocappy custom.hal net machine-is-on hm2_7i92.0.7i77.0.0.output-00 hm2_7i92.0.7i77.0.0.output-01 hm2_7i92.0.7i77.0.0.output-02 #Axis custom.hal net machine-is-on hm2_7i92.0.7i77.0.0.output-00 hm2_7i92.0.7i77.0.0.output-01 hm2_7i92.0.7i77.0.0.output-02
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 #144458 by cmorley
Replied by cmorley on topic Gmocappy fires relay twice
what drives the signal 'machine-is-on'?

Chris M

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

More
7 years 1 month ago #144469 by Arpad
Replied by Arpad on topic Gmocappy fires relay twice
I have the same problem after gmocappy 2.334 version

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

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

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

Chris M


When you press the on button in the gui.

Gmocappy version 3.08

/EDIT Sorry, halui,machine-is-on is driving machine-is-on.
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 #144472 by JohnnyCNC
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

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

Time to create page: 0.066 seconds
Powered by Kunena Forum