Subscript Expression Overflow
Allen-Bradley · Logix 5000 Controllers
What does Subscript Overflow mean?
An overflow occurred during the evaluation of a subscript expression. This condition generates a Major Recoverable Fault, indicating that an out-of-range condition exists within the expression's calculation. It may also be recorded as a minor overflow fault if enabled. Calculation of subscript expressions no longer silently produces invalid results, making this fault detection more predictable.
Common Causes
- Calculation of a subscript expression results in an overflow condition
- Divide-by-zero error within a subscript expression
- Subscript expression producing an out-of-range result that exceeds integer limits
Repair Steps & Checklist
Click steps to track your progress.
- 1
Review all subscript expressions in the application program for potential overflow conditions
- 2
Identify specific expressions that could produce an overflow result, such as division by zero
- 3
Modify the logic of affected subscript expressions to prevent overflow conditions (e.g., add range checks, adjust data types)
- 4
Update any major fault recovery logic in the application to appropriately handle this Major Recoverable Fault