View Single Post
Old February 19th, 2018, 04:03 PM   #26
GaryS
Member
United States

GaryS is offline
 
GaryS's Avatar
 
Join Date: Aug 2003
Location: Lancaster Pa.
Posts: 782
That's a common error on them it will only fault when the program rolls over for the last line and restarts the first line. I have run into it a few times.
The thing is you can never know just when it will happen.

The way to prevent it from faulting the processor id in very last line of the ladder code unlatch the math overflow bit.
Or you can at every line in the ladder that dos a math function the next line should be to unlatch the math overflow bit.
  Reply With Quote