Hur kan vi hjälpa dig idag?

What can cause an Arithmetic error/Overflow exception with CPU fault code( %SW125=16#DEF2) reported in Unity Pro/EcoStruxure Control Expert?

If an Arithmetic operation such as a multiplication, addition etc. is performed and the result of the operation exceed the max value for the variable type, this will generate an Arithmetic error/overflow exception. %S18 will turn on and stay on until the cause of the error is cleared. In the example below, IN1 and IN2 when multiplied the result is 40000. This exceed the max value of 32767 for a INT data type and thus the cause of the error.

image

Schneider Electric Sverige

Utforska mer

Utforska mer

Behöver du hjälp?

Produktväljare

Hitta snabbt och enkelt rätt produkter och tillbehör för dina ändamål.

Begär en offert

Ställ din fråga online så kontaktar vi dig.

Här köper du

Hitta enkelt närmaste Schneider Electric-distributör på din ort.

Hjälpcenter

Hitta alla supportresurser som du behöver på ett ställe.