Problem DAC != 0 after following error


Results 1 to 4 of 4

Thread: DAC != 0 after following error

  1. #1
    Registered
    Join Date
    Mar 2008
    Location
    US
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default DAC != 0 after following error

    I am running in ServoDAC mode.

    When a Following Error is detected KFlop disables the axis but does not set the corresponding DAC to zero.

    Do I need to add code to detect this state and set the DAC to zero?

    Will the same behavior happen when limits are hit?

    Similar Threads:


  2. #2
    Member
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    355
    Downloads
    0
    Uploads
    0

    Default Re: DAC != 0 after following error

    From what I remember, when an axis is disabled, the DAC is simply left at it's previous value before disabling. If you need it to be set explicitly to zero, you would need to add code to detect the disable and then set the DAC to zero.

    However, I'm wondering why you need it to drop to zero?
    If you're relying on it dropping to zero to stop motion, setting the DAC to zero is not a recommended method (and could even be dangerous), as if the drive is still enabled, it is very likely to drift. If an axis gets disabled, you should be disabling the drive to stop all motion.



  3. #3
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default Re: DAC != 0 after following error

    Hi cyberjack,

    I believe m_c is correct. You should really detect the axis disabled and disable your drive. That way the DAC voltage won't matter.

    But KFLOP should set the DAC to zero whenever the Axis is disabled. Actually it sets it to the InputOffset0 setting which should be 0V if you are using InputOffset to correct for voltage offset. Do you have an InputOffset0 specified?

    Regards

    Regards
    TK http://dynomotion.com


  4. #4
    Registered
    Join Date
    Mar 2008
    Location
    US
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: DAC != 0 after following error

    I'll look into adding code to disable the amp.

    I've made a bunch of changes over the weekend and am no longer able to repro the problem.
    I am able to cause a following error, but the DAC gets reset to zero.

    I'll keep an eye out for it and update this thread if I see it again.

    Thanks



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

DAC != 0 after following error

DAC != 0 after following error