leitmotif
Member
Hi All,
I need to calculate total material output per X time for a production machine.
To put it another way, I need to know how much material weight the machine put out in the previous 5 minutes, continiously.
This machine outputs material in bags at varying weights.
Its fastest output is 1 bag every 7 seconds, but varies because it is operator controlled.
My original thought plan was something like the following:
1: load the bag weights and their output time into a datatable or where they are tied together.
2: keep a running total of them and continiously delete the entrys older than 5 minutes.
it always sounds simple until you get to the details.
I am presently reading the bag weights in floating point.
My problem is I do not know how to tie the weight values to the time, and where to save them.
Is this possible to do within a SLC 5/05, and how should I do it?
I can purchase any devices or equipment that are required to get this accomplished, but I would prefer to use what I have if at all possible.
Thanks in advance for any suggestions.
OK I think we have agreed that using weight is the best for the paper shreds. Now that we have eliminated deriving weight at the input or front end our other choice is the output back end.
You are already weighing bagged product.
I think the approach algorythm could be
1. Start timer say 5 minute
2. Start detector for bag at each bag number dumps to a temp file INCREMENT --- also record bag weight in similar manner
3. The total file adds the value in temp file INCREMENT to give a running total and puts that number in another "file" call it SUM
Divide SUM by time accumulate from timer and by number of bags
That should give you total weight of paper and fire retard
IF you subtract teh weight of fire retardent from that weight then you derive paper weight
Now you can divide paper weight by retard weight to get percent.
Dan Bentler