Internet PLC Forum

General => Technical support => Topic started by: garysdickinson on May 02, 2018, 03:10:38 PM

Title: Stepper Motor Demo Code
Post by: garysdickinson on May 02, 2018, 03:10:38 PM
I have attached the PLC program StepperTest V2_01.PC6 to this post.

This is a test program that I wrote about 3 years ago to test a stepper motor-controlled valve.  This is a simplified version of that test code.  

If you are thinking about use the PLC for stepper control, this is an excellent starting point as all of the code can be used and extended for your purposes.

Best regards,

Gary D*ckinson
Title: Re:Stepper Motor Demo Code
Post by: garysdickinson on May 02, 2018, 03:13:21 PM
The stepper motor demo code does not need a user interface.

But, I added one to make this into a stand-alone test system.

I used a Weintek 7" HMI for the user interface.  The attached code will work on any of the Weintek HMIs. You can re-edit it to work on the smaller 4.3" displays.
Title: Re:Stepper Motor Demo Code
Post by: garysdickinson on May 02, 2018, 03:40:10 PM
This post adds the documentation.  I had to do some ugly compression to get this under the forum 200K file size limit.

Gary D*ckinson
Title: Re:Stepper Motor Demo Code
Post by: support on May 03, 2018, 01:22:19 PM
Dear Gary,

Our team at TRi greatly appreciate all your contributions to this forum!

The well-documented examples that you provided for the other forumers are invaluable tools to help both the new comers as well as experienced hands make the best use of our PLC's capabilities.

Thank you very much!

The Tech Support team,
Triangle Research International, Inc.