Here is the relevant hal stuff for one of my setups.  This is from
a .hal file for that machine.

        # Add a charge pump for the PMDX-131
        loadrt charge_pump
        addf charge-pump servo-thread
        newsig charge-pump bit
        linksp charge-pump charge-pump.out
        linksp charge-pump parport.0.pin-17-out 

As you can see this runs the charge pump on my PMDX-131 board.  It is
that board that does the work of saying charge pump is being enabled or
is not being enabled by the PC.  That board uses parport pin 17 so that
is where the signal is sent by the last linksp.

All of this is dated HAL code.  I believe that now days the HAL folk
prefer using the net command. 

There are also a couple of parameters associated with the module.  There
is a value in there of 769 for charge-pump.time but I suspect that is a
default because I don't see any set command for that parameter.  The
frequency that you need is determined by the device you are sending it
to.

The current documentation should include a man page for charge_pump
should be included in the pdf at

http://www.linuxcnc.org/docs/HAL_Documentation.pdf

HTH

Rayh


On Sat, 2008-02-23 at 22:45 +0000, zeta wrote:
> Hi all
> 
> [I originally posted this at CNCZone, not realising that  this list is 
> the prime organ for EMC.
> Apologies in advance therefore for any breach of propriety.]
> 
> I'm looking for some guidance about the charge-pump set-up in EMC. I 
> have found in the set-up docs how to assign a parallel port pin to the 
> charge-pump, but that's all. A search on CNCZone yields a post about 
> setting up a torch system in which there is mention of "the 15 kHz 
> output" (but nothing about how to enable it) and searches of the EMC 
> docs (and the Sherline docs) add nothing further. My conclusion is that 
> I'm looking in the wrong place.
> So, can anyone answer:
> 
>    * Where is the charge-pump set up documentation?
>    * What's the charge-pump output amplitude (voltage)?
>    * What's the charge-pump output frequency?
>    * Is there anything else I need to do within EMC (other than assign
>      a pin to the charge-pump) in order to set up a controller which
>      expects a charge-pump signal?
> 
> Grateful thanks for any info.
> 
> 
> Z
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to