Exceptions

Exceptions are reactions to prohibited states of the program execution. The exception settings is defined in the Controller properties.

options

stop when exception\\description
TRUE If there is an exception, the program execution stops. In the System status tab it is displayed which exception appeared, and where.
FALSE If there is an exception, the program keeps on running. The block output diplays the status according to the exception table:\\
NaN - the value is not a number\\
- Infinity\\
+ Infinity

Exception catched in the System status:

Exceptions list

InputsOutputs
in = 0-Infinity
in < 0NaN
InputsOutputs
in = 0-Infinity
in < 0NaN
Inputs Outputs
in < -1NaN
in > 1 NaN
Inputs Outputs
in < -1NaN
in > 1 NaN
InputsOutputs
in < 1NaN
Inputs Outputs
in = -1-Infinity
in = 1 +Infinity
in < -1NaN
in > 1 NaN
InputsOutputs
in < 0NaN
Inputs Outputs
“in” is too large\\+Infinity/-Infinity
Inputs Outputs
0/0 NaN
X/0 where X<0 -Infinity
X/0 where X>0 +Infinity
X/0 where both inputs are ANY_INT0
InputsOutputs
X/0 result=0 eno=false
Inputs Outputs
X mod 0 where inputs are real NaN
X mod 0 where inputs are ANY_INT0
Inputs Outputs
X mod 0result=0 eno=false

Invalid address or range always returns an area with zeros.

Invalid address or range results in no writing.

Invalid pointer or reference results in no call.

Reading or writing beyond the address space results in no action.