Tutorial
Tutorial
ABB Instrumentation
ABB INSTRUMENTATION
The Company
ABB Instrumentation is an established world force in the BS EN ISO 9001
design and manufacture of instrumentation for industrial St Neots -
process control, flow measurement, gas and liquid analysis Certificate No. Q5907
and environmental applications. Stonehouse -
Certificate No. FM 21106
As a part of ABB, a world leader in process automation
technology, we offer customers application expertise, service ISO 9001
and support worldwide. Rochester, USA -
Certificate No. AQ-8618
We are committed to teamwork, high quality manufacturing,
advanced technology and unrivaled service and support.
Use of Instructions
∆ Warning. An instruction that draws attention to the risk of Note. Clarification of an instruction or additional
injury or death. information.
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 ABB
Instrumentation.
3. 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.
4. Normal safety procedures must be taken to avoid the possibility of an accident occurring when operating in conditions of high
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.
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.
Application Builder Tutorials
Contents
CONTENTS
i
Application Builder Tutorials
Contents
ii
Application Builder Tutorials
Overview
OVERVIEW
1.1 FOREWORD
The following labs guide you through the various functions of the Application Builder software
package.
1.2 SCOPE
The assumption is made that the application builder software is already loaded on to the
computer and the student is familiar with the basic operation (e.g. Item selecting, Resizing of
items/lines and understands file management), knows the icon symbols and mouse operation.
(A summary of the tool bar icons has been included for your reference on the following
pages.)
If this is not the case, refer to the ‘Installation section’ and then the ‘User Basic section’ in the
Application Builder Software User’s Guide booklet
(IB-23H141).
If you are using an Application Builder software package prior to version 4.01 you may
encounter some slight differences in the icon descriptions.
1
Application Builder Tutorials
Overview
1.3 REQUIREMENTS
The labs can be completed without having to have the software copy protection key. If you do
not have the copy protection key then you will be unable to save and download any of the
configurations made. Simply ignore any references made to the saving and downloading
functions.
Included on the diskette are completed configurations for each lab. These can be used to
provide help if the student encounters configuration and compile errors or you are running the
software without the copy protection key. When the text instructs you to load a previous
configuration from the LABS directory, simply choose the same configuration from the
TUTORIAL sub-directory on the diskette.
The files are located in the TUTORIAL sub-directory and are as follows:
PIDLOOP.CDB
SEQ1LAB.CDB
PIDDSPLY.CDB
CJLAB.CDB
CJDSPLY.CDB
TOTDSPLY.CDB
PADLAB.CDB
SEQ2LAB.CDB
SUPMESG.CDB
RAMPLAB.CDB
RAMPLAB1.CDB
RAMPLAB2.CDB
RAMPLAB3.CDB
Before the application builder package is launched, make a sub-directory in the application
builder directory as follows :
C:\APPBLD\LABS >
This will be the directory where the student will save each finished configuration. At the end
of all the labs, the two directories (TUTORIAL and LABS) will hopefully contain identical
configurations.
Each lab will provide instructions as to which file you will be required to start with and the
name you will be required to save the new configuration as.
❢ WARNING: Save your work frequently. If, on compile, you receive errors such as “Cannot
load .DLL files”, exit Application Builder WITHOUT SAVING YOUR FILE. Restart Application
Builder, load your file, and re-do the changes you made since the last “save”.
You are now ready to start the first lab - PID Loop Configuration.
2
Application Builder Tutorials
Many processes involve flow control loops, whether they are in the food, pharmaceutical,
chemical, pulp & paper, mining or virtually any of the industries served by MODCELL
Multiloop Processors. This lab is designed to help you learn the basic features of the
Application Builder, as well as how to easily demonstrate configuration of a PID loop.
FT
FCV
FE
2 Move the cursor to the Library icon and select it A menu appears with “MODCELL” and
“MOD 30ML”.
4 Select the 2MOD 30ML icon and drag a box onto the This represents a MOD 30ML with
screen version 2 firmware.
5 Click the LEFT mouse key to fix it in place on the screen You should have a gray and red box
which represents one MOD 30ML
instrument on your screen.
3
Application Builder Tutorials
7 Select the new MOD 30ML block with the left mouse key
8 Move the cursor to the Query icon on the top toolbar and The MOD 30ML on the screen is now
click the left mouse key highlighted.
9 Click the left mouse key to confirm the query A menu appears for entering block tag,
description and strategy password.
11 Type CLASS1 (NO SPACES OR DASHES) and press Your MOD 30ML block should now say
Enter to close the menu CLASS1 M32.
2 Double-click on the IF (Interface) block The configuration menu for this block
appears.
3 Move the cursor to "Group Scan Intervals" and click on The time is represented as
the time field next to Group 1 00:00:00.000 (hrs:min:sec.ms).
4 Move the cursor to the mS position and change the time to It should now read 00:00:00.200
200 milliseconds
2 Drag a box onto the screen and fix it in place by clicking the You should now have a round, yellow
left mouse key circle on your screen marked M30LP.
4
Application Builder Tutorials
5 Move the cursor to the top of the screen and click on the This icon looks like a question mark
Query icon inside the letter Q.
2 Move the cursor to the Library icon on the top toolbar, and A menu of algorithm libraries appears.
select it with the left mouse key
3 From the Library, select the Input/Output menu The left toolbar will now show icons
representing all the various I/O
available in MOD 30ML, including built-
in analog I/O.
5 Drag it onto the screen and fix it in place by clicking the left
mouse key once
7 From the Library, select the Input Functions menu This will give you the "signal filtering"
or input function blocks on the left
toolbar.
13 Select the AOUT (built-in analog output) icon and place an You should now have 4 blocks: AIN,
AOUT block on the screen next to the PID block VCI, PID, AOUT.
Your screen should now look something like this : ( without the connection wires )
5
Application Builder Tutorials
2 Move the cursor to the Block Tag field, select it, and type DO NOT PRESS ENTER!!!
FT-100
4 Use the LEFT mouse key to scroll the Input number to 2 This is built-in analog input two.
6
Application Builder Tutorials
3 Move the cursor to the Linearization Type field, select it, This compensates for errors at very
and use the left mouse key to scroll to Modified Square low flow measurements.
Root
4 Change the Bottom & Top Output Range to 0 to 200 The measured 4 - 20mA signal will be
interpreted as 0 to 200 (gallons per
minute).
5 Using the >> and << icons at the top of the menu, view It is not necessary to make any other
the various pages of the PID block changes. We will accept defaults.
6 Click on the ? icon at the top of the menu The "on-line" instruction manual is
available at all times.
2 Give the block the tag name FCV-100 This represents the output to the Flow
Control Valve.
7
Application Builder Tutorials
4 Use the LEFT mouse key to scroll the Output number to 2 This is built-in analog output two.
5 Check the Input Range Top and Bottom is set to 100 The 0 to 100 output signal from the
and 0 PID block will be converted to 4 to
20mA output.
2 Move the cursor to the FT-100 block and select it A connection menu will appear.
3 Select MODOUT and drag the cursor into the middle of the A line appears attached to your cursor.
FY-100 block
4 Select the FY-100 block and select MODIN There is now a line with an arrowhead
connecting the analog input and the
square root extractor.
5 With the Wired Connections icon still highlighted, click on The connection menu appears.
the FY-100 block
8
Application Builder Tutorials
2 Move the cursor to the Library icon and select A new set of icons appears at the left,
Communication with ICN and MSC blocks.
3 Select MSC icon and place a MSC block on your screen This block allows you to communicate
(MODBUS Serial Communications) with the ML via Modbus.
9
Application Builder Tutorials
2 From the new submenu of icons, select Compile A menu of files that can be created by
the Application Builder appears.
3 Use the left mouse key to check the box next to “Produce
Wiring Description File (WDF)”.
4 Select YES
6 Select OK
10
Application Builder Tutorials
3 In the new menu, click on the box next to Wiring The resulting report is an extract of all
Description File pertinent information from the I/O and
Communications Block menus. By
entering descriptions in the block and
wiring description fields, you can
create a listing which could be given to
a technician or electrician for wiring up
the MOD 30ML terminations.
11
Application Builder Tutorials
12
Application Builder Tutorials
This is a short exercise based on a very simple sequence. It is designed to show some of the
power of the Sequence Block. When you have finished, you should be able to see the
benefits of the Sequence block over traditional methods of configuring a sequence control
scheme.
LSH
TE
LSL
The operator starts the sequence using a push-button symbol on a CRT screen. If the drain
valve is closed, the charge valve opens and the vessel begins to fill. We will suppose the
product enters the vessel at 100°F.
When the level reaches a certain point, a high level switch is tripped and the Charge valve
shuts. A setpoint of 350 degrees is sent to the temperature controller (which is not part of this
demo) and begins heating the product.
When the product temperature reaches setpoint, it is held there for one hour, then allowed to
cool to 100 degrees (a setpoint of 100 is sent to the same temperature controller).
When the product temperature reaches 100 degrees, the drain valve is opened and remains
open until the low level switch is tripped. The drain valve shuts and the process remains in
Idle until the operator pushes the start button again.
13
Application Builder Tutorials
Select the ‘Control’ compound made in the previous lab and remove it with the use of the ‘cut’
icon.
2 Move the cursor to the Library icon on the top toolbar and
select it
14
Application Builder Tutorials
2 Move the cursor to the field next to 001 marked "I1" and One of the powerful attributes of the
select it. Type in StartPB Sequence block is the ability to assign
(DO NOT PRESS ENTER!) names to inputs, then use the names
in the step logic. This makes it very
easy for someone to look at the block
and understand the logic.
4 Use the left mouse key to scroll until the field changes from This means that the input will either be
None to Local a constant, or entered from the front
panel.
6 Use the left mouse key to scroll until the field shows
Discrete
7 Move the cursor to the next input field (next to 002), select This will be a signal from a digital input
it, and type in LevelHi module wired to the high level switch,
so we do not need to change anything
else for this input; it will be determined
when we make the connection from
the DIM block.
9 Move the cursor to the red diamond at the top left corner of
the block and click on it to return to the main block menu
15
Application Builder Tutorials
2 Move the cursor to the field for 003 Type which shows Output 3 will be a signal to the
"Discrete". Use the left mouse key to scroll until the field temperature controller to change its
shows Floating Point setpoint. We can use the same PID
block and send it a different setpoint at
different steps in the sequence, using
the same output.
3 Move the cursor to the value field for State A (currently You must include the zero after the
shows False). Select it (both values will change to 0) and decimal point.
type in 350.0
4 Move the cursor to the value field for State B (currently Now, the same output can send a
shows 0). Select it and type in 100.0 value of 350 or 100, depending on
whether the step calls for a State A or
a State B output.
5 Move the cursor to the red diamond in the top left corner of
the block and select it to return to the main menu.
2 Move the cursor to the gray button at the top right corner,
marked Insert, and select it
3 In the Insert menu, insert 6 (SIX) steps starting at step 1; You should now have six highlighted
select OK fields across the block.
16
Application Builder Tutorials
2 Use the left mouse key to make the output fields reflect the Because a blank in an output field
following output table: means "Previous" it is not necessary to
change every field for every output in
every step if the output does not
change. However, some engineers
like to make sure every discrete output
is defined in every step.
When you are finished, your output table should look like this:
Step 1 2 3
Idle A A B
Charge B
Heat A A
Cook
Cool B
Drain B
17
Application Builder Tutorials
Now we must define the logic that makes the Sequence block go from one step to another.
This is called the Transition Expression. Transition expressions use all the same operators
and data types, and follow the same rules, as the Expression block.
The Sequence Block looks very much like a "drum stepper" or a sequence block you might
find in popular software packages. It can also perform the same type of sequencing done in
Ladder Logic. But unlike these, you are not required to move sequentially through each step
one after the other; the infinitely nestable IF-THEN-ELSE statements allow you to skip steps,
name several steps for various conditions, even go back to previous steps. And the transition
logic can combine any of the data types used within MODCELL; for instance, "If Digital Input 1
is true, and the time in step exceeds 2 hours 25 minutes, and the temperature is 348 degrees
Celsius, then go to Step 6, otherwise go to step 4".
The transition logic in this exercise is fairly basic, and we do move sequentially through the
steps, but once you are familiar with it you will be able to demonstrate these powerful features
to your customers.
2 Move the cursor to the first line in the new box, select it,
and type:
IF STARTPB && !DRAINING THEN CHARGE
3 Move the cursor to the small button at the top right corner The first 19 characters of the
of the Transition menu, and select it to close the box expression appear in the field; by
selecting this field at any time, you can
view the expression in its entirety.
5 Select the first row in the new box and type the following
expression:
IF LEVELHI THEN HEAT
6 Close the menu with the small button at the top right
corner
18
Application Builder Tutorials
Remember, the Transition Expression defines what makes the sequence leave the current
step and go to another. TIME indicates the time in the step (this was "steptime" in the MOD
30 SLU). There is a timer which starts as soon as you enter each step, and resets upon
transition to the next one.
This completes the definition of the Sequence Block and the sequence. All that remains is to
define the input and output blocks and connect them to the inputs and outputs of the
sequence.
2 From the icons at the side, choose and place three digital
input modules, one WRIM module (3-wire RTD) and two
digital output modules
19
Application Builder Tutorials
Your screen should now look something like this: (without the connection wires)
4 Using Wired Connections, connect the blocks as follows: When connecting the StepMgr outputs
to the StepMgr inputs, a message
LSH-1.R to StepMgr.I2 (High level switch) appears, “A control loop has been
found do you wish to order?”; select
Draining.R to StepMgr.I3 (Drain valve open contact)
NO.
TE.MODOUT to TI.MODIN
TI.R to StepMgr.I4 (Product temperature)
LSL-1.R to StepMgr.I7 (Level low switch)
StepMgr.OUT1 to Charge.Input
StepMgr.OUT2 to Drain.Input
StepMgr.OUT3 to StepMgr.I5 (HeatSP)
StepMgr.OUT3 to StepMgr.I6 (CoolSP)
20
Application Builder Tutorials
2 Move the cursor to the top I/O module, hold down the LEFT
mouse key, and drag it to another slot
3 Repeat until there is only one module in the first slot. From this menu by clicking on a
module with the right mouse key, you
can access the block menu and make
changes to the module definition.
Notice that the slot assignment in the
menu now corresponds to the slot in
which you placed the module "picture".
4 Close the menu and the I/O Placement graphic with the
Enter button
Go to the level where the IF, SE, DIF and LP blocks reside and select the ABB icon from the
toolbar.
From the new icons, select COMPILE and OK. Refer to the lab PIDLOOP for additional
information on compiling.
If the message "Protection key not found" appears, click on the OK button.
If the message "There were compile errors" appears, click on OK and view the error
messages.
Save the data base as SEQ1LAB in your ‘LABS’ directory if you are running the software with
the copy protection key.
21
Application Builder Tutorials
22
Application Builder Tutorials
MOD 30ML
CREATING THE PID DISPLAY FROM APPLICATION BUILDER
If you are using the front face templates to configure MOD 30ML as a PID controller, the
displays of course are built automatically. However, many applications will require additional
functions such as totalization, math, sequencing etc. and you will have to configure the PID
loops and their displays in the Application Builder as well. Through the use of pre-configured,
standard compounds included with Application Builder, a standard loop display is easy to link
to the PID block.
This exercise will teach you to load the Basic PID Display compound, and connect it to the
PID loop you configured in an earlier lab. This compound provides all standard operating
features (bargraphs, digital readouts, tag name, auto/manual etc.) and tuning parameters, for
display on the front panel. When you are finished, the resulting display should appear as
shown:
MODCELLTM 2050
FIC-100
35.6 GPM TAG
A
AUT
LOC R/L
SP
62.4 %
If you have the hardware, i.e. a MOD 30ML controller you will require an analog input source
capable of providing an input as configured in the previous lab (PIDLOOP) to represent the
process input.
Load the data base PIDLOOP from either your LABS directory or from the TUTORIAL
directory present on the diskette supplied with the tutorials.
You will need to use the Load a database file icon to do this. Don’t forget to use the help
icon if necessary to identify the different icons.
23
Application Builder Tutorials
2 Click on the Compound icon with the RIGHT mouse key A new set of icons will appear dealing
(Don’t forget the Help Icon) with compounds.
3 From the new compound icons, select LOAD A list of directories will appear in the
middle of the screen.
5 When you are asked “Do you wish to retain occurrence A blue box will appear on your screen
numbers” answer NO in all cases. called “CPD”
7 With the compound selected, select the Query icon at the A menu appears for entry of block tag
top of the screen. The compound will be highlighted in and description.
bright green. Click the LEFT mouse key to confirm query of
the compound block.
8 Enter the tag name PIDDISP in the BLOCK TAG field and The compound now has the tag name
select or press ENTER PIDDISP.
3 Select OP and drag the cursor into your PIDDISP block, A menu of “incoming” connections
and click on the block appears.
24
Application Builder Tutorials
6 Page forward through the connection menu using NEXT Make sure that the second line is not
(bottom of list) until you can select SP. Drag the cursor into covering the first line drawn.
your PIDDISP block, and click on the block
8 Repeat this procedure to connect the following variables This makes all of these variables
from the PID block to their counterparts in the Display appear on the front panel display.
block:
PVI (process)
OPMS (output mode)
SPMS (setpoint mode)
BGAIN (base gain)
BRESET (base reset)
CATYPE (control algorithm type)
ACTION (controller action)
3 Under INITIAL VALUES, there is a field called Display This is the tag that will appear on the
Tag. Select this field and type in: MOD 30ML.
FIC-100
4 Click on the gray arrow box next to “Edit Display Formats” A menu of display formats appears.
5 Change the Low and High Limits for pvL (Format 001),
spL (Format 002) and pvB (Format 004) to read 0 to 200
25
Application Builder Tutorials
It is possible to build display blocks, but not have them appear on the front face of the
instrument. (This could be useful during configuration or commissioning, to build
troubleshooting displays but not have them appear in the final display set.) In order for a
display to be accessible using the TAG key, it must be included in the Display List. This is
one of the main functions of the Display Interface Block.
3 Select the arrow icon next to “Edit Display List” You will now have a completely BLUE
screen with some file functions on the
top line.
4 On the top line of the blue screen, type: This means the PID display you just
built will be accessible from the front
“FIC-100”; face using the TAG key.
6 From the list select SAVE DO NOT change the file name from
APPBLD.TXT!!!!
10 Move the cursor to the field next to Tag and type in This is the display that will be on the
FIC-100 front face on power up or download.
26
Application Builder Tutorials
2 From the new submenu of icons, select Compile A menu of files that can be created by
the Application Builder appears.
3 Use the left mouse key to check the box next to “Produce
Wiring Description File (WDF)”.
4 Select OK to compile. If you compile correctly, you will be If your message says "There were
asked to save your database; you should do this as we will compile errors" then press OK, view
use this configuration in future labs. the error report, and correct your
configuration.
NOTE: REFER TO THE PREVIOUS LAB IF YOU NEED ASSISTANCE WITH COMPILE AND SAVE.
3 Make sure the Communications Type is “Extended Use the left mouse key to scroll.
Modbus” and not “Link”
4 Make sure the Modbus Address is 247 This must be typed in, not scrolled.
27
Application Builder Tutorials
After the down load is complete operate the keys of your display to manipulate output mode,
setpoint and output values. The keys will function as follows :
Manual This will place the controller into manual control mode.
Auto This will place the controller into automatic control mode.
Scroll Changes the bottom line of the display between OP and SP; if held will give
operator access to TUNE ??? parameters.
Up/Down Allows the user to adjust the displayed value.
Alarm Scrolls around any current alarms that may be present.
NOTE: The display compound has alarm values of 10 and 90 built into it. These can be
changed either in the Tuning display from the front face menu (TUNE ???) or in the
‘Process Alarm Display’ block (PAD) within the display compound of the application
builder.
Try changing the high process alarm value to 95 using both possible methods. After changing
the value in the application builder software it will be necessary to compile and download
again.
28
Application Builder Tutorials
MOD 30ML
COLD JUNCTION COMPENSATION
You will use the MOD 30ML strategy configured in previous labs, and add the temperature
measurement and CJC to it.
❢ NOTE: Save your work frequently. If, on compile, you receive errors such as “Cannot
load .DLL files”, exit Application Builder WITHOUT SAVING YOUR FILE. Restart Application
Builder, load your file, and re-do the changes you made since the last “save”.
5 Select AIN and place the block on the screen This is a built-in analog input.
8 Use the LEFT mouse key to scroll and change the Input
Type to Thermocouple and CJC
29
Application Builder Tutorials
2 From the new icons at the left, select a TI block and place it
on the screen near your AIN block
3 Click on MODOUT
4 Drag the cursor into the TI block and select it The only possible connection is
presented.
Save your file before you attempt a compile as CJLAB in the LABS directory.
Then, compile your strategy. Do not download.
If, on compile, you receive errors such as “Cannot load .DLL files”, exit Application Builder
WITHOUT SAVING YOUR FILE. Restart Application Builder, load your file, and re-compile.
30
Application Builder Tutorials
MOD 30ML
CUSTOM DISPLAY CONFIGURATION
FOR COLD JUNCTION COMPENSATION
The MOD 30ML allows you to create “key macros” using Display Scripting. In this lab you will
configure a display from which you will be able to display both the measured temperature and
the CJC value by scrolling between them. This lab will introduce you to Display Scripting.
❢ NOTE: Save your work frequently. If, on compile, you receive errors such as “Cannot
load .DLL files”, exit Application Builder WITHOUT SAVING YOUR FILE. Restart Application
Builder, load your file, and re-do the changes you made since the last “save”.
2 Click on the Library icon and select SYSTEM The system icons are now displayed at
the left of the screen.
3 Click on DISP , drag the box onto the screen and fix it in This is the Display block.
place
7 Under INITIAL VALUES, type in the name TI-123 next to This is the tag name we will use to
Display Tag reference the display in the Display
Interface Block, and on the front of the
instrument.
8 Under INITIAL VALUES, type TI in the first column for The text TI will appear on line 5 of the
Line 5. DO NOT close the block. display after the download.
31
Application Builder Tutorials
3 In the Line Format field, type TIL We have not yet set up the display
formats; we will do this in the next part
of the lab.
4 Give Input 2 the name CJ and type in CJL for the Line
Format
6 Use the LEFT mouse key to scroll and change the Type to This input will be the scroll button from
Local the front face and so it is considered a
Local input.
7 Move the mouse cursor to the red diamond at the top left of You are now back on the main display
the screen and select it block page.
2 Select the field showing F1 and type in TIL This was the format name we used
when configuring the display block
inputs.
3 Use the LEFT mouse key to scroll and change the Display This will display the input as a floating
Format to Float2 point variable with two places to the
right of the decimal point.
32
Application Builder Tutorials
DEFAULTS:
{ SCROLL_PRESSED:
CASE SCRLCNT OF
{ 0: /* WHEN SCROLL COUNT IS RESET TO
#LINE5 = "TI"; ZERO, THE TEXT TI WILL APPEAR
#LINE6.SRC = TI; ON LINE 5 AND THE TEMP VALUE ON
BREAK; LINE 6 */
1:
#LINE5 = "CJ"; /* WHEN SCROLL COUNT IS ONE THE
#LINE6.SRC = CJ; TEXT CJ WILL APPEAR ON LINE 5
BREAK; AND THE CJ VALUE ON LINE 5 */
}
}
}
2 Following the formats shown in the box above, type in the You do not have to include the text
display script EXACTLY as shown. which appears between /*...*/, these
are just remarks explaining what the
script does.
3 In the DOS editor at the top of the screen, select File, Save DO NOT change the name of the file
you are saving!!! It must remain
APPBLD.TXT since we are using an
“internal” not an “external” file.
4 Exit from the editor and return to the Display Block menu
33
Application Builder Tutorials
3 Click on the gray arrow box next to Edit Display List You are now in the MS-DOS editor.
5 Save the file and exit the Editor DO NOT change the name of the file!!!!
If, on compile, you receive errors such as “Cannot load .DLL files”, exit Application Builder
WITHOUT SAVING YOUR FILE. Restart Application Builder, load your file, and re-do the
changes you made since the last “save”.
Once you have compiled your database, download it to the instrument and test your
configuration. When you select the tag TI-123, the scroll key should scroll between the
measured temperature and the cold junction temperature.
An error will occur if a thermocouple input is not connected to the unit. The display (TI-123)
O
will read a temperature of 0.00 C for both the input and cj reading
34
Application Builder Tutorials
MOD 30ML
TOTALIZER LAB
2 Click on the Library icon and from the menu, select A new set of icons appears at the left,
Algorithms representing MOD 30ML algorithms.
3 From the new icons, select Totalizer block “TOT”, drag it You should now have a block on your
onto the screen and fix it in place screen called TOT.
6 Enter the tag name TOTAL in the Block Tag field The block now has the tag name
TOTAL.
35
Application Builder Tutorials
2 Move the cursor to the FY-100 block and select it A connection menu will appear.
3 Select R (Result) and drag the cursor into the middle of the A line appears attached to your cursor.
TOTAL block
4 Select the TOTAL block and select ANALINP from the There is now a line wiht an arrowhead
connections menu connecting the analog input function
block and the totalizer.
5 Press the right mouse key to return to EDIT mode
2 From the new icons, select the Digital Input block “DIM”, You should now have a block on your
drag it onto the screen and fix it in place screen called DIM.
5 Enter the tag name RESET in the Block Tag field The block now has the tag name
RESET.
8 Move the cursor to the RESET block and select it A connection menu will appear.
9 Select R (Result) and drag the cursor into the middle of the A line appears attached to your cursor.
TOTAL block
10 Select the TOTAL block and select RESINP from the There is now a line wiht an arrowhead
connections menu connecting the reset and the totalizer.
The process input value from the Input Function block will now be totalized and the signal from the Digital
Input 1 Switch will reset the totalizer.
36
Application Builder Tutorials
Follow the instructions below to construct the totalizer display. Use the screen printouts provided as a
reference.
2 From the new icons, select the Display block “DISP”, drag You should now have a block on your
it onto the screen and fix it in place screen called DISP.
37
Application Builder Tutorials
38
Application Builder Tutorials
39
Application Builder Tutorials
Once you have completed configuring and connecting the Display block, you must also remember to do the
following:
ACTIOND, 8, “????????”
{
0, “NONE”;
1, “RESET”;
2, “STOP”;
3, “RUN”;
4, “HOLD”;
}
In order for the operation of the action commands to work as desired the following script must be entered into
the display script of the display block ‘DISPTOT’.
DEFAULTS:
{ ACTIVE:
{
IF ACTION && !DELTA THEN
{ CMDINP = ACTION;
DELTA = 1;
}
3 Enter the display tag (“STEAMTOT”) to the Display List. This means the Totalizer display will
This must be entered exactly as it appears in the display be accessible from the fron face using
block’s “Display Tag” field. You must also use the the TAG key.
quotation marks (“ “) and semicolon (;) for correct syntax.
40
Application Builder Tutorials
Save the file as TOTDSPLY before you try to compile. Now, compile and download your configuration!
Scroll to the STEAMTOT display and read the totalized value on line 2. Line 5 will be showing ACT (action)
and line 6 will read NONE. By operating the up/down keys, line 6 will display the possible actions tht you can
choose. Select the action that you require and then operate the ENT key. Line 5 will then return back to ACT
and line 6 will read NONE. You are now ready to enter another action command if desired.
41
Application Builder Tutorials
42
Application Builder Tutorials
MOD 30ML
PROCESS ALARM DISPLAY LAB
In most process control applications, the user wishes to detect, view and acknowledge alarm
conditions from the front panel of the instrument. MOD 30ML provides extensive, flexible
alarm information which is completely configurable and extremely easy to define. This lab will
teach you how to define and display process and deviation alarms using the Process Alarm
Display blocks.
In this lab, we will add a high and low alarm to the PID loop you configured in the earlier lab.
Ensure you have loaded the file PIDDSPLY.
Using the Process Alarm Display blocks, defining the alarms and creating the displays are the
same activity.
3 From the library menu, select Algorithms A new set of icons appears at the left
of the screen, representing MOD 30ML
algorithms.
5 Drag the box onto the screen and fix it in place by clicking You should now have a block on your
the left mouse key. Click the RIGHT mouse key to return screen called PAD.
to edit mode. Move and size the block so it is in an
appropriate area of your screen.
3 Use the mouse to move to the Display Tag field, and type When the alarm page is displayed,
FIC-100 pressing the TAG key will
automatically take you to the operator
display for FIC-100.
43
Application Builder Tutorials
4 In the Line 1 Text field, type FIC-100 This is what will appear on the top line
of the alarm display.
5 In the Line 2 Text field, type FLOW HI This is the label that will appear on the
second line of the display.
6 Under the ALARM ACTIVATION section of the The alarm will activate (trip) when the
configuration screen, select the field next to Trip Cond. process value is greater than or equal
Press the left mouse key to scroll until the field reads to the trippoint.
Greater or equal
7 In the Trip Value field, enter 150 Since the flow is 0 to 200 GPM, the
alarm will trip at 150 GPM or 75%.
8 Use the right mouse key to scroll the Display Format field The numerical display of the alarm will
from “Float 6” to “Float 1” be floating point with one place to the
right of the decimal point.
4 Drag the cursor into the PALM_H block and select the A connection menu appears.
block
5 The only possible connection is ALARMINP (alarm input); You now have a line from the PID
select it block to the PALM_H block.
7 To check your connection, select the line, then click on the A message showing the source and
Query icon with the RIGHT key and select “Query destination of your connection
Connections”. When the connection line is highlighted in appears. If it is not correct, cut it and
green, click the left mouse key. repeat steps 1 through 5.
44
Application Builder Tutorials
Using the printouts provided, repeat this lab to configure a low process alarm with the
following characteristics:
45
Application Builder Tutorials
46
Application Builder Tutorials
MOD 30ML
EXPRESSION BLOCK AND SEQUENCE BLOCK
CONFIGURATION LAB
It is often necessary to cause a variable to ramp up, hold, and ramp down. In this lab we will
use a Sequence block together with an Expression block, to ramp the setpoint of the flow
controller configured in the previous lab to a target value at one rate, hold it for a certain
length of time, and ramp down again at a different rate.
For this lab, you will need to use the strategy we have built in preceding labs.
Load the file PIDDSPLY.
To the configuration built in preceding labs, add a Sequence compound with the following
steps:
01 OFF
02 READY
03 START
04 RAMPUP
05 HOLD
06 RAMPDN
07 END
This will control the sequence. You must also add an expression block to ramp up at 1 GPM
per second and ramp down at 0.5 GPM per second. You may use the screen printouts on the
following pages as a reference.
If you receive error messages such as “Cannot load .DLL” DO NOT SAVE after a compile!
Exit Application Builder, restart, load your strategy and compile again.
Do not download this strategy when you finish the lab. In the next lab, you will build a display
to operate the sequence.
47
Application Builder Tutorials
class1.sequence.sequence (SEQ1)
E: I1 is connected to invalid or nonexistent data
class1.sequence.sequence (SEQ1)
E: A name used is undefined (expr 1 (RUN))
W: There were compile errors.
I4 FY-100.R
I3 FIC-100.SPMS
STEP I1 I2 I5
I4 I8
I7 I1
R FIC-100.RSPI
I1 FIC-100.SP
48
Application Builder Tutorials
49
Application Builder Tutorials
50
Application Builder Tutorials
51
Application Builder Tutorials
52
Application Builder Tutorials
53
Application Builder Tutorials
54
Application Builder Tutorials
MOD 30ML
SUPERVISORY MESSAGE CONFIGURATION LAB
Applications sometimes call for setpoint ramping based on a remote signal or a trigger within
the logic. In this lab, you will configure Supervisory Message blocks to switch the flow
controller setpoint to Remote at the start of the sequence, and to Local at the end of the
sequence. When the setpoint is switched to Remote, the flow controller will receive its
setpoint from the Ramp block.
You will need to use the MOD 30ML strategy you configured in preceding labs SEQ2LAB.
Save your work as SUPMESG before you try to compile the database.
class1.sequence.sequence (SEQ1)
E: I1 is connected to invalid or nonexistent data
class1.sequence.sequence (SEQ1)
E: A name used is undefined (expr 1 (RUN))
W: There were compile errors.
55
Application Builder Tutorials
FIC-100.SPMS
SETENTRY
OUT2
SENDINP
SETENTRY
FIC-100.SPMS
56
Application Builder Tutorials
57
Application Builder Tutorials
58
Application Builder Tutorials
MOD 30ML
ADVANCED CONTROL DISPLAY CONFIGURATION
In this lab, you will create a display for the ramp sequence you created in the preceding labs.
Load the file SUPMESG made in the previous lab.
Use the screen printouts provided to configure the display block, display script and necessary
state tables.
Save the data base as RAMPLAB
Once you have configured, compiled and downloaded your strategy work through the
following instructions.
2 Adjust the process input to read 50 PSI Change the input signal source.
3 Adjust the local setpoint to read 50 PSI Use scroll key and up/down arrows.
4 Move to the RAMP100 display (TAG key) You will see that it is reading OFF and
displaying the Target setpoint value.
5 Start the sequence with the Auto key The sequence will display START and
the controller setpoint will change to
REM.
6 Use the scroll key until SP is displayed This will read 150 GPM.
7 Increase the input to above 76 PSI This will start the RAMPUP step and
the setpoint will be displayed as 200.0
GPM.
9 Press the scroll key to view the HOLD time At 1 min. The step will move to
RAMPDOWN.
10 Decrease the process input until the sequence step moves You now have 15 seconds to press the
to END Auto key to stop the sequence from
repeating.
59
Application Builder Tutorials
As you can see, the configuration (RAMP100) does not work as desired, even though the
data base compiled without errors. We therefore need to correct the configuration errors that
are present.
Repeat the previous testing. This time the setpoint will be displayed as 75 GPM and not 150
GPM as previous (Step 6 of the test procedure). This is the value defined in the RAMP
expression block as LLIM.
You may of noticed that in the RAMP100 display block (SEQDisp) - inputs sub menu, that
input 004 has a bar format of SPB that is not used. This setpoint can easily be added to the
RAMP100 display as a bar graph display.
Try adding the process variable and O/P bar graphs to the RAMP100 display. This will enable
you to view what is happening to the process whilst in the RAMP100 display rather than
having to toggle between them using the TAG key as before.
60
Application Builder Tutorials
TIME
STEP I2 I3
I5
FIC-100.SPMS
I7 I4 FIC-100.SP
I1 I8
I8
61
Application Builder Tutorials
62
Application Builder Tutorials
63
Application Builder Tutorials
64
Application Builder Tutorials
65
Application Builder Tutorials
66
Application Builder Tutorials
67
Application Builder Tutorials
StepD, 8, "????????"
{
1, "OFF";
2, "READY";
3, "START";
4, "RAMPUP";
5, "HOLD";
6, "RAMPDOWN";
7, "END";
}
CASE SCRLCNT OF
{0:
#LINE5 = “TM”;
#LINE6.SRC = TM;
BREAK;
1:
#LINE5 = “SP”;
#LINE6.SRC = SP;
BREAK;
2:
#LINE5 = “TRG”;
#LINE6.SRC = TRG;
BREAK;
}
}
}
68
PRODUCTS AND SERVICING
Controllers
digital display, electronic, pneumatic. Discrete single-loop and
multi-loop controllers which can be linked to a common display
station, process computer or personal computer.
Gas analyzers
Zirconia, paramagnetic, infrared, thermal conductivity.
The Company’s policy is one of continuous product
improvement and the right is reserved to modify
specifications contained herein without notice.
©1997 ABB Instrumentation