What signal when LinuxCNC is loaded?
01 Jan 2021 19:04 #193748
by ikkuh
What signal when LinuxCNC is loaded? was created by ikkuh
I got the beginnings of my control panel working (thanks to all!), see forum.linuxcnc.org/38-general-linuxcnc-q...paralel-bob?start=10
Problem I am facing now and not noticed before is that all the outputs from the BOB are high when power is switched on. This leads to dangerous and very noisy situations. The compressor, vacuum and air outlets all start to work when the CNC hardware is powered on.
What I am looking for to fix this is a signal that LinuxCNC generates when it is fully loaded and ready to start working. I want to attach that signal to a relay that will supply the BOB with power for the outputs.
But I can not find such a signal anywhere. There is a charge-pump that vaguely does what I am trying to do (according to some posts in the forum), but it seems overkill and I could not get it to work either.
I looked in all the HAL documentation, could not find the signal. I use gmoccapy, there is no signal there either.
So who can help me out? I am no wizard nor a specialist. Just a hobbyist with limited skills.
Problem I am facing now and not noticed before is that all the outputs from the BOB are high when power is switched on. This leads to dangerous and very noisy situations. The compressor, vacuum and air outlets all start to work when the CNC hardware is powered on.
What I am looking for to fix this is a signal that LinuxCNC generates when it is fully loaded and ready to start working. I want to attach that signal to a relay that will supply the BOB with power for the outputs.
But I can not find such a signal anywhere. There is a charge-pump that vaguely does what I am trying to do (according to some posts in the forum), but it seems overkill and I could not get it to work either.
I looked in all the HAL documentation, could not find the signal. I use gmoccapy, there is no signal there either.
So who can help me out? I am no wizard nor a specialist. Just a hobbyist with limited skills.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
01 Jan 2021 19:13 #193749
by tommylight
Please Log in or Create an account to join the conversation.
01 Jan 2021 19:24 - 01 Jan 2021 19:25 #193751
by ikkuh
It is nice that you got triggered by the term charge-pump. But what good you are thinking with the links is a mystery to me.
What is the use of this? You are not helping, this is only adding to the frustration.
Please refrain from adding comment-less links like this. We are not all wizards or specialists in interpreting the documentation. I am sure you started out at a low level too.
Replied by ikkuh on topic What signal when LinuxCNC is loaded?
www.google.com/search?source=hp&ei=A3TvX...Xdpeg&sclient=psy-ab
www.google.com/search?ei=M3TvX9KUE4eckwW...bQAocQ4dUDCAw&uact=5
It is nice that you got triggered by the term charge-pump. But what good you are thinking with the links is a mystery to me.
What is the use of this? You are not helping, this is only adding to the frustration.
Please refrain from adding comment-less links like this. We are not all wizards or specialists in interpreting the documentation. I am sure you started out at a low level too.
Last edit: 01 Jan 2021 19:25 by ikkuh. Reason: getting frustrated by the non help
Please Log in or Create an account to join the conversation.
01 Jan 2021 20:54 #193754
by alkabal
Replied by alkabal on topic What signal when LinuxCNC is loaded?
Hi
I think you can use halui.machine.is-on this one is set to 1 when you turn on button from gui
Br
I think you can use halui.machine.is-on this one is set to 1 when you turn on button from gui
Br
Please Log in or Create an account to join the conversation.
01 Jan 2021 20:57 #193755
by alkabal
Replied by alkabal on topic What signal when LinuxCNC is loaded?
I found this little modul that seem to be used with charge-pump for switching supply
www.ebay.fr/itm/174060447812
www.ebay.fr/itm/174060447812
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
01 Jan 2021 22:50 #193765
by tommylight
The first few results have all the info about what a charge pump is, how to set it up and WHY and WHEN to use it.
In your case that is the only solution, there is no other way of fixing the "all high" or sometimes "all low" pins.
The first link has some simple schematics to build such a device, it has about 4 to 6 parts in total that can be sourced from old electronics boards and soldered together.
Or use inverters on all the pins that should be low.
The hal file should have something like this added to it:Or any of the output pins.
Replied by tommylight on topic What signal when LinuxCNC is loaded?
-
www.google.com/search?source=hp&ei=A3TvX...Xdpeg&sclient=psy-ab
www.google.com/search?ei=M3TvX9KUE4eckwW...bQAocQ4dUDCAw&uact=5
It is nice that you got triggered by the term charge-pump. But what good you are thinking with the links is a mystery to me.
What is the use of this? You are not helping, this is only adding to the frustration.
Please refrain from adding comment-less links like this. We are not all wizards or specialists in interpreting the documentation. I am sure you started out at a low level too.
The first few results have all the info about what a charge pump is, how to set it up and WHY and WHEN to use it.
In your case that is the only solution, there is no other way of fixing the "all high" or sometimes "all low" pins.
The first link has some simple schematics to build such a device, it has about 4 to 6 parts in total that can be sourced from old electronics boards and soldered together.
Or use inverters on all the pins that should be low.
The hal file should have something like this added to it:
loadrt charge-pump
addf charge-pump base-period
net charge-pump parport.0.pin-16-out
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds