In this example, we’ll be controlling a brushless DC servo motors.

Here is what we’ll end up with

Control a brushless DC servo motors

Wiring

ACE to motor connections using 8 wire control cable:

  • 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

Programming

Files used in this example

Faster 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