Hello Guest it is October 21, 2021, 01:50:09 AM

Author Topic: Axis Motor Feedback  (Read 2279 times)

0 Members and 1 Guest are viewing this topic.

Axis Motor Feedback
« on: January 24, 2008, 03:22:09 PM »
Hey All,
I will be using axis motors that have an integral controller, driver and encoder. They can be programmed as stand alone but they can also be configured to accept Step and Direction. Which is what I have done. That part works OK.
When set-up for Step and Direction, the only output from the encoder seems to be  a "Timed Trigger" on 1 output pin that can be set to "10 to 32767 pulses".  Is there a way to utilize this output to Mach for position error or missed steps ?
It appears, to configure an encoder in Mach, A and B channel is required.
I also guess that I would need to match "pulse for pulse", this minimum is 10 pulses.

This doesn't look good, but I'd like to use the encoder if possible.

Oh, by the way..These motors can be set to 50,000 pulses per revolution and have a 10:1 planetary reduction gearhead. That's 500,000 ppr. Put that with a 5 TPI Ball screw makes 2,500,000 pulses per unit. (inch)
Every 10 pulses would probably be OK.
« Last Edit: January 24, 2008, 03:37:09 PM by Overloaded »

Offline Hood

  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Axis Motor Feedback
« Reply #1 on: January 24, 2008, 03:58:12 PM »
Mach is open loop, the encoder input is just for reference. You could probably use a brain(or macropump) to compare the true and comanded position and have Mach fault out if your chosen error difference is exceded, but I would imagine your drives do that  internally so there probably isnt much point to doing it.