beautypg.com

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

Page 21

background image

Logic Functions - Book 2

EXPRESSION BLOCK

8-13

48

Result Initial Value (R).......................................................................................................CWR
This is the block result after the expression is evaluated. During startup, this is the result initial
data value. The initial data value must match the result data type. If NONE is selected, a zero
is placed in the result.

The result can be enabled (box checked) or disabled (box not checked) by configuration.
When enabled, the result and result quality attributes are made part of the database. When
disabled, the result and result quality attributes are removed from the database.

The result can be any of the following data types: Floating Point, Count, Discrete, Short State,
Long State, Msec Time. The selection of AUTO in the configurator allows the configurator to
determine if the result is either discrete or floating point (Expression Block Version 1 only).
The selection depends on the final operation performed in evaluating the expression. If you
upgrade your database from version 1, AUTO will change to Floating Point and a warning will
appear in the configurator.

49

Result Quality (RQ)........................................................................................................... – WR
This data quality field will go BAD if any of the blocks quality checks become active.

50

Input 1 (I1) ..........................................................................................................................CWR

through
95

Input 46 (I46) ......................................................................................................................CWR
The input values are writeable only if the data is local. The user name for an input is an eight
(8) character alphanumeric used to identify the input in the expression. The default names
are I1 through I46. Invalid characters are: operators, space, comma, period.

NONE

Indicates an unused input. Inputs used in the expression cannot be
NONE.

LSP

Any external variable, any data type.

Local Data

Any local data, any data type. Local data can use a unique data type,
Momentary Discrete, as a local input to an expression block. Another
block pointed at this input will see a DISCRETE data type. Setting
the local data to HIGH or LOW configures a local input of this type.
HEX and ASCII inputs can be specified for recipe or data storage
applications, but cannot be referenced in the expression. See
Section 8.2.1, Expression Block Operation.