Issue:
Cause of an Arithmetic error/Overflow exception with CPU fault %SW125=16#DEF2
Product Line:
EcoStruxure Control Expert
Resolution:
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.
Cause of an Arithmetic error/Overflow exception with CPU fault %SW125=16#DEF2
Product Line:
EcoStruxure Control Expert
Resolution:
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.
Publicado para: Schneider Electric Portugal


Precisa de ajuda?
Ferramenta de seleção de produtos
Encontre rápida e facilmente os produtos e acessórios certos para as suas aplicações.
Obter um Orçamento
Inicie o seu pedido de contacto online e um especialista irá contactá-lo.
Onde adquirir?
Encontre facilmente o distribuidor mais próximo da Schneider Electric perto de si.
Centro de ajuda
Encontre recursos de apoio para todas as suas necessidades, num único local.