Ron Beaufort
Lifetime Supporting Member
John ...
I just got a chance to skim through your program ...
this rung might be your problem ... if it isn't, at least this is a good example of what the real culprit will look like ...
basic idea: the box N9:112 is already "FULL UP" at 32767 ... when the ADD instruction tries to increase the value by adding another 1, an "overflow" condition is created ...
note that you could also create a problem by trying to subtract another 1 from a value such as -32768 ...
I just got a chance to skim through your program ...
this rung might be your problem ... if it isn't, at least this is a good example of what the real culprit will look like ...
basic idea: the box N9:112 is already "FULL UP" at 32767 ... when the ADD instruction tries to increase the value by adding another 1, an "overflow" condition is created ...
note that you could also create a problem by trying to subtract another 1 from a value such as -32768 ...
Last edited: