587,180 active members*
4,579 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004
    Posts
    306

    Slaved Axis accrued error on A axis while moving

    I've built a racking detector for my slaved axis Y gantry to protect against a racking condition. Basically if one stepper stops turning I want to issue an estop to the machine to protect it from damage. I have 1 stepper per side (A,Y). I've been using this setup for years. I added encoders to the end of each Y and A leadscrew. I developed software for an Atmega168 microcontroller to display the information on an lcd screen and allow setting of a variance trigger point. It is working well but I noticed an issue with my machine. Looking at the encoder counts I see a variance of 4 when running 48 inches. The encoders are set to 200 pulses per revolution so 48 inches = 9600 pulses. When I move 48 inches I get 9600 on the Y and 9604 on the A. This is consistent and I can see the error (variance) increasing as I move from 0 to 48 inches. To be sure it wasn't an issue with my software I swapped the encoder cables around and I see the same thing happen but in reverse (ie: 9604 on Y and 9600 on A). Does anyone know what could cause this error in the slaved A axis?

    Machine details:
    Y/A - Nema 34 960 oz/
    2 gecko g203V drives
    Windows XP
    Parallel port
    pmdx-122 breakout board

    Here is an overview video of the racking detector. This is an older video and I have corrected any issues I may have mentioned in the video.
    Checkout my new Tech Blog! http://xnaron.com

  2. #2
    Join Date
    Jul 2012
    Posts
    80

    Re: Slaved Axis accrued error on A axis while moving

    Could you just drive both motors from the same axis instead? Then you would know that the same number of pulses were being sent to each motor.
    Michael Anton
    http://manton.wikidot.com - http://laserlight.wikidot.com

Similar Threads

  1. Problem with slaved axis
    By bballish in forum DIY CNC Router Table Machines
    Replies: 2
    Last Post: 12-16-2015, 11:50 PM
  2. a problem with slaved A-axis moving properly relative to Y-axis
    By zool in forum Mach Software (ArtSoft software)
    Replies: 34
    Last Post: 07-06-2011, 03:45 AM
  3. any issue with slaved axis?
    By multiplex in forum Viper Servo drives
    Replies: 5
    Last Post: 01-23-2010, 04:06 AM
  4. Adding a slaved X axis
    By t140nick in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 02-05-2009, 09:05 AM

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
  •