In this example, we’ll be controlling a brushless DC servo motors.
Here is what we’ll end up with :
Wirring PLC to ClearPath Motor
- Tie Blue, Green, White and Black to the same +5V used to power the PLC.
- Yellow is Step
- Brown is Direction
- Orange is Enable
- Red is a signal from the motor, telling you when a movement is complete
Files used in this example :
Let’s turn things up a bit: This example goes 200,000 steps per second for 10 rotations in each direction
Use the following files for the Faster Example :