Best method of Hourly Production in Rs Logix 500?

dbanks

Member
Join Date
Nov 2017
Location
Tucson
Posts
9
I've been using 5000 primarily. I've been able to based on prerequisite bits firing make an hourly production tag looking something like HourlyProd[datetime.hour]

Is there anything similar in 500? I need to make hourly production counters for a 24 hour day, sectioned by shifts.
Someone had previously started it on this project, however it's rudimentary and pretty monotonous. It's as such: If time between x and x prodbit fires into a counter. It's done 10 times for the first shift. Instead of doing it 14 more times, there has to be a more direct (read as: less lines) route, right?

Thanks so much in advance.
 
I feel your pain. I do most of my work in 5K but every now and then I have to do a project with a MicroLogix. As long as it is just simple control I have no issues but when it comes to data manipulation I really miss 5K.

Unfortunately RSL 500 doesn't have arrays like 5K does. So you will have to store everything in single element files (N,L,F).

How long do you need to keep the data? How many items are made in a hour? lets say you have to keep the data for a month and the data will fit into a Integer file <32767. You could potentially create a new file for each day in the month. So say N1 - N31 and in each of the N files you can have 24 elements 1 for each hour. You could then move in the data into the proper file based on the date and hour.

Hope this will help.
 
I've been using 5000 primarily. I've been able to based on prerequisite bits firing make an hourly production tag looking something like HourlyProd[datetime.hour]

Is there anything similar in 500? I need to make hourly production counters for a 24 hour day, sectioned by shifts.
Someone had previously started it on this project, however it's rudimentary and pretty monotonous. It's as such: If time between x and x prodbit fires into a counter. It's done 10 times for the first shift. Instead of doing it 14 more times, there has to be a more direct (read as: less lines) route, right?

Thanks so much in advance.

You can use indirect addressing, just make sure all the data files exist or you may cause unintended issues. This example uses a micrologix real time clock, but if you have a SLC, you can use the clock integers, s:37 to s:42 to do the same thing.

2018-07-12_6-27-56.jpg
 

Similar Topics

Good afternoon, I have multiple prox cables about 20 feet away from my electrical cabinet. I found these wiring blocks that I can mount close to...
Replies
6
Views
1,790
I want to create a time stamp within my PLC when an event occurs and then read and display it as a string tag in my HMIs. I figured that someone...
Replies
3
Views
1,636
We have a chiller at our powerplant facility that we are communicating via MODBus RS484 using prosoft mnet card in our contrologix 5000 PLC. We...
Replies
2
Views
2,020
Hi friends; We used rosemount transmitter of diffrent ranges. I want to know what is the best method to calibrate the transmitter. I mean Is it...
Replies
1
Views
1,859
everyone i have a new slc 5/05 processor to configure . i have the choice of using bootp or calling my network admin to get settings for a...
Replies
2
Views
2,001
Back
Top Bottom