Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ladder logic rate meter

Status
Not open for further replies.

krollenhagen

Electrical
Jun 7, 2004
1
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
 
Replies continue below

Recommended for you

Do some serious searching around here and other spots on the web.

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
 
Red Lion offers various rate meter for various application. If this is just a stand alone rate display I suggest to take a look at their product line. No ladder logic programming needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor