You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old March 17th, 2018, 05:59 PM   #1
Clint63
Member
United States

Clint63 is offline
 
Join Date: Mar 2018
Location: MO
Posts: 1
Alternating two motors

Hi I'm kinda new at PLC programming sorta teaching myself. I need to alternate between two motors run one till satisfied the when it calls again run the other back and forth. Thanks Clint
  Reply With Quote
Old March 17th, 2018, 06:27 PM   #2
Steve Bailey
Lifetime Supporting Member + Moderator
United States

Steve Bailey is offline
 
Steve Bailey's Avatar
 
Join Date: Apr 2002
Location: The boondocks of Western Massachusetts USA
Posts: 6,401
Many ways to do it. Search the forum using the key word "flip-flop" for some ideas.
A simple method is to increment a counter every time either motor starts. When the value of the counter's accumulator is even start pump A, if odd start pump B. The least significant bit of the accumulator is true for odd numbers, false for even numbers.
  Reply With Quote
Old March 17th, 2018, 08:28 PM   #3
mendonsy
Member
United States

mendonsy is offline
 
mendonsy's Avatar
 
Join Date: Feb 2009
Location: Western NY
Posts: 712
The other thing you need to consider is what to do if one pump is not available or doesn't start. There needs to be some alternate method for starting the other pump in an emergency.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
2 motors alternating on/off for 1 second SP3000 LIVE PLC Questions And Answers 2 May 25th, 2017 02:59 PM
alternating a drive on multiple motors DRThorne LIVE PLC Questions And Answers 29 May 17th, 2017 01:53 PM
Batch Simulator with Alternating motors cburns6 LIVE PLC Questions And Answers 20 December 2nd, 2014 03:41 PM
VFD to 2 motors. Alternating run time g.mccormick LIVE PLC Questions And Answers 41 September 26th, 2013 08:21 AM
120 volt speed control cciblazer LIVE PLC Questions And Answers 5 October 4th, 2003 02:45 PM


All times are GMT -5. The time now is 03:48 AM.


.