Servo Motor Control – How to control DC Servo Motors

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

Here is what we’ll end up with :

<iframe width="560" height="315" src="https://www.youtube.com/embed/kMgidL48tL4?rel=0&showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Wirring PLC to ClearPath Motor

Wiring

PLC-to-Motor connections using Teknic’s 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

<iframe width="560" height="315" src="https://www.youtube.com/embed/ecAalPW9HM4?rel=0&showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

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

<iframe width="560" height="315" src="https://www.youtube.com/embed/cUIKgi1ePWg?rel=0&showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Use the following files for the Faster Example

Inscrivez-vous à notre newsletter

Nous n'avons pas pu confirmer votre inscription.
Votre inscription est confirmée.