How to program stepper motor in plc
Don't forget the termination code. Which again is dollar sign zero D. I'll set sending as C7 and success as C8. Here I'm setting the deceleration rate to 25 revolutions per second.
So when you're done go ahead and hit ok. In the coil area for the third rung go ahead and drag in a send command. And then in the text box type in the following. Which is once again dollar sign zero D. I'll set sending as C9 and success as C In this command I am setting the velocity to 1 revolution per second.
So in the coil area of the fourth rung go ahead and drag in another send command. Type in the following and type in dollar sign zero D as the termination code. I'll set sending as C11 and success as C So here I am telling the motor to move 20, steps in the clockwise direction. So go ahead and hit ok. Don't forget to add your end statement, and then go ahead and download your program to the PLC.
Now you want to open up the Data View window. And you want to add the following tags; C1, C2, C3, and then finally C4. Go ahead and click on the edit button. Double clicking the on button energizes the associated rung and sends that command.
So go ahead and toggle C1, C2, and C3 on and then back off. Now, when you toggle C4 on the motor should move 20, steps in the clockwise direction. So let's go ahead and do that. And sure enough the motor moves exactly one revolution or 20, steps.
So now that you know how to send commands to the drive the possibilities are endless. Voted 1 mid-sized employer in Atlanta Check out our job openings. This version of Internet Explorer is either no longer supported by Microsoft , or is obsolete and some features of our store may no longer be supported.
Please consider upgrading or use a different browser. FedEx service guarantees have been suspended through January 16, See FedEx service alerts for more detail. ADC regrets we cannot refund late deliveries until carrier guarantees are restored.
This example is setup like a state machine. If this is a new concept to you, please check out our State machine and other tutorials on our Tutorial Page. In this example, we tell the Stepper Motor to move a motor. The program waits for a digital input to turn ON, then starts a sequence of movements. The Motor will move:. Join The Newsletter:. About Us - Contact Us - Store.
Small, Inexpensive, easy-to-use PLCs. Started by Shekhawat , 6 Feb Posted 6 Feb Posted 8 Feb If you have a SLC Keep in mind this module was revised recently and the new Rev. B module does not act like the rock-solid Rev. A model. At a previous employer, we had built many, many machines with SLC controllers, HSTP1 module for every stepper axis with pulses going to the stepper motors, and Anaheim transformers to step the voltage down.
0コメント