User Manual

Logic Functions - Book 2
EXPRESSION BLOCK
8-12
LOG OF NON POS NUM 6 Same as NLog of non-positive number.
ZERO RAISED TO NON POS 7 Attempt to calculate zero to a non-positive
power.
NUM Calculation was completed using 0 for the inter-
mediate result.
NEG RAISED TO NON 8 Attempt to calculate a negative number to a
INTEGER non-integer power. Calculation was completed
using 0 for the intermediate result.
Syntax Errors:
ESTACK OVERFLOW 20 There was not sufficient evaluation stack to
complete the calculation.
INPUT NOT FOUND 21 One of the input operands was not found.
MISALIGNED OPERAND 22 Input operand token at odd address.
UNKNOWN OPERAND TYPE 23 Unknown data type found for input operand.
UNKNOWN CONSTANT TYPE 24 Unknown data type found for constant operand.
MISALIGNED CONSTANT 25 Multiple byte constant at odd address.
READ FROM EMPTY STACK 26 An operator was found with no operand(s)
remaining on the evaluation stack.
UNKNOWN OPERATOR 27 An unknown operator was found.
12
Error Position
(EPOS)....................................................................................................... – – R
This is the offset into the expression where the error was detected.
46 Aux Result (AUX)............................................................................................................... CWR
This is the block auxiliary result after the expression is evaluated. During startup, this is the
auxiliary result initial data value. The initial data value must match the auxiliary result data
type. If NONE is selected, no initial data is placed in the auxiliary result.
The auxiliary result can be enabled (box checked) or disabled (box not checked) by
configuration. When enabled, the auxiliary result and auxiliary result quality attributes are
made part of the database. When disabled, the auxiliary result and auxiliary result quality
attributes are removed from the database.
The auxiliary result can be any of the following data types: Floating Point, Count, Discrete,
Short State, Long State, Msec Time.
47 Aux Result Quality (AUXQ) ..............................................................................................– WR
This data quality field will go BAD if any of the blocks quality checks become active.