Getting Logix math overflow minor faults

patjdixon

Member
Join Date
Nov 2018
Location
Lago Vista, TX
Posts
63
I have Logix v21 running in Emulate. I am getting runtime faults at random times, typically it takes anywhere from 30 seconds to 5 minutes for the faults to occur after being placed in RUN. The major fault is a watchdog timeout, but before that I get a bunch of math overflow faults on Sheets 1 at location D2. I removed blocks in D2 and still get the same faults (see attached).

Any ideas?

logix_fault_pidsim_code.jpg logix_fault_pidsim_major.jpg logix_fault_pidsim_minor.jpg
 
The last time the math function ran, it did the job requested and, from what it sounds like, your fault came up. Removing the function from the logic doesn't reset the values that the math function performed. Monitor your tags, clear out the data the math function did and see if you can run without the error returning.
 
How do I clear out the data the math function did? Won't this happen when I clear the faults and put the routine back in RUN mode? I assume whatever happened when the fault occured is cleared when the faults are cleared, the routine goes offline, and then I set it back to RUN.

I still don't understand how it is pointing to D2 when there is nothing there.
 
Welcome to the world of programming my friend.
Being that you never figured out exactly what happened, or what corrected the issue, in time this gremlin may pop back up.
In my experiences, there are some things that I have come across that I still can't provide an answer to what exactly happened. These things usually come up when I am trying to utilize a feature that I have never used before, generally speaking it falls into the category of what I call Code 90 (operator error).
With your program running stable now, I wish well.

Be safe,

Gad
 

Similar Topics

Hi guys, I am trying to create a very basic totalizer in Logix; I need to keep track of runtime for pumps, their number of starts too; I need...
Replies
7
Views
4,319
I am very, very new to PLCs. I only have experience with Picos, but I knew enough to save this from the dumpster. Apparently, everything on it is...
Replies
13
Views
618
All, I have a CompactLogix L33 and would like to get data from a height gauge. The gauge is a Fowler Sylac Mark VI with RS232 output. I can...
Replies
8
Views
2,618
I'm wanting to upload the program from a CompactLogix L31 Controller. I'm using a generic (non Allen Bradley) "C2G brand" usb -->rs232 cable...
Replies
4
Views
2,859
Good Afternoon, I'm trying to do online edits on a SLC 500 5/05 . After I put my instruction in , I keep getting " Test Edits Failed " ...
Replies
6
Views
3,755
Back
Top Bottom