How to counter??

RogerBrunner

Member
Join Date
Feb 2017
Location
Florida
Posts
42
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
 
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.

Disclaimer:
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.

Count.jpg
 

Similar Topics

Hey Everyone, After reading a lot on this forum and elsewhere I see not many are fond of the 1794-VHSC module. I can see to a degree as I was...
Replies
3
Views
43
Hello Folks, Has anyone configured a Momentum high speed counter on Unity 13.1. We need the wiring diagram for Momentum High speed counter and...
Replies
0
Views
65
Hi all, I am working with an incremental encoder (ABZ signals, 360 ppr (so 1440 counts per rev)) to replace the existing "manual" encoder wheel I...
Replies
25
Views
807
Hi y'all Just a quick question for using Rslogix 5000 I'm using a counter up bit with an analog signal (0-10V). When 10V is measured, counter...
Replies
5
Views
204
Hello everyone, I'm having issues with connected components. I got a new laptop and I installed all the RA programs I need without problem. I was...
Replies
1
Views
175
Back
Top Bottom