beautypg.com

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

Page 16

background image

Logic Functions - Book 2

EXPRESSION BLOCK

8-8

8.2.2

Expression Block Parameters

The mnemonics, valid values, and data types for all fields that may be selected for display
and/or be used in making softwiring connections are listed in Table 8-1. The following further
defines the expression block configuration parameters.

Block Type
EX

This is the expression block type. The expression block type code is 15.

Occurrence
1 to 4096

There may be up to 4096 ‘instances’ allowed of the EX block type (subject to
configuration and database size limitations).

Expression
Algebraic expression written in terms of user names for inputs, values (use usual convention
for data types) for constants, ‘C’ symbology for operators and functions. The order of
evaluation of an expression is determined by operator precedence, and parentheses may be
used to change the order of evaluation. An entry is required (there is no default). See
Section 8.2.1 for a description of the expression evaluation operation and valid operators.

Table 8-1. Expression Block Attributes, Valid Values, Mnemonics, and Data Types

Field Name /

Attribute

Mnemonic

Valid Values

CWR

Data Type

Attr

Version

VERSION

1, 2, 3

– – R

Long State

00

Block Length

BLKLEN

Number of bytes of database

– – R

Count

01

Block State

STATE

RUN(0), HOLD(1), OFF(2),
DEBUG(3)

CWR

Short State

02

Bad Inputs

BADINP

Rejected (0), Accepted (1)

CWR

Discrete

03

Diagnostic Group

SUPPGRP

NONE, 1, 2, 3, 4, 5, 6, 7

CWR

Long State

04

Calculation error

CERRS

ENABLE (0), SUPPRESS (1)

CWR

Discrete

05

Calc. Error Unacked

CERRU

NO (0), YES (1)

– WR

Discrete

06

Calc. Error Unacked Quality

CERRUQ

GOOD (0), BAD (1)

– WR

Discrete

07

Calc. Error Active

CERRA

NO (0), YES (1)

– WR

Discrete

08

Calc. Error Active Quality

CERRAQ

GOOD (0), BAD (1)

– WR

Discrete

09

Set quality bad on calculation
error?

SETQBAD

NO (0), YES (1)

CWR

Discrete

10