131
General Mach Discussion / Re: How to use stepper motors with position encoders
« on: August 12, 2015, 01:02:09 PM »
What kind of encoders, and what do you want to do with the position encoders?
If you're referring to the newer closed loop stepper/driver combination (i.e. Leadshine ES/Easy Servo series), then you just run them like a standard servo, using the fault/out of position outputs to stop motion/e-stop if there's a problem.
But if you're referring to closing the loop outwith the stepper driver (i.e. by adding encoders to a standard stepper motor), then with Mach 3 alone, all you could use them for is to display the actual position. Mach 3 has not got the capability to use them to close the loop. If you wanted to run closed loop with such motors/encoders, you would have to use an external motion controller that's capable of closing the loop (only one I'm personally aware of is the Dynomotion KFlop, but I'm sure there are others)
If you're referring to the newer closed loop stepper/driver combination (i.e. Leadshine ES/Easy Servo series), then you just run them like a standard servo, using the fault/out of position outputs to stop motion/e-stop if there's a problem.
But if you're referring to closing the loop outwith the stepper driver (i.e. by adding encoders to a standard stepper motor), then with Mach 3 alone, all you could use them for is to display the actual position. Mach 3 has not got the capability to use them to close the loop. If you wanted to run closed loop with such motors/encoders, you would have to use an external motion controller that's capable of closing the loop (only one I'm personally aware of is the Dynomotion KFlop, but I'm sure there are others)