586,060 active members*
4,191 visitors online*
Register for free
Login

Search:

Type: Posts; User: durundal

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: Preventing G-code execution in C, and problems evaluating while loop conditionals

    Hi Tom,

    I think I have the fix implemented, where every command to the PC is bracketed e.g.:

    while(TestAndSet(&persist.UserData[COMMSMUTEXVAR], 1));
    DoPCFloat(PC_COMM_SET_X, 41.1424);...
  2. Re: Preventing G-code execution in C, and problems evaluating while loop conditionals

    Code post
  3. Re: Preventing G-code execution in C, and problems evaluating while loop conditionals

    Hi Tom,

    The homing code (as yet unmodified) is HomeX_with_index_autoalign (called in Threads 1-6 as a result of buttons in KmotionCNC), and the DRO updating one is service_time_insensitive (called...
  4. Re: DYN4 and following error. How are you handling it?

    I'm using DMM drives with a KFLOP & Kanalog in torque mode, so the encoder is being read on the KFLOP and +/-10V being output to the drive with tuning parameters and following error being tracked in...
  5. Re: Preventing G-code execution in C, and problems evaluating while loop conditionals

    More updates: Tracked it down to a call in the Thread 7 supervisor that checks stuff on an infrequent time basis (coolant flow, temperatures, etc) and it's a bit of allocated memory for some chars to...
  6. Preventing G-code execution in C, and problems evaluating while loop conditionals

    Hi Tom,

    I have two questions, one following from the other. I have an axis with two motors on either side of the bed that needs to home them in case they were moved while the machine was off,...
  7. Re: Flexicam ATC router retrofit with Kflop/Kanalog

    Hi Tom,

    While on the topic of tuning: I have seen mention previously of replacing the D term with a pole/zero filter, could you elaborate on how to go about implementing that without too much...
  8. Replies
    21
    Views
    3,438

    Re: Another DMM drive losing counts to Kanalog

    FWIW I have this main power chain: 240V 50A breaker in panel --> power cord --> 30A breaker in cabinet (from when I only had a 30A wall circuit in a previous location) --> contactor --> individually...
  9. Re: Losing quadrature encoder counts from DMM servo drive to Kanalog

    I had meant to say what fixed it when I replaced the chips but lost it in my pile of things to do. The chip started intermittently losing counts but one channel ended up dying entirely. I tested the...
  10. Re: Losing quadrature encoder counts from DMM servo drive to Kanalog

    Hi mmurray,

    Yes, and sorry for the delayed reply, it seems to work again after replacing the chips. I ended up using a product called "ChipQuick" as recommended by the EEVBlog guy to desolder the...
  11. Re: Losing quadrature encoder counts from DMM servo drive to Kanalog

    Hi Tom,

    I have ordered some replacement chips and soldering accessories to give repair a shot. I am in Washington state.

    For preventing future problems, I am trying to make my grounding as...
  12. Re: Losing quadrature encoder counts from DMM servo drive to Kanalog

    Hi Tom,

    Yes, I was reading the digital IO screen for the status, and the screw terminals were screwed shut before taking readings. Earth ground gets some noise on it at 40kHz when the servos are...
  13. Re: Losing quadrature encoder counts from DMM servo drive to Kanalog

    Hi Tom,

    Performing the battery test, all cables disconnected from servos and servos unpowered (only 24V and 5V power supplies powered on in the cabinet)

    definitions:
    ok - moves to on when...
  14. Re: Losing quadrature encoder counts from DMM servo drive to Kanalog

    Hi Tom,

    Measuring the inputs (cables all unplugged):

    0A 470 ohms
    0B 469
    1A 468
    1B 470
    2A 415 <---
    2B 470
  15. Re: Losing quadrature encoder counts from DMM servo drive to Kanalog

    Hi Tom,

    I reworked the wiring to move the AC lines further away physically from the Kanalog and DC lines, this seems to help with the overall noise. I discovered that the quadrature input for...
  16. Re: Losing quadrature encoder counts from DMM servo drive to Kanalog

    Hi Tom,

    Replies in red below.

    Thanks for the help,
    Andy
  17. Losing quadrature encoder counts from DMM servo drive to Kanalog

    Hi Tom,

    I am trying to resolve an issue with encoder motion to the same count not returning to the same physical location. I have a DMM DYN4 servo drive connected to the Kanalog quadrature...
  18. Replies
    1
    Views
    714

    Read current value of Kanalog DAC

    Hi Tom,

    How can I read the current value of a Kanalog DAC in a C program? I would like to implement a load monitor that would take a running average of several seconds worth of the DAC value but...
  19. Replies
    1
    Views
    710

    Re: help 750w Leadshine

    I would be inclined to avoid the 750W Leadshine as I was unable to get their 1000W model to behave correctly in torque control mode (it would send a reverse direction output pulse when the input...
  20. Replies
    3
    Views
    1,611

    What version of Windows are you running? I tried...

    What version of Windows are you running? I tried a bunch of stuff with Windows 10 and couldn't make it go, but it fired right up on a Windows 7 machine. Leadshine support didn't indicate any future...
  21. Replies
    3
    Views
    1,611

    Leadshine EL5 servo drive in torque mode

    Has anyone ever gotten an EL5 series AC high voltage servo drive to operate successfully in torque mode? I have been trying everything I can think of to get mine to behave properly in torque mode, in...
  22. I'm just using them as torque controllers, all...

    I'm just using them as torque controllers, all the loop closing is in the Kflop. The only tuning related parameter that is active in the drives in torque mode is a simple filter that is meant for...
  23. Re: Where to go from here: interfacing to Leadshine servo drive

    Update: I ordered a Dyn4 drive and motor from DMM and sure enough it works great in torque mode, virtually plug and play with the Kanalog. I am going to test the servomotor from Leadshine on it and...
  24. Re: Where to go from here: interfacing to Leadshine servo drive

    Update: after trying a last few shot-in-the-dark the torque mode parameters with no joy, I switched the servo to velocity control and all of a sudden everything works. No more wrong direction on...
  25. Re: Where to go from here: interfacing to Leadshine servo drive

    (for clarity, what I'm trying to do is spin it 10,000 counts in one direction open loop, stop motion and wait briefly, reverse direction until back where it started. The code is a hodgepodge of...
  26. Re: Where to go from here: interfacing to Leadshine servo drive

    Hi m_c,

    As Tom has noticed, this whole thing is a big, inefficient debugging process. I started using the Kmotion step/response tools after first spinning the servo enough to get a hello, world...
  27. Re: Where to go from here: interfacing to Leadshine servo drive

    The graph looks pretty bad uploaded, the red trace (CurrentGiven(%)) basically follows along with the blue one (CurrentFeedback(%)) except for some single bit noise, including during the aberrant...
  28. Re: Where to go from here: interfacing to Leadshine servo drive

    Hi Tom,

    Knowing that the Vin- to Kanalaog ground should work is helpful, that's how I'd been connecting it and that lets me strike that off the list of suspects. I am pretty sure it's in the servo...
  29. Where to go from here: interfacing to Leadshine servo drive

    Hi everyone,

    I bought a Leadshine EL5-D1000 driver and matching 1000W motor (just 1 to try out, and I am glad I didn't buy in bulk). It has a number of inputs and features, but I was just looking...
  30. Replies
    13
    Views
    3,070

    Re: Upgrading from Kmotion 4.33C to 4.34H

    Aaaaand... user error. It looks like I set everything except for the Step/Dir to Servo DAC. Thanks for the quick reply.
Results 1 to 30 of 35
Page 1 of 2 1 2