evenson57
Apr 13 2007, 09:08 PM
Hopefully someone can help me. I am trying to figure out either how to use the AVE function in the ladder logic in logix 5000 or how to use a CPT to create an average of a data array. Everytime I use the AVE my controller crashes, but if I delete the CONTROL tag that I created for the AVE function and reload the program the controller is fine. HELP ME PLEASE!
TWControls
Apr 14 2007, 04:40 AM
I'm guessing that you are meaning yor controller crashes you are saying it is going into fault mode. With it in fault mode goto Edit > Contoller Properties and do a screen capture of the Major and Minor Fault tabs for us. These tabs hold the information on why the controller faulted.
My first guess would be you your value in the "Length" field in your AVE instruction is greater than the size of the array. This will cause the controller to look outside of the arrays memory. Post your program and we can probably solve this without the screen captures.