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 20th, 2017, 10:13 AM   #1
RogerBrunner
Member
United States

RogerBrunner is offline
 
Join Date: Feb 2017
Location: Florida
Posts: 17
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
  Reply With Quote
Old March 20th, 2017, 10:47 AM   #2
cardosocea
Member
United Kingdom

cardosocea is offline
 
Join Date: Nov 2016
Location: London
Posts: 151
What PLC are you using??
  Reply With Quote
Old March 20th, 2017, 10:53 AM   #3
RogerBrunner
Member
United States

RogerBrunner is offline
 
Join Date: Feb 2017
Location: Florida
Posts: 17
IDEC smart relays, Function block
  Reply With Quote
Old March 20th, 2017, 11:05 AM   #4
Jsu0234m
Member
United States

Jsu0234m is offline
 
Join Date: Apr 2013
Location: Alabama
Posts: 40
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.
Attached Images
File Type: jpg Count.jpg (27.0 KB, 52 views)
  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
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


All times are GMT -5. The time now is 08:19 PM.


.