588,655 active members*
5,981 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2) > Having trouble running keling 4030 drivers with emc2
Results 1 to 12 of 12
  1. #1
    Join Date
    Jun 2008
    Posts
    52

    Having trouble running keling 4030 drivers with emc2

    I keep getting the "realtime" error but I'm not sure how to correct this. I've read the latency tutorial, but my keling drivers did not come with any documentation to tell me what the step length, step space, etc... of these drivers are, so I have no way of following the tutorial. Keling's own website doesn't even have the information.

    Anyone else having this problem?

  2. #2
    Join Date
    May 2008
    Posts
    29
    i just started having it today. Did you ever get it worked out? I am setting up a Sherline 4 axis mill. everything wired up started to do the configuration and ran into a total lack of data to support the keling 4030 timing requirements.
    If you are not having fun, you are not doing it right.

  3. #3
    Join Date
    Jun 2008
    Posts
    52
    I switched to an AMD system. That seemed to fix it.

    I'm sure there's a whole host of technical reasons why it worked, but I'm not in the least qualified to say why.

  4. #4
    Join Date
    May 2008
    Posts
    29
    what numbers did you use for the driver timeing if i may ask
    If you are not having fun, you are not doing it right.

  5. #5
    Join Date
    Jun 2008
    Posts
    52
    Quote Originally Posted by cxevalo View Post
    what numbers did you use for the driver timeing if i may ask
    5000 Step Time
    5000 Step Space
    20000 Direction Hold
    20000 Direction Setup

  6. #6
    Join Date
    May 2008
    Posts
    29
    thanks fur the numbers.
    I have an other problem now. the cnfig program runs, and emc2 runs but nothing is comeing out of the parallel port. It shows in the bios setup at the standard address and it seems the program sees it there, but no output. I am going to dig around and see if i have a pp card i can add and see if that works.
    If life was easy then anyone could do it.
    If you are not having fun, you are not doing it right.

  7. #7
    Join Date
    Feb 2007
    Posts
    514
    OneAndy here is some info on realtime error.

    http://www.linuxcnc.org/docview/html...agnostics.html

    Are those timing numbers working well, if so I'll add them to the wiki site here.

    http://wiki.linuxcnc.org/cgi-bin/emc...r_Drive_Timing

  8. #8
    Join Date
    Feb 2007
    Posts
    514
    cxevalo here is some info on checking your parallel port output here

    http://wiki.linuxcnc.org/cgi-bin/emc...l_Port_Outputs

    John

  9. #9
    Join Date
    Jun 2008
    Posts
    52
    Quote Originally Posted by Big John T View Post
    OneAndy here is some info on realtime error.

    http://www.linuxcnc.org/docview/html...agnostics.html

    Are those timing numbers working well, if so I'll add them to the wiki site here.

    http://wiki.linuxcnc.org/cgi-bin/emc...r_Drive_Timing

    They work ok for me. I make no warranty that they'll work well for others.

    Just for reference's sake, I'm running those numbers on a:

    Asus A7N8X
    Athlon XP 2600+ (1.92ghz)
    1 gig of pc 4000 ram
    Ubuntu 8.02? (whatever the version was on the livecd available on linuxCNC)

  10. #10
    Join Date
    Feb 2007
    Posts
    514
    OneAndy,

    The numbers for your drive doesn't matter what computer you use them on as it is the minimum drive timing requirements. The computer matters if you can generate step pulses as fast as the minimum. If you have a slow computer or a busy one then you just go slower.

    I'll add the timing info to the wiki site here.

    http://wiki.linuxcnc.org/cgi-bin/emc...r_Drive_Timing

    John

  11. #11
    Join Date
    May 2008
    Posts
    29
    i found out the parallel port in my dull computer was dead. nothing coming out the port at all but enc2 was running fine.
    i replaced the computer with a compaq presario with as alathon 2800+
    i am using a c10 breakout board into kl4030 stepper drivers
    the steppers are KL23H286-20-8B

    at present i am using the following
    step time 2000
    step space 2000
    dir hold 20000
    dir setup 20000

    my latency is 20000
    min base period 29000
    max step rate 34482

    i have the max velocity set in the axis setup at .3 in/sec

    the steppers i am using are about two times too big. I think i can get better preformance from the 2000 with smaller motors.
    i think i still have some tweeking to do.
    If you are not having fun, you are not doing it right.

  12. #12
    Join Date
    Oct 2007
    Posts
    7

    parallel port

    Hi I am a new at this but running a system almost like yours. what isyour parallel port pin configuration?
    thanks for the info

Similar Threads

  1. Starting to wire my Keling KL-4030 drivers...QUESTIONS!
    By BrassBuilder in forum Benchtop Machines
    Replies: 22
    Last Post: 07-21-2009, 12:04 AM
  2. Keling drivers trippled the speed/power of my machine!
    By Fiero Addiction in forum Automation Technology Products
    Replies: 15
    Last Post: 07-21-2008, 02:21 PM
  3. Keling motors, drivers and power supply connections
    By Nitroghost in forum Automation Technology Products
    Replies: 14
    Last Post: 03-13-2008, 05:18 PM
  4. Keling Inc. KL-8056 Drivers
    By heathmanc in forum Automation Technology Products
    Replies: 8
    Last Post: 06-20-2007, 01:54 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
  •