DRO reset to zero if the Estop or limit switch are hit


Results 1 to 2 of 2

Thread: DRO reset to zero if the Estop or limit switch are hit

  1. #1
    Member
    Join Date
    Apr 2013
    Location
    usa
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default DRO reset to zero if the Estop or limit switch are hit

    When kflop initialize after every reset. It resets the DRO in mach3

    Is there a way to prevent that from happening?

    Similar Threads:


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

    Default Re: DRO reset to zero if the Estop or limit switch are hit

    Hi mac7988,

    Your Initialization C Program gives you much control over how things are handled. You can set the Destinations to zero, or the last commanded destination, or the current encoder position (assuming you have encoders).

    To set the to the last commanded Destination instead of zero change:

    EnableAxisDest(xx,0.0);

    to

    EnableAxisDest(xx,chxx->Dest);

    (replace xx with the axis channel).

    Note that after an EStop or other incident the last commanded Destination may be invalid.

    HTH
    Regards

    Regards
    TK http://dynomotion.com


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

DRO reset to zero if the Estop or limit switch are hit

DRO reset to zero if the Estop or limit switch are hit