586,065 active members*
4,301 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Posts
    26

    EMC2 Charge Pump problem

    Hi

    I am trying to migrate a fully working lathe set up under Mach3 to EMC2.
    I use Linux for everything else so would like to use it for CNC too.

    When I set up my data in stepconf and then try to jog axes, I get nothing.
    On checking I found that the charge pump is not activated and no amount of button clicking will do so.

    It is a standard 12kHz charge pump linked to Pin 1 on the Par Port and works perfectly under Mach.
    The board is a DIYCNC PCPPS Breakout board.

    All I can think of is that EMC maybe requires an EStop to be specified and at present I can't do that because it is built into my MPG pendant which works on a second Par Port. address.

    Has anyone got any ideas or had this problem themselves?

    regards

    Melee

  2. #2
    Join Date
    Nov 2008
    Posts
    54
    Stepconf does not genrate the chargepump signal. You would need to temporarily disable the chargepump on the BOB to use the jog keys in stepconf. When actually running EMC, you can have the chargepump re-enabled and everything should work assuming correct settings.

  3. #3
    Join Date
    Aug 2008
    Posts
    26

    EMC2 Charge Pump problem

    Thanks for the reply.

    I have never been able to test the axes from within Stepconf and now I know why.

    However I obviously didn't explain properly.
    I created the configuration using Stepconf but when I run it with EMC, the charge pump is not activated, so nothing moves.

    I can unlatch the Estop button and press the On button, the axes become available and are shown as moving when jogged.
    Because the charge pump is off nothing actually moves.

    The stupid thing is that I have had a machine jogging under EMC with another card from the same source and this card works perfectly under Mach.

    Maybe I need to look at the pin bindings a see if Pin 1 is actually being linked to the charge pump or if stepconf has just ignored my input and done nothing with it.

    If anyone has info re the best way to do that I would be grateful, meanwhile I will try working through all the documentation again

    regards

    melee

  4. #4
    Join Date
    Aug 2008
    Posts
    26

    Problem found

    Hi

    Using Google instead of searching the forums eventually unearthed an oblique reference to the same problem.

    Stepconf generates a HAL line
    net estop-out charge-pump.enable iocontrol.0.user-enable-out

    This binding of charge pump and estop was preventing the charge pump working, even when I re-configured my Estop back to a pin on my first Par Port

    Substituting
    net estop-out iocontrol.0.user-enable-out
    net charge-pump <= charge-pump.out


    solved the problem and I can now jog axes.

    BTW I 'upgraded' version 8.04 hoping stepconf had been improved.
    It generated a .hal file which threw up pages of errors and EMC refused to start!
    I think I shall be hand coding the rest, as I find out how to do what I want.

    regards

    Melee

Similar Threads

  1. Charge Pump
    By cadmonkey in forum LinuxCNC (formerly EMC2)
    Replies: 8
    Last Post: 04-06-2010, 07:19 AM
  2. charge pump
    By michaelf in forum Benchtop Machines
    Replies: 23
    Last Post: 10-25-2009, 11:55 PM
  3. charge pump
    By eloid in forum DIY CNC Router Table Machines
    Replies: 3
    Last Post: 01-25-2009, 04:14 PM
  4. Charge Pump ???
    By jack55 in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 04-21-2007, 08:59 PM
  5. Charge pump
    By mlaws1172 in forum Screen Layouts, Post Processors & Misc
    Replies: 0
    Last Post: 01-04-2006, 05:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •