Ladder logic rate meter
Ladder logic rate meter
(OP)
I am using AB Compact Logix and am trying to come up with a way to show parts per hour coming out of a machine. I have a two parts per cycle process and the cycle is approx 2.5 minutes long.
I can't seem to get any of my ideas on how to do this to work so any help would be appreciated.
Currently, there is only one machine running. Eventually, I will have 3 machines running and need to keep a parts per hour for each machine and also total output.
Thanks in advance for any help,
Keith
I can't seem to get any of my ideas on how to do this to work so any help would be appreciated.
Currently, there is only one machine running. Eventually, I will have 3 machines running and need to keep a parts per hour for each machine and also total output.
Thanks in advance for any help,
Keith





RE: Ladder logic rate meter
Look at thread 791-171450 and others regarding learning PLCs
Basically you want to;
-designate and set up a counter for each machine
-increment each counter at the "cycle complete" stage,
--either as a programmed "internal CR" or from the "eject part" output.
-set up your timer
-move the counter value into a register("a") however often it will give you a good "sample value"
-reset the counter
-divide or multiply the stored count ("a") by the elapsed time to obtain the "pieces per hour" value
-add the ("a") to your sub-totalizing counter register("b")
--you probably want to have those registers for each machine (a1, a2, a3, b1, b2, b3)
-add the values from a1, a2, a3 to a totalizing counter register.
-decide your method of resetting your counters
--you may want to keep track of your total accumulated running times and finished piece count for each of your machines also.
Please let us all know how this works out for you! and don't forget FAQ731-376
RE: Ladder logic rate meter