State table block, State table block parameters – Micromod MOD: 30ML Functions Data Base Reference User Manual
Page 47

MOD 30ML Functions
STATE TABLE BLOCK
2.4
STATE TABLE BLOCK
The State Table block is a data only block used by the various display blocks, such as the
Display (DISP) and Process Alarm Display (PAD) blocks. The block consists of a set of
tables, each identified by a unique 1-8 character ASCII string. Each table contains a list of
values and associated mnemonic strings that are displayed for the corresponding value.
State table names are maintained at the Application Builder only and are not downloaded to
the instrument. There is only one state table block in an instrument database.
To display a state field value, the name of the state table to be used must me specified. The
value is then compared to the values in the table and if found, the associated mnemonic is
displayed. If the value is not in the table, the table specified default string is displayed.
Other database blocks refer to the table entries by its name, the 1-8 character string id and is
not case sensitive. The name can be made up of letters, numbers and underscores, the first
character must be a letter. Duplicate table names are not allowed.
2.4.1 State Table Block Parameters
The mnemonics, valid values, and data types for all fields that may be selected for display
and/or be used in making connections are listed in Table 2-4. A description of each attribute
is provided in the attribute list that follows the table.
Table 2-4. State Table Block Attributes, Valid Values, Mnemonics and Data Types
Field
Mnemonic
Valid Values
CWR Data Type
Attr
Version
VERSION 1
– – R Long State
00
Block Length
BLKLEN
– – R Count
01
State
STATE
RUN (0)
– – R Short State
02
Bad Inputs
BADINP
Accepted (1)
– – R Discrete
03
Block Type
ST
This is the state table block type.
00
Block Version (VERSION) ................................................................................................ – – R
The state table block is at version 1.
01
Block Length (BLKLEN) .................................................................................................... – – R
Number of database bytes taken by the block. Always an even number.
02
State (STATE) .................................................................................................................... – – R
Block state is always RUN. See IB-23G600 (I/O Logic Book 1) Section 2.4.1, State
Changes for additional information on block states.
RUN
0 Normal Operation. Block is always executed.
03
Bad Inputs Accepted (BADINP) ....................................................................................... – – R
See IB-23G600 (I/O Logic Book 1) Section 2.3.2, Data Quality for additional information.
Accepted
1 Block does not check input quality.
2-39