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.
New Here? Please read this important info!!!
|March 20th, 2017, 10:13 AM||#1|
Join Date: Feb 2017
How to counter??
New to PLC programming and have the layout 99% complete and working!!!! However I have 1 small issue, I have 2 inputs activating the same output, I need that same output to remain active until the same amount of actions on those 2 inputs happen on a 3rd input?
In- 1 gets 3 signals
In- 2 gets 2 signals
I need output 1 to stay active until
In- 3 gets 5 signals
|March 20th, 2017, 11:05 AM||#4|
Join Date: Apr 2013
You need to use a counter to count each time input 1,2,or 3 comes on. Then add input 1 and 2 together and compare that to the count from input 3. Then use that to enable or disable your output.
You will also need a way of resetting your counters so you are able to reset everything and start counting again.
I was bored so i threw together something. I reset the count by holding down all three inputs.
I've been writing an HMI program all morning and my brain is a little fried, so you may need to play with it a bit to get what you need.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|8 boiler lead lag system HELPPP plz !!||HeroControlsInc||LIVE PLC Questions And Answers||9||April 7th, 2016 11:34 AM|
|Micro850 Counter Driver||lolproe||LIVE PLC Questions And Answers||2||October 16th, 2013 03:50 PM|
|Digital Counter "jumping"||rguimond||LIVE PLC Questions And Answers||4||March 3rd, 2010 03:17 PM|
|Absolute encoder or SSI counter Fault||ason||LIVE PLC Questions And Answers||0||December 20th, 2006 02:44 PM|
|AB Micro High Speed Counter Trouble||Rocky Cortis||LIVE PLC Questions And Answers||2||September 19th, 2004 01:09 PM|