Pressing Reset in Mach3 set Machine coords to 0?


Results 1 to 5 of 5

Thread: Pressing Reset in Mach3 set Machine coords to 0?

  1. #1
    Registered
    Join Date
    Oct 2010
    Location
    USA
    Posts
    61
    Downloads
    0
    Uploads
    0

    Exclamation Pressing Reset in Mach3 set Machine coords to 0?

    Why does pressing Reset in Mach3 set Machine coords to 0?

    I've attached my init the gets executed when I press Reset in Mach3.

    Thanks,

    Dennis

    Similar Threads:
    Attached Files Attached Files


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

    Default

    Hi Dennis,

    In your Init program when you enable your axes you are setting the destination to be the encoder position which is probably zero. Instead set it to the current Destination such as:

    EnableAxisDest(0,ch0->Dest);

    Regards

    Regards
    TK http://dynomotion.com


  3. #3
    Registered
    Join Date
    Oct 2010
    Location
    USA
    Posts
    61
    Downloads
    0
    Uploads
    0

    Default

    Just had a thought...I'm using steppers in an open loop configuration. Is wind-up or position error really even an issue since the controller really has no idea where my machine is?

    I can see needing this down the road when I add encoders and go to a closed loop system.

    Thanks,

    Dennis



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

    Default

    Hi Dennis,

    Not sure exactly what you mean. But correct, without feedback or a servo following error or Integrator Wind-Up simply don't apply.

    Regards

    Regards
    TK http://dynomotion.com


  5. #5
    Registered
    Join Date
    Oct 2010
    Location
    USA
    Posts
    61
    Downloads
    0
    Uploads
    0

    Default

    Thanks Tom,

    The EnableAxisDest(0,ch0->Dest); works perfectly.


    -Dennis



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

Pressing Reset in Mach3 set Machine coords to 0?

Pressing Reset in Mach3 set Machine coords to 0?