Professional Documents
Culture Documents
Ib 1800R App PDF
Ib 1800R App PDF
Ib 1800R App PDF
The Company
MicroMod Automation is dedicated to improving customer efficiency by providing the most cost-effective, application-specific process solutions
available. We are a highly responsive, application-focused company with years of expertise in control systems design and implementation.
We are committed to teamwork, high quality manufacturing, advanced technology and unrivaled service and support.
The quality, accuracy and performance of the Company's products result from over 100 years experience, combined with a continuous
program of innovative design and development to incorporate the latest technology.
Use of Instructions
Ì Warning. An instruction that draws attention to the risk of Note. Clarification of an instruction or additional
injury or death. information.
q Caution. An instruction that draws attention to the risk of i Information. Further reference for more detailed
the product, process or surroundings. information or technical details.
Although Warning hazards are related to personal injury, and Caution hazards are associated with equipment or property damage, it
must be understood that operation of damaged equipment could, under certain operational conditions, result in degraded process
system performance leading to personal injury or death. Therefore, comply fully with all Warning and Caution notices.
Information in this manual is intended only to assist our customers in the efficient operation of our equipment. Use of this manual for
any other purpose is specifically prohibited and its contents are not to be reproduced in full or part without prior approval of MicroMod
Automation, Inc.
The relevant sections of these instructions must be read carefully before proceeding.
1. Warning Labels on containers and packages must be observed.
2. Installation, operation, maintenance and servicing must only be carried out by suitably trained personnel and in accordance with the information
given or injury or death could result.
3. Normal safety procedures must be taken to avoid the possibility of an accident occurring when operating in conditions of high
4. pressure and/or temperature.
5. Chemicals must be stored away from heat, protected from temperature extremes and powders kept dry. Normal safe handling procedures must be
used.
6. When disposing of chemicals, ensure that no two chemicals are mixed.
Safety advice concerning the use of the equipment described in this manual may be obtained from the Company address on the back
cover, together with servicing and spares information.
CONTENTS
CONTENTS
Page
SECTION 1 - INTRODUCTION
1.1 GENERAL ............................................................................................................................. 1-1
1.2 OVERVIEW OF INSTRUMENT SOFTWARE ...................................................................... 1-1
1.3 DATA BASE CONFIGURATION AND RUNTIME SUPPORT.............................................. 1-1
1.4 RELATED DOCUMENTATION............................................................................................. 1-2
1.5 VERSION IDENTIFICATION ................................................................................................ 1-2
i
MOD 30ML Data Base Reference
CONTENTS
CONTENTS (Cont’d)
Page
SECTION 3 - CONFIGURATION EXAMPLES
3.1 GENERAL.............................................................................................................................. 3-1
3.2 GETTING STARTED USING THE VIZAPP SOFTWARE..................................................... 3-1
3.3 CONFIGURATION EXAMPLES USING THE APPLICATION BUILDER SOFTWARE........ 3-26
3.3.1 GETTING STARTED USING THE APPLICATION BUILDER SOFTWARE......................... 3-26
3.3.2 BASIC PID&DSP (PID WITH DISPLAY) COMPOUND ........................................................ 3-29
3.3.3 PID Display Configuration Overview.................................................................................. 3-29
3.3.4 PID Display Configuration Procedure ................................................................................ 3-30
3.3.5 TOTALIZER COMPOUNDS .................................................................................................. 3-33
3.3.6 Configuration Overview...................................................................................................... 3-33
3.3.7 PIDTOT1.CSM - Totalizer and PID.................................................................................... 3-33
3.3.8 PIDTOT2.CSM - Totalizer and PID with Separate Commands Menu ............................... 3-36
3.3.9 CAS&DSP (CASCADE WITH DISPLAY) COMPOUND ....................................................... 3-38
3.3.10 Configuration Overview...................................................................................................... 3-38
3.3.11 Configuration Procedure .................................................................................................... 3-39
3.3.12 COLD JUNCTION COMPENSATION (CJC) COMPOUND.................................................. 3-42
3.3.13 Configuration Overview...................................................................................................... 3-42
3.3.14 Configuration Procedure .................................................................................................... 3-43
ILLUSTRATIONS
Figure Page
2-1 Display Resources................................................................................................................. 2-3
2-2 Display Block (DISP), Edit display, page 1............................................................................ 2-7
2-3 Standard ASCII Character Set and Equivalent Display Characters...................................... 2-8
2-4 Display Block (DISP), Edit display, page 2............................................................................ 2-9
2-5 Display Block Inputs, Edit display, page 1............................................................................. 2-10
2-6 Display Block Formats, Edit display, page 1 ......................................................................... 2-12
2-7 Display Script Editing using Text Editor ................................................................................ 2-15
2-8 Display Block, Typical Block Connections ............................................................................ 2-23
2-9 Display Interface Block (DIF), Edit display, page 1 ............................................................... 2-32
2-10 Display Interface Block (DIF), Edit display, page 2 ............................................................... 2-34
2-11 Display Interface Block Display Listing using Text Editor ..................................................... 2-35
2-12 Display Interface, Typical Block Connections ....................................................................... 2-38
2-13 State Table Block (ST), Edit display...................................................................................... 2-40
2-14 State Table Block State Tables using Text Editor ................................................................. 2-41
2-15 Tune List Block (TL), Edit display.......................................................................................... 2-44
2-16 Tune List Inputs, Edit display, page 1 ................................................................................... 2-44
2-17 Tune List Formats, Edit display, page 1 ................................................................................ 2-46
2-18 Tune List, Typical Block Connections ................................................................................... 2-48
2-19 Process Alarm Display Block, Functional Block Diagram ..................................................... 2-49
ii
MOD 30ML Data Base Reference
CONTENTS
ILLUSTRATIONS (Cont’d)
Figure Page
2-20 Example of Process Alarm Tripping (Floating Point Data) ................................................... 2-51
2-21 Process Alarm Display Block (PAD), General Page............................................................. 2-57
2-22 Process Alarm Display Block (PAD), Display Page.............................................................. 2-59
2-23 Examples of Bar Displays for Alarms ................................................................................... 2-60
2-24 Process Alarm Display, Typical Block Connections ............................................................. 2-62
2-25 Built-In Analog Input (AIN) Block, Functional Block Diagram ............................................... 2-64
2-26 Built-In Analog Input (AIN), Edit display................................................................................ 2-65
2-27 Built-In Analog Input, Typical Block Connections ................................................................. 2-74
2-28a Built-In Analog Output (AOUT) Block, Functional Block Diagram ........................................ 2-77
2-28b Built-In Analog Output (AOUT) Block, Functional Block Diagram ........................................ 2-78
2-29a Built-In Analog Output (AOUT), Edit display......................................................................... 2-79
2-29b Built-In Analog Output (AOUT), Edit display......................................................................... 2-79
2-30 Built-In Analog Output, Typical Block Connections .............................................................. 2-86
3-1 ViZapp Configurator .............................................................................................................. 3-1
3-2 File – New ............................................................................................................................. 3-2
3-3 New Project........................................................................................................................... 3-2
3-4 New Project........................................................................................................................... 3-3
3-5 New Project........................................................................................................................... 3-3
3-6 Class Workspace .................................................................................................................. 3-4
3-7 New Document...................................................................................................................... 3-5
3-8 Instrument Versions .............................................................................................................. 3-6
3-9 Default Instrument Database ................................................................................................ 3-6
3-10 IF Block ................................................................................................................................. 3-7
3-11 Algorithms Menu ................................................................................................................... 3-8
3-12 Loop Compound Properties .................................................................................................. 3-8
3-13 Loop Compound Properties .................................................................................................. 3-9
3-14 Loop Block ............................................................................................................................ 3-9
3-15 Loop Block ............................................................................................................................ 3-10
3-16 Accessing the Compound Gallery ........................................................................................ 3-11
3-17 Compound Library ................................................................................................................ 3-11
3-18 Loaded Compound ............................................................................................................... 3-12
3-19 Loaded ML_PID Compound ................................................................................................. 3-13
3-20 VCI Block Properties ............................................................................................................. 3-14
3-21 PID Block Properties ............................................................................................................. 3-15
3-22 PID Block Properties – Setpoint Tab .................................................................................... 3-16
3-23 Display Block Properties – Formats tab................................................................................ 3-17
3-24 Display Block Properties – Formats tab................................................................................ 3-18
3-25 Display Block Properties – Formats tab................................................................................ 3-19
3-26 PAD Block Properties ........................................................................................................... 3-20
3-27 PAD Block Properties ........................................................................................................... 3-21
3-28 Display Block Properties ....................................................................................................... 3-22
3-29 Close Loop compound .......................................................................................................... 3-23
3-30 DIF Block Properties ............................................................................................................. 3-23
3-31 Instrument Compile ............................................................................................................... 3-24
3-32 Compile Setup....................................................................................................................... 3-24
3-33 Information Window .............................................................................................................. 3-25
3-34 Workspace Displays Appearing During Configuration.......................................................... 3-28
3-35 PID with Display Compound Blocks ..................................................................................... 3-29
3-36 Totalizer 1 Compound .......................................................................................................... 3-34
3-37 Totalizer 2 Compound .......................................................................................................... 3-36
3-38 Cascade with Display Compound Blocks ............................................................................. 3-39
3-39 Cold Junction Compensation Compound Blocks ................................................................. 3-42
iii
MOD 30ML Data Base Reference
CONTENTS
TABLES
Table Page
2-1 Display Block Attributes,Valid Values,Mnemonics, and Data Types .................................... 2-5
2-2 Display Block Display Formats, Supported Types and Active Fields.................................... 2-14
2-3 Display Interface Block Attributes,Valid Values,Mnemonics, and Data Types ..................... 2-26
2-4 State Table Block Attributes,Valid Values,Mnemonics, and Data Types.............................. 2-39
2-5 Tune List Block Attributes,Valid Values,Mnemonics, and Data Types ................................. 2-43
2-6 Tune List Block Display Formats, Supported Types and Active Fields................................. 2-47
2-7 Process Alarm Display Block Attributes,Valid Values,Mnemonics, and Data Types............ 2-52
2-8 Process Alarm Display Block Display Formats, Supported Types and Active Fields ........... 2-61
2-9 Built-In Analog Input Block Attributes,Valid Values,Mnemonics, and Data Types................ 2-65
2-10 Equations for Calculation of Field result Values Using Inputs B0, B1, B2 and B3................ 2-73
2-11 Built-In Analog Output Block Attributes,Valid Values,Mnemonics, and Data Types............. 2-81
A-1 Assignment Statement Results of Type ‘srcname1 = srcname2’ ......................................... A-1
A-2 Assignment Statements of Type 'display_resource = source_name' ................................... A-4
A-3 Assignment Statements of Type 'display_resource = constant’............................................ A-6
A-4 Assignment Statements of Type 'display_resource.SRC = srcname'................................... A-7
iv
MOD 30ML Functions
INTRODUCTION
SECTION 1
INTRODUCTION
1.1 GENERAL
This document includes database reference information and application examples to aid in
configuring a MOD 30ML Controller using the Visual Application Designer (ViZapp). Information
on database organization, database memory block structures and the logic control portion of this
controller is described in other database reference books as described in Section 1.4. The user
of this document should be familiar with the architecture of the MOD 30ML Controller,
configuration capabilities, and message handling capabilities using either the Instrument
Communications Network (ICN) or the Modbus Protocol. For users developing their own runtime
interface, this document includes attribute numbers and data value number information.
The creation of interface files for use with pc based runtime packages is also supported.
1-1
MOD 30ML Functions
INTRODUCTION
To simplify configuration, the instrument has resident templates that can be used to configure
basic control schemes. These templates and their setup are described in the operation book.
Use of the templates allows you to configure an instrument without using a separate
configuration program.
Information about this instrument and its configuration can be found in:
• IB-23G600 – Database Reference for Logic Functions - Book 1
• IB-23G602 – Database Reference for Logic Functions - Book 2
• IB-23G601 – Database Reference for Advanced Control Functions
• Vizapp.hlp – On-line help for Visual Application Designer (ViZapp)
• IB-VIZAPP-TUT – ViZapp Training Manual
Information about this instrument and its installation can be found in:
• IB-1800R-INS – Installation, MOD 30ML
• IB-1800R-M30 – MOD 30 Replacement Installation, MOD 30ML
• IB-23C601 – Installation, Remote I/O Modules
Additional ICN connection and loading information can be found in the following:
• IB-23A160 – Instrument Communications Network (ICN) Planning
Users developing interface software to this instrument will also need the following:
• IB-23G001 – ICN Communication Link Programmer’s Manual
1-2
MOD 30ML Functions
SECTION 2
DATABASE PARAMETERS
DISP Display Block. Reference Section 2.2. This block assigns user display
resources and provides a simple scripting language capability to
define how keyboard and display event driven actions are handled.
There can be multiple display blocks in an instrument database.
ST State Block. Reference Section 2.4. This block is a data only block
that is used to maintain a set of state tables that associates state
values with mnemonics for all user display blocks and process alarm
display blocks. There can only be one ST block
TL Tune List Block. Reference Section 2.5. This block contains a list of
attributes accessible as tunable parameters from one or more user
display blocks. There can be multiple tune list blocks in an instrument
database.
PAD Process Alarm Display Block. Reference Section 2.6. This block
produces a discrete signal to advise of an irregular process condition
and includes the resources to display messages based upon a
condition. There can be multiple process alarm display blocks in an
instrument database.
AIN Built-in Analog Input Block. Reference Section 2.7. This block
processes a field signal for one of the two built-in analog inputs and
connects the data using MODOUT to an input function block MODIN.
AOUT Built-in Analog Output Block. Reference Section 2.8. This block uses
one of the two built-in analog output circuits to output a field signal of
the analog data from another block.
2-1
MOD 30ML Functions
2-2
MOD 30ML Functions
DISPLAY BLOCK
2-3
MOD 30ML Functions
DISPLAY BLOCK
2-4
MOD 30ML Functions
DISPLAY BLOCK
When a remote input is 'edited' or written to by a script statement, the remote variable itself
will be changed (as in a supervisory message). In this way the input is really an output. The
output variable should not be tested immediately by the script after writing to it because the
message will need time to process.
Table 2-1. Display 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 Rejected (0), Accepted (1) CWR Discrete 03
Diagnostic Group SUPPGRP NONE, 1 - 7 CWR Long State 04
Invalid Operation Error INVOPS Enabled (0), Suppressed (1). CWR Discrete 05
Invalid Operation unacknowledged INVOPU NO (0), YES (1) – WR Discrete 06
Invalid Operation active INVOPA NO (0), YES (1) ––R Discrete 07
Display State DSPSTATE 1 - 255 CWR Long State 08
Display Tag DISPTAG CWR ASCII 09
Tuning TUNING – WR Discrete 10
Tuning List TUNELIST CWR Count 11
Input 1 through Input 800 I1 to I800 CWR per config 20 to
819
Block Type
DISP This is the display block type.
2-5
MOD 30ML Functions
DISPLAY BLOCK
2-6
MOD 30ML Functions
DISPLAY BLOCK
Block Name:
Up to 8 alphanumeric characters identifying block.
Description:
Any descriptive text.
Bad Inputs: (See attribute 3 description.)
If checked, Block runs without a check on input quality. If not checked, the Run Complete
input is treated as FALSE when the input quality is BAD.
2-7
MOD 30ML Functions
DISPLAY BLOCK
Line 3, 4 and 5:
Any 3 ASCII characters (constant) within double quotes (for example "OPR") or variable data
using a block input name (up to 8 fixed characters as defined in the display block inputs) or a
local attribute mnemonic. Data of type DATE is not allowed.
01234567
89 ABCDE
FGHIJKLM
NOPQRSTU
VWXYZbce
dhklmnpr
stuvw<>=
+-*#/%o
NOTE: Standard character set as entered through faceplate shown. See Appendix B for
valid character set available through configurator and restrictions.
Figure 2-3. Standard ASCII Character Set and Equivalent Display Characters
2-8
MOD 30ML Functions
DISPLAY BLOCK
2-9
MOD 30ML Functions
DISPLAY BLOCK
Select Add or Modify to edit input data and Delete to remove an input.
Duplicate
Select the item to be duplicated and then select the Duplicate button to make a copy (default
name is assigned).
2-10
MOD 30ML Functions
DISPLAY BLOCK
Name:
The user name is an eight (8) character alphanumeric used to identify the input. The name
must start with a letter (A-Z) and contain only letters, digits, and underscores. This becomes
the unique name of the input for reference in this block.
Data type:
Any data type (Count, Discrete, Short State, Date, Long State, Floating-Point, ASCII,
Millisecond Time, Hex).
Internal Data:
Initial local input data value of type selected.
2-11
MOD 30ML Functions
DISPLAY BLOCK
Duplicate
Select the item to be duplicated and then select the Duplicate button to make a copy (default
name is assigned).
Name:
(F1 ... F512), or 8 characters that start with a letter and contain only letters, digits, and
underscores. This becomes the unique name of the format for reference in this block.
2-12
MOD 30ML Functions
DISPLAY BLOCK
Format type:
Table 2-2 lists the different display format types and what fields are active for each type. A
referenced format cannot be NONE.
Low Limit:
Numeric entry per data type. Low limit must not exceed high limit.
For line display, this is the minimum allowed operator entry.
For a bar display, it is the value for which the bar will indicate 0% (center scale for
deviation).
High Limit:
Numeric entry per data type.
For line display, this is the maximum allowed operator entry.
For a bar display, it is the value for which the bar will indicate 100%.
Entry Method:
None, Immediate (value changes as change is made), Enter Req’d (key defined as ENT for
enter must be pressed to make change). Entry method cannot be IMMEDIATE for TIME1 -
TIME4, ASCII, HEX, and DATE display formats.
Engineering Units:
A four character alphanumeric to appear after a line formatted variable.
2-13
MOD 30ML Functions
DISPLAY BLOCK
Table 2-2. Display Formats, Supported Data Types and Active Fields
Display Entry Eng State** Edit
Supported Data Types* Limits
Format Method Units Table When
Float0 X Y Y N Y Y
Float1 X.X Y Y N Y Y
Float2 X.XX Y Y N Y Y
Float3 X.XXX Y Y N Y Y
Float4 X.XXXX Y Y N Y Y
Float5 X.XXXXX Y Y N Y Y
Float6 X.XXXXXX Y Y N Y Y
Integer1 Discrete, Short State, Long State Y Y N Y Y
Integer2 Count Y Y N Y Y
Integer4 Millisecond Time Y Y N Y Y
Time1 HH:MM:SS Y N N Y Y
Time2 M:SS.SSS Y N N Y Y
Time3 HHHH:MM Y N N Y Y
Time4 MM:SS.SSS Y N N Y Y
State Discrete, Short State, Long State, Count Y N Y N Y
ASCII ASCII Y N N N Y
Hex Hex Y N N N Y
Date Date Y N N N Y
Bar Discrete, Short State, Long State, Count, N N N N N
Millisecond Time, Floating Point
Deviation Discrete, Short State, Long State, Count, N N N N N
Millisecond Time, Floating Point
* Float0 through Float6 are Floating-point and Time1 through Time4 are millisecond time data types.
** When display format is STATE:
- A Display State Table name must be entered.
- An Entry State Table name must be entered, when entry method is anything but NONE.
- State Table names referenced must be defined in the State Table (ST) block.
Edit When:
A standard expression that when TRUE defines when the displayed variable can be changed
('edited') by the operator. If an expression is not entered, the displayed variable can always
be changed. Entry method must be immediate or entry required (otherwise this field is
ignored).
2-14
MOD 30ML Functions
DISPLAY BLOCK
States
A display block can have zero or up to 255 states, each with a user defined name, except the
state named "DEFAULTS". The defaults state, if defined, contains event scripts that are used
whenever an event script is not explicitly defined for the current display state.
2-15
MOD 30ML Functions
DISPLAY BLOCK
Event Scripts
Each state consists of up to 27 event scripts, the names of which are predefined. Key event
scripts, listed below, correspond to the state of each key. The display event scripts ENTRY
and EXIT are run on entry to and exit from a state. The display event script ACTIVE is run
continuously while in a state and the display block is active.
Key Event Scripts:
ALARM_PRESSED ALARM_HELD ALARM_RELEASED
TAG_PRESSED TAG_HELD TAG_RELEASED
MANUAL_PRESSED MANUAL_HELD MANUAL_RELEASED
AUTO_PRESSED AUTO_HELD AUTO_RELEASED
RL_PRESSED RL_HELD RL_RELEASED
SCROLL_PRESSED SCROLL_HELD SCROLL_RELEASED
UP_PRESSED UP_HELD UP_RELEASED
DOWN_PRESSED DOWN_HELD DOWN_RELEASED
Display Event Scripts:
ENTRY ACTIVE EXIT
Pressed and released are one-shot key events. Held status persists after a key is pressed for
1 second. Key status is managed by the DIF block at each 50 msec tick.
IF Statements
The IF statement executes statement(s) immediately following THEN if the conditional
expression evaluates to True. Otherwise, IF executes statement(s) following ELSE. The
general format of the IF statements are:
CASE Statements
A CASE statement tests whether the result of its expression matches one of a number of
integer values, and branches accordingly. Each case is labeled by one or more integers, or
the keyword "DEFAULT". If the expression matches one of the integer labels, the statements
associated with that label are executed, otherwise, the statements associated with the
DEFAULT label are executed. The DEFAULT case is optional - if it isn't present and the
expression does not match one of the other cases, no statements are executed.
Cases can be listed in any order. Integer labels must be unique and must be in the range 0 to
65535. Up to 255 cases may be present, not including the DEFAULT case. If the expression
evaluates to a value outside the range 0 to 65535, the default case is executed, if present.
The break statement causes an immediate exit from a case statement. As a general rule, the
last statement for each case should be a break statement, although it is not required. After
the statements associated with a case are done, execution continues with the statements for
the next case unless a break statement is present to prevent this.
2-16
MOD 30ML Functions
DISPLAY BLOCK
000:
Statement1;
BREAK;
001:
Statement2;
BREAK;
002:
Statementx;
BREAK;
.
.
.
255:
Statementy;
BREAK;
DEFAULT:
Statementz;
}
TUNE Statements
The TUNE; statement switches to the corresponding tuning display. The variables listed in
the associated tuning list block provides a scroll list for the display. The TUNELIST attribute
is writeable, so that under script or host control a display block can reference any number of
tuning list blocks. If a tune password has been configured, the password will be requested
before entry and, if it is correct, tuning will be allowed. Otherwise, access will be read only.
RETURN Statements
The RETURN; statement immediately exits from a script. This prevents the script from
performing any additional functions, including predefined system level functions.
Assignment Statements
The assignment statement assigns a value to a given target. The target of an assignment can
be an input name, a local attribute name, or one of several predefined names listed below. All
assignment statements have an expression as their right hand side. The target will be
assigned the value of that expression. Results of assignment statements depend upon the
data type as listed in Appendix A. See Display Language Grammar for usage rules.
The following names represent display resources. They can only be the target of an
assignment. They cannot appear in an expression. They all begin with a pound sign (#).
If the target is one of the predefined names having the suffix .SRC, the expression must be
just a source name (an input name or local attribute name), and the target will be
continuously updated with the value associated with that name.
2-17
MOD 30ML Functions
DISPLAY BLOCK
Defaults:
{
Event1:
{
Statement1;
. . .
StatementA;
}
. . .
EventX:
{
Statement1;
. . .
StatementB;
}
}
/* This is a comment */
State_1: /* Free comments within the area */
{ /* enclosed by the * and / symbols */
Event1: /* on any line. */
{
Statement1;
. . .
StatementC;
}
. . .
EventY:
{
Statement1;
. . .
StatementD;
}
}
. . .
State_N:
{
Event1:
{
Statement1;
. . .
StatementE;
}
. . .
EventZ:
{
Statement1;
. . .
StatementF;
}
} /* This is a comment */
2-18
MOD 30ML Functions
DISPLAY BLOCK
Examples of assignments:
Setting a display field to a constant value:
#RBAR = sourcename or constant or expression
Setting an input or local attribute to a constant (if the input is remote, the actual
source variable will be changed):
destname = sourcename or constant or expression
7. The right side of an assignment statement must be an input name or local attribute name
when the left side is one of the predefined names with the suffix .SRC.
2-19
MOD 30ML Functions
DISPLAY BLOCK
10. Expressions cannot exceed 255 bytes after being compiled. Expressions can appear in
the conditional part of IF and CASE statements and on the right side of assignments.
11. The assignment expression is defined so that HEX or ASCII data can appear on the right
side as a single operand but cannot appear in an expression. Expressions having more
than one operand follow the same rules as in the expression block.
2-20
MOD 30ML Functions
DISPLAY BLOCK
14. Arguments to all unary operators (except ! and unary + and unary -) must appear in
parentheses (e.g. SQRT (I1)).
15. A constant can be:
count An integer between 0 and 65535.
discrete TRUE or FALSE.
short state An integer between 0 and 15, with the suffix S.
long state An integer between 0 and 255, with the suffix L.
date M,month/day/year (U.S. format), or
D,day/month/year (European format).
floating point A floating-point number.
millisecond time Hours:minutes:seconds (h:mm:ss.sss). Note that seconds
can be expressed with up to 3 decimal places.
hex A hexadecimal integer with the prefix $
ASCII An ASCII string enclosed in double quotes.
16. A name must be unique and can be a 1 to 8 character string of letters, digits or
underscores, starting with a letter. This string represents an input name for identifying
variables or a local attribute name referenced by their standard mnemonics or display
state name.
2-21
MOD 30ML Functions
DISPLAY BLOCK
17. Display state names can appear in any expression, where they are treated as long state
variables, but they cannot be the target of an assignment. Display states are identified
by number in the instrument and are assigned numbers, starting at 1, in the order in
which they appear in the display scripts.
DSPSTATE is a local attribute whose value represents the current display state. It can
appear in any expression.
2-22
MOD 30ML Functions
DISPLAY BLOCK
TL DISP
LISTOUT LISTIN
I1 (AIN1.R)
AIN
I2 (AOUT.R)
Result
AIN
Result
Figure 2-8. Display Block, Typical Block Connections
2-23
MOD 30ML Functions
DISPLAY BLOCK
"Illegal constant."
An illegal constant appeared in an expression (invalid date, invalid time, number out
of range, etc).
"Name is undefined."
A name used in an expression is not an input name, local attribute name, or display
state name. Possible causes of this error are mistakenly using a display resource
name or event script name in an expression.
"Syntax error."
Unrecognized character, missing punctuation, etc.
2-24
MOD 30ML Functions
The Alarm LED flash rate, the display flashing and flash rate and the audio indicator beeping
and beep rate are determined by the OR'ing of their configurations. FAST rate will override
SLOW rate, Flash Display will override not flashing display and beeping will override not
beeping. For example; if the attributes are configured as follows, and there is an
unacknowledged diagnostic, an unacknowledged high priority process alarm and an
unacknowledged low priority process alarm present, the Alarm LED will be flashing at a
FAST rate, the display will be flashing at a SLOW rate and the beeper will be beeping at a
SLOW rate.
There is a silence feature which keeps the display from flashing and the beeper from beeping
while you are viewing the alarms and for one minute after you quit viewing alarms. To keep
re-arming this feature, press the ALARM key and then press the key labeled RET (R/L).
2-25
MOD 30ML Functions
Display List
Access to different displays in the display list is controlled locally through the TAG key or
remotely from a count variable input. When a remote display number is present and the value
is less than or equal the number of displays in the list, front face navigation using the TAG
key is disabled and the remote input selects the display.
Table 2-3. Display Interface 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 Rejected (0), Accepted (1) CWR Discrete 03
DIAGNOSTICS: Group SUPPGRP NONE, 1 - 7 CWR Long State 04
Faceplate Comm Error FPCOMS Enabled (0), Suppressed (1). CWR Discrete 05
Faceplate Communication error FPCOMU NO (0), YES (1). – WR Discrete 06
unacknowledged
Faceplate Communication error FPCOMA NO (0), YES (1). – – R Discrete 07
active
No Keyboard Response NOKBDS Enabled (0), Suppressed (1). CWR Discrete 08
No Keybrd Response NOKBDU NO (0), YES (1). – WR Discrete 09
unacknowledged
No Keybrd Response active NOKBDA NO (0), YES (1). – – R Discrete 10
reserved 11
Faceplate Version FPVER 0.0 - 25.5. – – R Long State 12
Device Tag DEVTAG CWR Ascii 13
Power Up Display User Tag PUPDISP DEVICE (0), PREVIOUS (65535) CWR Count 14
or display tag
Current Display CURDISP – – R Count 15
Current Access Level CURACCS OPERATE (0), TUNE (1), – – R Short State 16
CONFIGURE (2).
Access Timeout ACCTIME NONE (0), 1 - 54 minutes. C–– Long State 17
Min Low Alarm Priority MINLOPRI 2 - 255. C–R Long State 18
Diagnostics: Display Flash FLSHDIAG NO (0), YES (1). CWR Discrete 19
Diagnostics: Beep BEEPDIAG NO (0), YES (1). CWR Discrete 20
Diagnostics: Flash/ Beep Rate DFLSHRAT SLOW (0), FAST (1). CWR Discrete 21
High Priority Process Alarms: FLSHHIPR NO (0), YES (1). CWR Discrete 22
Display Flash
High Priority Process Alarms: BEEPHIPR NO (0), YES (1). CWR Discrete 23
Beep
High Priority Process Alarms: HFLSHRAT SLOW (0), FAST (1). CWR Discrete 24
Flash/Beep Rate
Low Priority Process Alarms: FLSHLOPR NO (0), YES (1). CWR Discrete 25
Display Flash
Low Priority Process Alarms: BEEPLOPR NO (0), YES (1). CWR Discrete 26
Beep
Low Priority Process Alarms: LFLSHRAT SLOW (0), FAST (1). CWR Discrete 27
Flash/Beep Rate
Table 2-3. Display Interface Block Attributes, Valid Values, Mnemonics and Data Types (Cont’d)
2-26
MOD 30ML Functions
Block Type
DIF This is the display interface block type.
2-27
MOD 30ML Functions
11 Reserved
2-28
MOD 30ML Functions
2-29
MOD 30ML Functions
2-30
MOD 30ML Functions
2-31
MOD 30ML Functions
Name
Up to 8 alphanumeric characters identifying block.
Description
Any notes used to describe the block.
2-32
MOD 30ML Functions
This is an override display which will prevent scrolling through any other displays on the
instrument front face. It is controlled using index numbers that are associated with the
order of display tags listed in the display list (index number is 1 for the first display tag
listed, index number 2 is for the second tag and so forth (index number 0 is used for the
Device Display). If the input has a value of 0 you will be taken to the device display and
you will need to press the TAG key to return to the user displays before the remote display
input can change user displays.
2-33
MOD 30ML Functions
Tune password
NONE (0), 1 - 65535. Enter numeric characters ranging from 1 to 65535 to get a tune
password. The password is used by the instrument to get to the tuning displays.
Configuration password
NONE (0), 1 - 65535. Enter numeric characters ranging from 1 to 65535 to get a
configuration password. The password is used by the instrument to get to the configuration
displays.
2-34
MOD 30ML Functions
2-35
MOD 30ML Functions
Date display format (See attribute 39 description.) Choose US format (mm/dd/yy) or EURO
format (dd/mm/yy)
2-36
MOD 30ML Functions
2-37
MOD 30ML Functions
EX DIF
R esu lt RE MD ISP
2-38
MOD 30ML Functions
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.
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.
2-39
MOD 30ML Functions
Name
Up to 8 unique alphanumeric characters identifying block.
Description
Any descriptive text. Maximum of 80 alphanumeric or symbol characters.
2-40
MOD 30ML Functions
Figure 2-14. State Table Block State Tables using Text Editor
Zero or more state tables can be entered in the configurator, each having the following
format.
Name
A unique 1-8 ASCII string that identifies the table (must start with a letter and contain only
letters, digits, and underscores). Other database blocks (currently TL, DISP, and PAD) refer
to the table by this name, which is not case sensitive.
Length
Character length of mnemonic entries (maximum is 8).
2-41
MOD 30ML Functions
Default
An ASCII string enclosed in double quotes (can contain any displayable character, see
Appendix B). String should contain no more characters than defined by ‘length’. This string
is displayed when a value does not match any of the values in the table.
Value
The values are integers between 0 and 65535. Duplicate values in the table are not allowed.
Mnemonic
An ASCII string, enclosed in double quotes, that associates a mnemonic with a value (can
contain any displayable character, see Appendix B). Duplicate mnemonics in the table are
allowed. String should contain no more characters than defined by ‘length’.
Comments
Comments may be included in the state tables and are ignored. Comments begin with the
characters /* and end with the characters */, and all characters in between are part of the
comment.
2-42
MOD 30ML Functions
Table 2-5. Tune List 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
Tuned Variable TUNEVAR – WR Count 04
Block Type
TL This is the tune list block type.
2-43
MOD 30ML Functions
Figure 2-16. Tune List Inputs, Edit Display, page 1 (add input)
2-44
MOD 30ML Functions
Select Add to browse for and add a group of tags to the tune list and then select Modify to
specify input data for each tag. Use Delete to remove a tune list input.
Duplicate
Select the item to be duplicated and then select the Duplicate button to make a copy (default
name is assigned).
Name
Eight characters that start with a
letter and contain only letters, digits,
and underscores. This becomes the
unique name of the input for
reference in edit when expressions.
An input, if used, must be named and
point at valid data.
Enter a name when the variable associated with the input will
appear in the tuning scroll list. See Table 2-6 for display formats and supported input data
types. The data type of an input must be compatible with a referenced format.
Line 1 text
(DISP), or USER. If DISP is selected the display block tag will be placed on display line 1. If
USER is selected, the text in the next field will be placed on display line 1. Text can be any 8
displayable characters (see Appendix B).
Line 2 text
This text will be placed on display line 2. Text can be any 8 displayable characters (see
Appendix B).
2-45
MOD 30ML Functions
Duplicate
Select the item to be duplicated and then select the Duplicate button to make a copy (default
name is assigned).
Name
Eight characters that start with a letter and contain only letters, digits, and underscores. This
becomes the unique name of the format for reference in this block.
Format type:
Table 2-6 lists the different display format types and what fields are active for each type. A
referenced format cannot be NONE.
2-46
MOD 30ML Functions
Low Limit:
Numeric entry that is the minimum allowed operator entry. Low limit must not exceed high
limit. For line display, this is the minimum allowed operator entry. For a bar display, it is the
value for which the bar will indicate 0% (center scale for deviation).
High Limit:
Numeric entry that is the maximum allowed operator entry. For line display, this is the
maximum allowed operator entry. For a bar display, it is the value for which the bar will
indicate 100%.
Entry Method:
None (entry is not allowed), Immediate (value changes as change is made), Enter Req’d (key
defined as ENT for enter must be pressed to make change). Entry method cannot be
IMMEDIATE for TIME1 - TIME4, ASCII, HEX, and DATE display formats.
Engineering Units:
A 4-character string to appear after a line formatted variable may contain any displayable
characters and the first non-blank character cannot be a digit.
Table 2-6. Tune List Display Formats, Supported Data Types and Active Fields
Display Entry Eng State** Edit
Supported Data Types* Limits
Format Method Units Table When
Float0 X Y Y N Y Y
Float1 X.X Y Y N Y Y
Float2 X.XX Y Y N Y Y
Float3 X.XXX Y Y N Y Y
Float4 X.XXXX Y Y N Y Y
Float5 X.XXXXX Y Y N Y Y
Float6 X.XXXXXX Y Y N Y Y
Integer1 Discrete, Short State, Long State Y Y N Y Y
Integer2 Count Y Y N Y Y
Integer4 Millisecond Time Y Y N Y Y
Time1 HH:MM:SS Y N N Y Y
Time2 M:SS.SSS Y N N Y Y
Time3 HHHH:MM Y N N Y Y
Time4 MM:SS.SSS Y N N Y Y
State Discrete, Short State, Long State, Count Y N Y N Y
ASCII ASCII Y N N N Y
Hex Hex Y N N N Y
Date Date Y N N N Y
* Float0 through Float6 are Floating Point data types and Time1 through Time4 are
millisecond time types.
** When display format is STATE:
- A Display State Table name must be entered.
- An Entry State Table name must be entered, when entry method is anything but NONE.
- State Table names referenced must be defined in the State Table (ST) block.
2-47
MOD 30ML Functions
Edit When:
A standard expression that when TRUE defines when the displayed variable can be changed
('edited') by the operator. If an expression is not entered, the displayed variable can always
be changed. Entry method must be immediate or entry required (otherwise this field is
ignored).
2-48
MOD 30ML Functions
The alarm source value is shown on line 6 of the front panel display. The source value can
also be indicated on a bar display that includes an intensified segment identifying the trip
point.
This block has two discrete outputs that indicate whether the alarm is active or
acknowledged. These outputs can be used to initiate logic in other blocks throughout the
database. The user can acknowledge the existence of an alarm by any one of several
methods as described in Section 2.6.1. A functional block diagram of the block is shown in
Figure 2-19.
Less
Less or Equal
Greater
Greater or Equal
Equal
Not Equal Trip Condition Trip Value * Report Events
* Data Type may be? Deviation
Count, Discrete, Short State,
Long State, Floating Point,
Msec Time, or Date
Discrete NO
LSP
Acknowledge GOOD
Input YES
NONE BAD
State
(RUN, HOLD,
OFF, DEBUG))
Suppress TAG1
Hysteresis Priority
(Floating Point Calculation
(0 to 255) (YES, NO)
Bad Inputs Alarm) TAG2
Accepted
(YES, NO)
Scaling
2-49
MOD 30ML Functions
Version 2 of this block adds the following features. When the TRIP CONDITION is
DEVIATION, the target value is always zero. The TRIP VALUE, HYSTERESIS and HI
RANGE values are symmetrical. For example, if the TRIP VALUE is 5.0 it is also –5.0; if the
HYSTERESIS is 1.0, it is also –1.0; and if the HIRANGE is 25.0 which indicates the TOP of
the bar graph, then the bottom of the bar graph will indicate –25.0. The following
configuration rules apply.
The following shows how the alarm calculation is done for the seven configured trip
conditions (when alarm becomes active). Note that hysteresis is not used when the trip
condition is EQUAL or NOT EQUAL. Thus the use of these two trip conditions with floating
point variables may lead to rapid fluctuations as mentioned above.
Condition When alarm becomes active When active alarm becomes clear
LESS ALARMINP < TRIPVAL ............. ALARMINP >= TRIPVAL + HYST
LESS EQUAL ALARMINP <= TRIPVAL ........... ALARMINP > TRIPVAL + HYST
GREATER ALARMINP > TRIPVAL ............. ALARMINP <= TRIPVAL – HYST
GREATER EQUAL ALARMINP >= TRIPVAL ........... ALARMINP < TRIPVAL – HYST
EQUAL ALARMINP == TRIPVAL ........... ALARMINP != TRIPVAL
NOT EQUAL ALARMINP != TRIPVAL ............ ALARMINP == TRIPVAL
DEVIATION ALARMINP > HITRIPVAL.......... ALARMINP <= HITRIPVAL – HYST
DEVIATION ALARMINP < LOTRIPVAL......... ALARMINP >= LOTRIPVAL + HYST
2-50
MOD 30ML Functions
Alarm Clear
750
Process Input
Floating Point
Value
500
Hysteresis Value (50)
0.000000
0 5 10 15 20 25 30 35
Time (Group Scan Cycles)
2-51
MOD 30ML Functions
Table 2-7. Process Alarm Display Block Attributes, Valid Values, Mnemonics, and Data Types
Field Name / Attribute Mnemonic Valid Values CWR Data Type Attr
Version VERSION 1, 2 – – R Long State 00
Block Length BLKLEN – – R Count 01
State STATE RUN (0), HOLD (1), OFF (2), CWR Short State 02
DEBUG (3)
Bad Inputs BADINP REJECTED(0) CWR Discrete 03
ACCEPTED(1),
Alarm Priority PRIORITY 0 to 255 (0 = No CWR Long State 04
Unacknowledged Alarm)
Alarm Activate Condition TRIPCOND LESS(0), LESS EQUAL(1), CWR Short State 05
(Trip Condition) GREATER (2), GREATER
EQUAL (3), EQUAL (4),
NOT EQUAL (5), or
DEVIATION (6)
Suppress calculation? SUPPRES NO (0), YES (1) CWR Discrete 06
S
Unacknowledged U FALSE (0), TRUE (1) – WR Discrete 07
Unacknowledged Quality UQ GOOD (0), BAD (1) – WR Discrete 08
Alarm Active A FALSE (0), TRUE (1) – WR Discrete 09
Active Quality AQ GOOD (0), BAD (1) – WR Discrete 10
Report events? REPORT NO (0), YES (1) CWR Discrete 11
Alarm Activate Value TRIPVAL Local data for Floating-Point, CWR Same as 12
(Trip Point) Count, Date, Msec Time, ALARMINP
Discrete, Short State, or
Long State data types.
Line 1 Text TAG1 1-8 character ASCII string CWR ASCII 13
Line 2 Text TAG2 1-8 character ASCII string CWR ASCII 14
Hi Range HRNG Top of alarm input range CWR Same as 15
ALARMINP
Lo Range LRNG Bottom of alarm input range CWR Same as 16
ALARMINP
Alarm Input ALARMINP LSP or local data CWR Floating Pt, 17
Count, Date,
Msec Time,
Discrete,
Short State,
Long State,
Ack Input ACKINP NONE or LSP C – R Discrete 18
Hysteresis HYST 0.000000 to any positive CWR Floating Pt 19
Floating Point Value
2-52
MOD 30ML Functions
Block Type
PAD This is the Process Alarm Display Block type. Block type address code is 52.
2-53
MOD 30ML Functions
GOOD 0 Quality is left GOOD when the quality of the acknowledge input is
bad. Quality is also GOOD when a FALSE is written to the
unacknowledged attribute and the block is in RUN or HOLD and its
loop is in RUN or HOLD.
BAD 1 Quality is set BAD when the quality of the alarm input is bad.
2-54
MOD 30ML Functions
GOOD 0 Quality is left GOOD when the quality of the acknowledge input is
bad.
BAD 1 Quality is set BAD when the quality of the alarm input is bad.
2-55
MOD 30ML Functions
2-56
MOD 30ML Functions
Name
Up to 8 alphanumeric characters identifying the block.
Description
Any descriptive text.
2-57
MOD 30ML Functions
2-58
MOD 30ML Functions
Engineering Units
A character string (up to four characters) displayed on line 6 with a floating point or integer
alarm input value. May contain any displayable characters where the first non-blank
character cannot be a digit.
State Table
When the display format is State, a state table name must be entered in this field and the
table must be defined in the State Table Block. The name must be a unique 1-8 character
ASCII string that starts with a letter and contains only letters, digits and underscores. Refer to
Section 2.4 State Table Block for additional information.
2-59
MOD 30ML Functions
Normal Bar displays alarm input with an intensified segment indicating the trip point. An
example of the bar format is shown in Figure 2-23.
Deviation Bar displays alarm input as a deviation from a zero deviation point that is
indicated by an intensified segment at midscale. A second intensified segment
identifies the alarm trip point. If the trip condition is DEVIATION, a third
intensified segment identifies the second alarm trip point.
An example of the deviation format is shown in Figure 2-23. Note that the deviation format
allows the scale to be expanded by configuring range limits that correspond to user defined
deviation limits rather than the full input range. When the bar is scaled for deviation limits of
±10°F as shown in Figure 2-23, each bar segment represents 0.4% of full range compared to
2% per segment for a full range display.
Setting the trip condition to DEVIATION allows full use of the bar so that a HIRANGE of 25.0
will indicate the TOP of the bar graph and the bottom of the bar graph will be –25.0.
2-60
MOD 30ML Functions
High Range The alarm input value which corresponds to 100% indication on the bar
display. Value must be greater than or equal to low range.
Deviation Format
Zero point The alarm input value that corresponds to an indication of zero deviation on
the bar display. The zero deviation point appears as an intensified segment
at the mid point of the bar.
Max. Dev. The alarm input value that corresponds to the maximum positive deviation.
This value corresponds to 100 on the bar display, and 0 on the display
corresponds to the maximum negative deviation.
Table 2-8 Display Formats, Supported Data Types, and Active Fields
Display Supported Data Types* Eng State**
Format Units Table
Float0 X Y N
Float1 X.X Y N
Float2 X.XX Y N
Float3 X.XXX Y N
Float4 X.XXXX Y N
Float5 X.XXXXX Y N
Float6 X.XXXXXX Y N
Integer1 Discrete, Short State, Long State Y N
Integer2 Count Y N
Integer4 Millisecond Time Y N
Time1 HH:MM:SS N N
Time2 M:SS.SSS N N
Time3 HHHH:MM N N
Time4 MM:SS.SSS N N
State Discrete, Short State, Long State, Count N Y
Date Date N N
* Float0 through Float6 are floating point data types and Time1 through Time4 are
millisecond time data types.
** When display format is STATE:
- A Display State Table name must be entered.
- Named State Table must be defined in the State Table (ST) Block.
2-61
MOD 30ML Functions
VCI1
VCIM1 PAD1
R
Result Alarm Input
Logical Source Pointer from another Acknowledge Input
function block A Discrete output to another
Alarm Active
U function block
Unacknowledged Operator indication
TRIPVAL of acknowledgement
Trip Value and trip value
(through CL block)
Report
Operator write access to trip
value, and control reporting
DI1
DIM1 PAD2
R
Result Alarm Input
A
Alarm Active Discrete Output to Another
Function Block
TM1
Timer Disable PAD3
STATE
State Alarm Input
A
Timer Reset Alarm Active Discrete Output to Another
HLSTAT Function Block
High Limit
2-62
MOD 30ML Functions
The AIN block can be configured to accept any one of the following input signal types:
• Volts
• Current
• Millivolts
• Thermocouple
• Thermocouple with Cold Junction Compensation (TC + CJC)
• Resistance
• RTD
A functional bock diagram of an AIN block is shown in Figure 2-24. The display that is used
to configure the block is shown in Figure 2-25.
Built-in analog input blocks can generate diagnostic errors based upon the following possible
conditions:
During a warm or cold start condition, a pre-run read of the input circuit value is performed to
initialize the field result, conditioning and I/O task buffer values. If no I/O communications
error is encountered these values are forward initialized and their qualities are marked
GOOD, otherwise the previous values are held and their qualities marked BAD. If the block
mode is MANUAL, the pre-run read value is loaded into the field result only; the result
remains at its previous value and its quality is marked GOOD.
2-63
MOD 30ML Functions
Input Number
RTD Type
Apply Only to RTD
AIN Error Input Types
Nominal
COMMERRA Resistance
I/O MODERRA
Communica Error Checks Resistance
tions Error COMMERRU Range
MODERRU
Diagnostic ERRCNT
Group
2-64
MOD 30ML Functions
Table 2-9. Built-In Analog Input Block Attributes, Valid Values, Mnemonics, and Data Types
Field Name / Attribute Mnemonic Valid Values CWR Data Type Attr
Version VERSION 1 ––R Long State 00
Block Length BLKLEN ––R Count 01
Block State STATE RUN (0) ––R Short State 02
Bad Inputs Accepted BADINP YES (1) ––R Discrete 03
Diagnostics Group SUPPGRP NONE, 1 to 7 CWR Long State 04
I/O communications error COMMERRS ENABLE (0), SUPPRESS (1) CWR Discrete 05
Unacked comm. error COMMERR NO (0), YES (1) – WR Discrete 06
U
Active comm. error COMMERRA NO (0), YES (1) ––R Discrete 07
Input Error INERRS ENABLE (0), SUPPRESS (1) CWR Discrete 08
Unacked Input Error INERRU NO (0), YES (1) – WR Discrete 09
Active Input Error INERRA NO (0), YES (1) ––R Discrete 10
Input Number INNUM 1, 2 C–R Long State 11
Error ERROR – WR Short State 12
2-65
MOD 30ML Functions
Table 2-9. Built-In Analog Input Block Attributes, Valid Values, Mnemonics, and Data Types (Cont’d)
Field Name / Attribute Mnemonic Valid Values CWR Data Type Attr
Input Type INTYPE VOLTS (1), CURRENT (2), C – R Long State 13
MILLIVOLTS(3),
THERMOCOUPLE(4),
TC + CJC (5),
RESISTANCE(6), RTD(7)
Mode MODE MAN (0), AUTO(1) CWR Discrete 14
Initial Result R value CWR Floating Pt 15
Result Quality RQ GOOD (0), BAD (1) – WR Discrete 16
Field Result FR value ––R Floating Pt 17
Field Result Quality FRQ GOOD (0), BAD (1) ––R Discrete 18
Reference Voltage, Low VRLO ––R Floating Pt 20
Zero Counts, Low ZLO ––R Floating Pt 21
Reference Voltage, High VRHI ––R Floating Pt 22
Zero Counts, High ZHI ––R Floating Pt 23
Input resistance INR ––R Floating Pt 24
Resistance Zero RZERO ––R Floating Pt 25
CJC mV Zero C CJV0 ––R Floating Pt 26
Temp Coefficient C CJTC ––R Floating Pt 27
CJC Mode CJCMODE MANUAL(0), AUTO(1), CWR Short State 40
LOCAL(2), EXTERNAL(3)
Init. CJC Result CJC CWR Floating Pt 41
CJC Quality CJCQ GOOD (0), BAD (1) – WR Discrete 42
CJC Field Result FCJC ––R Floating Pt 43
CJC Field Result Quality FCJCQ GOOD (0), BAD (1) ––R Discrete 44
TC/RTD Type TYPE NONE(0), B(1), E(2), J(3), CWR Long State 45
K(4), N(5), R(6), S(7), T(8),
Platinum 0.003850(24),
Platinum 0.003923(25),
Platinum 0.003902(26)
Platinum 0.003911(27)
Nickel 0.006720(28)
Range - Top SIGHI 100% value in input units CWR Floating Pt 46
Range - Bottom SIGLO 0% value in input units CWR Floating Pt 47
Nominal Resistance NOMRES positive value in ohms CWR Floating Pt 48
Leadwire Resist. LWRES value (not less than -4.0) in CWR Floating Pt 49
ohms
Resistance Range RANGE LOW(0), NORMAL(1) C – R Discrete 50
Burnout Detection BURNDIR NONE(0), UPSCALE(1), C – R Short State 51
DOWNSCALE(2)
2-66
MOD 30ML Functions
Table 2-9. Built-In Analog Input Block Attributes, Valid Values, Mnemonics, and Data Types (Cont’d.)
Field Name / Attribute Mnemonic Valid Values CWR Data Type Attr
Input B0 B0 ––R Floating Pt 52
Input B0 Quality B0Q ––R Discrete 53
Input B1 B1 ––R Floating Pt 54
Input B1 Quality B1Q ––R Discrete 55
Input B2 B2 ––R Floating Pt 56
Input B2 Quality B2Q ––R Discrete 57
Input B3 B3 ––R Floating Pt 58
Input B3 Quality B3Q ––R Discrete 59
Block Type
AIN This is the built-in analog input block type.
2-67
MOD 30ML Functions
2-68
MOD 30ML Functions
2-69
MOD 30ML Functions
2-70
MOD 30ML Functions
2-71
MOD 30ML Functions
2-72
MOD 30ML Functions
Table 2-10. Equations for Calculation of Field Result Values Using Inputs B0, B1, B2 and B3
Input Type Field Result (FR) Equals Units
VOLTAGE VRHI*(B3-B0-ZHI)/(B2-B0-ZHI) VOLTS
CURRENT (VRHI*(B1-B0-ZHI))/(RIN*(B2-B0-ZHI)) AMPS
MILLIVOLT VRLO*(B3-B0-ZLO)/(B2-B0-ZLO) mVOLTS
TC (VRLO*(B3-B0-ZLO)/(B2-B0-ZLO))*1000 uVOLTS
TC (VRLO*(B3-B0-ZLO)/(B2-B0-ZLO))*1000 uVOLTS
+CJC CJTC*((VRLO*(B1-B0-ZLO)/(B2-B0-ZLO))-CJV0) degrees C
RTD (RIN*(B2-(2*B3)+B1)/(B1-B0-ZLO))-RZE OHMS
RES (RIN*(B2-(2*B3)+B1)/(B1-B0-ZLO))-RZE OHMS
2-73
MOD 30ML Functions
A IN 1
21
Fi e ld R e su l t ( F R) VC I
18
MO DO U T M O D IN
R
R e su l t
S o ftw ir in g co n n e c tio n
to a n o th e r b l o ck.
B u ilt- in A na lo g In pu t # 1 , In pu t Ty p e = TC +C J C , Bu ilt- In CJ C us ed fo r o th e r TC In pu ts
A IN 1
21
F ie ld R e su l t (F R ) TI
18
M OD OU T M O D IN
R
C JC Re s ul t
S o ftw i ri ng c o n n e ctio n
* Co n v e rsi o n fro m C e ls iu s to o th e r to a n o th e r b lo c k.
u n its p e rfo rm ed at CJC INP o f T I bl oc k.
A IN 2 TI
46
F ie ld R e su l t (F R) CJ C INP
43
M O DO U T M O D IN
R
R e su l t
S oftw ir in g c o nn e ctio n
to a n o th e r b lo ck .
T IM TI
40 S o ftwi ri n g co n n e cti on
F ie ld R e su l t (F R) C JC IN P
39 to a no the r b lo c k.
M OD OU T M O DIN
R
Re s u lt
A IN 2
46
Fi e ld R e su lt ( FR ) TI
43
M OD OU T M O DIN
R
RIM R e su l t
C JC IN S o ftwi ri n g co n n e cti o n
M OD OU T
to a n o th er b lo c k.
Figure 2-27. Typical Block Connections for Built-In Analog Input Block
2-74
MOD 30ML Functions
2-75
MOD 30ML Functions
2-76
MOD 30ML Data Base Reference
Available to the user as block outputs are the result, scaled result, track status, and
the data quality for each of these attributes. Also available is the active and
unacknowledged status of the block diagnostic errors. A functional block diagram
of a built-in analog output block is shown in Figure 2-27a (part 1) and Figure 2-27b
(part 2). The Built-In Analog Output Block edit display, which is used to configure
the block, is shown in Figures 2-28 and 2-29.
PART 1
Bad TRACK
Lock OR Track
Status
Manual
I/O Lock
(from IF Block) Mode
FP Value
GOOD
Input Unlock
LSP
Auto See PART
BAD Normal 2
Lock
Manual
GOOD Initialize
LSP Data Quality
Auto
RQ
Bad Inputs
Accepted Manual
Quality Check TRKQ
(YES/NO) GOOD
Auto
Bad
Initialize
AND Sheet 1 of 2
TRUE
Figure 2-28a. Analog Output Module Block, Functional Block Diagram (Part1)
2-77
MOD 30ML Data Base Reference
PART 2
Scaled
Result Normaliza Action
tion (DIR/REV) Scaling
See PART 1
0.00 HOLD
Result
PREVIOUS
Output to use
on Failsafe
Restart
Preset Value
PRESET
Failsafe Normal
Output to
use on
Built-in Analog
ERROR Output
Output Number
COMMERRU
AOMERRU
Figure 2-28b. Analog Output Module Block, Functional Block Diagram (Part2)
2-78
MOD 30ML Data Base Reference
2-79
MOD 30ML Data Base Reference
The input connected to the AOUT block is scaled and latched according to the
configuration of the block parameters. All valid data is then sent to the output
circuit during each 50 millisecond scan cycle.
Built-in analog output blocks can generate diagnostic errors based upon the
following possible conditions:
• I/O communications error
• Output circuit status error (used to determine when to get output circuit error
code)
2-80
MOD 30ML Data Base Reference
Table 2-11. Built-In Analog Output Block Attributes, Valid Values, Mnemonics, and Data Types
Field Name / Attribute Mnemonic Valid Values CWR Data Type Attr
Version VERSION ––R Long State 00
Block Length BLKLEN ––R Count 01
State STATE RUN (0) ––R Short State 02
Bad Inputs BADINP Rejected (0), Accepted (1) CWR Discrete 03
Diagnostic Group SUPPGRP NONE, 1 to 7 CWR Long State 04
I/O communications error COMMERRS ENABLE (0), SUPPRESS (1) CWR Discrete 05
Unacked I/O comm. error COMMERR NO (0), YES (1) – WR Discrete 06
U
Active I/O comm. error COMMERRA NO (0), YES (1) ––R Discrete 07
OUTPUT Error OUTERRS ENABLE (0), SUPPRESS (1) CWR Discrete 08
Unacked Output error OUTERRU NO (0), YES (1) – WR Discrete 09
Active Output error OUTERRA NO (0), YES (1) ––R Discrete 10
Output Number OUTNUM 1, 2 C–R Long State 11
Output Circuit Error ERROR – WR Short State 12
Mode MODE MANUAL (0), AUTO (1) CWR Discrete 13
Action ACTION REVERSE (0), DIRECT (1) CWR Discrete 14
Input Range, Top INHI Floating Pt Value, E.U. CWR Floating Pt 15
Input Range, Bottom INLO Floating Pt Value, E.U. CWR Floating Pt 16
Output Range, Top OUTHI Floating Pt Value, Sig. Rng. CWR Floating Pt 17
Output Range, Bottom OUTLO Floating Pt Value, Sig. Rng. CWR Floating Pt 18
Output to use on restart RESTART PREVIOUS (0), PRESET (1) CWR Discrete 19
Output to use on failsafe FSACT HOLD (0), PRESET (1) CWR Discrete 20
Restart preset value PRESET Floating Pt Value, E.U. CWR Floating Pt 21
Track status TRKSTAT NO TRACK (0), TRACK (1) – WR Discrete 22
Track status data quality TRKQ GOOD (0), BAD (1) – WR Discrete 23
Initial Scaled Result RSC Floating Pt Value, E.U. CWR Floating Pt 24
Maximum Output MAXOUT Floating Pt Value, E.U. ––R Floating Pt 26
Input INPUT LSP or Floating Pt Value, E.U. CWR Floating Pt 40
Result R Floating Pt Value, Sig. Rng. CWR Floating Pt 50
Result Quality RQ GOOD (0), BAD (1) – WR Discrete 51
2-81
MOD 30ML Data Base Reference
Block Type
AOUT This is the Analog Output Module Block type.
00 Version (VERSION)........................................................................................................... – – R
The AOUT block is at version 1
02 State (STATE).................................................................................................................... – – R
Not configurable in this block; state is always equal to RUN. See IB-23G600 (I/O Logic Book
1) Section 2.4.1, State Changes for additional information. This block, when configured, is
always executed in the RUN state (Normal Operation).
2-82
MOD 30ML Data Base Reference
2-83
MOD 30ML Data Base Reference
2-84
MOD 30ML Data Base Reference
2-85
MOD 30ML Data Base Reference
AOUT1
R 17
LN1 Result
INPUT 16
Result Input
MODE Operator indication of
Mode
input value, output value,
RSC and mode.
Scaled Result
2-86
MOD 30ML Functions
CONFIGURATION EXAMPLES
SECTION 3
CONFIGURATION EXAMPLES
3.1 GENERAL
This section has tutorials for configuring a complete PID loop application. This section is
divided in to two parts:
1. Configuration Examples using the ViZapp or Visual Application Builder Software
2. Configuration Examples using the DOS based Application Builder Software
This section explains how to configure a PID loop by using the ML_PID compound from
the Gallery. Refer to the ViZapp Help file and the ViZapp training manual IB-VIZAPP-TUT
and the Display Guide IB-1800R-SCR for more examples and reference.
1. Launch ViZapp. Select Programs from the Windows Start menu. Select ViZapp from the
menu. The ViZapp configurator will launch as shown in the next figure. As you will notice, the
configurator will be blank with no workspace loaded on the screen.
Note that the configurator screen has two frames (left and right).
3-1
MOD 30ML Functions
CONFIGURATION EXAMPLES
2. We will create a new Workspace and a new project in this step. Click on the File menu
on the menu bar at the top. Select New from the drop-down menu as shown in the next
figure:
Figure 3. 2. File-New
• This will open the New dialog box as shown in the next figure. There are 2 tabs (sections) in
this dialog box and it displays the Project tab as default.
3-2
MOD 30ML Functions
CONFIGURATION EXAMPLES
All project files and the instrument and display documents will be saved in this folder. This
makes project portability easier.
3-3
MOD 30ML Functions
CONFIGURATION EXAMPLES
• Click on the option Create a new Workspace. This will create a new workspace for us. Click
on OK.
• The configurator will redisplay with a new workspace and a project as shown below:
• The left frame shows the project tree. The Workspace is at the root of this tree and contains
the Project, and other components such as Event Log and Components.
• The newly created workspace is given the same name as that of the project. The project sub-
tree or branch contains the components Security and Tags.
3. With what we have above, we have only created an environment to configure instrument
database and display files. Next we will create an instrument database. We will hereafter call
it the instrument document.
• Click on the New Document button on the tool bar or Select File-New form the menu bar to
display the New dialog box again as shown below:
3-4
MOD 30ML Functions
CONFIGURATION EXAMPLES
• The New dialog box shows the Document tab now. Select the type MOD Function Block
diagram by clicking on it and then type the name PIDLAB for the document in the Name field.
• This document will be created in the project folder \class automatically and will be added to
your Class project by default. See figure above.
When you create a new project, a file with the project name and file extension .APRJ will
be created. This file is called project file in the ViZapp installation directory. The
instrument document/ configuration files (MOD Function block diagram files) will have
extension .AFBD and will be saved in the project folder. The workspace we created will
be saved as a file with extension .AWSP (Class.awsp) and a file with same name and
.FEQP extension (Class.feqp) in the root folder where the project folder is located.
IF you move your workspace and project to a different location/ drive, move the project
folder and the two files for the workspace (.AWSP and .FEQP), maintaining their relative
location.
• Click on OK. This will display the Choose Instrument Version dialog box as shown in the
next figure: This dialog box will display the different instrument ID module versions
(MODCELL and MOD 30ML).
3-5
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-6
MOD 30ML Functions
CONFIGURATION EXAMPLES
• The algorithm blocks belonging to the instrument version selected will be shown as a menu
on the left frame.
4. Let us first configure a scan group:
There could be as many as five scan groups in an instrument database. The control loops
(database blocks connected together) are grouped into Loop Compounds. The Loop
Compounds can be assigned to any of these scan groups. All the blocks and compounds
in a particular scan group will be executed at the same scan rate configured for the group.
This way you can have many loops in the database and they can be executed at different
rates depending on their priority and speed of the process they are controlling.
• Notice that all the four blocks on the screen are selected. Deselect them by clicking on a
blank space and then double-click on the IF (Interface) block. The Interface block will open as
shown in the next figure: The block is displayed in a visual notebook format, with tabbed
“pages” containing the parameters for configuration. The Execution tab (page) of this block
will be displayed by default.
3-7
MOD 30ML Functions
CONFIGURATION EXAMPLES
5. Add a loop compound. We will configure our control loop inside this loop compound.
• Select the Loop Cpd (Loop compound) block from the Algorithms window add it to the
document. Do this by first locating the block in the menu by selecting the All submenu at the
bottom and then by dragging the scroll bar on the right up/down. See the next figure:
3-8
MOD 30ML Functions
CONFIGURATION EXAMPLES
• Select Properties from the menu. The Algorithm Properties of the Loop Cpd block will be
displayed next as shown in the next figure.
• Type Control in the Name field.
• Type a description "This compound is for the Flow Control Loop"
• Click on OK to close the Properties.
• Right-Click on the Control compound (Loop compound you just named) again and select
Open compound at the bottom of this menu.
• The loop compound will open as shown below and will have a Loop block (LP) by default.
3-9
MOD 30ML Functions
CONFIGURATION EXAMPLES
A loop compound is a compound or group that contains a loop block. You configure other
blocks and compounds inside the loop compound. The compound can be added to one of
the five scan groups defined in the Interface block. All the blocks inside the compound will
be executed at that scan rate.
• The compound will also have a Compound Signals menu that can be used to make pre-
defined connections in and out of this block. (We will not use this for now. You can close it by
clicking on the close button on its right hand side top – the X button)
8. Open the Loop block (LP-1) by double-clicking on it. The block will open as shown in the
next figure. We will not change anything in this block. Just notice that scan group this
compound belongs to defaults to Scan Group 1. (200 ms– refer to step 4 - Interface block).
3-10
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-11
MOD 30ML Functions
CONFIGURATION EXAMPLES
• Move the cursor to the ML_PID compound and either double-click, or select it and then select
the Export button. The Component Gallery dialog box closes and the ML_PID compound is
placed in your workspace. The compound is highlighted with small green boxes.
3-12
MOD 30ML Functions
CONFIGURATION EXAMPLES
• Select the VCI block and double-click on it to open the block. Type the high engineering units
and the high quality limits to 200. Select the Linearization type and change it to Square Root.
See the next figure for details:
3-13
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-14
MOD 30ML Functions
CONFIGURATION EXAMPLES
• The PID block has the most extensive configuration. Select the Setpoint tab in the PID bloc
configuration and change the Setpoint Limits – High to 200 also to match the process
variable range.
• We wont be making any other changes to the PID block in this tutorial.
• Click on the OK block to accept the changes made tot his block.
• The compound has a display block configured to show the proves variable, setpoint, output,
output mode and setpoint mode from the PID block. This display block is configured with the
process variable and setpoint range as 0-100. We need to change this to 0-200 to match the
changes we did in the VCI and the PID blocks.
• Open this Display block (DISP) by double-clicking on it. Click on the Formats tab of the
display block configuration.
3-15
MOD 30ML Functions
CONFIGURATION EXAMPLES
• The Formats tab contains formatting information for the inputs of the display block. Double-
click on the processL format from this tab. The Specify Format Data will be displayed as
shown in the figure below. Change the High limit to 200 as shown.
3-16
MOD 30ML Functions
CONFIGURATION EXAMPLES
• We also need to change the display format for the setpoint. Double-click on the setptL format
and change its High limits to 200 as explained above.
• Both the setpoint and the process share the same bar format. It is the processB format from
this list. Double-click on it to open the format data.
3-17
MOD 30ML Functions
CONFIGURATION EXAMPLES
• Change the High limit to 200 to match the process variable range. Click on OK.
• The display block Formats tab will now reflect the changes we made as shown in the next
figure.
3-18
MOD 30ML Functions
CONFIGURATION EXAMPLES
• The compound also has 2 PAD blocks with names Hi Process Alarm and Lo Process Alarm.
We will change the alarm trip values on these PAD blocks.
• Double-click on the Hi Process Alarm block to open it. Refer to the next figure.
3-19
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-20
MOD 30ML Functions
CONFIGURATION EXAMPLES
• Next we will change the display tag name in the display block. Open the display block by
double-clicking on it.
3-21
MOD 30ML Functions
CONFIGURATION EXAMPLES
• Click on a empty are of the workspace to deselect any selected blocks. Close the loop
compound by right-clicking and then selecting Close Compound from the resulting menu.
Refer to the next figure.
3-22
MOD 30ML Functions
CONFIGURATION EXAMPLES
• Add the Display Tag to the Display Interface Block: The next step is to add the display tag of
the display block we configured in the previous steps to the display list in the display
interface block. During runtime, you can scroll through the displays in this list by pressing
the Tag button on the instrument.
3-23
MOD 30ML Functions
CONFIGURATION EXAMPLES
• Open the DIF (Display Interface) block as shown in the figure above.
• Click on the New button on this block as shown in figure above: A text edit box will appear
in the area below and you will see a text edit cursor blinking.
• Type the name of your display tag (FIC-100). Click on the OK to accept he changes.
11. It is important that you save the database. Select File – Save All from the menu bar.
12. Compile the database by selecting Instrument-Compile from the menu bar.
3-24
MOD 30ML Functions
CONFIGURATION EXAMPLES
Refer to the VIZAPP Training manual (IB-VIZAPP-TUT) for information and labs on
configuring OPC Server for communicating with the controller and downloading a
compiled database. For more configuration examples and labs, refer to the Vizapp
Training Manual and also the Display Script Guide IB-1800R-SCR.
3-25
MOD 30ML Functions
CONFIGURATION EXAMPLES
1. Access the DOS Prompt for the drive and directory where the Application Builder resides.
The following prompt appears:
C:\APPBLD
If the drive and directory are other than C and APPBLD, the applicable prompt appears
instead of C:\APPBLD.
2. Type STRATEGY and press the ENTER key. The UNTITLED [ROOT] display appears in the
Select mode with the workspace empty.
3. From the tool bar select the Library icon. The System Library menu appears.
4. Select the MOD 30ML type of instrument (both MODCELL and MOD 30ML may be
available). The instrument library appears on the left side of the display.
5. Select an instrument from the left and place it in the work space. A block representing the
selected instrument appears. The block is identified with a default tag (i. e., 001).
6. Select and query the block to access the block identification window, then Select the Block
Tag field and type the name you wish to assign to the block.
7. Select the Enter button to close the window. The instrument block with your assigned tag
name appears in the workspace.
8. Double click on the instrument block. The block is removed from the work space and the
environment blocks appear; (IF, SE, DIF, and ST). This is the Instrument Level of your
strategy, Figure 3-34A.
3-26
MOD 30ML Functions
CONFIGURATION EXAMPLES
9. From the library icons on the left side of the workspace, select LP CPD (loop compound) and
place it in the workspace, Figure 3-34B.
10. Assign a tag name to the loop compound, then double click on the loop symbol. A loop block
and connection block appear in the workspace. This is the Loop Level of your strategy.
11. Load the required preconfigured compounds at the loop level as described below in the
Loading a Compound Into A Strategy steps and in the following referenced sections:
• PID Controller with Display Block Compound (Section 3.3.2)
• Totalizer with Display Block Compound (Section 3.3.5)
• Cascade with Display Block Compound (Section 3.3.9)
• Cold Junction Compensation Compound (Section 3.3.12)
12. Access the loop level of the strategy requiring the compound. A loop block and connection
block appear in the workspace, Figure 3-34C. Any other previously configured loop level
blocks also appear.
13. From the tool bar, select the Compound icon using the right mouse key. A compound
submenu appears.
14. Select the load icon from the submenu. A Load Compound menu appears.
15. Double click on the COMPOUND directory to obtain the list of available compounds, then
click on a specific compound and select OK.
16. Select NO at occurrence number selection window so that block occurrence numbers in the
compound are not retained. Following this selection, the window closes and the compound
appears in the workspace, Figure 3-34D.
The only reason to select YES to retain existing block occurrence numbers is in the case
where the compound has been saved form an existing strategy and is being reloaded into the
same strategy.
17. Select and query the compound to obtain the identification window, then select the tag field
and enter the name you wish to assign.
18. Select the enter button to close the identification window. The compound appears in the
workspace with the assigned tag name.
The compound is now loaded into your strategy and any parameters can be configured to
meet the specific requirements of the strategy.
3-27
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-28
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-29
MOD 30ML Functions
CONFIGURATION EXAMPLES
To use the PID&DSP compound, set the TAG name in the DISP block (default is TAG-100)
and insert this name in the Tag List of the DIF block (up one level). The required state table
definitions are included in the block and also exist in the file “STATE.TXT”. If this block is
loaded in a new strategy, it will compile as is.
3-30
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-31
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-32
MOD 30ML Functions
CONFIGURATION EXAMPLES
These compounds provide a way to implement a totalizer block and various display options
for totalizer commands of reset, stop, hold and run. Refer to Logic Book 2 (IB-23G602
Section 8.10) for functional information on the totalizer block.
PIDTOT1.CSM uses one display tag for the PID, totalized value and totalizer command
functions. This functionality is probably the most common display used for a PID and totalizer
application. PIDTOT2.CSM places the PID and totalized value on one tag display and the
totalizer command functions on a second display tag.
3-33
MOD 30ML Functions
CONFIGURATION EXAMPLES
ACTIOND, 8, “????????”
{
0, “EXIT”;
}
ACTIONE, 8, “????????”
{
5, “EXIT”;
1, “RESET”;
2, “STOP”;
3, “RUN”;
4, “HOLD”;
}
3-34
MOD 30ML Functions
CONFIGURATION EXAMPLES
Display Operation
Unless other changes were made in the strategy to cause a different behavior, the instrument
will come up in a manual mode with a local set-point. The output is displayed on the bottom
line. Pressing the scroll key once causes the set-point to be displayed on the bottom line.
Pressing the scroll key a second time causes the totalized value to be displayed on the
bottom line and an up arrow to be illuminated.
To enter the totalizer commands menu, press the up key while the totalized value is being
displayed on the bottom line. The action of “RESET” will appear on the bottom line and “ENT”
will flash next to the scroll key. Pressing the enter key (scroll key) causes the reset operation
to be enacted and transfers the operator to the totalizer display. If the enter key is not
pressed the action will time out, reset will not be enacted, and the operator will be prompted
to exit the totalizer commands menu.
This same operation applies to the STOP, RUN and HOLD commands. Each of these
commands are accessed after entering the totalizer commands menu and pressing the up
key for each command.
Pressing the enter key when “EXIT” is displayed on the bottom line causes the totalizer
commands menu to close returning the operator to the totalized value display.
3-35
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-36
MOD 30ML Functions
CONFIGURATION EXAMPLES
ACTIOND, 8, "????????"
{
0, "NONE";
1, "RESET";
2, "STOP";
3, "RUN";
4, "HOLD";
}
Display Operation
Unless other changes were made in the strategy to cause a different behavior, the instrument
will come up in a manual mode with a local set-point. The output is displayed on the bottom
line. Pressing the scroll key once causes the set-point to be displayed on the bottom line.
Pressing the scroll key a second time causes the totalized value to be displayed on the
bottom line.
To enter the totalizer commands menu, press the TAG key at any time. This causes the
display to switch to the totalizer commands display. The totalized value will be on the second
line. The word “CMD” will appear next to the scroll key and the up and down arrows will be
illuminated. The lower display will state “NONE”. Pressing the up key causes “RESET” to
appear on the bottom line and “ENT” will flash next to the scroll key. Pressing the enter key
(scroll key) causes the reset operation to be enacted. If the enter key is not pressed the
action will time out, reset will not be enacted, and “NONE” will re-appear on the bottom line of
the totalizer commands menu.
This same operation applies to the STOP, RUN and HOLD commands. Each of these
commands are accessed after entering the totalizer commands display and pressing the up
key for each command.
Pressing the TAG key at any time causes the PID display to return.
3-37
MOD 30ML Functions
CONFIGURATION EXAMPLES
Each block in the compound has been preconfigured and all required connections between
the blocks have been made. Each block can be queried to view its edit display, and block
attributes can be edited to meet specific application requirements. The master and slave
process inputs are configured as current signals connected to the built-in universal analog
input circuits. The configuration can be modified to use any process input signal which can
be accepted by the MOD 30ML instrument
3-38
MOD 30ML Functions
CONFIGURATION EXAMPLES
1. Double click on the CAS&DSP compound symbol. The blocks which make up the compound
appear in the workspace, Figure 3-38.
3-39
MOD 30ML Functions
CONFIGURATION EXAMPLES
2. Double click on the master process input block to access its edit display, then proceed as
follows:
a. Check the Input Type entry and if necessary change the default entry (CURRENT) to
match your process input.
b. Review the default values for the other attributes of the block and change values as
required for your process input
c. Click on the Enter button to input configured values and return to the workspace display.
3. If the Input Type was changed to Thermocouple, TC+CJC, or RTD the input function block
must be replaced. Proceed as follows:
a. Select the block and click on the delete icon to delete the block and its connections.
b. Click on the library icon to access the loop library menu, then select Input/Output. The
Input/Output function icons appear on the left side of the workspace.
c. Select the input function you require and place it in the workspace at the location where
the VCIM block was deleted.
e. Access the block edit display and edit the attributes as required for your input.
Connections to other blocks or compounds in your strategy can be made as required. For
example, if the slave process input is flow, the signal could be totalized by loading a totalizer
compound into your strategy and connecting the result from the slave input function block to
the process variable input of the totalizer compound.
3-40
MOD 30ML Functions
CONFIGURATION EXAMPLES
1. Edit the Display Interface block (DIF) by adding the MASTER and SLAVE display blocks to
the display list.
3. Compile and check the database for tune list block occurrence numbers. Match the cascade
compound TL numbers in the cross reference file (select Report icon and read CRF file) and
use these numbers for the Master and Slave display block local data. The local data for
M_TL assumes it is TL1 (1) and S_TL assumes it is TL2 (2) when it might need to be set for
TL3 (3) and TL4 (4).
3-41
MOD 30ML Functions
CONFIGURATION EXAMPLES
3-42
MOD 30ML Functions
CONFIGURATION EXAMPLES
The CJC compound resides in the utilities section of the Application Builder software. It is
accessed via the compound icon in the application builder tool bar, and can be loaded into a
strategy at either the instrument level or the loop level. When loaded, the CJC compound
appears in the workspace as a state compound. Input and output connections to the CJC
function can be made either at the instrument level or at the loop level The cold junction
compensation signal within the compound can be connected to a series of thermocouple
input module blocks so that only one CJC compound is required to compensate all
thermocouple input modules in an instrument.
The blocks which make up the CJC compound are shown in Figure 3-6. Each block has
been preconfigured and all required connections between the blocks have been made. Each
block can be queried to view its edit display. CJC parameters such as thermocouple type,
temperature scale, I/O module location etc., can be configured on the edit displays.
1. Double click on the CJC compound to open it and see the blocks which make up the
compound.
2. Choose the option to be used in your strategy:
• Option 1: Temperature at the instrument terminals is not available for display.
• Option 2: Temperature at the instrument terminals is available for display.
3. For the option chosen, edit the attributes of each block as follows:
a. Double click on a block to access its edit display.
b. Review the default values for each attribute and change values if required.
Attributes most likely to require changes are:
• Module Location ( TIM1 or TIM2 Block)
Enter the slot number for the TIM (Thermocouple Input Module).
• Module Location (RIM1 or RIM2 Block)
Enter the slot number for the RIM (RTD Input Module)
• Thermocouple Type (TIM1 or TIM2 block)
Scroll entry to obtain required thermocouple type.
• Temperature Scale (TI1 or TI2 block)
Scroll entry to obtain required temperature scale.
3-43
MOD 30ML Functions
CONFIGURATION EXAMPLES
c. Upon completion of required changes for each block, click on the Enter button to
input configured values and return to the workspace display.
4. Make connections to the CJC compound as described in the next section.
These inputs are obtained from the hardware connections at the instrument terminal block.
Make CJC input and output connections as follows:
1. Access the workspace display where you wish to make the connections.
2. From the tool bar, select either the visible connection or wireless connection icon.
3. If the instrument has more than one thermocouple input module, connect the cold junction
compensation signal to the other thermocouple inputs as follows:
a. If Option 1 has been chosen, connect MODOUT of RIM1 to CJCIN of each additional
thermocouple input module block.
b. If Option 2 has been chosen, connect MODOUT of TI2 to CJCINP of each additional TI
block.
4. Connect CJC compound outputs to other blocks in the strategy as required. Be sure to make
the connections to the option you chose in the previous section. The attributes of each block
in the compound are available as outputs. Typical output connections are as follows:
• Result (R) of the TI1 or TI2 block is connected to the process variable (PV) input of a PID
block for temperature control.
• Result (R) of the RTI2 block is connected to a display block in a MOD 30ML instrument, or to
an MSC or ICN block in a MODCELL instrument.
3-44
MOD 30ML Functions
APPENDIX A
ASSIGNMENT STATEMENT REFERENCE
A-1
MOD 30ML Functions
A-2
MOD 30ML Functions
A-3
MOD 30ML Functions
Table A-2. Assignment statements of type 'display_resource = source_name' (ex. #LINE1 = I1)
Resource Format Displayed Result
#LINE1 Discrete: Integer1 0, 1
#LINE2 State Note 1
#LINE3 Short_State: Integer1 0 - 15
State Note 1
Long_State: Integer1 0 - 255
State Note 1
Count: Integer2 0 - 65535
State Note 1
Msec_time: Integer4 0 - 99999999 (0 - 99999999), first 8 digits (100000000 and up)
Time1 hh:mm:ss (00:00:00.000 to 99:59:59.999), hhhh:mm (100:00:00.000
and up)
Time2 m:ss.sss (0:00.000 to 9:59.999), mm:ss.ss (10:00.000 to
99:59.999),
hh:mm:ss (00:00:00.000 to 99:59:59.999), hhhh:mm (100:00:00.000
and up)
Time3 hhhh:mm
Time4 mm:ss.ss (10:00.000 to 99:59.999), hh:mm:ss (00:00:00.000 to
99:59:59.999),
hhhh:mm (100:00:00.000 and up)
Floating_point Floatn 0.0 - 99999999 (0.0 - 99999999.0), first 8 digits (100000000.0 and
up)
Date: Date mm/dd/yy or dd/mm/yy
Asc: Ascii truncated to 8 characters.
Hex: Hex leftmost characters discarded if more than 8.
#LINE3 Discrete: Integer1 0, 1
#LINE4 State Note 1
#LINE5 Short_state: Integer1 0 - 15
State Note 1
Long_state: Integer1 0 - 255
State Note 1
Count: Integer2 0 - 999 (0 - 999), First 3 digits (1000 - 65535)
State Note 1
Msec_time: Integer4 0 - 999 (0 - 999), first 3 digits alternate (1000 and up)
Time1 :ss (even if > 0:00:99.999)
Time2 sss (even if > 0:00:00.999)
Time3 :mm (even if > 0:99:59.999)
Time4 .ss (even if > 0:00:00.999)
Floating_point 0.0 - 999 (0.0 - 999.0), first 3 digits (1000.0 and up)
Date: /yy (right justified)
Asc: truncated to 3 characters
Hex: leftmost characters discarded if more than 3.
Note 1 If the source value is found in the state table, the associated mnemonic is displayed. Otherwise the
default mnemonic is displayed. All mnemonics in a state table have the same configured width. If not
entered full width, they are padded with trailing spaces during compile. If the mnemonic field is wider
than the display it is truncated to fit. Otherwise it (the entire field) is right justified.
A-4
MOD 30ML Functions
Table A-2. Assignment statements of type 'display_resource = source_name' (ex. #LINE1 = I1)
Resource Format Displayed Result
#LBAR Discrete: None off, segment 1 on
#MBAR Bar 0 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
#RBAR Dev
Short_state: None 0 - 15 segments on
Bar 0 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
Long_state: None 0 - 50 segments on (0 - 50), 50 segments on (51 - 255)
Bar 0 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
Count: None 0 - 50 segments on (0 - 50), 50 segments on (51 - 65535)
Bar 0 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
Msec_time: None 0 - 50 segments on (00:00:00.000 - 00:00:00.050), 50 segments on
(00:00:00.051 and up)
Bar 0 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
Floating_point None 0 - 50 segments on (0.0 - 50.0), 50 segments on (51.0 and up)
Bar 0 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
DEV format is not valid for intensified segments and causes a 'INVALID DISP OP' diagnostic
#LISEGn Discrete: None off, segment 1 on
#MISEGn Bar off (< lo_limit), one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on
(> hi_limit)
#RISEGn Short_state: None off (0), one of segments 1 - 15 on (1 - 15)
Bar off (< lo_limit), one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on
(> hi_limit)
Long_state: None off (0), one of segments 1 - 50 on (1 - 50), segment 50 on (51 - 255)
Bar off (< lo_limit), one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on
(> hi_limit)
Count: None off (0), one of segments 1 - 50 on (1 - 50), segment 50 on (51 - 65535)
Bar off (< lo_limit), one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on
(> hi_limit)
Msec_time: None off (0), one of segments 1 - 50 on (00:00:00.001 - 00:00:00.050), segment 50
on (00:00:00.051 and up)
Bar off (< lo_limit), one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on
(> hi_limit)
Floating_point None off (0.x), one of segments 1 - 50 on (1.0 - 50.0), segment 50 on (51.0 and up)
Bar off (< lo_limit), one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on
(> hi_limit)
#LED Discrete: na off, on
#BEEPER Short_state: na off (0), on (1), system use (2 - 15)
Long_state: na off (0), on (1), system use (2 - 255)
Count: na off (0), on (1), system use (2 - 65535)
Msec_time: na off (00:00:00.000), on (00:00:00.001), system use (00:00:00.002 and up)
Floating_point na off (0.x), on (1.x), system use (2.0 and up)
A-5
MOD 30ML Functions
Table A-3. Assignment statements of type 'display_resource = constant' - ex. #LINE1 = 37.94
Resource Constant Type Displayed Result
#LINE1 Discrete: 0, 1
#LINE2 Short_state: 0 - 15
#LINE6 Long_state: 0 - 255
Count: 0 - 65535
Msec_time: hh:mm:ss
Floating_point rounded to nearest storeable value (23 bit precision) and truncated to fit 8
characters.
Date: mm/dd/yy or dd/mm/yy
Asc: truncated to 8 characters.
Hex: leftmost characters discarded if more than 8.
#LINE3 Discrete: 0, 1
#LINE4 Short_state: 0 - 15
#LINE5 Long_state: 0 - 255
Count: 0 - 999 (0 - 999), First 3 digits (1000 - 65535)
Msec_time: :ss
Floating_point rounded to nearest storeable value (23 bit precision) and truncated to fit 3
characters.
Date: /yy (pretty useless)
Asc: truncated to 3 characters
Hex: leftmost characters discarded if more than 3.
#LBAR Discrete: off, segment 1 on
#MBAR Short_state: 0 - 15 segments on
#RBAR Long_state: 0 - 50 segments on (0 - 50), 50 segments on (51 - 255)
Count: 0 - 50 segments on (0 - 50), 50 segments on (51 - 65535)
Msec_time: 0 - 50 segments on (00:00:00.000 - 00:00:00.050), 50 segments on
(00:00:00.051 and up)
Floating_point 0 - 50 segments on (0.0 - 50.x), 50 segments on (51.0 and up)
#LISEGn Discrete: off, segment 1 on
#MISEGn Short_state: off (0), one of segments 1 - 15 on (1 - 15)
#RISEGn Long_state: off (0), one of segments 1 - 50 on (1 - 50), segment 50 on (51 - 255)
Count: off (0), one of segments 1 - 50 on (1 - 50), segment 50 on (51 - 65535)
Msec_time: off (0), one of segments 1 - 50 on (00:00:00.001 - 00:00:00.050), segment 50
on (00:00:00.051 and up)
Floating_point off (0.x), one of segments 1 - 50 on (1.0 - 50.x), segment 50 on (51.0 and up)
#LED Discrete: off, on
#BEEPER Short_state: off (0), on (1), system use (2 - 15)
Long_state: off (0), on (1), system use (2 - 255)
Count: off (0), on (1), system use (2 - 65535)
Msec_time: off (00:00:00.000), on (00:00:00.001), system use (00:00:00.002 and up)
Floating_point off (0.x), on (1.x), system use (2.0 and up)
#UPDN Discrete: off, up arrow on
Short_state: dn arrow, slash and up arrow show binary value (0 - 7), system use (8 - 15)
Long_state: dn arrow, slash and up arrow show binary value (0 - 7), system use (8 - 255)
Count: dn arrow, slash and up arrow show binary value (0 - 7), system use (8 - 65535)
Msec_time: dn arrow, slash and up arrow show binary value (0 - 00:00:00.007), system use
(00:00:00.008 and up)
Floating_point dn arrow, slash and up arrow show binary value of integer part (0.x - 7.x),
system use (8.0 and up)
A-6
MOD 30ML Functions
Table A-4. Assignment statements of type 'display_resource.SRC = source_name' (ex. #LINE1.SRC = I1)
Resource Format Displayed Result
#LINE1.SRC Discrete: Integer1 0, 1
#LINE2.SRC State NOTE 1
#LINE3.SRC Short_state: Integer1 0 - 15
State NOTE 1
Long_state: Integer1 0 - 255
State NOTE 1
Count: Integer2 0 - 65535
State NOTE 1
Msec_time: Integer4 0 - 99999999 (0 - 99999999), first 8 digits alternate with 'OVERFLOW'
(100000000 and up)
Time1 hh:mm:ss (00:00:00.000 to 99:59:59.999), hhhh:mm alternates with
'OVERFLOW' (100:00:00.000 and up)
Time2 m:ss.sss (0:00.000 to 9:59.999), 'OVERFLOW' alternates with mm:ss.ss
(10:00.000 to 99:59.999),
hh:mm:ss (00:00:00.000 to 99:59:59.999), hhhh:mm (100:00:00.000 and up)
Time3 hhhh:mm
Time4 mm:ss.ss (10:00.000 to 99:59.999), 'OVF' alternates with
hh:mm:ss (00:00:00.000 to 99:59:59.999), hhhh:mm (100:00:00.000 and up)
Floating_point Floatn 0.0 - 99999999 (0.0 - 99999999.0), first 8 digits alternate with 'OVERFLOW'
(100000000.0 and up)
Date: Date mm/dd/yy or dd/mm/yy
Asc: Ascii = input, marqueed if necessary
Hex: Hex = input, marqueed if necessary
Note 1: If the source value is found in the state table, the associated mnemonic is displayed. Otherwise the
default mnemonic is displayed.All mnemonics in a state table have the same configured width. If not
entered full width, they are padded with trailing spaces during compile. If the mnemonic field is wider
than the display it is truncated to fit. Otherwise it (the entire field) is right justified.
A-7
MOD 30ML Functions
Table A-4. Assignment statements of type 'display_resource.SRC = source_name' (ex. #LINE1.SRC = I1)
Resource Format Displayed Result
segment 1 remains on for source <= 0 to indicate bar is in use.
#LBAR.SRC Discrete: None segment 1 on
#MBAR.SRC Bar 1 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
#RBAR.SRC Dev
Short_state: None 1 - 15 segments on
Bar 1 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
Long_state: None 1 - 50 segments on (0 - 50), 50 segments on (51 - 255)
Bar 1 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
Count: None 1 - 50 segments on (0 - 50), 50 segments on (51 - 65535)
Bar 1 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
Msec_time: None 1 - 50 segments on (00:00:00.000 - 00:00:00.050), 50 segments on
(00:00:00.051 and up)
Bar 1 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
Floating_point None 1 - 50 segments on (0.0 - 50.0), 50 segments on (51.0 and up)
Bar 1 - 50 segments on (lo_limit - hi_limit), 50 segments on (> hi_limit)
Dev
segment 1 remains on for source <= 0 to indicate bar is in use. DEV format is not valid for iseg's and causes
a 'INVALID DISP OP' diagnostic.
#LISEGn.SRC Discrete: None segment 1 on
#MISEGn.SRC Bar one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on (> hi_limit)
#RISEGn.SRC Short_state: None one of segments 1 - 15 on
Bar one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on (> hi_limit)
Long_state: None one of segments 1 - 50 on (0 - 50), segment 50 on (51 - 255)
Bar one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on (> hi_limit)
Count: None one of segments 1 - 50 on (0 - 50), segment 50 on (51 - 65535)
Bar one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on (> hi_limit)
Msec_time: None one of segments 1 - 50 on (00:00:00.000 - 00:00:00.050), segment 50 on
(00:00:00.051 and up)
Bar one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on (> hi_limit)
Floating_point None one of segments 1 - 50 on (0.0 - 50.0), segment 50 on (51.0 and up)
Bar one of segments 1 - 50 on (lo_limit - hi_limit), segment 50 on (> hi_limit)
#LED.SRC Discrete: NA off, on
#BEEPER.SRC Short_state: NA off (0), on (1), system use (2 - 15)
Long_state: NA off (0), on (1), system use (2 - 255)
Count: NA off (0), on (1), system use (2 - 65535)
Msec_time: NA off (00:00:00.000), on (00:00:00.001), system use (00:00:00.002 and up)
Floating_point NA off (0.x), on (1.x), system use (2.0 and up)
A-8
MOD 30ML Functions
Table A-4. Assignment statements of type 'display_resource.SRC = source_name' (ex. #LINE1.SRC = I1)
Resource Format Displayed Result
#UPDN.SRC Discrete: NA off, up arrow on
Short_state: NA dn arrow, slash and up arrow show binary value (0 - 7), system use (8 - 15)
Long_state: NA dn arrow, slash and up arrow show binary value (0 - 7), system use (8 - 255)
Count: NA dn arrow, slash and up arrow show binary value (0 - 7), system use (8 -
65535)
Msec_time: NA dn arrow, slash and up arrow show binary value (0 - 00:00:00.007), system
use (00:00:00.008 and up)
Floating_point NA dn arrow, slash and up arrow show binary value of integer part (0.x - 7.x),
system use (8.0 and up)
A-9
MOD 30ML Functions
A-10
MOD 30ML Functions
APPENDIX B
DISPLAYED CHARACTER SET
The Application builder allows any character in the ASCII range of 0 to 127 (decimal 32 to 126 can be entered
through the normal keyboard characters). Of this set, many will display as blank or some other symbol. The
set usable from the instrument front face is indicated by a †. The table below shows the complete displayed
character set for the range 0 to 127.
CAUTION. The instrument does not check communications messages from other devices that may send
ascii data for display. If ascii data exceeds the valid range of 0 to 127, the display may behave erratically
or lock up. DO NOT USE ASCII DATA IN THE RANGE OF 128 TO 255 FOR DISPLAY!
0 19 38 &
1 20 39 '
2 21 40 (
(space
3 22 41 )
indicator)
4 23 42 † *
5 24 43 † +
6 25 44 ,
7 26 45 † -
8 27 46 .
9 28 47 † /
10 29 48 † 0
11 30 49 † 1
12 31 50 † 2
13 32 † space 51 † 3
14 33 ! 52 † 4
15 34 “ 53 † 5
16 35 † # 54 † 6
17 36 $ 55 † 7
18 37 † % 56 † 8
B-1
MOD 30ML Functions
57 † 9 84 † T 111 † o
58 : 85 † U 112 † p
59 ; 86 † V 113 q
60 † < 87 † W 114 † r
61 † = 88 † X 115 † s
62 † > 89 † Y 116 † t
63 ? 90 † Z 117 † u
64 @ 91 [ 118 † v
65 † A 92 \ 119 † w
66 † B 93 ] 120 x
67 † C 94 ^ 121 y
68 † D 95 _ 122 z
69 † E 96 ` 123 {
70 † F 97 a 124 |
71 † G 98 † b 125 }
72 † H 99 † c 126 ~
73 † I 100 † d 127
74 † J 101 † e
† Standard faceplate character
75 † K 102 f
set.
76 † L 103 g
77 † M 104 † h
78 † N 105 i
79 † O 106 j
80 † P 107 † k
81 † Q 108 † l
82 † R 109 † m
83 † S 110 † n
B-2
The Company’s policy is one of continuous product improvement and
the right is reserved to modify the information contained herein without
notice, or to make engineering refinements that may not be reflected in
this bulletin. Micromod Automation assumes no responsibility for errors
that may appear in this manual.
© 2004 MicroMod Automation, Inc. Printed in USA