Professional Documents
Culture Documents
Take The Tedium Out of Writing Process Descriptions
Take The Tedium Out of Writing Process Descriptions
P
Michael J. Gentilcore, rocess engineers often must write a detailed process descrip-
Mallinckrodt, Inc. tion to guide the programming of a process control system.
This description delineates the specific sequence of steps
needed to make a batch, or to startup, run, and shutdown a
continuous operation. It also typically specifies alarms, inter-
locks, and safety-shutdown conditions and sequences.
The task of writing a detailed process description usually is quite te-
dious. Formal tags are necessary for procurement and proper identification
of motors, valves, and instrumentation. These tags, however, are hardly fun
to write, type, or proofread — and don’t give a complete picture of the true
purpose of the particular device.
Consider the following short process description:
< Discuss This Article! > 1. Start AG-218.
To join an online discussion about this article 2. Open XV-215-23.
with the author and other readers, go to the 3. Confirm ZSC-215-23 is not made.
ProcessCity Discussion Room for CEP articles
4. Wait until TI-215-03 is greater than 70°C.
at www.processcity.com/cep.
5. Close XV-215-23.
This description minimizes work for the writer, but sacrifices clarity.
Was a tank heated with a utility fluid or by a chemical reaction? Was XV-
215-23 in its safe fail position at the end of the sequence? Was this really
C Controllers O Open
M Motors D De-energize
V Valves N Name
the XV-215-23 valve or the XV- defining its name, and its arguments. space to highlight the basics of pro-
215-32 valve? Was there an open The goal is to write a sentence. gramming this function. Hopefully,
limit switch ZSO-215-23 that Remember the basic parts of a sen- your spreadsheet’s help menus can
should have been checked? The tence: subject, verb, and object. For supply additional explanation.
reader has no way of knowing. a process description, the subject The basic programming skills
Admittedly, this description always is “the computer control needed to write a SAY function are:
would make more sense with the system” and doesn’t need to be • Boolean, integer and string
relevant process and instrumenta- stated. So, our sentence reduces to: data types;
tion diagrams (P&IDs), plus a sym- verb, and object. But, which ob- • string (or text) functions, espe-
bol definition sheet. Even if the ject? We need to address a specific cially concatenation;
P&IDs were available, though, a object; therefore, let’s add an ad- • conditional and unconditional
reader would have to spend time to jective, and make our sentence: branching;
find each device mentioned in the “verb, specific, object.” • application object types, par-
description on the diagrams. A good name for our function is ticularly ranges; and
The description, of course, could WRITE. A better name is SAY, be- • calling functions.
be improved with additional, de- cause it has fewer letters. So, per- These allow programming an inter-
scriptive language — but this haps, the syntax of our function nal decision tree to return a sen-
means more work for the writer. could be SAY (Verb, Specific, Ob- tence via the SAY function. But,
So, how can we reduce the burden ject). While this syntax best illus- first, you need to establish a short-
on the writer and increase the clari- trates the intent of the function, I hand system for the words.
ty for the reader? Setting up a user- instead recommend SAY (Verb,
defined function in a spreadsheet is Object, Specific, OptionalText), The shorthand system
the answer. and will illustrate why. Creating such a system is pretty
I use Excel 97 as my spreadsheet simple. There are only two rules:
Creating software. Different versions of 1. Use a single letter for abbrevi-
a user-defined function Excel and other spreadsheet soft- ating a whole word or phrase.
Setting up the function starts with ware can implement the SAY func- 2. Don’t repeat a letter within a
understanding its basic goal, and tion. In this article, I only have set of objects, or a set of verbs.
Table 3. Verb Set for Motors Table 4. Verb Set for Indicators
Entry No. Prefix Suffix Valve Descriptive Name Fail Position Limit Switch Detail P&ID Reference
Note: FC = fail closed; FO = fail opened. Pink shaded area is named "Valves," and the tab sheet is named "Valves" .
First, develop a shorthand sys- This shorthand Table 6. Definition of Limit Switch Detail
tem for each of the objects, such as system also can be
controllers and valves, in a control used the old fash- Limit Switch Detail ZSC ZSO
system — fortunately, we need deal ioned way with a 1 Y Y
with only a limited number of these pencil and paper or
objects. Table 1 illustrates such a on a blackboard to 2 N Y
shorthand set, which, of course, can sketch out a se-
3 Y N
be easily expanded. quence of steps or a
Next, create a shorthand set of simple flowchart be- 4 N N
verbs associated with each object. fore actually gener-
Tables 2–4 show some verb sets for ating the final Note: ZSC = closed limit switch, ZSO = open limit switch;
Y = yes, N= no
different object types. spreadsheet docu-
Discrete inputs and outputs do ment. In this case,
not need the “optionaltext” argu- the previous examples could be writ- Don’t be stingy with informa-
ment. Continuous signals will use it ten: OV5, DM2, SI-4 35PSIG, and tion. Tables are easy to fill out, and
to pass a dimensioned number like WD-3. are independent of any control se-
35°C or 45 psig. Continuous sig- With the shorthand system in quence. The SAY function will do
nals also will require extra coding place and prior to programming the the work of delivering the informa-
for “less than” or “greater than.” SAY function, you now must orga- tion to the final process description.
This additional coding is easily nize the specific object information. You will save time in the long run
combined into the specific, with a Every specific object will need to by having a document that reduces
negative meaning “less than.” For have its own table in the spreadsheet. the need to relook at the P&IDs.
discrete inputs, the negative can It is best to devote a single sheet to In Table 5, the limit switch de-
mean “is not.” each. Table 5 shows an example for tail number determines if the valve
Let’s illustrate a few shorthand valves. Name the sheet after the ob- has open or close limit switches —
examples: ject, in this case, “Valves.” Also, the numbers are defined in Table 6.
Say (“O,” “V,” 5) name the range of the table contain-
Open Valve No. 5. ing the object information (the pink The SAY function
Say (“D,” “M,” 2) shaded area in Table 5). Here, we also If you have Excel 97, press the
(De-energize and) Stop Motor No. 2. use “Valves” as the range name. “ALT” and “F11” keys. Welcome to
Say (“S,” “I,” -4, “35 PSIG”) The table should include all avail- the Microsoft Visual Basic Editor.
(See that) Indicator No. 4 is less able information supplied on the Select “Insert a module.” Enter the
than 35 psig. P&ID. This includes the formal tag, code for the SAY function. Table 7
Say (“W,” ”D,” -3) fail position, and limit switch detail. details the code for the function,
Wait until Discrete Input No. 3 is Finally, add a descriptive name for which, in turn, calls specific object
not made. each device. functions for valves, motors, etc.
A B C D E F G
13 ENDIF