Application Module Control Functions
Application Module Control Functions
Control Functions
AM09-502
Implementation
Application Module - 1
Application Module
Control Functions
AM09-502
Release 530
5/97
Copyright, Trademarks, and Notices
TotalPlant and TDC 3000 are U.S. registered trademarks of Honeywell Inc.
This is a reference manual for process engineers, control-system engineers, and application
engineers who design and implement data-acquisition and control strategies to be
accomplished through a TPS System with a Local Control Network. This publication
defines the control functions in the Application Modules (AMs).
This publication is part of a set of publications that define control-system functions. The
other members of the set are
Change bars are used to indicate paragraphs, tables, or illustrations containing changes
that have been made to this manual effective with release 530. Pages revised only to
correct minor typographical errors contain no change bars.
1 REFERENCES
1.1 References
2 AM CONTROL FUNCTIONS
4 CONTROL-LANGUAGE SUPPORT
INTRODUCTION
Section 1
This section provides references to other publications that are useful or necessary in
implementing control system functions.
1.1 REFERENCES
This manual describes the data-acquisition and control functions that reside in Application
Modules (AMs). The following are companion publications:
AM CONTROL FUNCTIONS
Section 2
This section defines the data-acquisition and control functions, other than data-point functions,
that are accomplished in AMs. The data-point functions are defined in Section 3.
These are errors detected in communications on the Local Control Network. They are most
likely associated with the failure of a module or gateway. When a communication error is
detected, processing of all data points is delayed for one cycle (0.5 sec.). If the error
persists for the next cycle, the value status of the data points that are affected changes to
bad, and point processing, even with the bad data, continues. In this situation, the values
in the parameters with bad data can't be changed and a system alarm is generated.
Figure 2-1 is a flow chart of the handling of seven conditions that can cause bad PVs. The
following is a summary of each of these situations:
• CVB Overflow in the AM—This error occurs if the current-value buffer (CVB) in the
AM is full and can accommodate no more prefetched or poststored data (see 2.3 in
Application Module Implementation Guidelines).
• LCN Communication Error—The PV value status for a point has changed to Bad
because of an LCN communication error, as described under 2.1.1.
• UAC Switchover—The PV value status for a point has changed to Bad because an
Uninterruptible Automatic Control (UAC) switchover on a Data Hiway has occurred,
and the AM was fetching the PV during the switchover (a UAC switchover is the
switching of control from a CB, MC, or EC to its reserve controller).
• Node Failure—The PV value status for a point has changed to Bad because the node
the value was fetched from has failed.
Note that the flow chart shows that if the PVSOURCE parameter for the point with the bad
PV contains Auto, bad-control alarms for this point are not distributed. If PVSOURCE
contains Man (manual) or Sub (substituted PV), the bad-control PV alarm is distributed.
• Software error
• Communication error
• Configuration error
• Value storage failed
• Value stored with an error
• Range error
• Key-level error
Software errors should be very rare, but if they occur, you will need assistance from
Honeywell. When a software error is detected, the module in which it was detected, is
automatically shut down.
These are caused by a missing data point or a missing parameter, or caused by an incorrect
parameter or some other incompatibility (including off-LCN data access security
violations). When a configuration error occurs, an attempt to read a missing parameter
results in a bad-value status (except for general input connections, see 3.1.4.4) and an
attempt to write in a missing parameter is inhibited. In both cases, a configuration alarm is
generated.
Intermittent Comm.
CVB Overflow UAC Switchover Error Looks Like UAC
in AM Switchover Value for a
Required
PV-Algorithm
PV Input Send "Switchover" No "Box Failure" Coefficient is Bad
Value = NaN Message to the Indication Is Sent to the
Affected Console Affected Console
Send "Switchover"
PVSOURCE = Auto and
Message to the
PVAUTO Out of Range
Affected Console.
and Not Clamped
Does PVSOURCE Y
for e Suppress Distribution
this Point = Auto? s of Bad Control Alarms
for this Point
No
End
1928
When an attempt to write in a parameter is successful but the data was changed in some
way, such as by clamping action, an error indication is generated but, in general, standard
control functions don't act on such an error. The error indication is accessible to CL
programs, and corrective action could be taken by a user-written CL program.
A key-level error is caused by an attempt to store into a parameter that cannot be written to
with the access key presented.
When a value in a parameter is NaN, the value status transferred over input and output
connections is "bad" (except for general input connections, see 3.1.4.4). Also,
• Input connections do transfer bad values (except for general input connections, see
3.1.4.4).
The flow chart on Figure 2-2 shows how the AM detects a failure of another node (module
or gateway) that the AM communicates with as it is processing data points. If such a node
fails to provide or to accept data for a full second, the AM assumes a node failover is
occurring, and stops processing long enough for failover to occur (4.5 seconds) before
retrying the request. This suspension of point processing can be referred to as the AM
"hold your breath" philosophy, and results in accepting a permanent 5 to 5.5-second slip in
the point processing schedules. No attempt is made by the point processors to make up for
this lost time.
AM detection of failed
nodes Note:
If the system recognizes a node as
failed (FAIL on Node Status display),
the initial request to that node is not
Make an LCN request for: made.
1) stores from previous1/2-sec cycle.
2) fetches for next 1/2-sec cycle.
Yes
After 3.5 seconds
more, retry the stores
and fetches.
Wait for the data one
more 1/2 second.
Y
e Did the data transfer
Y Did the data transfer within 1/2 second?
s
e within 1/2 second?
s No
No
End
The "hold your breath" path in the flow chart shows that if this path has been taken more
than a system-specified number of times, a "hold your breath" alarm is distributed. On
each pass, the AM attempts for a total of 4.5 seconds to recover the data transfers and if the
data doesn't successfully transfer in that period, the AM resumes processing with bad-
value status for any data needed from the failed node.
If a communication error occurs when a general input to an AM point is fetched, the general
input isn't stored in the point, the status for this general input goes to Commerr, but no
alarm is distributed for this condition.
AM data points are processed at configured intervals from once each second to once each
day, thus tailoring the processing rate to the dynamics of the process and allowing a
reasonably even distribution of the processing load.
To schedule a AM regulatory data point, do the following as you configure the point:
1. Assign a scheduling period from the periods that appear on the point-builder display,
or configure event-driven processing. Events can include an operator request, a
request from a user-written program, or a request from another data point. Unless
you have specfied that the point is to be processed by the internetwork (IPP)
processor, the scheduling period that you select will determine to which processor the
point is assigned. Selection of 1 second through 2 minutes selects the fast-point
processor (FPP). Selection of 1 "slow" minute (1S Min) through 24 hours selects
the slow-point processor (SPP).
2. You can specify that the point be processed before or after a point that has already
been scheduled. Note that before/after processing between points assigned to
different processors is not allowed.
3. You can assign the point to a processing cycle, or you can allow the system to assign
the cycle on which the point executes. Points that have not been assigned to be
processed before or after another point, and that have no user-configured cycle
assignment, are automatically assigned to the least-loaded processing cycle.
The processing-cycle assignment and before/after assignment are mutually exclusive:
either one or the other can be configured for a point, but not both.
Application Modules have three data-point processors: the fast processor (FPP), the slow
processor (SPP) and the internetwork processor (IPP). The fast processor has a higher
priority than the other two processors, and these processors can consume up to 70% of
each processing cycle. The remaining time is available for Background CL programs and
other AM processing functions.
The internetwork processor can be used for access of data on remote LCNs through the
Network Gateway. (Note that background CL programs can access remote data regardless
of the point's processor assignment.) Points can only be assigned to the internetwork
processor if IPP has been enabled during configuration of that AM. IPP points do not have
overlapped prefetch/poststore processing. The FPP/SPP processors process cycle n while
fetching for cycle n+1 and storing for cycle n-1. The IPP processes cycle n, and then waits
for both the cycle n stores and the cycle n+1 fetches to complete before it processes cycle
n+1.
Because of its higher priority, points assigned to the fast processor are processed more
nearly on schedule than those assigned to the other two processors. Points assigned to the
fast processor are scheduled to execute within a given one-half second. Points assigned to
the slow processor are scheduled to execute on a particular one-half second within a given
minute. A 5-second leeway is allowed for actual execution of the point from the assigned
one-half second.
IPP processing and data accessing is independent from the FPP/SPP and is considered less
time critical. Note that timer and counter data points on the IPP cannot be expected to count
time accurately. Use FPP/SPP instead.
Point-processor loading is effectively balanced across the minute. Thus, if there are 120
one-minute points assigned to the slow processor, each one-half second one of these is
executed, so that by the end of the one-minute period, all 120 points have been executed.
The 8-, 12-, and 24-hour points are scheduled to execute within the first minute of the
appropriate hourly period, as specified by the cycle assignment.
When the fast processor has work to do, it interrupts the SPP or IPP after processing for
the current point is complete (background CL programs are interrupted immediately). Once
one of the processors begins processing a point, it continues to completion. Thus, if a
point with a large foreground CL block is assigned to the slow processor, it could cause the
fast processor to be delayed. If a processor is delayed, it tries to catch up.
Parameters are available in the AM processor-status point that can be configured to cause
the AM to generate an alarm (FPP/SPP/IPP) or to fail (FPP/SPP only) if a processor is
excessively delayed (see Section 22 in the Engineer's Reference Manual).
Data points processed by the data point processors are assigned to processing periods. The
processing periods are as follows:
• Fast Processor – 1 Sec, 2 Sec, 5 Sec, 10 Sec, 15 Sec, 30 Sec, 1 Min, and 2 Min.
• Slow Processor – 1S Min, 2S Min, 5 Min, 10 Min, 15 Min, 30 Min, 1 Hr, 8 Hr,
12 Hr, and 24 Hr.
• Internetwork Processor – 5 sec, 10 Sec, 15 Sec, 30 Sec, 1 Min, 2 Min, 5 Min, 10 Min,
15 Min, 30 Min, 1 Hr, 8 Hr, 12 Hr, and 24 Hr.
The periods on the fast and slow processors overlap each other (1 Min is on the fast
processor and 1S Min is one minute on the slow processor), thus, providing some
flexibility in period assignments. The accuracy of the actual processing period depends on
the processor to which the point is assigned and the time when the preceding point was
processed.
Points are processed within timing tolerances that assure the accuracy of dynamic control
calculations by algorithms such as PIDs and Lead-Lag algorithms.
• Partial processing that occurs for these specific functions (PPSTYPE indicates
which)
These are internal functions and they occur as a result of some other activity,
such as an operator changing the OP value while in MANual mode.
After selecting the processing cycle, you can let the system determine the least-loaded cycle
on which to schedule the point for processing. This option is selected when you build an
AM point, by entering "No" in parameter BEFAFT, or by entering "Cycle" in BEFAFT
and entering -1 in NORMCYCL.
The system maintains loading information in a loading array that consists of 240 "load
intervals" for points with fast periods, 60 load intervals for points with slow-minute
periods (1S Min through 1 hr), and 24 load intervals for points with slow-hourly periods
(8 hr, 12 hr, and 24 hr). Each load interval contains the number of points scheduled to
process for all periods whose cycles are associated with that load interval. For example,
slow-hourly load interval number 20 contains the number of points scheduled with an 8-hr
period on cycle 4, a 12-hr period on cycle 8, and a 24-hr period on cycle 20. Refer to the
following chart:
Load
Interval Points Loaded on the Interval Per Cycle
To determine the least-loaded cycle to which the point should be assigned, the system
compares the load intervals for the point's unit and period group (fast periods, slow-minute
periods, or slow-hourly periods). To select the cycle within the period (for example, cycle
0, 1, 2, or 3 of a 2-sec. period), a trial calculation is made to determine the maximum
interval load associated with that particular cycle, by comparing the load intervals in which
the point would be scheduled. The cycle that corresponds to the minimum of these trial
loads is selected as the least-loaded. For example, a point with a 1-sec. period can be
assigned to cycle 0 or to cycle 1. The maximum loading of the 120 even-numbered load
intervals is compared to the maximum loading of the 120 odd-numbered load intervals, and
the cycle that corresponds to the minimum of these two numbers is selected.
In assigning a point to a cycle, the algorithm that determines the least-loaded cycle
considers the following variables:
• This point's unit, only (loads for other units on the same processing cycle are
ignored).
Data points that require a certain relative processing order can be assigned a before/after
relationship. You can configure either a before or an after relationship to establish the order
of point processing. Such order is important when a point needs up-to-the-moment data
from another point.
Points that have before/after assignments are processed in the specified order in the same
one-half second if on the fast process or in the same 5-second period if on the slow
processor. If point A is before point B, and point B is before point C, then points A, B,
and C are processed in A, B, C order.
Such schedules are used in cascade control strategies to assure proper propagation of
information. Two or more points with before/after relationships to each other are defined
as a "before/after set."
1. All points within a before/after set must be assigned to the same processor (FPP,
SPP, or IPP).
2. The processing period of every point in a before/after set must be some multiple of
the period of the fastest point in the set.
5. All points in a previously loaded before/after set must be rebuilt if any of the set is
rescheduled.
In some cases you may want to load processing cycles yourself. To do this you need to
understand what cycles are available for each processing period.
On the fast processor, each cycle effectively occurs at each half-second, thus, for the 1–
sec. period there are two cycles: 0 and 1. For the 2-min. period, there are 240 cycles (0
through 239). The other processing periods follow this pattern. If you assign a point to
cycle 1 of a 1-sec. period, that point will be executed every other cycle, starting with the
second half-second after the AM starts up. For example, if point A100 is assigned to cycle
1 of a 1-sec. period, it is processed as indicated by this diagram:
A100 A100 A100 A100 A100
Period Cycles
1 Sec 0, 1
2 Sec 0, 1, 2, 3
5 Sec 0, 1, . . , 9
10 Sec 0, 1, . . , 19
15 Sec 0, 1, . . , 29
30 Sec 0, 1, . . , 59
1 Min 0, 1, . . , 119
2 Min 0, 1, . . , 239
Period Cycles
1S Min 0
2S Min 0, 1
5 Min 0, 1, 2, 3, 4
10 Min 0, 1, . . , 9
15 Min 0, 1, . . , 14
30 Min 0, 1, . . , 19
1 Hr 0, 1, . . , 59
8 Hr 0, 1, . . , 7
12 Hr 0, 1, . . , 11
24 Hr 0, 1, . . , 23
Period Cycles
5 Sec 0
10 Sec 0, 1
15 Sec 0, 1, 2
30 Sec 0, 1, . . , 5
1 Min 0, 1, . . , 11
2 Min 0, 1, . . , 23
5 Min 0, 1, . . , 4
10 Min 0, 1, . . , 9
15 Min 0, 1, . . , 14
30 Min 0, 1, . . , 29
1 Hr 0, 1, . . , 59
8 Hr 0, 1, . . , 7
12 Hr 0, 1, . . , 11
24 Hr 0, 1, . . , 23
If a point processor can't complete the processing of all of the points on a processing cycle,
processing of all the points in the overloaded cycle is completed and the AM tries to catch
up in succeeding cycles.
If processing is late by more than the number of cycles specified by the user in processor
status data-point parameter AMOVRABT, the AM fails.
When behind, the IPP uses a technique for catching up that processes some "next cycle"
points on the current cycle. This can result in the skipping of duplicate executions of
higher frequency points. The difference between the number of scheduled cycles and the
number of actual "fetch" cycles represents the count of skipped executions during catchup
periods. The point's PSDP parameters IPPRCYCC and IPPRCYCP give this information.
You can use the AM schedule dumper to print or display a report that provides cycle-
loading and schedule information of the points in an AM unit. To do so, refer to
subsection 5.1 in Application Module Implementation Guidelines.
With Release 510 and later software, an Associated Display can be configured for each AM
point by entering the name of a custom built schematic in the ASSOCDSP parameter. The
name of the custom schematic can be up to 8 characters long. At operating time, by
pressing the ASSOC button, the associated custom schematic can be called up from a Point
Detail Display, Group Display with a point selected, or any Summary Display with a point
selected.
The ASSOCDSP parameter can be defined in the DEB at build time, or it can be changed
from the DEB's Alter_ Parameter function, the Detail Display, Schematics, or CL/AM.
The Access Lock for the ASSOCDSP parameters is Engineering.
See 4.3.1 in System Control Functions for general discussions of process alarms. In
addition to the alarm types described below, the AM also detects the alarm types defined
under 4.3.1.8 in System Control Functions.
Process Alarm detection occurs as individual data points are processed in normal point
processing.
Alarm trip points are user-configured values. When a monitored variable exceeds the trip
point, an alarm is generated.
In AMs, you can configure the trip point as NaN—not a number. When an alarm trip point
is defined as NaN, the trip-point test is not performed, the corresponding alarm flag is
changed to false, and the alarm-transition flag is changed to "no transition."
For Regulatory data points and Counter data points in AMs, a deadband is configured for
each data point. The deadband is specified as a percentage of the PV range or as an
engineering-unit value. The deadbands reduce nuisance alarms that can occur when a PV
varies around the trip point.
Parameter PVALDB is configured with one of the following values: Half, One, Two,
Three, Four, Five, or Eu. The values Half through Five specify the deadband in percent of
the engineering-units range. The value Eu indicates that parameter PVALDBEU contains
the deadband value in engineering units.
The deadband effects the return-to-normal. Alarms are generated when the PV increases
through the trip point and the return-to-normal indication occurs when the PV returns
through the trip point and the deadband. Deadband values default to 1.0%.
An advisory-deviation alarm is generated when the absolute value of the difference between
the PV and the advisory setpoint exceeds the advisory-deviation trip point. The advisory-
deviation alarm return-to-normal is generated when the absolute value of the difference
becomes less than the trip point plus the deadband value. The alarm priority parameter for
the advisory-deviation alarm is ADVDEVPR. See 3.1.6.3 and 3.1.7.
A bad-control alarm is generated when control processing results in CV = NaN (CV is the
calculated value from control processing). This occurs if any control input or PV is NaN.
When the NaN input returns to normal, the point is initialized and a "bad-control return-to-
normal" indication is generated. The alarm priority parameter for this alarm is
BADCTLPR, and it is available on Counter and Regulatory points.
When the PV input to a data point is NaN, a bad-PV alarm is generated and other PV-
related alarms are not detected. Until the PV returns to normal, the last state is maintained
and the alarm transition flags are in the no transition state.
Other aspects of the AM's handling of bad PVs is provided under 2.1.2.
These alarms apply to only AM counter data points. A pre-preset alarm is generated when
the accumulation value is equal to the preset (accumulation target) value, minus a user-
defined accumulation deviation-one target value.
The alarm priority parameter for the pre-preset alarm is PRPRSTPR, and the alarm priority
parameter for the pre-pre-preset alarm is PPPRSTPR. See 3.3.7 for additional
information.
AM switch data-points provide parameters that can be used with CL/AM programs to create
custom process alarms. These parameters are SALMFL1, SALMFL2, and SALMFL3,
and the corresponding alarm priority parameters are SWALM1PR, SWALM2PR, AND
SWALM3PR. See 3.7.3 for additional information.
All alarms for all data points in a process unit can be enabled, disabled, or inhibited at once,
by a Universal Station operator. These unit-based alarm-state changes override the
enable/disable/inhibit states for the individual data points.
Contact cutout is a state in an alarmable point in which alarms are “cut out” (not reported).
The main purpose of the contact cutout function is to prevent a proliferation of alarms from
being reported to the operator, which could occur when a critical failure causes a number of
related alarms in other points. In the AM, the contact cutout state is determined by the
CONTCUT parameter, which is available in all alarmable points (all points execpt
numeric). This parameter is a logical type with a values of On or Off. This parameter can
be written to from CL to turn the contact cutout state on or off. The CONTCUT parameter
cannot be accessed from the Data Entity Builder (DEB) or from schematics.
The AM regulatory, counter, and timer points also have a configured contact cutout input
connection that can control CONTCUT and thereby turn the contact cutout state on or off.
This involves two parameters, CCINPT and CCSRC. CCINPT (Contact Cutout Input
required) is a Yes/No enumeration which, if set to Yes, causes a data entry box to appear
on the Parameter Entry Display of the DEB, requiring the entry of the point.parameter
CCSRC (Conatact Cutout Source). The source point.parameter entered here must be of
type logical (On/Off). As an example, the Point-in-Alarm paramater (PTINAL) of a point
(primary) could be entered as the Contact Cutout Source (CCSRC) in one or more other
points (secondarys).
An NCF option (new in R500) allows the user to select how existing unacknowledged
alarms are handled on the US Alarm Summary display when a point goes into the contact
cutout state. A choice of two options is available.
• CLEAR IMMEDIATELY—Clears all of the points unacknowledged alarms from the
Alarm Summary.
• CLEAR WHEN ACKED—Leaves unacknowledged alarms on the Alarm Summary,
but backlights the time stamp. Clears the alarms when they are acknowledged by the
operator. This is the default conditon.
When a point goes into the contact cutout state, the following actions take place:
• All of the point’s acknowledged alarms are cleared from the Alarm Summary display.
• Depending on the NCF alarm summary option selected, one of the following
happens:
- All of the point’s unacknowledged alarms are cleared, or
- The time stamps on all of the point’s unacknowledged alarms are backlighted, and
the alarms are cleared when they are acknowledged by the operator.
• Any new alarms detected are not displayed on the Alarm Summary display. Cutout
alarms are not journaled, but continue to to be reported to the AM for event initiated
processing (EIP). A Contact Cutout True message is journaled for points in alarm.
When contact cutout is removed and the point is in alarm, the AM will redistribute the alarm
with the following results:
• If the alarm is displayed on the Alarm Summary display, the backlighting is removed
from the time stamp of the alarm, and the time stamp is changed to the time that
contact cutout was removed. If the alarm is not displayed on the Alarm Summary, a
new alarm message is displayed.
• A Contact Cutout False event is journaled.
When a point returns to normal from an alarm while in the cutout state, and then goes out
of the cutout state, the following actions take place:
• Backlighting is removed from the time stamps of the point’s unacknowledged alarms
on the Alarm Summary, and the priority indicator is backlighted indicating that the
point returned to normal. The alarms will be cleared when acknowledged by the
operator. (The priority indicator is a single character (E, H, or L), or optionally a
symbol, that indicates whether the alarm was Emergency, High, or Low. It is located
in the column just to the right of the time stamp.)
• A Contact Cutout False event is journaled.
Any type of LCN point can be used as a Primary Module Point. All LCN points have a
PRIMMOD parameter except for UCN component and CG points. There is no limit to the
number of points that can be grouped under a primary module point.
Use the following guidelines when assigning points to a Primary Module:
• The PRIMMOD default is null (underscores “_” or dashes “–”).
• The PRIMMOD value of an AM point can be any valid local LCN point.
• The PRIMMOD value of a UCN point must be a point in the local NIM.
• The PRIMMOD value of a Hiway point must be a point in the local HG.
All alarmable AM points have these new $MPROD parameters. This functionality does not
apply to the HG, NIM, or CG.
2.4 MESSAGES
Messages generated by Application Modules are 1-way messages that may or may not be
acknowledged by the message receiver. Messages in the AM are originated by CL Blocks.
Messages are distributed to Universal Stations at the end of each point-processing cycle in
the same way as alarms. The messages are sent to the Universal Station(s) that the unit
containing the point is assigned to. Each message also contains a time indication, the point
tag-name, and the unit ID.
External mode switching (EMS) is typically used to establish mode interlocks or, under
certain process conditions, to restrict the use of a mode that invokes a higher level of
control.
Each regulatory data point has these three logical parameters that are used in EMS:
ESWMAN, ESWAUTO, and ESWCAS. They correspond to MAN, AUTO, and CAS.
General input connections or general output connections can be used to change these
parameters from other data points.
When one of the first two options is configured, the function can be enabled or disabled by
the operator or by a user-written program (with ESWENBST). Mode changes made this
way have no effect on the mode attribute of the data point or on the normal mode and
normal mode attribute of the point. When a mode change is made, the last values of the
normal mode and normal mode attribute parameters stay in effect.
When mode switching is enabled, the operator and the system functions are prevented from
changing the mode of the data point and the mode is determined by the ESWMAN,
ESWAUTO, and ESWCAS parameters, as indicated on Table 2-1.
The principle use of mode permissives is to restrict mode changes, under certain process
conditions, that lead to a higher-level of control (e.g., AUTO to CAS), or to cause a shed
to a lower-level mode (e.g., CAS to MAN). When MODPERM contains Enabled, the
status of EMS parameters ESWMAN, ESWAUTO, and ESWCAS affects the modes as
shown in Table 2-2.
The following system events can be reported on the LCN for each AM:
• AM Failure—Indicates that the AM is no longer available for data acquisition, control,
or event-reporting.
• AM Startup—The AM is being restarted; it may not yet be available for data acquisition,
control, or event reporting, but once requalified and running, it will be.
• Point-Processing Schedule Overrun—Point-processing schedules are not being met
within the tolerances specified under 2.2.1.1. See 2.2.1.6 for additional information
about schedule overruns.
Restarting an AM consists of loading the on-process personality (.PI files), the network-
configuration files (NCFs), and the database (checkpoint files). The restart is requested by
an operator at a Universal Station, through the AM Status display (see the Process
Operations Manual). The files to be loaded can be on floppy disks, or they can be in a
History Module.
NOTE
You must determine the type of restart to use based on the situation that exists at the time.
The factors that will influence your decision are the length of time since the last checkpoint,
the requirements and characteristics of your process (especially the volatility), and the
characteristics of each type of restart. Subsections 2.7.2 through 2.7.5 give the
characteristics of the four restart types.
The database is organized by process units. When checkpointing for a unit starts, all
activity for that unit stops. This assures that the checkpointed data is a "snapshot" of the
data at the time the unit activity stopped. The checkpoint file for each unit includes a record
of that time. You can determine the time of the last AM checkpoint at the AM Status
display, by selecting an AM node, selecting AUTOLOAD NET, selecting MANUAL LOAD,
and then selecting CHKPNT TIME.
NOTE
If you use the AUTOLOAD NET or the AUTOLOAD LOCAL targets to inititiate an AM reload and
restart, the load type targets (hot, warm, cold, etc.) do not appear automatically. The load type
will be the default that is configured in the NCF. If you use AUTOLOAD NET, an OVERRIDE
DEFAULT target appears. Selecting the OVERRIDE DEFAULT target brings up the load type
targets (hot, warm, cold, and no point process,) allowing you to override the NCF default load
type.
NOTE
The following descriptions of cold, warm, hot, and no-point processing restarts assume that
the files mentioned under 2.7 have been reloaded into the AM before the restart occurs, or
that they were retained in the AM during the time it was "off-process."
• Primary data points in the AM that have a secondary in a PM, LM or a box on a Data
Hiway go into initialization (SPC or DDC control of the secondaries doesn't
automatically resume). During the first processing pass for each such AM point, the
AM turns off the "remote cascade" request in its process-connected secondary points.
A Universal Station operator must then put each process-connected secondary in CAS
mode to reestablish control from the AM.
• All alarms are cleared from the AM database and from the Universal Station displays.
As point processing resumes, any alarms detected are reported to the Universal
Station(s) as new alarms.
• The value status for each AM PV is changed to Bad. During the first processing pass,
the PV is recalculated. This may result in momentary Bad PV alarms for points whose
PV inputs are received from other points that have not yet been processed.
• On the first processing pass, all points that use control processing go through
initialization, and then resume normal processing on subsequent passes.
• On the first processing pass, AM points that have secondary points in a PM or a box on
a Data Hiway are initialized and change their secondaries' mode to CAS if the
secondary has an outstanding "remote cascade" request. SPC or DDC control of the
secondary points in process-connected boxes resumes on the second processing pass.
• All existing alarms are retained in the AM's database and on Universal Station displays.
As point processing resumes, these alarms are not reported, and if they have returned to
normal they are taken off the displays.
• All PVs remain at their checkpointed values. During the first point-processing pass,
PV initialization takes place, and normal PV processing resumes on subsequent passes.
• On the first processing pass, all points that use control processing go through
initialization and resume normal processing on subsequent passes.
• On the first processing pass, SPC or DDC control of secondary points in PMs or boxes
on a Data Hiway is resumed without initialization. If such a secondary point has an
outstanding "remote cascade" request, its primary in the AM changes the secondary's
mode to CAS. The CV of the primary in the AM is adjusted to the initialization value
received from the secondary if the control algorithm in the AM has a floating output
(PIDs do). On subsequent processing passes, the AM points receive normal
processing.
• All existing alarms are retained in the AM's database and on Universal Station displays.
As point processing resumes, these alarms are not reported and if they have returned to
normal they are taken off the displays.
• All PVs remain at their checkpointed values. Normal PV processing takes place on the
first pass and subsequent passes.
Regulatory data points are used to control analog process variables by maintaining the
variable at a setpoint value, with as little deviation as possible. Regulatory data points, by
themselves, or in combination with other regulatory points, act as controllers that
manipulate a process element, such as a valve, to maintain the process variable at the
desired value.
The major functions of an AM regulatory point are presented in Figure 3-1. On that figure,
PV processing and control processing are the most significant. AM regulatory points can
be configured to use either standard PV and control processing, or you can attach user-
written programs to these points, in the form of CL Blocks, to customize the points'
functions. General input (GI) and general output (GO) connections are also available to
help customize the operation of these points.
The main purpose of PV processing is to calculate a process variable (PV) and to check the
results against configured alarm limits. An example of PV calculation is mass
compensation of a flow value read from the process to yield a PV for more precise flow
control. Input value(s) from the process or from other data points are obtained through
PV-input (PI) connections.
The main purpose of control processing is to calculate an output value (OP) that drives a
valve or serves as an input to another (secondary) data point. Inputs from the process or
other data points are obtained through control input (CI) connections. The output value is
sent to one or more secondary points through a control output (CO) connection or
connections. If the output drives a valve, it does so through an HG regulatory or analog
output point, so in this sense, AM CO connections always go to a secondary data point.
A contact-cutout feature stops the reporting of alarms to the Universal Station under certain
circumstances (alarm-history collection continues). An AM-regulatory data point can
accept one contact cutout-input (CC) connection from a point that dictates whether alarms
are cutout or not.
General input (GI) connections and general output (GO) connections are used to exchange
information between data points. CL blocks can be attached to AM regulatory data points
and executed at any of several insertion points in the processing sequence. They can be
used to take special actions, such as alarm actions, and they can perform special
calculations or logical operations. Custom PV algorithms and control algorithms can be
developed through the use of the CL PV algorithm and the CL Control algorithm.
PI PV
PV
Connections PV Value Status
PROCESSING
PV Alarms
Alarm Transitions
GI GO
Connections Connections
CONTROL
CI Control-Output
PROCESSING
Connections (CO) Connections
ALARM
CC DISTRIBUTION Alarm Reports
Connections PROCESSING
• NotConfig The point is being loaded into the AM by the Data Entity Builder. This is
a temporary state. When loading is complete, the state automatically
changes to Inactive.
• Inactive The point is not being processed. All of the parameters needed to define
the structure of the point are present, but some other parameter values can
yet be specified. Some configuration parameters can be changed only in
this state.
When the point's state changes from Active to Inactive, the value status
for PVCALC, PVAUTO, and CV are changed to Bad, all alarms are
cleared, and, if one or more control-output connections is configured, the
control initialization state indicated by INITMAN changes to On. If
PVSOURCE contains Subs or Auto, the PV value status is changed to
Bad.
• Active The point is fully configured and is being processed as scheduled. This is
the normal operating state. When the state changes from Inactive to
Active, the point is subjected to one initialization pass before resuming
normal processing.
The major steps in processing an AM regulatory data point are shown in Figure 3-2. All of
these steps can be taken, if the point is so configured; however, if a standard or user-
written PV algorithm isn't configured, PV processing won't take place, and if a standard or
user-written control algorithm isn't configured, control processing won't take place.
Between most of the processing blocks in Figure 3-2, "*----" is shown to indicate points
where CL blocks or CL switches can be inserted. The PV calculation can be the use of a
standard algorithm or it can be the use of a user-written algorithm—an algorithm written in
CL. Likewise, the control calculation can be the use of a standard or a user-written (CL)
algorithm.
Figure 3-2a shows the processing sequence for AM regulatory points. It can be used to
determine the relative order in which decisions and calculations are made.
PRE_GI PRE_CTPR
*
*
PRE_PVPR *
Control
PV Input
Input PST_GO
Processing *
Processing
PRE_PVAG * * PRE_SP
Target Value, or
PV_ALG Alarm
PV Advisory
* Distribution
Calculation Deviation Alarm
Processing
Processing
PST_PVAG *
Deviation * BACKGRND
PV Filtering
Alarm
and Range Check
Processing
PST_PVFL * * PRE_CTAG
Control
PV Source
Algorithm * CTL_ALG
Selection
Calculation
PRE_PVA * * PST_CTAG
* CL Block
Control Insertion Points
PV Alarm
Output
Processing
Processing PST_CTAG, etc.,
are insertion-
point names.
PST_PVPR * *
PST_CTPR
Null
General
Start Inputs PVALGID Å
* * PV *
PRE_GI PRE_PVR PST_PVPR
≠ Null Proc'g
See
"PV Processing."
Null
General
Å CTLALGID End
Outputs
* Control * *
PRE_CTPR PST_CTPR PST_GO
≠ Null Proc'g
Processing Overview
(Continued)
(Continued) ≠ CL PV
Algo
Proc'g
PV Filter
Start PVALGID and Range B
Inputs
Check
* *
PRE_PVAG PST_PVAG
CL
*
PV_ALG
PST_PVFL PRE_PVA
* *
Source PV
B End
Selection Alarming
PV Processing
(Continued)
(Continued)
PVFLTOPT
OK
PVAUTO
OK = PVCALC
PVINIT End
= Off
Single Lag
Clamp PVAUTO,
Fail Status
= Uncertn
Clamp Range
Filter
Check
PVCLAMP Note 1 PVAUTO
= PVCALC
OK
Note 1: PVFILTER is initialized when PVINIT = On, or when returning from Bad status.
(Continued)
(Continued)
Man, Sub
Bad
Source Selection
(Continued)
(Continued)
See
"Control-Input
See
Connections." Advisory
"Initial Control." ASp
Setpoint
Initial PV Deviation
Start CI SPOPT None C
Control Tracking Alarming
Note 2
* Target
PRE_SP TV Value
See
"Control
Algorithm." See
"Control
Outputs."
Control
Algorithm
Update
C CTLALGID CO Windup End
Status
Note 1
*
PRE_CTAG
*
CTL_ALG
2. If PPSTYPE = Init — Only initial control, control algorithm (including CL), PRE_CTAG and
PST_CTAGE insertion points, and control outputs are executed.
If PPSTYPE = Or — Only initial control and control algorithm (including CL), and PRE_CTAG
insertion points are executed.
If PPSTYPE = Man — Only initial control and control outputs are executed.
Control Processing
(Continued)
(Continued)
Abort
No this
Point
Override Override-
(Or) Initialization End
Propogation
Required?
Start PPSTYPE
PATHIND
Yes = Or
Disabled
Not
ESWENBST
Override D
(≠ Or) Determine Mode,
Based on External
Enabled Switching Logic
≠ PIDERFB INITMAN
= Off
None
CTLALGID
Off INITMAN
Number E
= Off
D of Control
S1
Outputs
INITMAN
On = ON
F
>0
(Continued)
(Continued)
NotConfig,
InActive
No Connection
F COACSTS Indisposable
Prefetch Yes
Secondary's Success?
Active G
Data Initialization
from Secondary
Yes Required?
Connection
No Disposable
E CTRLINIT
Yes = On, Abort This
INITREQ Point End
Update = On
Determine
G CVEUHI, Bad?
INITMAN
CVEULO
K
No
(Continued)
(Continued)
≠ Init
End
Determine CTRLINIT
K PATHIND
PATHIND = Off
H
Init
(Continued)
(Continued)
Bad
OK
CV
Update
OK CV
Hold Test for Note 1
Bad Control
CV = Bad
Fail
Start PATHIND
End
Ext Initialize
Init SP
INITTYPE
Initialize
Bias,
Int Dynamics, Etc.
Compute
Prim. PTORST ORFBSEC
= NotSel and Send to
Primary
(Continued)
(Continued)
≠ Man
I
Bad Bad
Control MODE
Acknowledge Special Alarming
Start INITREQ from Processing
CV J
Off-Node of Primary Man
Secondary If Required
OK
I
Yes Special
CTLINIT Abort
Processing End
= ON this Point
for Initialization
CV Bad Fwd
Last Time?
≠ Fwd
PATHIND J
No
Compute
OP, Perform
Output
Limiting
InActive
Strategies that involve more than one data point are created through input and output
connection between data points. Input and output connections read data from and write
data to the parameters of other data points in the system. The following types of input and
output connections are available:
All connections are optional. You configure the number of connections and the source or
destination for each connection, as you build each data point, through the Data Entity
Builder. The connections to be configured can be documented before point building, on
the AM Regulatory Data Point Configuration Forms, in the Application Module Forms
package in the Implementation/Configuration Forms binder.
PV input connections are used to specify the source(s) for the inputs to PV algorithms. A
maximum of eight PV input connections can be configured. For each such connection, a
source point and a source parameter in that point must be configured. The source
parameter must contain a real number. The destination parameters for these sources default
to one for each input to the configured PV algorithm.
For some PV algorithms, one or more inputs default to a bad value (see AM Algorithm
Engineering Data). At least one input connection must be configured for each of these
inputs, otherwise the point would attempt to run with a bad value. You can configure
initial values for other inputs, if you need to. If no input connection is configured for an
input parameter, it retains the default value or the configured initial value.
Control input connections are typically used to acquire "noninitializable" inputs to the
configured control algorithm. They can be used to acquire initializable inputs, but if
initialization and windup protection are required, a control output connection from the
primary point must be used.
A maximum of eight control input connections can be configured. For each such
connection, the source point and a parameter in that point must be configured. The value in
the source parameter must be a real number. The destination parameters for these sources
default to one for each noninitializable input to the configured control algorithm.
For some control algorithms, one or more inputs default to a bad value (see Application
Module Algorithm Engineering Data). At least one input connection must be configured for
these inputs, otherwise the point would attempt to run with a bad value. You can configure
initial values for other noninitializable inputs, if you need to. If no input connection is
configured for an input parameter, it retains the configured initial value or the default value.
When the CL Control Algorithm is used, control inputs cannot be configured in the
Parameter Entry Display (PED). Inputs are acquired by direct references in CL or through
general inputs to a CDS that is included in the data point.
Any control input with a status other than normal or Uncertn, is a bad status, and causes
the value in CV to be NaN.
In regulatory, counter, and timer points, a contact-cutout input connection through the
parameter CCSRC provides a dedicated input to the point's contact cutout parameter
(CONTCUT, see 4.3.1.7 in System Control Functions). The source parameter must
contain a logical value. Only one such connection can be configured. See heading 2.3.13
for additional information on contact cutout.
General input connections are used to change parameters in the data point. These are
usually static parameters such as the SP high limit, the PV low-alarm trip point, the gain for
a PID, etc. A maximum of eight general input connections can be configured. For each
such connection, you must configure a source data point and a parameter in that point, plus
a destination parameter in this data point. The source and destination parameters must have
the same data type.
These connections store values in the destination parameter in a manner similar to that of
CL blocks, and they follow all of the constraints that apply to CL blocks. A bad value is
never stored in a destination parameter whose data type is real number.
Control output connections are used to form initializable connections between Regulatory
data points or between Regulatory data points and Analog Output points. After appropriate
limit checks and conversions, the output of the control algorithm is transferred to the
secondary data point.
A maximum of eight control output connections can be configured. For each such
connection, the destination point and the destination parameter in that point must be
configured. The following are the valid destination parameters when designated as an
initializable input for the destination point algorithm:
• The destination (secondary) point is in the same unit and in the same AM; SP, X1, X2,
X3, and X4.
• The destination (secondary) point is in a different unit in the same AM, or in a different
AM; SP and X1.
• The destination (secondary) point is in a NIM or HG; SP and OP.
General output connections are used to change parameters in other data points. Usually
these destination parameters are static parameters.
A maximum of eight general output connections can be configured. For each such
connection, the source parameter (in this point), the destination point, and the destination
parameter must be configured. The source and destination parameters must have the same
data type.
These connections store values in the destination parameter in a manner similar to that of
CL blocks, and they follow all of the constraints that apply to CL blocks. A bad value is
never stored in a destination parameter whose data type is real number.
WARNING
Do not connect the General Output of a point to the PPS input of a second point. Each time
the point with the General Output is processed, it will set or reset the PPS of the second
point—even if it is already in the desired state. If the operator requests special processing by
setting the PPS to On, a conflict results that can cause the second point to “hang” (stop
processing). To initiate special processing safely, provide a CL block that detects the desired
condition and sets the PPS of the second point, or changes the state of its PPSREQ to
Normal. (A timer point would require configuring a separate point to which the CL block would
be attached).
For each input and output connection, there is an activity-status parameter that indicates the
state of the connection, as follows:
• NotConfg—The connection is not configured. This status can't be changed unless the
connection is fully configured. If the connection is fully configured, this cannot be its
state.
• InActive—The connection is fully configured, but data is not being transferred over it.
More than one PV, general, or control input connection can be configured for the same
destination parameter, but only one can be active at any time. This allows selection of
alternate sources for a destination parameter. When an input connection is made active, all
other connections to the same parameter are automatically made inactive.
An access status parameter is provided for each input and output connection to indicate the
result of the last value transfer. The values that can be held in these parameters are defined
in the Application Module Parameter Reference Dictionary. The parameter names are like
those under 3.1.4.7 except that "ACT" is replaced by "ACC," hence PIACCSTS(n),
COACCSTS(n), GOACCSTS(n), etc.
3.1.5 PV Processing
Here, the values are transferred into this data point over the PV input connections. See
3.1.4.1.
The configured PV algorithm accepts the values received over the PV input connections and
produces the calculated PV value, PVCALC, plus its value status, PVAUTOST. If the CL
PV Algorithm is configured, a user-written CL Block is used in place of a standard PV
algorithm. The AM algorithms are described in the Application Module Algorithm
Engineering Data manual.
3.1.5.3 PV Filtering
The PV filtering function is configured through the Data Entity Builder by placing SinglLag
in PVFLTOPT. The lag-time constant is specified in minutes in TF. Legal values for TF
are 0.0001 to 1440.0; a value less than 0.0001 is assumed to be zero.
Regardless of the PVFLTOPT option, the filtering function also makes range checks on
PVCALC. If the PV source is AUTO and if PV clamping is not configured, it sets the
value status (PVAUTOST) bad when PVCALC goes outside the extended PV range. This
prevents any delay in detecting an out-of-range PV caused by the filtering action.
During normal operation the PV source is Auto, and the PV and its value status (PVSTS)
become equal to PVAUTO and PVAUTOST, respectively, before PV range checks are
made (3.1.5.5).
When the PV source is changed from Auto to Man or Sub, the PV remains at the last value
until it is changed by the operator (Man) or a program (Sub), so it doesn't "bump." In Man
or Sub, the status in PVSTS is Uncertn.
When the PV source is changed from Man or Sub to Auto, the PV immediately goes to the
PVAUTO value. This might cause a bump in the value unless it is changed gradually to the
value in PVAUTO before changing the source.
When the source is Man, only someone at a Universal Station can change the PV.
When the source is Sub, only a user-written program can change the PV. A program can
store a bad value in PV, and if it does, PVSTS goes Bad.
You can prevent PV source changes by configuring OnlyAuto in PVSRCOPT. This fixes
the source as AUTO and the parameter PVSOURCE is removed from the point.
Configuring All in PVSRCOPT allows normal PV source selection.
If PVSRCOPT equals All and the control algorithm is PID, PIDFF, or PIDERFB, to
change PV source requires the mode to be MAN and External Mode Switching must be
disabled.
PV Processing
PV Value
Status
PV MAN
°
PVAUTO °
PV °
ALGO PV SUBS ° PV VALUE
PV
P LIMIT
Inputs & ALARMING
CHECKS
FILTER
PV
PVAUTO
Value Status
(PVAUTOST)
PV Source
Selection
• If PVSOURCE contains Man—Any value from the Universal Station that is outside the
extended range is not accepted. PVSTS is already uncertain because the source is Man.
Data-point parameter LASTPV always holds the last good value of the PV.
Normal PVSOURCE = Auto, PVAUTOST = Normal, and the PV value is within the
range defined by PVEULO and PVEUHI.
Uncertn 1) PVSOURCE = Man or Sub and the PV value = NaN (is a valid, real
number), or,
Bad The PV value is NaN. This results from one of the following;
• PV High/Low
• PV High-High/Low-Low
• PV Rate-of-Change Positive/Negative
• PV Significant Change
PV source selection has no effect on alarm processing. For more detailed alarm
information, see 4.3 in System Control Functions.
Setpoint handling takes place only if the configured control algorithm requires a setpoint.
Setpoint-handling functions are as follows:
• Access restrictions
• SP Target-Value processing
• Advisory Deviation-alarm processing
• Ratio and bias options
The activities that can store a value in the SP are defined by Table 3-1.
Man No I I Op P I I Cc Cc
Auto No Op P Op P P P Op P
Cas No Cc Cc Cc Cc Cc Cc Cc Cc
Man Yes I I Op P I I Cc Cc
Auto Yes I I Op P I I Op P
This option lets a Universal Station operator or a CL program "ramp" the setpoint from the
current value to a new value over a period of time. The option is configured through the
Data Entity Builder by entering TV in parameter SPOPT. If an operator is to ramp the SP,
the mode attribute in MODATTR must be Oper, and if a CL program is to ramp the SP, the
mode attribute must be Prog.
• Place Preset in the TVPROC parameter (point must be in Auto mode and INITMAN
must contain Off).
• The SP begins moving linearly toward the new value and the value in RAMPTIME
decreases with time. When RAMPTIME = 0, SP reaches the new value, and the status
in TVPROC changes to Off.
TVPROC can be changed to the Run state only from the Preset state. While TVPROC
contains either Preset or Run; SP-high and SP-low limits, and the SP high and low
engineering-unit ranges can't be changed. The following applies to TVPROC if it is in the
Run state:
5. If SPTV > SP and ARWNET indicates that SP is wound HI or HILO, the SP stops
changing. When ARWNET indicates that SP is no longer wound HI or HILO, SP
ramping continues from the stop position. Note that when SP is ramping, ARWNET
is not shown on the Group or Detail Displays. SP can normally be inferred from the
output windup status. ARWNET can be accessed from a custom display.
6. If SPTV < SP and the output becomes wound LO or HILO, the SP stops changing.
CONTROL PROCESSING
C P
From SP HANDLING DEVIATION O R
Control ALARMING N O
Output Conn., (if SP is used T C
Programs, by Control R E
Operator, Processing) O S Output(s)
etc. L S OP
I
N
G
Control Input Connections
Algo & OP
Proc'g
This option is used to allow an operator to manually change the setpoint (SP) to a
predetermined value. The predetermined value is usually calculated by a user-written
program that stores the value in the advisory setpoint parameter, ADVSP, rather than
storing it directly in SP. Advisory-deviation alarming is selected by configuring Asp in the
setpoint option parameter, SPOPT.
When this option is selected, an alarm is generated if the difference between the PV and the
value in ADVSP is greater than the trip-point value in ADVDEVTP. This alarm returns to
normal when the difference between the PV and ADVSP is less than the value in
ADVDEVTP minus a deadband equal to 10% of the trip-point value.
• SPOPT = Asp
• ADVDEVTP ≠ NaN
• The PV ≠ NaN
If the advisory-deviation alarm is present and the value of one of the configuration
parameters above is changed, the advisory-deviation alarm is cleared.
If parameter ASPPROC = Disable, the value in ADVSP equals the value in SP.
The alarm priority parameter for the advisory deviation alarm is ADVDEVPR.
The Ratio and Bias options apply to only PID control algorithms. For a more functional
description of these options, see 18.4.11 in Application Module Algorithm Engineering
Data manual.
These options are configured by entering one of the following values in parameter RBOPT:
If one of these options is configured, the SP is modified before being used by the PID
algorithm as follows:
SP_Store_Value*RATIO + BIAS
You can configure limits for both the RATIO and the BIAS values in the following
parameters:
In normal operation (CAS mode and INITMAN containing Off), all three options work
alike. RATIO and BIAS can be changed by a Universal Station operator or by user-written
programs (depending on whether MODATTR contains Oper or Prog). During initialization
of this point, however, RATIO and BIAS can be changed only if they are not being
initialized, based on the value in RBOPT, as follows:
If RATIO attempts to go outside one of its limits, it is clamped at the limit, and
INITVAL is calculated as follows:
INITVAL = (SP - BIAS)/RATIO
If BIAS attempts to go outside one of its limits, it is clamped at the limit, and INITVAL
is calculated as follows:
Manually entered SP and OP values for the AM, HG, and NIM Regulatory Control points,
OP values for HG and NIM Analog Output points, and OP values for HG Analog
Composite points are checked against this new specified tolerance. If the tolerance is
violated in either a plus or a minus direction from the current set value, the operator is
alerted with a beep from the keyboard and a warning message. Operator confirmation is
required before the value is stored.
The tolerance check is made from the Detail Display, the Group Display, and in schematic
actors RS_SYS, CHG_ZONE, and USER_CZ.
Regulatory data points in AMs can generate the following types of alarms:
Configured setpoint limits are entered through the point builder and can be modified
through a Universal Station by someone who has a Supervisor key. The limits default to
SPEUHI +6.9% and SPEULO -6.9%. If NaN (not a number) is entered in one of these
parameters, the value of its extended limit (SPEXEUHI or SPEXEULO) replaces the limit
value.
You can configure high and low limits for the BIAS value, that can be applied to the
setpoint in PID points in an AM. A Universal Station user with a Supervisor key can
change these limits. An operator is prohibited from entering a value exceeding these limits.
A user-written program is clamped to the exceeded limit. Crossover of these limits is
prohibited.
These output limits apply to regulatory data points in Application Modules. For AM points
whose output is in engineering units, the output limits are still expressed as a percentage of
full range.
You can configure a maximum rate of change in percent-per-minute for output values of
regulatory data points in an AM. The effect of this limit is to reduce excessive rates of
change in the output, to the limit. The smallest limit can't be less than one percent per
point-processing interval. The default value for the limit is NaN, which eliminates the limit
check.
Typically, the output rate-of-change limit is configured for AM points doing DDC control
through a slot in a process-connected box, and is used to match the slew rate of the final
control element to the control dynamics.
For AM regulatory points with one output connection, continuous tracking will be provided
during the initialization state from the secondary point. Points with more than one output
connection will initialize to the first disposable secondary. The AM initialize logic matches
the behavior of the NIM/PM in similar situations.
NOTE
The primary OP will not update when initialization exists and more than one control output
exists. The initialization value is not known until the first disable secondary is available.
3.1.10.1 PV Initialization
The principal purpose of PV initialization is to set up starting values the first time the point
is processed or the first time it is processed after recovering from a Bad PV value status.
PV initialization is useful only for functions involved in history collection or for
dynamically varying values. Stated another way, PV initialization is required where the
new value depends on the previous value.
• PVCALC is calculated from the P inputs, using the steady-state portion of the equation.
For calculations that don't involve time, the normal equation is used.
Control initialization allows normal control strategies to be reestablished, after they have
been interrupted, without "bumps" in the output to the process and without the need for
manual balancing of values to avoid such bumps.
For control initialization, the control-processing blocks use their initialization procedures to
compensate for changes that may have occurred since the normal control strategy was last
operating. For example, a Universal Station operator might have taken over control of the
output to the process, so that it now has a value that is different than normal processing
would calculate. The initialization procedures automatically readjust either the bias value in
the data point(s) or an input to the data point(s) so that when normal control is
reestablished, the output to the process does not move or "bump." For most control
algorithms, you can configure one of these three initialization choices:
• External—A new value is back-calculated for an input that absorbs any output change.
This value and an initialization request are sent to the primary data point that provides
the input; thus, the primary absorbs the change and it must take similar action with its
own primary, if it has one, so that the whole strategy can absorb the change.
• Internal—Each data point absorbs output changes. Usually, this is done by calculating
a bias value that holds the output unchanged when the data point is put back in the
control strategy.
Two or more active paths from a single primary to multiple secondaries are referred to as
"fanout" connections. Where there are two or more control output connections from a
primary to two or more secondaries and all of these outputs are indisposable, the primary
goes into the initialization state.
The value that is to be protected from a bump (the value to back-calculate from) is obtained
at the point's output, at a secondary's initializable input, or at a secondary's output,
depending on the type of control output connection (SPC or DDC) and according to where
the upset occurred.
• Initialization Request
• Initialization Value
An initialization request from the secondary causes the control output connection on the
primary to go to an "output indisposable" state, a condition where a newly generated output
to the secondary has no effect on the secondary. A control output connection also has
"output indisposable" status if it is inactive or if a communication error has been detected
when the initialization request and initialization value should have been received.
When all connections from a primary are in the "output-indisposable" state, the primary is
forced to the initialized state. This causes the primary to set its initialization request, if it is
configured for external initialization. In turn, this may cause the control output connection
of a preceding primary to assume the "output indisposable" state and may force that
primary to be initialized as well. In this manner, the initialization state is propagated
upstream to all interconnected primaries.
During the initialization state, each point remains in that state until a disposable output
connection is found. At the first processing pass when a disposable output connection is
available, the primary sets its output value to the initialization value received from its
secondary.
When initialization is correctly configured for a control strategy, each data point's output is
readjusted by back-calculating an initializable input or by an internal (bias) adjustment.
When each point resumes normal calculations, the new output and the input value at its
secondary are balanced and no bump occurs.
Indisposable outputs are not the only factor for triggering initialization. It is possible to
force a back-calculation by writing to a point's output while it is in MANual mode, or a CL
program can set the control initialization flag in a point. For these cases, the point does not
go to the initialization state but its primary may, because the point sent an initialization
request to the primary.
• All control output connections were indisposable and now one or more output
connections is disposable.
A control output connection is indisposable when
• A secondary has made an initialization request, or
• The control output connection is inactive, or
• A communication error has been detected in retrieving an initialization request and
initialization value from a secondary.
The following are the reasons why a secondary data point sends an initialization request to
its primary data point:
• The secondary isn't in CAS mode, or
• The secondary is inactive, has failed, or is doing only basic control (process-connected
boxes), or
• The initializable input to the secondary (the destination of the primary's control output
connection) is not selected for a secondary that uses the switch algorithm or the
override selector algorithm, or
• The secondary is in the initialization state and is configured for external initialization.
Initialization of a Point in the Same AM and the Same Process Unit—For a primary and a
secondary that are both in the same AM and the same process unit, an enhancement is
provided. This enhancement presents the operator with an immediate indication of
initialization when a cascade strategy is opened or closed. The following events cause
initialization to be quickly propagated up through the data points in the strategy.
• The secondary is given special processing caused by the transition from CAS mode to
some other mode.
• The secondary is given special processing caused by transition of the secondary from
another mode to CAS mode.
• The primary is given special processing when the secondary is processed because of
either of the two preceding events. This causes the primary to pick up the initialization
state.
PID algorithms in the AM are protected from windup caused by reset action. Windup
status parameters are maintained that pass the status "upstream" to the primary points along
the initialization path. Each PID algorithm checks its output windup status and takes
appropriate action to prevent reset windup. These functions are standard and require no
configuration by the user.
• SECARW(n)—Windup status, as seen from this data point, of the secondary indicated
by n, where n can range from 1 through the integer in NOCOPTS.
When this point's ARWOP contains something other than Normal, integral control in the
windup direction stops. Integral action in the other direction and P and D action continue.
For the remainder of the control subsystem, the windup status serves only as a warning,
and not as a constraint. For example if the status in ARWNET is Lo, lowering SP won't
have an immediate effect on the output of the final secondary; however, SP can be lowered
if the SP-low limit has not yet been reached.
The values in the windup-status parameters indicate whether raising or lowering the
associated parameter value will affect the output of the final secondary, as it should. The
values are as follows:
Windup status is propagated from SECARW(n) to ARWOP and ARWNET of the same
point, and then from ARWNET of the secondary point to SECARW(1) of the primary
point, and so on.
Propagation from secondary to primary is instantaneous if both are in the same process unit
and the same AM. Otherwise, it takes place on the next processing pass for each point.
• In typical boiler-control strategy, the constraint on the fuel flow (SP of the fuel-flow
PID controller) can be that it cannot exceed the actual air flow, multiplied by a ratio
(which may be computed by the O2 controller). In this case, the fuel flow is the
primary PV to be controlled and the actual air-flow PV is the "constraint".
• In some heating applications it may be desirable to control the temperature of the feed
(the primary PV) as well as possible, without ever letting the temperature of the hottest
part of the pot (or the heat exchanger) exceed a safe limit. In this case, the safe limit on
the pot temperature is the "constraint."
Most often the objective is to achieve the best possible control of a PV without violating
any of the constraints. The manipulated variable is driven by the output of an Override
Selector algorithm that selects the highest or the lowest of up-to-four inputs. A PID that is
in a cascade strategy, but is not selected, is prevented from winding up with the help of
override initialization. In the rest of this section, the term "O/R selector" is used to mean an
Override Selector control algorithm that is configured for external initialization. See
Section 23 in the Application Module Algorithm Engineering Data, for more about this
algorithm.
Regulatory data points contain the following parameters to support O/R strategies:
NotCon The point is not connected to an O/R selector. Strictly, it means that this
point is not on an initializable path to an O/R Selector or it is now being
initialized. PTORST defaults to this value.
Sel The point is a part of an O/R control strategy and is now selected.
NotSel The point is part of an O/R control strategy and is not selected by the O/R
selector.
When the point is returned from inactive to active status, when it undergoes a cold start,
or when it is initialized, the status in PTORST becomes NotCon. This point resides on
the primary.
Figure 3-5 is an example of an O/R strategy. The override portion of the strategy includes
the Override Selector point and all points "upstream" from it. Here is how O/R processing
works:
• There must be at least one PID controller in the O/R strategy. In Figure 3-5 the points
named TAG-A, TAG-B, TAG-C, TAG-D, and TAG-E constitute the O/R strategy.
• All points upstream of the O/R selector are processed on normal schedules. In the
example, the points may be processed in TAG-A, TAG-B, TAG-C, TAG-D order.
Their PV and control algorithms are executed normally.
• The next point to be processed is the O/R selector (TAG-E in the example). It selects
one input. Assume input X2 is selected.
• The O/R selector then propagates appropriate O/R status to each one of its own
initializing primaries. It also propagates the O/R-feedback value to the nonselected,
initializing primaries. In the example, TAG-E propagates O/R status of "SEL" to TAG-
C because input X2 is selected, and O/R-status NOTSEL to TAG-B. Further, TAG-E
propagates the O/R-feedback value to the nonselected, initializing primary, TAG-B.
TAG-D does not receive the O/R status nor the feedback value because it is not an
initializing primary when it is configured as a PV algorithm.
TAG-A TAG-B
PV OP
OP X1
PID
MULTIPLIER
SP TAG-E
X1 O/R
TAG-C LO OP
SP SELECT
OP X2
PID
X3
PV TAG-F
To
X1 Secondary
SOME or Value
TAG-D
CONTROL
PV ALGO.
PV ALGO. X2
• Each primary (provided it is configured for external initialization and is in CAS mode),
in turn, propagates O/R status to its own primaries (if any). It also propagates O/R
feedback upstream, if it is not selected. In the example, TAG-B would propagate
NOTSEL and an O/R feedback value to TAG-A.
• The propagation upstream continues until there are no more primaries. The output of
any PID in a cascade chain, connected to a nonselected input of the O/R selector is
initialized to override-feedback value, plus gain-times deviation (PV-SP). Since TAG–
A contains a PID algorithm and it is not selected, it undergoes O/R initialization.
• All points downstream of the O/R selector are processed at their specified interval and
according to the configured before/after relationships, with respect to the O/R selector.
In the example, TAG-F is processed after TAG-E.
O/R-feedback propagation is initiated only by the most downstream O/R selector. In the
example, if TAG-F were also an O/R selector, the O/R strategy would consist of points
TAG-A, TAG-B, TAG-C, TAG-D, TAG-E, and TAG-F. O/R propagation would be
initiated by TAG-F and not TAG-E, as before.
You should follow these guidelines to configure properly functioning O/R strategies:
The Override Selector point must be configured for external initialization. All points
between the O/R selector and the final PID must be configured for external initialization.
In the example of Figure 3-5, TAG-E must be configured for external initialization.
TAG-B, must be configured for external initialization.
While PIDs in an O/R scheme can be configured with proportional and derivative action
on SP, use of these actions should be carefully considered because undesired results may
occur, such as momentary oscillation caused by "kicks" in the error.
Scheduling
The O/R selector and all the points upstream of it, along initializable paths, must be
scheduled for the same processing interval. Also, proper before/after relationships (i.e.,
primary before the secondary) must be specified for these points. TAG-A, TAG-B,
TAG-C, TAG-D, and TAG-E, all must have the same processing interval and
Further, it takes one second to propagate O/R feedback from a secondary to the primary,
and up-to-one second for the completion of the primary's processing. In order to assure
that propagation of O/R feedback is completed following a normal processing pass and
before the start of the next pass, all the points must have a sample time at least equal to
(N+1) seconds, where N is the number of points in the longest cascade chain connected
to the O/R selector (the most downstream O/R selector when there are more than one). In
the example, the longest cascade chain consists of TAG-A, and TAG-B. It would take
three seconds; two seconds for propagation of O/R status and feedback to TAG-A, and
up to one second for processing of TAG-A, after TAG-E (the O/R selector) is processed.
Each point in the O/R strategy in the example must be scheduled to run at intervals greater
than 3 seconds.
Fanout:
No fanout control output connections are allowed in an O/R strategy. All primaries
in upstream from the O/R-selector point can have only one control output
connection.
The primary task of control output processing in an AM is to make the control algorithm
calculation available to the rest of the system (displays, printers, CL programs, other data
points, etc.) in percent or EUs, as needed. This section describes control output
processing as it applies to regulatory points in AMs.
• Provides the output value in percent and EUs for displays, printing, CL programs, and
interpoint communications.
• Processes control output connections that send the output to the secondary data point
after conversion to EUs and percent.
Note that for standard control algorithms, CVTYPE is determined by the system and
can't be specified by the user; however, for CL control algorithms, you must specify
CVTYPE.
During initial control processing, initialization data is fetched from the secondary points
indicated by each control-output connection. If a communication or configuration error is
encountered, the output-connection status is updated.
The output engineering-unit range in CVEULO and CVEUHI is determined based on the
EU range of the secondary pointed to by the first active control-output connection. If this
connection has a communication or configuration error, the output range is set to bad and
the point is aborted. If this happens, the CI connections, CO connections, and any CL
blocks scheduled for execution after initial control processing are not processed and their
status is not updated.
Normal Computation
4. Inactive control output connections are not processed. Each active control output
connection is processed as follows:
The corresponding secondary value is made equal to OP, if the destination parameter
is OP.
In MANual mode
1. If all of the control output connections are indisposable, CV remains at its last value.
When the first disposable control output connection becomes available, the CV is
back-calculated (an EU to % conversion if the destination parameter is an input) from
the destination parameter of the secondary.
2. After output high and low limit checks are made, OP is set equal to CV.
Normal computation
2. OP is calculated from CV, with the units based on the range defined by CVEULO and
CVEUHI. Note that the values in CVEULO and CVEUHI are determined by the
engineering-units range of the secondary point to which the first active connection is
made.
5. Inactive control output connections are not processed. Each active control output
connection is processed as follows:
the corresponding value in the secondary point is made equal to OP, if the
destination parameter is OP, otherwise it is made equal to OPEU.
In MANual Mode
2. Inactive control output connections are not processed. Each active control output
connection receives normal processing, as described above. Remaining process is as
defined under "Normal Computation."
1. If all of the control output connections are indisposable, CV is initialized to its last
value. When the first disposable control output connection becomes available, the CV
is back-calculated (% to EU conversion if the destination parameter is OP) from the
destination parameter of the secondary.
3.1.14 Functional Summary Chart for AM, and for CB, MC, and EC
Regulatory data points in UCN nodes and in CBs, MCs, and ECs on the Data Hiway have
many of the same or similar features to those of regulatory points in an AM. The following
chart compares these functions.
Regulatory Data-Point
Function CB, MC, EC AM PM/APM
—————————— —————— —— ————
• Point Interconnections x
• Input Connections x x
- PV Inputs x
- Control Inputs x
- General Inputs x
(Continued)
Regulatory Data-Point
Function CB, MC, EC AM PM/APM
—————————— —————— —— ————
Output Connections x
- Control Outputs x
- General Outputs x
• Connections Active/Inactive x
• Alarm generation
- Advisory Deviation x
- Bad Control x x
- Bad PV x x x
- Dev High x x x
- Dev High, High EC
- Dev High, High, High EC
- Dev Low x x x
- Dev Low, Low EC
- Dev Low, Low, Low EC
- PV High x x x
- PV High, High EC x x
- PV High, High, High EC
- PV Low x x x
- PV Low, Low EC x x
- PV Low, Low, Low EC
- PV Significant Change x x
- PV Rate of Change EC,BC
- PV Rate of Change Negative x x
- PV Rate of Change Positive x x
- Logic Out as an alarm (Status 1,3,4) EC
- Ramp/Soak Mark1,2 EC
- Ramp/Soak Offset1,2,3 EC
• Alarm Cutout HG x x
• Alarm Disable HG x x
• Alarm Inhibit HG x x
• Unit Alarm Disable x
• Unit Alarm Inhibit x
• Alarm Level (per type) HG x x
• Alarm Priority (per parameter) HG x x
• Control Processing CB,EC,BC x x
• Point Execution States x x
• Point Active/Inactive x x
• Mode Switching EC(limited)
• Mode Permissive x x
• CL Switches x
• Limiting x x
- PV Range Limit x x
- PV Range Extension x x
- PV Range Clamping x x
- SP High Limit x x
- SP Low Limit x x
(Continued)
Regulatory Data-Point
Function CB, MC, EC AM PM/APM
—————————— —————— —— ————
- Output High Limit x x x
- Output Low Limit x x x
- Output Rate-of-Change Limit x x
- Minimum Output Change x x
- Integral Limit High x
- Integral Limit Low x
• Modes
- MAN x x x
- AUTO x x x
- CASC x x x
- BCASC x
• Attributes: Prog, Oper MC,HG x x
• Normal Mode x x x
• Cascade Request EC, HG x x
• Time-out Gate x
• PV processing EC, HG x x
• PV Source selection x xx x
• PV Tracking x x x
• PV Value Status x x x
• Red Tag x x
• Reverse/Direct Control (for PID only) x x x
• PV Target Value x x x
• SP Target Value x x
• Point Scheduling x
- Processing period x
- Optional Before/After x
- Optional Processing Cycle x
- By Scan Rate x
A Numeric data point in an Application Module stores a real number that can be changed by
an operator at a Universal Station or by a user-written program. Numeric data points are
used to store data, such as a value that is needed later or recipe data for a batch operation.
Though the values stored in PV can be within this very large range, there are limits to the
number of significant digits that can be shown on Universal Station displays and on printed
logs and reports. Further, parameter PVFORMAT is configured to specify the number of
decimal digits to display, in a range from 0 to 6.
Parameters RANGEHI and RANGELO can be configured to limit the range of PV values,
as indicated in the chart, below. These parameters can also be changed by someone at a
Universal Station with an engineer's key, or by a user-written program. If NaN (not a
number) is placed in RANGEHI or RANGELO, the corresponding range limit is not in
effect.
RANGEHI,
RANGELO Values PV Range
RANGEHI = NaN
Unlimited, as described above
RANGELO = NaN
RANGEHI ≠ NaN
From the largest negative value to the value in RANGEHI
RANGELO = NaN
RANGEHI = NaN
From the value in RANGELO to the largest positive value
RANGELO ≠ NaN
RANGEHI ≠ NaN
From the value in RANGELO to the value in RANGEHI
RANGELO ≠ NaN
Any attempt to store a new value from a Universal Station that exceeds a configured limit is
rejected and an "out-of-range" message is displayed. An attempt by a user-written program
to store a value beyond a configured limit results in the value being clamped at the limit
value, and a "value-clamped" indication being returned to the program.
NOTE
Refer to the Application Module Parameter Reference Dictionary for further information on
the parameters mentioned in this section.
AM Numeric data points are not scheduled and are not processed at regular intervals. The
only activity of one of these points is to accept new PV values from a Universal Station or a
user-written program, subject to the limiting or clamping, as defined under 3.2.2.
The database for a Numeric data point is restored from its checkpoint file in a History
Module, during cold, fast, and hot restarts.
The configuration forms and Parameter Entry Displays for AM Numeric data points show
several default values, which are entered when the point is built through the Data Entity
Builder unless the default value is changed. Any parameters that don't have default values
must be entered or the point can't be loaded into the AM.
The following are the configurable parameters for an AM Numeric data point (see the
Application Module Parameter Reference Dictionary for further parameter details):
NAME—The Tag Name for the Numeric data point (no default value)
UNIT—The ID of the process unit that contains this point (no default value)
KEYWORD—The keyword for this data point (default value = all blanks)
PRIMMOD—The process module associated with this point (the default value represents
a "null" tag name)
The following error or warning messages may be returned when attempts are made to store
new values in AM Numeric data point parameters:
• Error Messages
Limit or Range Crossover—The newly stored range-limit value crossed over the
opposite range-limit value.
Read-Only Parameter—An attempt was made to store a value in a parameter that can
only be read.
• Warning
Counter data points are used for flow or speed measurement, accumulation of total flow for
volumetric control, and event counting. An AM Counter data point receives a count from a
Control Counter data point in an HG, by means of an input connection to the AM counter
point (the count source for the HG's Control Counter is a 32-bit counter in an HLPIU).
The AM Counter point computes a rate value for its PV parameter and an optional
accumulation value for its AV parameter (displayed as OP).
While parameter PTEXECST indicates that the AM Counter point is active, the following
data is acquired (prefetched) through the input connection from the Control Counter point
in the HG:
• Delta Counts—The difference in the count value between two sample periods,
computed by the Control Counter.
• Delta Time—The difference in time, in milliseconds, between the two sample periods
of the Control Counter, calculated by using the HLPIU's sequence-of-events clock.
• Total Counts—The latest sampled value of the Control Counter's count, which is held
in a 32-bit binary counter.
NOTE
Refer to the Application Module Parameter Reference Dictionary, for further information on
the parameters mentioned in this section.
• Rollover Threshold—The 32-bit HLPIU counter's rollover threshold value, from the
PIU's database.
• Point State—The worst state of the HLPIU counter since the last time the AM read
from the Control Counter. This detects any reset of the HLPIU, which resets the
HLPIU's counters.
• Delta State, which indicates the validity of Delta Counts and Delta Time. Delta Count
and Delta Time are valid only when the HG has had two, successive, good readings of
data from the HLPIU.
The HG updates this information in the Control Counter data point every ten seconds.
When the AM reads from the Control Counter point, the Point State value in the Control
Counter is set to OK.
Each time the AM Counter data point is processed the following functions occur, in the
order they are listed:
• PV Source Selection and Range Checks. These are the same as for Regulatory data
points (see 3.1.5.4 and 3.1.5.5).
A value for AM Counter parameter PVAUTO is calculated only if all three of the following
are true:
2. The counter input-access status in CIACCSTS is NoError. This status indicates that
no error was detected during the last acquisition of data from the Control Counter.
If these conditions are true, the PVAUTO value and PVAUTO-value status are calculated as
follows:
Delta Counts
PVAUTO = *PVCONV
Delta Time
and
PVAUTOST = Normal
The PVCONV factor converts the rate expressed in counts per millisecond to an
engineering-units representation. The Delta Counts and Delta Time values are available in
parameters PVCOUNTS and TIMELPSD.
If any of the three conditions above are not true, the PVAUTO value is not calculated and
PVAUTO contains NaN. PVAUTOST then contains Bad.
If the status in CIACCSTS is Confg, a configuration error has been detected, the
configuration-error flag in CNFERRFL goes to On, and a configuration alarm is generated.
When Delta Status is not OK, the HG has not processed two successive reads from the
HG's Control Counter. This condition should occur only, very briefly, following an HG
startup or an HLPIU startup.
If the PVSOURCE is AUTO, the value Last PV (LASTPV) represents the last "good"
calculated PV; i.e., if PVAUTO is not equal to NaN, LASTPV is set equal to PV before
determining the new PV.
The PV value status (PVSTS) is determined exactly as it is for regulatory points. See
3.1.5.6.
Once a PV and a PVSTS are computed, the PV is checked against the configured PV
Extended Ranges (PVEXEUHI and PVEXEULO). PV and PVSTS can be altered
according to the PV clamping option (PVCLAMP) if the PV is outside the extended ranges.
Parameters PV-EU extended-high (PVEXHIFL) and extended-low (PVEXLOFL) flags
signify if the PV has violated a given extended-range limit.
Parameter PV receives its value from the PV Source Selection and PV Range Checks,
which are the same as for AM Regulatory data points (see 3.1.5.4). If the PV Source is
PVAUTO, the value in PVAUTO is placed in PV.
PV High PVHIPR
PV High High PVHHPR
PV Low PVLOPR
PV Low Low PVLLPR
PV Rate-of-Change Positive PVROCPPR
PV Rate-of-Change Negative PVROCNPR
PV Significant Change PVSGCHPR
Bad PV BADPVPR
PV alarm processing and related parameters are identical to those for AM-Regulatory data
points (see 3.1.5.7 in this publication and 4.3 in System Control Functions); however, the
AM-Counter data point doesn't have alarm-transition parameters.
The value in DEV is compared with the deviation-high trip point in DEVHITP and the
deviation-low trip point in DEVLOTP. The alarm is generated if DEV equals or exceeds
either of the trip points. The alarm priority parameter for the deviation-high trip point alarm
is DEVHIPR. The alarm priority parameter for the deviation-low trip point alarm is
DEVLOPR.
AM counter deviation-alarm functions are the same as for other AM regulatory points
except that the AM counter doesn't have alarm-transition parameters.
If you do not configure a control algorithm, you may configure the target value for PV
(PVTV). This parameter is shown on the Group and Detail displays as the setpoint.
• The input connection-activity status for the input from the HG control counter, as
indicated by parameter CIACTSTS, is Active and the HG counter-input data is
processed.
• The HG control-counter point state, which is prefetched from the HG, is OK.
During accumulation processing, the total count read from the HG control counter, in the
prefetch for the last sample, is subtracted from that read for the current sample. This
difference is added to the AM counter's accumulation value, as counts. An engineering-
unit conversion factor in parameter AVCONV is applied to yield the accumulation value, as
follows:
AV = AVCOUNTS*AVCONV
The AV is stored as a 32-bit real number. In the AM, this value is internally maintained as
a 48-bit binary representation to maintain accuracy and to expand the range of conversion
factors. The HLPIU control counter maintains a 32-bit count value.
The value in AV can range from zero to 999,999. If the conversion results in a number
greater than 999,999, the value in parameter ROLLOVER is incremented by one, the value
in AV "rolls over" to zero, and begins accumulating again, on each processing pass. When
ROLLOVER is incremented to 32,767 and AV exceeds 999,999, AV is set to NaN. In this
case, use the three steps below to recover.
Parameter LASTAV maintains the last, good accumulation value, so if the value in AV goes
to NaN, LASTAV contains the last value before AV became NaN.
If the Point State received from the HG Control Counter is not OK, the HLPIU has failed
between two prefetches by the AM. During this period, the value in AV is not valid so the
value in AV is changed to NaN and a bad-control alarm is generated (BADCTLFL indicates
this alarm condition). In this situation, an operator at a Universal Station must intervene to
do the following:
2. Store a correct value in AV. AVCOUNTS is automatically recomputed (the last good
accumulation value may be available in LASTAV).
If CIACTSTS contains InActive, indicating that the counter input connection is not active,
and STATE indicates that the accumulator is Running, an unrecoverable situation has
occurred and a bad-control alarm is generated. The AM can't determine what the Point
State in the HLPIU is, so it sets AV to NaN and generates a bad-control alarm. The
operator can then try to recover, as in the three steps, above.
The rollover threshold in the HLPIU database is configured with a value of zero when the
HG Control Counter data point is built and must always be zero for the AM Counter to
properly operate (with this threshold set to zero, rollover in the HLPIU occurs at 232 -1 =
4,294,967,295 counts). The AM detects rollover when the difference in total count over
two samples is a negative value, and it compensates accordingly. If the rollover threshold
in the HLPIU is not zero, the HG Control-Counter Point State indicates Failed, so the AM
places NaN in AV and a bad-control alarm is generated. Again, the operator can attempt
recovery as described above.
If any of these three parameters contains NaN, the alarm condition in which it is used is not
checked.
AVTV, AVDEV2TP, and AVDEV1TP can have initial, configured values. AVTV can be
changed by an Operator at a Universal Station and AVDEV2TP and AVDEV1TP can be
changed at a Universal Station by someone with a Supervisor's or an Engineer's key.
These parameters can also be changed by a user-written program.
Note that the first two alarms are defined as a deviation of AV from the target value in
AVTV.
The AM Counter data point includes the following three parameters to indicate the presence
of the corresponding alarm (On indicates an alarm, Off indicates no alarm):
AVDEV2FL
AVDEV1FL
AVTVFL
The AM Counter data point's accumulator is controlled through the parameters listed in
Table 3-2. In most cases, the values of these parameters can be changed by someone at a
Universal Station or by a user-written program. The table defines the effects of the
parameter changes and all restrictions to those changes.
Special Notes:
If PTEXECST = Active the counter point is
immediately processed to acquire an initial total-
counts value, which is used to calculate the
difference in counts between two process-passes.
Stop Restrictions:
Operator access not permitted when CNTLLOCK
= NotPerm
Special Notes:
If PTEXECST = Active and the previous state was
Running, the Counter point is immediately
processed to compute the final AV, AVCOUNTS,
and ROLLOVER values, and to check for
accumulator alarms.
NotReset No restrictions
(Continued)
InActive No Restrictions
(Continued)
Special Notes:
When the AVTV value is changed, the alarm-trip
points are automatically readjusted; however, the
alarm state doesn’t change until the next
processing pass.
The AM Counter data point can be forced to be processed on demand by changing the value
in the point processing-special parameter PPS to On. The special processing pass can be
set up to occur sometime later, by first placing an integer representing the number of
seconds (up to 86,400 seconds or 24 hours) in PPSCYCLE, and then changing PPS to
On. The access level for PPS is Operator, and for PPSCYCLE it is Program.
Parameter PTINAL indicates if the counter point has an alarm (PTINAL = On) or not
(PTINAL = Off).
• DISPTYPE—Defines the format to be used on the Group and Detail displays for this
data-point type (Counter).
• HIGHAL—Indicates the highest level alarm for this point, which is either BadCtl,
BadPV, CComer, Cnferr, PVHi, PVHH, PVLo, PVLl, PVSgch, PVRocn, PVRocp,
DevHi, DevLo, Preset, PrPreset, PPPreset or NoAlarm.
When an AM Counter point is restarted using its database from a checkpoint file in an HM,
the counter data is initialized, as described in the following paragraphs. This initialization
takes place only if the PTEXECST value from the checkpoint file is Active.
For cold, warm, and hot restarts, if the accumulation option is configured (ACCUM = On),
• PV is changed to NaN
• PVSTS is changed to Bad
• All PV and deviation alarms are cleared (Off).
The configuration forms and Parameter Entry Displays for AM counter data points show
several default values, which are entered when the point is built through the Data Entity
Builder unless the default value is changed. Any parameters that don't have default values
must be entered or the point can't be loaded into the AM.
The configuration forms and Parameter Entry Displays for AM counter data points offer
both brief parameter sets and full-disclosure parameter sets. The brief set includes only the
parameters needed to configure the PV- and AV-related functions. To configure general
input connections, a contact cutout connection, or general output connections, you must
enter Full disclosure in parameter PTDISCL.
For more detailed information about the parameters listed in this section, refer to the
Application Module Parameter Reference Dictionary.
NAME—The Tag Name for the Counter data point (no default value)
UNIT—The ID of the process unit that contains this point (no default value)
KEYWORD—The keyword for this data point (default value = all blanks)
PRIMMOD—The process module associated with this point (the default value represents
a "null" tag name)
Each type of AM counter point alarm is enabled when the corresponding trip-point
parameter contains a value other than NaN.
The PV low trip-point value is contained in PVLOTP. If PVLOTP contains a real number,
a PV low-low trip point can be configured in PVLLTP.
The PV high trip-point value is contained in PVHITP. If PVHITP contains a real number,
a PV high-high trip point can be configured in PVHHTP.
If PERIOD contains something other than NoPeriod and if PVLOTP and PVLLTP contain
real numbers, rate-of-change values can be configured in PVROCPTP (positive trip point)
and PVROCNTP (negative trip point). Likewise, if PERIOD = NoPeriod, and PVHITP
and PVHHTP contain real numbers, rate-of-change values can be configured in
PVROCPTP and PVROCNTP.
If the PV target value in PVTV contains a real number, deviation alarms can be configured
in DEVHITP (deviation-high trip point) and DEVLOTP (deviation-low trip point).
Each of the alarm conditions has its own alarm priority parameter. These parameters are:
Refer to the Application Module Counter Configuration Forms, AM88-440, and to the
Application Module Parameter Reference Dictionary, to configure these connections.
PTDISCL must contain Full.
Refer to 2.2 in this publication and to the Application Module Parameter Reference
Dictionary, to configure the processing schedule for the AM Counter data point.
One of the following warnings may be returned when an attempt is made to change an AM
Counter data-point parameter:
• Value Clamped Error—the new value exceeded one of the PV or AV limits and was
clamped at that limit.
• String Truncated—the new value was a string with too many characters, so only the
maximum number of characters was accepted. Characters at the right end of the string
were rejected.
One of the following error messages may be returned when an attempt is made to change an
AM Counter data-point parameter:
• Illegal Value—the new value is the wrong type for the parameter.
• Limit or Range Crossover—a new value for a limit or a range parameter crosses over
the opposite limit or range value.
• Source of Request Invalid—the requester had an improper access key for this
parameter.
• Mode Not Man or Point Active—the point must be Inactive to allow a change of this
parameter's value.
• Limit or Range Exceeded—the new value exceeded the range or a limit of this
parameter.
• Read Only Parameter—this parameter can be read, only—its value cannot be changed.
• Change Not Permitted By Operator—a Universal Station operator cannot change the
parameter.
• Illegal Counter State—the current state of this Counter point does not allow this value
change.
• Point Type Invalid—the configured source point for the counter input connection is not
an HG Control Counter.
A Flag data point in an Application Module contains a PV with two discrete states. Flag
data points can be used for any task that requires the retention of a discrete state indicator,
such as synchronizing sequence programs that run concurrently or store recipe data.
The state of the PV is indicated on displays and printed logs and reports as one of the
values in parameter PVSTATES. PVSTATES is an array of two values. The two values
in PVSTATES are 8-character strings that can be configured and can be changed by
someone with an engineer's key at a Universal Station; therefore, the PV value is said to be
a "self-defining" enumeration. For example,
PVSTATES(0) = Full
and
PVSTATES(1) = Empty
The character strings are configured in the two PVSTATES values. The configured values
can be changed by someone with an engineer's key at a Universal Station, or by a user-
written program. STATE1 contains the same character string as PVSTATES(0) and
STATE2 contains the same character string as PVSTATES(1).
NOTE
Refer to the Application Module Parameter Reference Dictionary, for further information on
the parameters mentioned in this section.
AM Flag data points are not scheduled and are not processed at regular intervals. These
points are active only when a new value is stored in one or more of its parameters by
someone at a Universal Station or by a user-written program.
The following parameters contain information related to the representation of the AM Flag
data point on Universal Station displays and in the process-history files:
• UBOXCLR—Defines the color of the upper box on Group and Detail displays that
show this data point. The upper box is filled with that color when the PV is in the state
represented by the box.
• LBOXCLR—Defines the color of the lower box on Group and Detail displays that
show this data point. The lower box is filled with that color when the PV is in the state
represented by the box.
• DISPTYPE—Defines the format to be used on the Group and Detail displays for this
data point type (Flag).
• OVERVAL—If this parameter contains On, off-normal alarms for this point are shown
on the Overview display.
• HIGHAL—Indicates the highest alarm value for this point, which is either NoAlarm or
OffNormal.
The off-normal alarm check is made when one of the following parameters is changed from
a Universal Station or by a user-written program:
PV
PVNORMAL
OFFNRMAL
ALENBST
If OFFNRMAL contains On, OFFNRMPR contains the alarm priority, which can be
configured and can be changed by someone with an engineer's key at a Universal Station.
The possible priorities are Emergency, High, Low, Journal, NoAction, Printer, and
Jnlprint (see 4.3.1.3 in System Control Functions).
An operator at a Universal Station can enable, disable, or inhibit the alarm by changing the
value in ALENBST.
A user-written program can cut out this alarm by storing On in CONTCUT. Contact cutout
connections are not applicable.
The database for an AM Flag data point is restored from its checkpoint file in a History
Module during cold, fast, and hot restarts.
The configuration forms and Parameter Entry displays for AM Flag data points show
several default values, which are entered when the point is built through the Data Entity
Builder unless the default value is changed. Any parameters that don't have default values
must be entered or the point can't be loaded into the AM.
The following are the configurable parameters for an AM Flag data point (see the
Application Module Parameter Reference Dictionary for further parameter details):
NAME—The Tag Name for the Numeric data point (no default value)
UNIT—The ID of the process unit that contains this point (no default value)
KEYWORD—The keyword for this data point (default value = all blanks)
PRIMMOD—The process module associated with this point (the default value represents
a "null" tag name)
The following error indications are returned when an improper attempt is made to change a
parameter value:
Timer data points in an Application Module are used to measure time intervals and to initiate
events when the prescribed time has elapsed.
NOTE
Refer to the Application Module Parameter Reference Dictionary for further information on
the parameters mentioned in this section.
PV = PV + Period
where
PV is the current time and Period is the processing interval configured in PERIOD,
expressed in the units specified by TIMEBASE.
Timer State
CNTLLOCK = Perm STATE
General-input and general-output connection can also be configured for AM Timer Data Points, in the
same manner as for Regulatory data points (see 3.1.4.4 and 3.1.4.6). Also, a contact-cutout
connection can be configured for AM Timer Points (see 3.1.4.3).
For example, if PERIOD contains 30 seconds and TIMEBASE contains Minutes, Period in
the equation above is 0.5 minutes.
Normally, an operator at a Universal Station can start and stop the timer and can reset the
time by changing values in the STRTSTOP and RESET parameters; however, if
CNTLLOCK contains NotPerm, operators can't change these parameters. CNTLLOCK
can be changed from Perm to NotPerm and vice versa at a Universal Station by someone
with an engineer's key.
Similarly, an operator can normally change the set-time value in SP, but if SPLOCK
contains NotPerm, an operator can't make such changes. SPLOCK can be changed from
Perm to NotPerm and vice versa at a Universal Station by someone with an engineer's key.
If the set-time value in SP is not NaN (not a number) and PV is equal to or greater than the
value in SP, the timer state in STATE is Stopped and STRTSTOP contains Stop. Also, if
the time-out alarm is enabled (TIMOUTAL contains On), the time-out flag, TIMOUTFL,
contains On which generates an alarm.
If SP contains NaN, the PV is updated at each processing pass until it contains 1,000,000
time-base units, then it rolls over to zero and resumes updating.
The AM Timer is controlled through the parameters listed in Table 3-3. In most cases, the
values of these parameters can be changed by someone at a Universal Station or by a user-
written program. The table defines the effects of the parameter changes and all restrictions
to those changes.
If TIMOUTAL contains On, the time-out alarm is enabled and the following alarm-related
parameters apply to the AM Timer data point:
It is also possible to configure contact cutout for this alarm. See 4.3.1.7 in System Control
Functions.
Stop Restrictions:
Operator access not permitted when CNTLLOCK =
NotPerm
NotReset No restrictions
InActive No restrictions
(Continued)
PV A new Restrictions:
current No change in PV when:
Normal time STATE = Running
Access The new value is NaN
Level: The new value is greater than SP
Oper. SP ≠ NaN
If the new time is < 0 or if the new time > 1,000,000,
new values from a Universal Station are rejected
and new values from another data point or from a
user-written program are clamped to the limit
(0 or 999,999).
SP A new Restrictions:
set time No change by an operator when SPLOCK =
Normal NotPerm
Access If the new time is < 0, or if the new time > 1,000,000,
Level: new values from a Universal Station are rejected
Superv. and new values from another data point or from a
user-written program are clamped to the limit
(0 or 999,999).
AM Timer data points are scheduled as described under 2.2.1 in this publication.
• General input processing, if any general input connections are configured (see 3.1.4.4
in this publication).
• General output processing, if any general output connections are configured (see
3.1.4.6 in this publication).
NOTE: Do not connect the General Output of a Timer point to the PPS of another point.
See the warning at the end of subsection 3.1.4.6 for additioanl details.
When an AM Timer data point is restarted by using its data from a checkpoint file in an
HM, its data is initialized as follows:
The configuration forms and Parameter Entry displays for AM Timer data points show
several default values, which are entered when the point is built through the Data Entity
Builder unless the default value is changed. Any parameters that don't have default values
must be entered or the point can't be loaded into the AM.
The configuration forms and Parameter Entry displays for AM Timer data points offer both
brief parameter sets and full-disclosure parameter sets. The brief set includes only the
parameters needed to configure the basic timer functions. To configure general input
connections, a contact cutout connection, or general output connections, you must enter
Full disclosure in parameter PTDISCL.
The following are the configurable parameters for an AM Timer data point (see the
Application Module Parameter Reference Dictionary for further parameter details):
NAME—The Tag Name for the Numeric data point (no default vale)
UNIT—The ID of the process unit that contains this point (no default value)
KEYWORD—The keyword for this data point (default value = all blanks)
PRIMMOD—The process module associated with this point (the default value represents
a "null" tag name)
Refer to the Application Module Forms, and to the Application Module Parameter
Reference Dictionary, to configure general input, contact cutout, and general output
connections.
One of the following error messages may be returned when an attempt is made to change an
AM Timer data point parameter:
• Change Not Permitted By Operator—A Universal Station operator cannot change the
parameter.
• Illegal Value—The new value is the wrong type for the parameter.
• Illegal Timer State—The value can't be changed because of the current state of the
Timer.
The following warning may be returned when an attempt is made to change an AM Timer
data-point parameter:
• Value Clamped Error—The new value (for SP or PV) was greater than 999,999 or less
than zero; therefore, the value was clamped at the appropriate one of those limits.
Often there is a need for custom CL logic that does not have a single, specific regulatory
data point associated with it. That is, CL logic that conceptually stands by itself, perhaps
monitoring or controlling the activities of several regulatory (or other) data points. What is
needed for this is a data point that has the standard parameters relating to identification,
scheduling, custom data-segment attachment, and CL block status, a data point that has no
other data except custom data segments, and one that has no functions other than those
added by custom CL blocks. Custom Data Points are provided to meet this need.
(.....Others.........Per.........CL.....)
Parameter-access locks:
(V)—View only
(B)—DEB only
(EB)—DEB or Engineer key only
(P)—Program (or continuous control) or DEB
(E)—Engineer, DEB or Program
(S)—Supervisor, Engineer, DEB, or Program
(O)—Operator Supervisor, Engineer, DEB, or Program
(L)—Entered by CL Linker
(EP)—Engineer or Program
The identification data shown in the chart on the previous page is a subset of that used on
all regulatory data points.
Custom Data Points are scheduled just as Regulatory data points are, including period,
before/after, and cycle options. This means that a Custom Data Point can be processed on
a schedule, or it can be given no schedule at all and processed entirely with process
specials. The PPSREQ parameter can be used by CL code to determine whether a PPS is
used to process a given point execution.
The point-execution status, PTEXECST, has the states "active" and "inactive," which
apply as in Regulatory data points. That is, the point doesn't execute in the inactive state.
As with Regulatory points, the RESTART parameter provides initialization and startup
information. Specifically, it indicates the first execution since point activation, if this is the
first execution since a cold, warm, or hot restart.
The alarm-related parameters on the chart, above, are also the same as the corresponding
functions of Regulatory data points. These functions include the following;
• Alarm priority
• Alarm enable
• Point in alarm (PTINAL) and the highest-level current alarm (HIGHAL) flags
The number of packages and each package file name are specified as for other AM points.
The CL segment data is defined under 4.1.5 in this publication.
There are two insertion points on a Custom Data Point. These are the "general" insertion
point (which is processed first) and the “backgrnd” insertion point. Multiple CL Blocks
can be linked to either insertion point. The order of execution of blocks on the same
insertion point can be established by information located in the Block Headers of the CL
programs. See the Control Language/Application Module Reference Manual for more
detail.
A Switch data point is a Custom Data Point in an AM, with two additional functions: a CL
Switch and some custom alarming features.
The following chart defines the user-visible parameters of a Switch data point.
S2NSTATE (B)
S2STATES (B) S2REQSTS (O)
(0..x)* S2CURSTS (P)
S2ACCLVL (EB)
(0..x)*
(continued)
PKGNAME (B)
(1..NOPKG)
(.....Others.........Per.........CL.....)
Parameter-Access Locks:
(V)—View only
(L)—Entered by CL Linker
(B)—Data Entity Builder, only
(E)—Engineer, Program, or DEB
(EP)—Engineer or Program
CONTROL-LANGUAGE SUPPORT
Section 4
The Control Language provides a means for a process engineer to customize control
strategies.
• When normal point processing is satisfactory, except that some nonstandard actions are
required, the customer can insert CL Blocks in the standard point-processing sequence
in an AM, at one or more predefined insertion points.
• When normal point processing is satisfactory and some nonstandard actions are
required and the inserting of logic into normal point processing would be cumbersome,
Background CL Blocks can be added to be initiated during the point processing cycle.
NOTE
Though the descriptions in this section on "Access Rights Checks" and on "Range and Limit
Violations" apply to CL executing in Multifunction Controllers and in AMs, this section
primarily covers the execution of CL in an AM.
CL blocks are user-written routines (see the Control Language Reference Manual ) that are
"inserted" into the point processing structure at defined places. Figure 3-2 shows the
places where a CL block can be inserted into the processing of a regulatory data point.
CL blocks inserted at any place except the “BACKGRND” insertion point are referred to as
"Foreground CL blocks." The Foreground CL blocks run as subroutines, each block
completing before returning to process the remaining control functions on that point. This
is a powerful and flexible structure, but it does require that the Foreground CL blocks
complete quickly so that the normal point processing of other points is not delayed.
A final insertion point called BACKGRND is added at the end of point processing for the
regulatory, custom, and switch point types. Blocks linked to this insertion point are called
"Background CL blocks" and are given special treatment. Instead of running as
subroutines that must complete before the processing of the next point can begin,
Background CL blocks are queued to run under a separate "background" task.
Background CL blocks run in AM "free" time, after the "foreground" operations such as
point processing (including foreground CL blocks) and alarm distribution for all points
have completed. Therefore, background CL blocks can run for longer periods of time
(over many processing cycles) without disrupting the timing of point processing. This
leads to two important differences between Foreground and Background CL blocks: there
is no backward branch count limit for Background CL blocks, and Background CL blocks
can be aborted (or made inactive) by the operator.
The number of background blocks that a point can have is limited only by the configured
number of insertion blocks per point (up to 255). Each time that a point is processed, it is
checked for active Background CL blocks. If it has active background blocks and none are
running, the point is queued for background processing. Once queued, a point's active
Background CL blocks run to completion one at a time in order. After all have completed,
the point can again be queued for background processing.
The Background CL blocks from up to 10 points can run at a time (per AM), sharing 50
millisecond slices of the available free time between processing of points. (The number of
simultaneously executing background tasks is customer configurable and consumes user
point and CL program data space.
These are the steps required to connect CL/AM Blocks to data points.
a) Source code is entered through the Engineering Personality (EP) Command Processor
EDit function. Source code file names use the '.CL' extension, and can contain:
b) When the source is compiled through the EP Command Processor's CL overlay, object
files and custom data segment files are produced.
• Object files (<filename>.AO) contain the program to execute in the AM. This is
linked to an AM Custom, Regulatory, or Switch Point through the EP Command
Processor's CL Link function. The point that the program is loaded to is referred to
as the Bound Data Point or BDP.
2) The AM point is built with the quantity of CL objects (blocks) that can be linked to
it specified (CLSLOTS) and, if Custom Data Segments are used, the quantity and
names of the CDS source files are entered (PKGNAME(n)). Optionally, the values
for the Custom parameters can be specified at point build time. The Custom
parameters must be compiled before the package name can be entered, and the point
must be built with CL slots before the CL object can be linked.
3) The source code is compiled and the object is linked. The Bound Data Point must
be inactive while linking.
There are two basic ways in which CL Blocks can be attached to data points: specific, and
generic—as specified in the Header of the CL Block:
1. When a specific data-point name is specified in the CL header, the CL Block can be
connected to only that point.
2. When the GENERIC clause is used in the CL header, the actual point to which the
block is linked can be any point that is consistent with the applicable Parameter Lists
and PARAMETER statements in the CL code.
CL/AM programs can read or write values of point.parameters through both direct and
indirect reference formats.
Direct Reference—Both standard and custom parameters of the Bound Data Point can be
directly referenced by the parameter name (without the requirement of the preceding point
name). The parameters of other points in the AM and points that reside in other LCN
nodes can be directly referenced from a CL/AM program by declaring the points as
EXTERNAL and preceding the parameter references with the external point identifiers
(names). These direct reference points must exist when the CL/AM program is compiled
and linked.
Indirect Reference—You can use the indirect reference capability to write 'generic' CL/AM
code that references external points through a Custom Data Segment (CDS) parameter
whose type is point identifier (the names of the external point identifiers are not declared in
the CL/AM program). This permits the program to be developed and compiled without
knowing the external identifiers of points used in the program. Also, the point identifier
can be changed without having to re-edit the source. The identifiers of the indirectly
addressed external points are specified when the AM point is loaded (through the values in
Custom Data Segment parameters), and bound to this CL/AM program when it is linked to
the point.
A dynamic indirection capability allows the CDS parameter value that contains the external
point identifier to be changed without having to inactivate, reload, or relink the point. The
CDS parameters containing point identifiers can be modified through the DEB, Detail
Display–Custom Page, Custom Schematics, through CG program stores, and built-in CL
Functions and Subroutines.
CL indirection supports:
The capabilities and restrictions of indirection are explained further in the Control
Language/Application Module Reference Manual under headings 2.3.8 (Indirect Reference
to Point Identifiers) and 2.3.4 (Data Points Data Type).
Data access from both Foreground and Background CL Blocks is subject to several
system-enforced restrictions. These include access rights checks, range and limit checks,
and data-transport errors.
• References to data points in the same node, including those to the bound data point, are
made, in place, as the CL Block is executed.
The result is that a "fetch" from a parameter that received a new value during the current
cycle returns a value whose "freshness" varies in different situations, as follows:
Destination parameter is The stored value is internally held (in the point).
another node and the fetch is This value is returned on the fetch. Data Access
from the same point from which checks of the stored value have not yet been made.
the store was made. It is assumed (but not assured) that the value will pass the
checks.
Destination parameter point The change in point identifer does not take effect
identifier (indirection) is changed until the end of the point execution cycle (i.e.,
during the point execution cycle prefetch and poststores are done based on the old
(between prefetch and end-of-point point identifier).
execution).
All Background CL accesses to data points, whether in the same node or in another node
on the LCN, are made in place as the CL block is executed. There is no prefetch or
poststore of data for Background CL blocks.
This results in a separate LCN data fetch or store for each Background CL reference to an
off-node data point. Thus a large number of LCN data fetches will significantly lengthen
the execution time of a Background CL block. You should consider alternatives such as
having a process-special point fetch the required data in Foreground CL blocks and save
the data in Custom Data Segment parameters.
There is an "Access" Clause in the Header of a CL Block that governs the rights and
restrictions for CL stores to MODE, SP, OP, RATIO, and BIAS parameters of other points
(the same rules apply to stores of these parameters in the bound data point, but they are
seldom used). The Access clause can specify PROGRAM or CONT CONTROL access.
CONT CONTROL is the default for continuous CL programs, but PROGRAM can be
selected as an option. PROGRAM is the only access type used for sequence programs in
the Multifunction Controller—it need not be explicitly selected.
PROGRAM access requires that the Mode Attribute for the destination point be "Program"
and then follows Operator-type Mode rules, as follows:
• Stores to the mode parameter require the Mode Attribute of the destination point to be
"Program."
• Stores to SP require the Mode Attribute to be "Program" and the Mode to be Auto (or,
for PID points, Manual w/o PV tracking).
• Stores to OP require the Mode Attribute to be "Program" and the Mode to be Manual.
NOTE
Stores from on-process Universal Stations require the Mode Attribute to be "Operator" for
changes to Mode, SP, and OP.
CONT CONTROL access obeys rules that are similar to those followed by normal
Regulatory Data Point Output Processing, as follows:
• Stores to MODE are not affected by the Mode Attribute of the destination point.
• Stores to SP require CAS Mode and are unaffected by the Attribute. In addition, for
HG points, RCASENB must contain On and the algorithm must be an SPC algorithm
or a DDC algorithm without PV tracking.
• Stores to OP (if legal at the destination point) require CAS Mode and are unaffected by
the Mode Attribute. Stores to OP are not permitted on AM points. For HG points, the
algorithm must be a DDC algorithm and RCASENB must contain On.
We recommend (but don't require) that CL programs that store to SP and OP with CONT
CONTROL access, check the point's CASREQ parameter before storing in MODE. If
CASREQ contains Request, the program should store Cas in MODE and exit (note that the
store to MODE will occur even if CASREQ doesn't contain Request). The next time the
program executes, it can store in SP or OP. The reason the program should exit and not
store in SP or OP until the next processing pass is to delay to give the box enough time to
change the mode. This is an example of such a program:
Regardless of the Access selection, stores to Ratio or Bias, of the PID Ratio/Bias
Algorithms, require the Attribute to be Program for CL stores.
AM/CL stores of MODE and MODATTR parameters to the same Multifunction Controller
slot require that the values be stored on separate executions of the CL. The example below
describes a method to change both parameters with multiple execution cycles of the CL.
NOTE
Stores from on-process Universal Stations require the Mode Attribute "Operator" for
changes to Ratio and Bias.
Storage (write) access by CL blocks bound to another data point is governed by restrictions
defined for the particular parameter, as it is configured.
Stores to SP are normally clamped so that they stay within the SP Limits (if they exist) for
the destination point (points in Basic Controllers don't have SP Limits). This clamping
applies for normal output processing logic, as well as for direct CL stores over interpoint
connections within boxes and within AMs; however, when the connection is from an AM
to a process-connected box, the rules for output processing allow the higher-level
continuous control by the AM to violate the limits in the box.
For connections between AMs and Boxes, the following rules apply:
• For access where the attribute is PROGRAM, SP clamping of the store occurs.
• For CONT CONTROL access, the rules used by output processing for AM-to-Box
cascades are followed. Values outside the SP limits (extended range in the case of CB
and MC points) are clamped at the SP limits. More restrictive checks, if necessary,
must be directly supplied by the CL code.
• Direct stores to the OP parameter in Boxes (or UCN Nodes) from CL under
PROGRAM access are clamped to stay within the Box OP limits.
The values directly stored in OP of other data points are not clamped to stay within the OP
limits. These limits apply to only the value of OP that are calculated within the point. That
is, they are applied when the point creates an OP from a CV value, whether the CV is
computed by a standard algorithm or by a CL Block. Direct stores to the OP parameter
from Universal Stations, Output Processing of another point, or CL under CONT
CONTROL access are not clamped unless the value is outside the -6.9% to 106.9% range,
in which case it is clamped at the corresponding range limit for output processing and CL,
and an error indication appears at the Universal Station(s).
For other parameters (other than SP & OP) that have configurable ranges (for example,
PV), stores from CL that exceed the defined range of the destination parameter are clamped
at the end of the range.
If the parameter has a system-fixed range (for example, a control-tuning parameter that
must always be positive), attempts to store a value outside the range are rejected.
• Nonexistence Errors—An attempt to read or write a parameter of any data point cannot
be performed if that point or parameter does not exist. Such an error is called a
"nonexistence" error. These errors are normally discovered when the CL program is
compiled or linked, but they can be detected when the program is running (at
"runtime"), if the database has been modified. A nonexistence error at runtime causes
the Configuration Error condition of the CL Block.
Parameters whose type is number can have a "bad" code for the value that indicates that a
legitimate number cannot be determined. This happens under any of the following
conditions:
• A PV is bad because its range has been exceeded (transmitter failure) and the clamping
option was not selected.
• A limit or alarm trip point has been set Bad to bypass limiting or alarming action (this
applies to only AM points).
• For parameter types other than number, the abort occurs immediately as the CL block
attempts to access the parameter.
• For a parameter whose type is number, a bad value code is used as the value, and
expression evaluation (arithmetic) is allowed. The bad value code propagates through
the expressions, always with a bad value result. The CL block is aborted on any
attempt to store the bad value or on any attempt to use the bad value to make a decision
(this could result in incorrectly storing in another parameter).
If a CL abort is not the desired action in these conditions, the Customer Engineer can use
one of the following courses of action:
• Finally, it may be desirable to allow the storing of a bad value so that other logic in the
system may continue its propagation, or simply to detect its presence. This function is
provided by the ALLOW BAD and SET BAD subroutines. ALLOW BAD(x,y) stores
"y" into "x" even if "y" is bad, and does not abort the CL Block. (Both "x" and "y"
may be direct or indirect point-parameter references. SET BAD (x) generates a "bad
value" (NaN) code and stores it into "x" without aborting the CL Block.
4.1.4.8 Infinities
Certain operations on values whose type is Number cause a positive or negative infinity to
be created as the result. These cases include the following:
• Arithmetic overflow—(for example, adding one to the largest finite value that the
internal number system can hold.) The result is an appropriately signed infinity.
NOTE
These are NOT error conditions. Infinite values are not Bad Values; they are handled in
calculations and comparisons according to normal mathematical rules. For example, adding
anything finite to a positive infinity yields a positive infinity; in a comparison, a positive infinity
is greater than any finite value, and a negative infinity is less than any finite value. If this
handling of infinite values is not deemed appropriate, the CL function, FINITE, can be used
to test for finite/not finite (not finite includes bad values and infinities), and take the desired
action.
There are three classes of execution-time errors: (1) CL Error conditions, (2) CL failures,
and (3) minor errors. If any of these conditions occurs, a code that defines the reason for
the error is stored in the CL segment. This code can be displayed at a Universal Station or
can be accessed by CL logic, including CL Blocks bound to the same data point. If
multiple errors have occurred, the reason code in the CL segment indicates the most severe
error.
CL Error Conditions:
1) A fetch or store couldn't take place because the parameter or point doesn't exist, or
because the parameter's current data type does not match the data type of the
parameter when the CL block was linked.
3) A CL program is linked to a certain array data-type definition, and the data type
changes so that the array becomes larger, and there is a subsequent attempt to
access that parameter by a CL program (if this happens the CL block must be
unlinked, recompiled, and relinked).
6) An attempt to fetch or to store to the string array size, value revision, value, or
status parameter of reserved data point $AMIF, before the $AMIF configuration has
been established.
7) An attempt to fetch or store a $AMIF parameter that is legal but has not been
established (created) by a user-written CL on AM startup.
• Key-level Access Error (KEYLEVEL)—An attempted store could not take place
because of a key-level restriction. That is, a parameter store was attempted that is not
legal from continuous control or program access.
1) The label that is the target of a GOTO statement is in the middle of a REPEAT
loop.
3) The CL block cannot get more memory while it is executing. When this happens,
it is typically on a subroutine call or function call. This can be corrected by
increasing the stack size for a CL running at a Background insertion point, or by
reducing the quantity of CL local variables defined in the block.
4) Use as a loop index, a variable that has not been stored to, or a parameter whose
value is “bad.”
In cases 1), 2) and 4), the location of the error in the CL block is placed in
parameter CLERRLOC(n) in the CL segment of the bound data point. In the third
case, a zero is placed in CLERRLOC. More information about CLERRLOC is
under 6.3 in Control Language/Application Module Data Entry.
• Range Error (RANGE)—An attempt was made to store a value outside the fixed range
of a parameter that has a fixed value range, rather than a configurable value range.
• Array Limit (ARRAYLIM)—An attempt was made to access outside the bounds of an
array.
There are two backward branch counters: CLBACKF (fast processor) and CLBACKS
(slow processor). These are processor status data-point parameters and they can be
accessed and changed through a custom display (see Section 22 in the Engineer's
Reference Manual). They can store a maximum count of 32,767. The default value in
CLBACKF is 100 and the default value in CLBACKS is 500. Note that setting the
value in one of these parameters too high can delay point processing if a CL block gets
into a long loop. This can cause the AM to fail.
If the point containing the CL block executes due to a process special request (PPS),
the backward branch counter associated with the point's assigned processor is used. If
an unscheduled point (PERIOD is defined as NOPERIOD) executes due to a PPS
request, the CLBACKS counter is used. Note that a CL block executing in background
does not check for backward branch violations.
CL Failure Conditions:
• Bad value store (BADVALST)—Attempt to store a Bad value without using the
ALLOW_BAD or the SET_BAD subroutine, or the use of a Bad value in making a
decision.
Minor Errors:
• Communication error (COMMERR)— (1) A network fetch or store couldn't take place
because of a communication error or because the device accessed wasn't on-line.
(2) A failed attempt to obtain memory for the $AMIF reserved data point initiated via a
store to an array-size string or a string-length parameter.
CL Error Conditions are expected to result from CL programming errors ("bugs") or other
errors that require CL coding changes for successful recovery. This is similar to the
ERROR state of a sequence program in an MC. The following actions are taken:
• The location count for the CL instruction where the error occurred is placed in
CLERRLOC in the CL segment (for poststore errors, the value in CLERRLOC is
zero). There is one CLERRLOC parameter for each CL slot in the segment. Refer to
6.3 in Control Language/Application Module Data Entry in the
Implementation/Application Module - 2 binder to learn how to determine which
statement has the error.
• The CL Error Alarm condition (CLE for Foreground CL and BCLE for Background
CL) is set, causing a process alarm to be generated on this point.
• The CL Error Alarm condition is an "off-normal" condition that remains true until point
processing for the point again normally completes with no CL Aborts, at which time the
"return-to-normal" for the alarm is registered.
CL Failure Conditions are expected to result from equipment failures, such as a sensor
failure, a box, module, or gateway failure, or a communication failure. Also, the explicit
abort from execution of a CL ABORT statement is included in this class. This is similar to
the Fail state of a sequence program, in that the system, rather than the CL code is expected
to be at fault.
The actions taken are similar to those taken for the CL Error Condition:
• The Alarm condition is set, in this case, the CL Failure Alarm (CLF for Foreground CL
and BCLF for Background CL). This causes a process alarm to be generated on this
point.
• The CL Fail Alarm condition is an "off normal" condition that remains true until point
processing for the point is completed normally with no CL Aborts. At that time the
"return-to-normal" for the alarm is registered.
Minor errors are expected to result from conditions in the process or in the control
strategies, such as modes that preclude stores or limits clamping the stored values. No
alarms or aborts occur.
Note that in sequence programs, rights errors and communication errors are considered to
be failures and the sequence is stopped to wait for operator intervention. For continuous
CL programs, however, they are assumed to be acceptable operation overrides.
Any necessary checks should be made by explicit CL code before attempting to store
values.
If a CL Abort caused by an Abort statement or some other error has occurred, the action
taken is to skip all remaining processing of the point, except for distribution of the alarm
conditions already detected on the present processing pass.
Additionally, if the abort occurs at an insertion point up to and including the post-PV
processing insertion point, the following occurs:
• If PVSOURCE = Auto, the PV status goes Bad and a Bad-PV alarm is requested.
If the abort occurs at any insertion point after the calculation of the PV, the following
occurs:
4.1.5 CL Segments
Each data point to which CL Blocks can be linked has a CL Segment, which holds data that
relates the CL Blocks to the data point. The CL segment is written to and read from by the
Linker (and its loader) and by the standard control software. Some of the CL Segment's
parameters can be accessed by other data points and by user-written programs.
The following chart lists user-visible parameters in CL segments related to CL blocks that
are bound to AM points:
Parameter
Significance--> CONFIGURATION OPERATION STATUS/INFO
Parameter
Names & ----> CLSLOTS (B) CLACTIVE (EP) BLKTIME (V)
Access Locks BLKNAME (L) (1..CLSLOTS) (1..CLSLOTS)
(1..CLSLOTS) $CLCMPST (EP) CLERRSUM (V)
INSPOINT (L) (1..CLSLOTS) CLBLKERR (V)
(1..CLSLOTS) $BKGSTS (V) (1..CLSLOTS)
INSORDER (L) (1..CLSLOTS) CLERRLOC (V)
(1..CLSLOTS) (1..CLSLOTS)
BRANCHES (V)
(1..CLSLOTS)
CLVERSIN (V)
(1..CLSLOTS)
CLREVISN (V)
(1..CLSLOTS)
CLUSECNT (V)
(1..CLSLOTS)
$BKGABRT (V)
$BKGQFUL (V)
$BKGTIME (V)
$BKGPRTY (V)
(1..CLSLOTS)
Parameter-Access Locks:
(V)—View only
(L)—Entered by CL Linker
(B)—Data Entity Builder, only
(E)—Engineer, Program, or DEB
(EP)—Engineer or Program
4.1.5.2 CL Slots
A CL segment contains one slot for each block that can be bound (linked) to the data point.
The CL Linker ensures that all occupied slots are contiguous and begin with the first slot in
the segment. All unoccupied, or "not configured" slots are grouped at the end of the
segment.
Slots are maintained in order, first by insertion point, then by their specified order within
the insertion point. Blocks that do not specify an execution order are executed after all
those that are so specified.
The fields of the slots are accessed as though they were elements of an array. They are
indexed by the slot number. A block can determine its own slot number to use as the
index, when the block is executing, by using the SELF function in the CL code. For
example:
A101.CLACTIVE(x)—Active flag of Slot x
A101.BLKNAME(Self)—Block name of self
Note that a CL Block should never use a fixed, predetermined number for the slot index
because this can change as other blocks are inserted or deleted on the data point.
CLSLOTS—The "number of slots" field of the CL segment (CLSLOTS) is set up when the
data point is built. It can be changed by rebuilding the data point through the Data Entity
Builder (DEB). This allows CLSLOTS to be increased, making space for more CL blocks
without affecting the blocks already linked to the point. The CLSLOTS parameter value
cannot be decreased on a rebuild operation.
BLKNAME—A nonvisible parameter in the data point points to the block's entry in the CL
Object Catalog in the AM. This gives the name (BLKNAME) and a time stamp
(BLKTIME) of the block (corresponding to the Block name and time stamp on the CL
listing) and allows the control system to locate the object code.
INSPOINT & INSORDER—The Insertion Point Number (INSPOINT) and Insertion
Point Order (INSORDER) fields specify the insertion point at which the block is to be
executed and provide an optional specification for the order of execution within the
insertion point. The content of these fields are originally specified by the CL user in the AT
clause of the block heading. For further information, see Figure 3-2 (under 3.1.3 in this
publication) and refer to the Control Language/Application Module Reference Manual.
$CLCMPST—For operating and display convenience, the operating state of the slot
($CLCMPST(I)) is derived from the values of $BKGSTS(I) and CLACTIVE(I). For
Foreground blocks the values are identical to CLACTIVE(I). For Background blocks, the
following table shows the possible $CLCMPST values.
The operator can change the status of $CLMPST between active and inactive from the
Detail Display. (Note that when this parameter is selected the "pick" includes ABORT
which is not a state but a command which will stop execution of a slot's Background CL
Block until the point's next processing cycle. See heading 4.1.6.2.)
INA_RUN, INA_DELAY, and INA_WAIT states occur when the CL Block associated
with an inactive CL slot is still executing (see heading 4.1.6.3).
CLERRSUM—The Error Status Summary field (CLERRSUM) reflects the most severe
error that occurred for any block bound to the data point, as a result of the previous
processing pass. This field is updated by the standard control software to reflect the results
of a poststore error. The value in CLERRSUM is changed to Noerror when the point's
execution state is set to Active, and its value is then redetermined each time the point is
processed.
CLBLKERR—The Error Status field (CLBLKERR) indicates the most severe error
encountered the last time this block was executed. If there were no errors detected the last
time the CL block was executed, or if the CL Block's activity status changed to Inactive,
the value in CLBLKERR is set to Noerror. The values in the CLERRSUM and
CLBLKERR parameters are those in parentheses under 4.1.4.9 in this publication.
CLERRLOC contains zeros if the CL block executed to completion on its last pass. Note
that an error on a post-store from Foreground CL does not abort the CL block execution,
so that CLERRLOC will contain zero in this case.
BRANCHES—contains the number of backward branches taken the last time the CL block
was executed. This parameter is not used for Background CL blocks.
CLVERSIN—contains the version number of the CL Compiler that was used to compile
the CL block.
CLREVISN—contains the revision number of the CL Compiler that was used to compile
the CL block.
$BKGABRT— Equals TRUE if the Background CL blocks on the point were aborted the
last time one was being executed.
$BKGQFUL— Equals TRUE if the queue was full the last time that Background CL was
scheduled to be queued.
CAUTION
Background CLs restart from the beginning after failover of a redundant AM. Users of
background CL on redundant AMs must be careful to program for redundancy. Refer to
subsection 7.4 in Application Module Implementation Guidelines .
Background CL blocks are initiated (queued) at the end of a point's execution. If none of
the point’s background blocks are running ($BKGSTS for all ACTIVE background blocks
is OFF), the point is queued for background processing.
When a point’s background CLs cannot be queued because the queue limit of 50 points has
been reached, the queue status is reported as follows:
The system continues trying to queue the point’s background CLs each time it is processed.
When a background CL again can be queued the following happens:
The operator can abort a running Background CL Block from the CL page of the point's
detail display by selecting the status displayed in the Activity column and then selecting the
ABORT_CL pick. A program can abort a running Background CL Block by storing
ABORT_CL to the $CLCMPST parameter of the CL slot.
Aborting the running Background CL Block also prevents execution on this pass of any
other active Background CL blocks for that point. Aborting a Background CL Block does
not affect background CL execution the next time that the point is processed. When the
point is next processed, it begins execution of the active Background CL Blocks in their
normal sequence.
A Background CL Block can detect that an abort occurred during the latest execution of the
point's background CL block(s) by testing the point's parameter $BKGABRT. When
background for a point has been aborted, this parameter remains TRUE until all active
Background CL Blocks on the point have subsequently run to normal completion.
An operator can set a point inactive from the first page of its Detail Display by changing the
point’s execution state to INACTIVE. A program sets a point inactive by storing
INACTIVE to the parameter PTEXECST.
Setting a point Inactive stops the execution of all Background CL Blocks on that point. It
causes the abort of a running Background CL Block or prevents a queued block from
running.
An operator can set a Background CL Block inactive from the CL page of the Detail
Display. A program sets a Background CL Block inactive by storing INACTIVE to the
slot's $CLCMPST parameter.
Setting a Background CL Block Inactive does not abort its execution if it is already queued
or running. Inactivating a block takes effect the next time that the point’s background
blocks are to be queued.
Since Background CL blocks run at low priority, they will be interrupted by other AM
functions including Foreground CL blocks and Background CL blocks of equal or higher
priority. This interruption can occur between two background block data accesses. CL
programs that share data must take this probability into account.
Several parameters on a point convey meaning only while the point is in Foreground CL
execution and should not be used by Background CL blocks. These include RESTART,
PATHIND, and alarm transition flags.
Applications oriented subroutines and functions that are callable by CL/AM programs can
be purchased from Honeywell and added to your system. These subroutines and functions
are known as CL Runtime Extensions and are packaged in files called Include Sets. These
optional files are loaded into the AM during system startup and configuration.
Information on available Include Sets and the subroutines and functions that they contain is
available with the optional product or package.
• Current state—SnCURSTS that indicates the current state of the switch, as determined
by a CL Block.
A store to the requested-state parameter initiates special processing of the data point on
which the CL switch is configured. Therefore, programmers should use care when writing
programs that write to these parameters, so as to avoid unnecessary processing. It is
expected that CL Blocks bound to the data point will see each change in the requested state,
check to see if the change is valid, and act accordingly. These CL Blocks can be
configured to execute either when the CL switch position changes (implemented by a
WHEN clause in the CL Block's header) or each time the point is processed (no WHEN
clause specified). Switch CL Blocks that implement switch-strategy logic can be linked to
any valid insertion point on the data point.
CL switches can have up-to-five states. The names of these states are configured through
the Data Entity Builder. The main advantage of CL switches over simple enumerations in
custom data segments is that CL switches have some supporting information on the points'
detail displays. Examples of CL switch use include switching between alternate inputs, as
the validity of inputs change, changing cascade-control schemes, and changing algorithm-
related constants as required by process conditions (limit violations, etc.).
A CL Switch is added to a Regulatory Data Point by configuring something other than zero
for the data-point parameter NUMSWTCH. Up to two switches can be added to an AM
Regulatory data point.
Configuring a switch on the data point adds the parameters shown on the following chart:
S2NSTATE -B
S2STATES -B S2REQSTS -O
(0..X)* S2CURSTS -P
S2ACCLVL -EB
(0..X)*
You can configure additional parameters required for switch operation and the
switch/operator interface by configuring Custom Data Segments (see 3.6).
WARNING
CL
Connection to Data Points 4.1.2
Error Alarm 2.3.8
Execution in the AM 4.1
Fatal-Error Alarm 2.3.9
Insertion Points 3.1.3, 3.6.5, 3.7.4
Runtime Extensions 4.1.7
Segment Data, Custom Data Points 3.6.4
Segments 4.1.5
Slots 4.1.6
Switches on AM Regulatory Points 4.2
Cold Restart 2.7.2
Communication Errors 2.1.1
Communication Errors and Bad Values, CL 4.1.4.7
Comparison, Functions
AM and Process-Connected Boxes 3.1.13
Configuration
Alarm 2.3.6
Counter Points 3.3.12
Errors 2.1.3.2
Flag Points 3.4.5
Numeric Points 3.2.5
Timer Points 3.5.5
Connection
Counter Points 3.3.12.4
to Data Points, CL 4.1.2
Connections
Contact Cutout 2.3.13, 3.1.4.3
Control Input 3.1.4.2
Control Output 3.1.4.5
General Input 3.1.4.4
General Output 3.1.4.6
PV Input 3.1.4.1
Contact Cutout Connections 2.3.13, 3.1.4.3
Control
Initialization 3.1.10.2
Input Connections 3.1.4.2
Language See CL Ref. Man.
Output Connections 3.1.4.5
Output Processing, Regulatory Points 3.1.13
Controlling Timer Points 3.5.1.1
Counter Input and PVAUTO Calculation 3.3.3
Counter Points 3.3
Custom Data Points 3.6
Custom Process Alarms 2.3.11
Cycle Assignment by Users 2.2.1.5
Cycle Loading, Automatic 2.2.1.3
Data Access. CL 4.1.4
Database Checkpointing 2.7.1
Data Point Descriptions 3
Data Point Processing 2.2
Data Transport Errors, CL 4.1.4.5
Deadbands, Alarm 2.3.3
READER COMMENTS
Title of Document: AM Control Functions Issue Date: 5/97
Document Number: AM09-502
Comments:
Recommendations:
FROM:
Name: Date:
Title:
Company:
Address:
City: State: ZIP:
Telephone: FAX:
You may also call 800-822-7673 (available in the 48 contiguous states except Arizona; in Arizona dial 602-
313-5558, or write to:
Honeywell Inc.
Industrial Automation and Control
Automation College
2820 West Kelton Lane
Phoenix, AZ 85023-3028
Industrial Automation and Control Helping You Control Your World
Automation College
2820 W. Kelton Lane
Phoenix, AZ 85023-3028