On Tuesday 22 May 2018 02:29:33 John Dammeyer wrote:

> I've used the stepconf wizard to assign to DB25-17.
>
> The hal file ends up with this:
>
> loadrt charge_pump
> net estop-out charge-pump.enable iocontrol.0.user-enable-out
> net charge-pump <= charge-pump.out
>
> addf charge-pump base-thread
>
> net charge-pump     => parport.0.pin-17-out
>
> net estop-out <= iocontrol.0.user-enable-out
> net estop-ext => iocontrol.0.emc-enable-in
>
> A scope on the DB-25 pin 17 does not show any sort of pulse stream.  I
> know the signal is making it from the PC out to the Breakout board
> because if I assign pin 17 to say coolant instead of charge pump I can
> click on the flood on check box and toggle the flood output signal.
>
> If I understand the hal file correctly the charge pump code is loaded,
> the estop_out pin and charge-pump.enable are dependent on the
> user-enable-out which is controlled by the ENABLE button on the top
> left part of the screen. The charge-pump variable is set with
> charge-pump.out
> And the charge-pump variable  is put out to the pin-17.
>
> I can delete all those lines and then run stepconf wizard which
> recreates what I have above.
>
> I think I'm doing everything mentioned here.
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?About_Charge_Pumps
>
> What's missing to enable charge pump?
>
> Thanks
> John
>
The charge pump has only one output, and I needed two in order to control 
the jig's location bar.  So I fed the charge-pump output to a couple 
and2's and gated them to control the outputs to drive the bucket thingy 
and relays that ran the motors, re-purposing the mist and flood 
functions.

I have since parked that jig, and am now switching a vacuum to collect 
swarf with it.

Use the halscope to check why the signal isn't getting out.

>
> ----------------------------------------------------------------------
>-------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to