Daily counter Micrologix 1100

saucekorn69

Member
Join Date
Mar 2005
Location
Quebec
Posts
27
Hello guys,

I am programming under Rslogix 500 with a micrologix 1100 and I would like to know how can I create a counter which would be automatically reset every 24 hours ?

I just want to count how many products per day the machine will do, I know this is a really basic question but I guess I am still a beginner !

Thanks !

Nicolas.
 
24hour_reset0.JPG
 
Depending on your production rate, cycle time etc....
You may want to use a one shot, otherwise you are going to lose one second of counting versus one plc scan worth of lost counts.
 
Last edited:
I will definitely use a one shot on this. I never thought the answer would be so quick and easy, thanks guys !

Best regards !

Nicolas.
 
In the ML1100 use the real time clock instead of S:40-42.
With a oneshot all you need to check is the hours, RTC:0.HR.


Storage_bit Counter
--+-------------------+----[ONS]----------(RES)--
|EQU |
|Source A RTC:0.HR |
|Source B 0 |
+-------------------+

 

Similar Topics

Hey all, I am trying to make a code in Unity for a "daily counter". So I have a variable that steadily increases over time. I simply want daily...
Replies
2
Views
2,837
Dear all, I am having a flow totalizer that reset automatically every Thursday at 6:00 am. I would like to stack and save the value of the...
Replies
6
Views
2,793
Hello, I have a 6" PVPlus 7 that is being used to display a daily trend of air usage out of our air compressor in scfm. I have made a datalog and...
Replies
0
Views
1,202
Hey guys, I'm still pretty new to PLC's in general. For a program on RSLogix 500 with a micro1400 and pvp400, we are currently logging data for...
Replies
9
Views
2,801
I have a zelio relay model sr2b121fu, the daily programer function block does not change when the time is right. I am trying to program this in...
Replies
5
Views
2,027
Back
Top Bottom