SLC 500 - S:5/0 Math Overflow Trap

Rob S.

Member
Join Date
Sep 2008
Location
Maryland
Posts
739
We are getting a fault......

Math Overflow Trap S:5/0 = 1

Apparently we are getting a value greater than 32767 or less than -32766. If I put a OTU S::5/0 at the end of the main routine. Will that prevent us from getting this "Math Overflow Trap" ?

Thanks in advance.
 
Yes...for the most part. If you have an STI file designated you should put an OTU at the end of that also. The chances of an STI triggering AFTER an OTU at the end of LAD 2 but BEFORE housekeeping is pretty remote. But believe it or not I've had it happen.

Keith
 
Originally posted by Rob S.:

Could you describe what you mean by "STI"

STI stands for Selectable Timed Interrupt. If you open your processor configuration file you will see a tab labelled "STI". This is where you configure your selectable timed interrupt. The STI, when used, is a program file that is called by the processor firmware at a rate specified by the user. This file is NOT called from the main ladder program. It is intended for logic that must operate at a more defined rate than the free-running, indeterminate rate it would execute if called from LAD 2. If you have been exposed to Logix5000 this would be the same idea as using a periodic task.

Keith
 

Similar Topics

I have a program that I've used 100 times. SQO settings: File N7:0, Mask 0FFFFh, Dest B3:1, Control R6:0, Length 8, Pos 2. Length & Position...
Replies
48
Views
973
Everyone, i am in the process of purchasing the Slc 500 version of software to support what we have and i have a question. Several of our...
Replies
9
Views
774
In a slc 500 plc I am trying to move data with out using a lot of moves. I want to move data from n7:1 to n7:2 and data that was in n7:2 to n7:3...
Replies
16
Views
1,365
Customer has a circa 2004 SLC-500 PLC. Fieldbus is a 1747-SDN DeviceNet scanner. Customer has SLC-500 file (.rss) with no comments. Has no *.dnt...
Replies
7
Views
563
After I tried wiring, I used computer program communication to read the PLC N value, but received a NAK signal. And the DL3500 CHA light keeps...
Replies
0
Views
431
Back
Top Bottom