On 11/06/2014 04:50 PM, Joseph wrote:
> Hi Kirk,
>
> Yes. In my config,
> net chargePump charge-pump.out => bb_gpio.p8.out-19
>
> This works when I get past the estop. Since charge-pump.enable defaults
> to TRUE (
http://www.linuxcnc.org/docs/html/man/man9/charge_pump.9.html)
> I also tried leaving it out and connecting only charge-pump.out to the
> gpio pin. No joy.
>
> I also loaded up estop_latch and connected the watchdog to the gpio
> output. Still no joy.
Have you tried HALscope to see want the signals are trying to do?
If you are not familiar with HALscope, look here:
http://www.linuxcnc.org/docs/2.4/html/hal_tutorial.html#sec:Tutorial%20-%20Halscope
Basically, start Machinekit, then start a terminal session, Applications
-> Accessories -> Terminal
At the command line prompt type:
halcmd loadursr halscope
This should give you a window like the first one under "1.5.1 Starting
Halscope" unless you have already run HALscope before. Choose a thread
period, then okay. The thread period you choose should be the same as
the one you assinged to the charge pump function, such as "addf
charge-pump base-thread". You did assign charge pump to a thread, didn't
you? (I've made that mistake more often than I'd like to admit.)
You can go through the rest of the tutorial to see how to find and
connect the charge pump signals to channels and set a trigger. Then go
back to the Machinekit UI and toggle whatever button is supposed to
start the pump.
Unfortunately, I haven't installed or run Machinekit, so I don't even
know if HALscope is available. If you can run HALscope, it's worth
learning how to use it.