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 February 26th, 2018, 10:45 AM   #1
Levi G
Member
Canada

Levi G is offline
 
Join Date: Sep 2015
Location: Alberta
Posts: 63
LOGO! 8 up/down counter

I am using LOGO Soft Comfort V8.1
I am trying to reset a UP/Down Counter when it reaches a certain value but I can not find the way to do it, does anyone know of a way to do this?
I am trying to accomplish this in FBD Editor.
  Reply With Quote
Old February 26th, 2018, 10:59 AM   #2
nehpets
Member
Wales

nehpets is offline
 
nehpets's Avatar
 
Join Date: Mar 2009
Location: Wales
Posts: 342
Send the output to a 'M' flag and feed back to the reset input on the counter.

Steve
__________________
Why do programmers get confused between Halloween and Christmas - OCT31 = DEC25
  Reply With Quote
Old February 27th, 2018, 08:58 AM   #3
Levi G
Member
Canada

Levi G is offline
 
Join Date: Sep 2015
Location: Alberta
Posts: 63
That doesn't do quite what I had in mind, I would like to turn an output on when the counter reaches a certain value, for example 10, then at 11 I would like to reset the counter.
Is there a function that I am missing like a COMPARE Function(Equal, Greater Than, Less Than, or Not Equal.) or something similar?
  Reply With Quote
Old February 27th, 2018, 09:54 AM   #4
nehpets
Member
Wales

nehpets is offline
 
nehpets's Avatar
 
Join Date: Mar 2009
Location: Wales
Posts: 342
I've never used a compare function with the logo the best I can come up with is this, the output counter is set to 10 & the reset counter is set to 11

Steve
Attached Images
File Type: jpg counter.jpg (7.5 KB, 41 views)
__________________
Why do programmers get confused between Halloween and Christmas - OCT31 = DEC25
  Reply With Quote
Old February 27th, 2018, 12:30 PM   #5
Levi G
Member
Canada

Levi G is offline
 
Join Date: Sep 2015
Location: Alberta
Posts: 63
Quote:
Originally Posted by nehpets View Post
I've never used a compare function with the logo the best I can come up with is this, the output counter is set to 10 & the reset counter is set to 11

Steve
Well that will work, why didn't I think of that.
Thanks for the help
  Reply With Quote
Old February 27th, 2018, 12:31 PM   #6
rQx
Member
Sweden

rQx is offline
 
Join Date: Oct 2010
Location: Trelleborg
Posts: 634
Maybe this little tweak?
You use the B003 counter value to reset your counter.
Attached Images
File Type: png Namnlös.png (11.7 KB, 36 views)
  Reply With Quote
Old March 2nd, 2018, 06:35 PM   #7
Levi G
Member
Canada

Levi G is offline
 
Join Date: Sep 2015
Location: Alberta
Posts: 63
Quote:
Maybe this little tweak?
You use the B003 counter value to reset your counter.
rQX I finally got to play a bit with your method and I tweaked it a bit and came up with this.
LOGO UP_DN Counter.jpg

Thanks for the help
Attached Images
File Type: jpg LOGO UP_DN Counter.jpg (29.7 KB, 20 views)
  Reply With Quote
Old March 3rd, 2018, 01:24 AM   #8
rQx
Member
Sweden

rQx is offline
 
Join Date: Oct 2010
Location: Trelleborg
Posts: 634
Glad it could help you out
  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
LOGO hours, minutes and seconds counter. KinG5234 LIVE PLC Questions And Answers 2 January 18th, 2013 06:40 AM
Old Toshiba Ex20 up/down counter problem dave.hodgson LIVE PLC Questions And Answers 4 April 4th, 2005 04:10 PM
Idec micro 1 using encoder as up/down counter b.nelson LIVE PLC Questions And Answers 18 March 9th, 2004 03:01 PM
Up/down counter values Variblade LIVE PLC Questions And Answers 1 June 14th, 2003 04:29 PM


All times are GMT -5. The time now is 08:57 AM.


.