Micromod MOD: 1800P - MOD 30ML Identity Module (Version 2) Algorithms, Tables and Sequential Logic Functions User Manual
Page 19

Logic Functions - Book 2
EXPRESSION BLOCK
8-11
07
Calc. Error Unacked Quality (CERRUQ) ......................................................................... – WR
If the calculation error diagnostic is enabled, this status indicates if the quality of the
unacknowledged diagnostic is GOOD or BAD. Only writeable in DEBUG.
GOOD
0
Quality when the loop block is RUN or HOLD.
BAD
1
Quality when the loop block is OFF.
08
Calc. Error Active (CERRA) ............................................................................................. – WR
If the calculation error diagnostic is enabled, the active status indicates if the diagnostic is
active even after acknowledgement. Only writeable in DEBUG.
NO
0
Diagnostic error is not active.
YES
1
Diagnostic error is active.
09
Calc. Error Active Quality (CERRAQ) ............................................................................. – WR
If the calculation error diagnostic is enabled, this status indicates if the quality of the active
diagnostic is GOOD or BAD. Only writeable in DEBUG.
GOOD
0
Quality when the loop block is RUN or HOLD.
BAD
1
Quality when the loop block is OFF.
10
Set quality bad on calculation error? (SETQBAD) .........................................................CWR
The result quality can be affected by a calculation error as follows. Note that result quality is
always set bad on a syntax error.
NO
0
Result quality is not affected by a calculation error.
YES
1
Quality is set BAD when a calculation error occurs.
11
Error Type (ETYPE) ...........................................................................................................– – R
When an error occurs, a code indicating the type of error detected is stored in the block for
user reference. In the case of a configuration error, the location of the error is also stored
(EPOS).
NO ERROR
0
Calculation Errors:
CALC OUT OF RANGE
1
There was an overflow or underflow somewhere
in the calculation. Calculation was completed
using max or min value for that intermediate
result.
SQRT OF NEGATIVE NUM
2
Calculation was completed using 0 for the square
root.
RESULT OVERFLOW
3
Result is error free, but its value is too large to fit
the configured data type. The result is set to the
maximum or minimum value for the configured
data type.
AUX RESULT OVERFLOW
4
Same as result overflow.
NLOG OF NON POS NUM
5
Attempt to calculate the natural log of a number
less than or equal to zero. Calculation was
completed using 0 for the natural log
intermediate result.