PMT Hps HPM Control Theory Hp09
PMT Hps HPM Control Theory Hp09
HP09
R688
08/2019
Notices and Trademarks
Copyright 2019 by Honeywell International Sárl.
Release 688 August, 2019
While this information is presented in good faith and believed to be accurate, Honeywell disclaims
the implied warranties of merchantability and fitness for a particular purpose and makes no
express warranties except as may be stated in its written agreement with and for its customers.
In no event is Honeywell liable to anyone for any indirect, special, or consequential damages. The
information and specifications in this document are subject to change without notice.
Honeywell is a registered trademark of Honeywell International Inc.
Other brand or product names are trademarks of their respective owners.
ATTENTION
With TPN R684, Enhanced Universal Control Network (EUCN) is introduced.
In EUCN, the traditional coaxial cable system is no longer utilized and is
replaced with a Fault Tolerant Ethernet (FTE) based communication network.
Throughout the document, unless specifically mentioned, the terms HPM,
NIM, and UCN are interchangeably used with the terms EHPM, ENIM, and
EUCN respectively.
ATTENTION
With TPN R686, the Enhanced Network Bridge (ENB) is introduced. The
ENB is a variant of the NIM that allows communication between the LCN and
both UCN and EUCN networks. It can communicate over coaxial-based UCN
and FTE-based EUCN communication networks and provides a gateway
function between the UCN and the EUCN. The ENB also facilitates on-
process migration from HPM to EHPM (assuming you have redundant
HPMs).
ATTENTION
Beginning with TPN R686, Fieldbus support is withdrawn.
Release Information
Document Name Document Release Publication
ID Number Date
Document Category
Configuration
References
The following list identifies all documents that may be sources of reference for material discussed
in this publication.
Symbol Definitions
The following table lists those symbols used in this document to denote certain conditions.
Symbol Definition
Symbol Definition
3. I/O POINTS....................................................................................39
3.1 I/O Points Background................................................................................. 39
Tables
Table 4-1 HL and LL analog input point sensor types ................................................... 44
Table 4-2 Max Allowable Lead Resistance and Max Allowable Intrinsic Safety barrier
Resistance for RTD types ...................................................................................... 48
Table 5-1 STI sensor types and PV characterization .................................................... 60
Table 5-2 State Parameters of STI-IOP and the transmitter ......................................... 68
Table 5-3 STI-IOP command parameters ..................................................................... 69
Table 6-1 Event sequence ............................................................................................. 75
Table 13-1 Digital Composite Point Normal States ..................................................... 128
Table 13-2 Digital Composite Point Momentary States ............................................... 130
Table 13-3 Digital Composite Point PV Sources ......................................................... 140
Table 14-1 Entires for LOGMIX parameters ................................................................ 160
Table 15-1 Normal Sequence and Abnormal Condition Handler Component Definitions
.............................................................................................................................. 198
Table 15-2 Process Module Operating States ............................................................ 200
Table 15-3 Sequence Execution Mode ....................................................................... 202
Table 15-4 Sequence Execution States ...................................................................... 204
Table 16-1 PV Value Status Definitions ...................................................................... 219
Table 18-1 Flow Compensation Forms ....................................................................... 226
Table 18-2 Flow Compensation PV Algorithm Equations ........................................... 230
Table 22-1 Variable Dead-Time PV Algorithm Equations ........................................... 252
Table 25-1 Supported Operators and Functions ......................................................... 280
Table 26-1 Regulatory Control Point Operating Modes .............................................. 286
Table 26-2 Regulatory Control Point Mode Attributes ................................................. 288
Table 26-3 Regulatory Control Point Remote Cascade Options ................................. 291
Table 26-4 Regulatory Control Point Bad PV/Mode Shed .......................................... 294
Table 26-5 Regulatory Control Point PV Source Selection Configuration .................. 296
Table 26-6 Regulatory Control Point Bad PV Alarm Detection ................................... 297
Table 26-7 Regulatory Control Point External Mode Switching .................................. 300
Table 26-8 PID-Based Regulatory Control Algorithm Setpoint Access ....................... 307
Table 26-9 Non-PID-Based Regulatory Control Algorithm Setpoint Access ............... 309
Table 26-10 INITVAL Calculation with RATIO or BIAS Clamped ............................... 314
Table 26-11 Regulatory Control Point HMI Accessible Output Parameters................ 319
Table 26-12 Regulatory Control Override Control Status and Feedback Parameters 332
Table 27-1 Pid Control Algorithm Gain Options .......................................................... 342
Table 27-2 Pid Control Algorithm - Equation A............................................................ 352
Table 27-3 Pid Control Algorithm - Equation B............................................................ 352
Table 27-4 Pid Control Algorithm - Equation C ........................................................... 353
Figures
Figure 2-1 Primary Operator Interface for control loop .................................................. 34
Figure 2-2 Primary Operator Interface for Mass Flow ................................................... 35
Figure 2-3 Primary Operator Interface for Motor ........................................................... 36
Figure 2-4 Type of Stand alone points .......................................................................... 37
Figure 4-1 Analog Input Point, Functional Diagram ...................................................... 42
Figure 4-2 PVCALC Calculation .................................................................................... 46
Figure 5-1Smart transmitter input point functional diagram .......................................... 55
Figure 5-2 STI Point Detail Display .............................................................................. 59
Figure 5-3 Linear Conversion STI IOP .......................................................................... 61
Figure 5-4 Conversion Equations .................................................................................. 62
Figure 6-1Analog Output Point Functional Diagram ...................................................... 72
Figure 6-2 Output Characterization for an Analog Output Point................................... 74
Figure 7-1Digital Input Point Functional Diagram .......................................................... 78
Figure 7-2 DI Input States............................................................................................. 79
Figure 8-1 Digital Output Point Functional Diagram ..................................................... 93
Figure 8-2 PWM Type Digital Output Point Waveforms ............................................... 94
Figure 8-3 Calculation of pulse-on-time and reverse acting outputs ............................. 95
Figure 8-4 Status Type Digital Output Point Waveforms............................................... 97
Figure 9-1 Pulse Input Point Functional Diagram ....................................................... 100
Figure 10-1 Serial Interface Point Hardware Block Diagram...................................... 103
Figure 11-1 Serial Device Interface Block Diagram ................................................... 107
Figure 11-2 Manual/Auto Station Implementation ...................................................... 110
Figure 13-1 Digital Composite Point Inputs Functional Diagram ............................... 126
Figure 13-2 Digital Composite Point Outputs Functional Diagram ............................. 127
Figure 13-3 Digital Composite Point Display .............................................................. 129
Figure 14-1 Logic Point............................................................................................... 159
Figure 14-2 AND Logic Point Algorithm ...................................................................... 167
Figure 15-1Process Module Data Point Functional Diagram ...................................... 188
Figure 15-2 Sequence Program and Unit Partitioning................................................ 192
Figure 15-3 Sequence Program Structure.................................................................. 196
Figure 15-4 Process Module Operating States Relational Diagram ........................... 201
Figure 15-5 Sequence Execution State Transitions .................................................... 203
Figure 16-1 Regulatory PV Point Functional Diagram ................................................ 216
Figure 17-1 Data Acquisition PV Algorithm Functional Diagram ................................. 223
Figure 18-1 Flow Compensation PV Algorithms ......................................................... 225
Figure 19-1 Middle of Three PV Algorithm Functional Diagram .................................. 234
Figure 20-1 High, Low, Average PV Algorithm Functional Diagram ........................... 238
Figure 21-1 Summer PV Algorithm Functional Diagram ............................................. 243
Figure 22-1 Variable Dead Time PV Algorithm Functional Diagram ........................... 247
Figure 22-2 Variable Dead-Time Functional Diagram ................................................. 249
Figure 23-1 Totalizer PV Algorithm Functional Diagram ............................................. 255
Type IOP
Type IOP
ATTENTION
Up to 40 of the I/O processors in the preceding table can be selected in any
mix. Optionally, redundant Analog Output and High Level—Analog Input
processors (up to 40 primary and 40 redundant IOPs) are supported.
REFERENCE – INTERNAL
For more information concerning the assignment of point types and control
strategies:
• Regulatory PV • Array
data. The PNTFORM parameter provides the user with two choices for point form: "Full"
and "Component." Points that are configured as having "Full" point form include alarm-
related parameters and sometimes, some other miscellaneous parameters. This
information is needed when the point is to be used as the primary operator interface to
the point's data.
ATTENTION
The maximum number of points per Network Interface Module (NIM) is 8000.
Both full and component points should be counted when checking against
this limit. Note that for the DI and DO portions of a digital composite point the
inputs and outputs to and from the digital composite point are not counted as
part of the point total if they are implemented using both:
• the hardware reference source.
• destination addresses entered on the configuration form for the digital
composite point.
FIC100
PNTFORM = FT100 PV OP FY100 PNTFORM =
REGCTL
Component STI AO Component
PID ALGO
PNTFORM =
Full
SMART FIELD
TRANS- DEVICE
MITTER
ATTENTION
"Full" would be selected for any of these points that require separate alarm
reporting, such as alarming for uncompensated flow, line pressure, or fluid
temperature.
FX101 FIC101
PNTFORM = REGPV PV REGCTL PNTFORM =
Component MASSFLOW ALGO PID ALGO Full
OP
PNTFORM =
Full or Component
PNTFORM =
FT101 PT101 TT101 FY101 Component
AI AI AI AO
MTR100
MTR100OP
OP
DO
(See Note)
DO
PNTFORM = TO /FROM
Full MOTOR CONTROL
CIRCUIT
MTR100FB
DI PV
DI
PNTFORM =
Component
DIGITAL COMPOSITE
POINT
Stand-alone points
The following figure shows three types of stand-alone points. FT102 and CT105 are
points that could be used for data acquisition; in this case these points would be
configured as full points. For the stand-alone digital output (DO) point SW103, a digital
composite (DigComp) point would be used and would be configured as having 0 (zero)
inputs and 1 output.
FIELD FT102
DEVICE AI PV
PNTFORM = Full
FIELD CT105
DEVICE DI PV
PNTFORM = Full
FIELD OP SW103
DEVICE DO
PNTFORM = Component
TIP
To support on-line field maintenance activities, Standby Manual units are
recommended for the Process Manager AO and DO I/O Processors.
ATTENTION
The Serial Device Interface (SDI) IOP is configured as a Smart Transmitter
Interface (STI) IOP.
P
V
15V DegreesC
SENSRTYP
P4 2 V DegreesF
C PVTEMP
05V H DegreesK
0-100 MV A DegreesR
PVRAW
Thermcpl R
A
Rtd Normal
C
Slidewire TCRNGOPT
T Extended
E
Therm
R
PVCHAR Rtd Direct
I
Linear Z INPTDIR
Reverse
Sqrroot A
T
I OTD (Open Thermocouple
PVEULO
O Detection)
PVEUHI N
PVCALC
(in Eu)
PVCLAMP Noclamp
PVEXEUHI Range Clamp
PVEXEULO Checking
& PV PVEXHIFL
TF PVEXLOFL
Filtering
PVAUTO
PNTFORM
Component
PVMan or PVSub Full
(from Operator or Program)
PVAUTO
PV
PVSOURCE
PV
Enable ALENBST
Inhibit
Disable
EU
Half
A
One HIGHAL
Two L
PVALDB Three A
R
Four
Five M
PVHTP D PVHIFL
PVHPR E •
• •
• T •
PV ALARM • PV ALARM
• E •
TRIP POINTS • FLAGS
• C
AND PRIORITIES
PVROCPTP T PVROCNFL
PVROCPPR I PVROCPFL
O
N
PTINAL
High Level AI Point Low Level AI Point Low Level Mux Point1
1) In general, LLMUX points apply to (include) points built against the LLMUX IOP as well as the
RHMUX IOP. The RHMUX does not have a unique point type.
2) RTDs are not supported by RHMUX IOP.
Linear Conversion
The PVRAW value is converted to a floating-point number. The output value of the
linear conversion is PVCALC, which is calculated based on the raw input span (for
slidewire and 0-100 mV sensor types only), and the engineering unit span. The state of
the input direction parameter (INPTDIR) is taken into consideration during the
calculation of PVCALC as described in the following table.
For 0-5V, 0.4-2V, and 1-5V, sensor types, when INPTDIR is Direct
For 0-5V, 0.4-2V, and 1-5V, sensor types, when INPTDIR is Reverse:
HL Thermocouple
HL RTD
RHMUX
1 PVRAW is the voltage signal at the HPM Field Termination Assembly as a percentage of
the voltage range for the sensor type. The exceptions are as follows:
− For a thermocouple sensor type, PVRAW is in microvolts after reference junction
compensation. If an open thermocouple is detected, PVRAW is set to NaN.
− For an RTD sensor type, PVRAW is in milliohms after lead-wire compensation. If
an open RTD is detected, PVRAW is set to NaN.
− An external power source is used to excite the slidewire. The power source and the
slidewire are connected to separate analog input points. One power source input
can be used with several slidewire inputs.
− For a Slidewire type, PVRAW is the slidewire ratio (Vin/Vsrc) where: Vin is the FTA
voltage input for this data point (slot); Vsrc is the FTA voltage source at the
slidewire source slot specified by parameter; SLWSRCID. If Vsrc is zero (fails the
under-range check), PVRAW is set to "NaN."
− For a 0-100 millivolt sensor type, PVRAW is the FTA voltage input for the slot.
2 If the diagnostics determine that the A/D converter has failed, PVRAW of the slot is set to
NaN.
3 The normal operating range for PVRAW is configured by the user (for a thermocouple 0%
= PVRAWLO, 100% = PVRAWHI; for a slidewire, 0 = PVRAWLO, 1 = PVRAWHI).
Square-Root Conversion
The square-root calculation is applied to the PVRAW input such that 100% of span = 1.0.
The square-rooted value is then converted to engineering units based on the configured
PV engineering-unit range values. (For example, square root of 100% = 100%; square
root of 50% = 70.71%.) The output value of the square-root conversion is PVCALC,
which is calculated based on the state of the input direction parameter (INPTDIR) as
defined in the following table.
Figure 4-2 PVCALC Calculation
ATTENTION
The range of the thermocouple type used with the LLAI or LLMUX points can
be increased by selecting Extended as the entry for the TCRNGOPT
parameter. Refer to the PM Family PRD for the normal and extended ranges.
The LLAI and LLMUX points calculate the reference junction compensation from the
measured reference junction output level. This value is stored and then later converted
back to microvolts, with respect to 0 degrees C, for each thermocouple that is to be
compensated. The cold-junction reference compensation (PVREFJN) parameter is
expressed in microvolts for the specified thermocouple and is added to the microvolt
value for PVRAW.
ATTENTION
In general, LLMUX points apply to (include) points built against the LLMUX
IOP as well as the RHMUX IOP. The RHMUX does not have a unique point
type.
TIP
For an RTD, the LLAI and LLMUX points calculate the lead-wire
compensation and then subtract the value from PVRAW.
The maximum allowable lead-wire resistance and intrinsic safety barrier resistance for
the RTDs are listed in the following table.
ATTENTION
RTD is not supported by RHMUX IOP.
Proper compensation for lead-wire resistance depends on the resistance
being equal in each leg of the RTD. This includes resistance due to lead-wire
resistance and intrinsic safety barriers. No provision is made to compensate
for lead-wire resistance mismatch or intrinsic-safety-barrier resistance
mismatch. Both the lead resistance and the intrinsic-safety-barrier resistance
are allowed simultaneously when connected to an RTD in a Division 1 area.
Table 4-2 Max Allowable Lead Resistance and Max Allowable Intrinsic
Safety barrier Resistance for RTD types
4.3 PV Characterization
PV input signal processing
The PV signal received from the field is characterized based on the entries that were
made for the SENSRTYP, PVCHAR, PVTEMP, INPTDIR, and TCRNGOPT parameters
as shown in the figure illustrated in AI Functional Overview, Operation.
The input PV signal is first converted to a raw PV signal (PVRAW) whose units can be
%, ratio, millivolts, microvolts, or milliohms depending on the entry made for the
SENSRTYP parameter.
The PVRAW signal is then converted to the engineering units.
If... then...
either of the limits is violated and the output of the PVAUTO is set to NaN
clamping has not been specified
either of the limits is violated and the output of the PVAUTO is clamped to
clamping has been specified PVEXEUHI or PVEXEULO, except when
PVRAW (and consequently, PVCALC) is
NaN in which case, PVAUTO will be NaN
the range-checked and filtered value is the final output called PVAUTO is forced
less than the value as was specified by to PVEULO
configuring the LOCUTOFF parameter
4.6 Alarming
The analog input data point compares the PV to threshold values and records the alarms
in the database of the data point. Alarms are then reported by the High-Performance
Process Manager Module (HPMM). The parameters that are associated with alarming in
the analog input point are:
REFERENCE - INTERNAL
Refer to the PM Family Parameter Reference Dictionary for the definitions of
these parameters.
Transmitter database
The transmitter database is configured at the Universal Station or GUS, and down-line
loaded to the transmitter and the transmitter database can be up-line loaded to the STI
IOP as required, when the STI point is in the inactive state. During normal operation
(when the STI point is in the active state), each time that the transmitter broadcasts the
PV value to the STI IOP, it also sends the one byte of its database (depending on the
selected DECONF mode) to the STI IOP. This allows the STI IOP to compare the stored
database to the newly received database to check for database mismatches. If a mismatch
is detected, the PV is set to NaN and the status is set to DBCHANGE. You can easily
correct the mismatch by down-line loading the database stored in the STI IOP.
Operation
A functional diagram of the STI IOP point is shown in the following figure. The STI
point performs the following functions:
• PV Characterization.
• PV Range Checking and Filtering.
• Alarming.
P
V
SMARTLINE TRANSMITTER
Spt_Gp
Spt_Ap Linear C Analog
PV H PV
(from Sfm PVCHAR Linear A PV-DB DECONF
process) (output form) R
SQrroot PV-SV
SENSRTYP A
Stp-Dp Linear C PV-SV-DB
Stt T
PIUOTDCF
B Therm E
R CJACT
PVCHAR E Therm I URL
(probe type) Z
LRL
A
T URV
I LRV
NiNiMoT c
O DAMPING
N
PVAUTO
PNTFORM
PVMan or PVSub Component
Full
(from Operator or Program)
PV (in Eu)
PVSOU RCE
Man/Sub Auto Auto
Man/Sub NOR MALIZATION PVP (PV in % )
LAST PV
PV (in Eu)
Enab le
ALARM PROCESSING ALEN BST
Inhi bit
Half Di sable
A
One
L
Two HIGHAL
PVALDB A
Three
R
Four M
Five
PVHITP PVHIFL
D
PVHIPR E •
• T •
• E •
• C •
• T •
PVROCNTP I PVROCNFL
BADPVPR O
PRIMMOD N
PTINAL
Transmitters supported
The STI point can support the following Smartline Transmitter types:
• ST3000 Smart Pressure Transmitter for differential, gauge, and absolute pressure
measurements.
• STT3000 Smart Temperature Transmitter for temperature, millivolts, and ohms
measurements.
• MagneW 3000 Smart Magnetic Flow Transmitter for flow measurements.
• SCM3000 Smart Flow Transmitter (Coriolis method).
• Drexelbrook SLT Level Transmitter.
• MV 3000 Multivariable Pressure Transmitter.
• SGC 3000 Gas Chromatograph.
Transmitter parameters
All key transmitter parameters can be accessed from the Universal Station including:
• Upper and Lower Range Values.
• Damping.
• PV type.
• DE (Digital Enhanced communications) configuration variables.
• Status of the Transmitter.
• Transmitter's serial number and software revision number.
• Transmitter's scratchpad.
You access these variables through the point's Detail Display or custom-built schematics.
In addition to the tag name assigned to the process point associated with the transmitter,
the transmitter is also assigned a tag name and the access mechanism follows the
TDC3000 parameter access mechanism. This allows all the LCN capabilities applicable
to a data point to be also applicable to the Smartline Transmitters.
The STI IOP maintains a copy of the transmitter's database. When a transmitter failure
occurs, the database can be down-loaded to the transmitter. This database save/restore
feature can significantly reduce the downtime of a control loop by reducing the time in
getting a replacement transmitter in operation. The transmitter database can also be saved
to a History Module or removable media if a checkpoint request is initiated. This allows
for centralized control of the transmitter database, which significantly minimizes the
effort required to establish the transmitter database during startup or normal operation.
The STI IOP also allows the user to access the detailed status of a transmitter. The status
is displayed at a Universal Station or GUS together with the scratchpad information that
has been entered, including any maintenance notes.
56 HPM High-Performance Process Manager Control Theory R688
Honeywell 08/2019
5 Smart Transmitter Interface Point
5.2 Parameter comparisons
Calibration of the transmitter can also be accomplished from the Universal Station or
GUS. This function allows on-line adjustment of the transmitter's working ranges so that
the reference points for a measurement are accurate.
In addition a Smart Field Communicator (SFC), which is a hand-held device, can also be
physically connected to the appropriate FTA in the HPM cabinet to communicate with
Smartline Transmitters without disrupting the process, as required (refer to the
appropriate Operating Guide for Smart Field Communicators).
Upper Range Value URV Define the operating range of the transmitter. These
Lower Range Value LRV values correspond to the values for PVEUHI and
PVEULO, respectively.
Upper Range Limit URL These parameters are the respective built-in maximum
Lower Range Limit LRL and minimum limits of the transmitter and they cannot
be changed. These parameters are read-only
parameters at the Universal Station or GUS. URL must
be configured to match the URL value of the transmitter.
REFERENCE - INTERNAL
For more information on
• STI IOP, refer to the appropriate Smartline transmitter publication and to
the PM/APM Smartline Transmitter Intergration Manual.
• STI IOP parameters, refer to the PM Family Parameter Reference
Dictionary.
DD MMM YY 08 :3 9:2 1 1
FIRST PAGE
PRIMMOD -- -- - --
SP 0.0 CONTCUT OFF RAN GE LIMITS PV COEFFIC IENTS
DD MMM YY 08 :3 9:2 1 1
CONFIG PAGE
__ ____ ___ ____ ____ ___ __CONFIGUR ATION D ATA_ ___ ____ ____ ___ ____
COMMAND
PVFOR MA T D1 LOCU TOFF ------ PVLL PR NOACTION
NONE PVSRC OPT ALL PVCH AR JTHERM PVLOPR NOACTION
PVCL AMP NOCL AMP SENSR TYP STT PVROCPPR NOACTION
DN LOADDB PVALD B ONE PIUOTDC F ON PVROCN PR N OAC TION
PVALD BEU 1.000 00 BADPVPR LOW
UPL OAD DB ASSOCDSP PVHH PR NOACTION
IN PTD IR DIRECT PVHIPR HIGH
SET_LR V
Commands __ ____ ___ ____ ____ ___ __SMART TR ANSMITTER D ATA_ ___ ____ ___ __ __
SET_UR V
5.3 PV Characterization
PV input signal processing
The PV signal (PVRAW) received from the transmitter has been characterized by the
transmitter in terms of linear or square-root characterization and damping. For the STT
3000, PVRAW is further characterized based on the entries that the user makes for the
SENSRTYP, PVCHAR, and INPTDIR parameters as shown in the Smart transmitter
input point functional diagram in the Operation section of STI Point Functional
Overview. The following table lists the PV characterization options available for the
various transmitter (sensor) types.
Sensor types and characterization options
The following table defines the STI sensor types and PV characterization options.
Table 5-1 STI sensor types and PV characterization
Linear Conversion
If the entry for PVCHAR is Linear, the PVRAW input from the FTA is calculated as a
proportion of the input span in percent, as determined from upper and lower range values
URV and LRV. This proportion is then used in generating an identical proportion of the
output span, as determined from PVEULO and PVEUHI shown in the following figure.
The URV and LRV values are the 100% and 0% values that correspond to the PVEUHI
and PVEULO values, respectively.
[from
(PV Value
FTA) * 100% = PVRAW ] [f(PVRAW) = PVCALC ]
0%
LRV PVEULO
Square-Root Conversion
If square root is selected, this function is performed by the smart transmitter in its
computation of PVRAW. The value for PVCALC is then determined in the same manner
as linear conversion. These conversion equations are provided below.
Figure 5-4 Conversion Equations
If INPTDIR = Reverse:
The STI point calculates the reference junction compensation from the measured
reference junction output level. This value is stored and then later converted back to
millivolts, with respect to 0 degrees C, for each thermocouple that is to be compensated.
The external cold-junction reference compensation (CJTACT) parameter is expressed in
millivolts for the specified thermocouple and is added to the millivolt value for PVRAW.
If... then...
either of the limits is violated and the output of the range check is set to
clamping has not been specified BadPV
either of the limits is violated and the output of the range check is clamped
clamping has been specified
If the range-checked and filtered value is the final output called PVAUTO is forced
less than the value specified by the user- to PVEULO
configured LOCUTOFF parameter
PV filtering
PV filtering can be implemented at the STI IOP, or at the Smartline Transmitter. At the
STI IOP, first-order filtering is performed on PVCALC, as specified by the user through
parameter TF (filter lag time). At a transmitter, filtering is performed on the PV
depending on the value entered for the DAMPING parameter using the SFC.
You should decide the type of filtering required based on the following guidelines:
• The DAMPING parameter allows for better control accuracy because more PV
samples are used in calculating the filtered PV value at the transmitter.
• TF can be changed on-process from the Universal Station. To change the DAMPING
value requires the point to be made inactive and requires the database to be down-line
loaded to the transmitter after the change has been made.
TIP
For better control accuracy, the use of the DAMPING value is preferred over
the TF value. The transmitter accepts only certain DAMPING values from the
STI IOP, and the value received must first be converted to one of the
predefined DAMPING values that reside in the transmitter. This conversion is
accomplished automatically by the STI IOP by finding the DAMPING value
that is nearest to the desired DAMPING value.
DAMPING values differ between the Smartline Transmitters. The valid DAMPING
values for each transmitter type are contained in the following listing (values listed are
the first-order filter time constants in seconds).
5.6 Alarming
Function
The STI point compares the PV to threshold values and records the alarms in the
database of the data point. The alarms are then reported by the High-Performance
Process Manager Module (HPMM).
Associated parameters
The parameters that are associated with alarming in the STI point are as follows:
REFERENCE - INTERNAL
Refer to the PM Family Parameter Reference Dictionary for the definitions of
these parameters.
Pv_Db see NOTE Transmitter communicates the PV and the database (6-byte
format)
Pv_Sv_Db Transmitter communicates the PV, SV, and the database (6-byte
se NOTE format)
NOTE: The use of these two modes is recommended because they offer database
mismatch detection and on-process mismatch recovery.
• URV • LRV
If a database mismatch is detected, the first four parameter mismatches are displayed in
the S1 status field of the STI point's Detail Display at the Universal Station or GUS.
These mismatched parameters are preceded by the message "DATA BASE
DISCREPANCY."
Correcting a database mismatch
You can correct the mismatch by one of the following methods:
• Download the STI IOP database to the transmitter by issuing a DnLoadDb command
through the COMMAND parameter when the point is in an Inactive state. If the
loading is successful, the point STATE changes to OK when the point is made active.
• Upload the transmitter database to the STI IOP by issuing an UpLoadDb command
through the COMMAND parameter when the point is in an Inactive state. If the
loading is successful, the point STATE changes to OK when the point is made active.
• Correct the mismatched parameter using the SFC. If the parameter or parameters are
updated by the SFC to the same value as in the STI IOP database, the state changes
from Mismatch to OK when the next database transfer from the transmitter occurs.
If a mismatch occurred because the Smart Field Communicator (SFC) was used to
change a parameter in the transmitter database, the data in the transmitter database may
be correct. In this case, the STI IOP does not know which value to use and issues an
"SFC MODIFIED XMTR DATABASE" message, which appears on the Detail Display.
The user should wait until the next database transfer occurs from the transmitter before
taking action. At that time, the specific change is displayed.
A database mismatch can also occur because the transmitter was miswired during
installation. This can be fixed by correcting the transmitter wiring.
For the MagneW3000, the URL value displayed on the SFC is a factor of 10 higher than
the actual value displayed at the Universal Station. The value displayed at the SFC is the
scaled limit while the value displayed at the Universal Station represents raw data. Also,
the STI IOP does not respond to changes made in the MagneW3000 database parameters
for up to 3 minutes when the database changes are made using the Local Setting Card.
This card is an option that is available with the MagneW3000.
States Description
OK Normal state; indicates that the STI point and the transmitter are
OK. Transmitter is updating the PV value at the STI point. STATE
remains OK when the point is made inactive.
DBChange Indicates that a database mismatch between the STI point and the
transmitter has been detected. Transmitter is not updating the PV
value at the STI point. STATE remains DBChange when the point
is made inactive.
Loading Indicates that database loading between the STI point and the
transmitter is occurring.
Loadcomp Indicates that the database transfer between the STI point and the
transmitter has been successfully completed.
Loadfail Indicates that the parameter transfer between the STI point and the
transmitter has not been successfully completed.
Calfail Indicates that the calibration has not been successfully completed.
COMMAND Description
Selection
DnLoadDB Load the STI IOP database into the transmitter (down-line load)
UpLoadDb Loads the transmitter database into the STI IOP (up-line load)
RstCor Sets all input calibration parameters to their factory default values
The result of issuing a command to an STI IOP point is reflected in the STATE
parameter for the point.
None
Oper Cas
Output
Value (from Operator)
MODATTR MODE
None
Man
Output
(from Program) Prog Full
Value
Componnt
Output
(from PM Regulatory Point) PNTFORM
Value
OPTDIR OP
Direct DIRECT/
REVERSE
Reverse CALCULATION
OPCHAR
On Off
OPIN0 OPOUT0
OPIN1 OPOUT1
OPIN2 OUTPUT OPOUT2
OPIN3 CHARACTERIZATION OPOUT3
OPIN4 OPOUT4
OPIN5 OPOUT5
OPOUT5
(106.9%)
OPOUT4
OPOUT3
OPOUT2
OPOUT1
OPOUT0
(-6.9%)
OPIN0 OPIN1 OPIN2 OPIN3 OPIN4 OPIN5
(-6.9%) (106.9%)
Depending on the output value, the analog output point interpolates linearly between the
two nearest values. The interpolated value becomes the output value OPFINAL.
Output characterization is an optional function that can be implemented by setting
parameter OPCHAR to On.
ATTENTION
Slot or module level soft failures can prevent a point (or points) from
outputting to the field. The regulatory control point will initiate a "Bad Output"
alarm (If configured) when any connection is broken. If all configured point
connections to the field are broken, the regulatory control point driving that
analog output slot goes into initialization.
If the Enumeration Then this is the sequence of events for the point…
value is this …
During an IOP communication After an IOP communication
error error
If the Enumeration Then this is the sequence of events for the point…
value is this …
During an IOP communication After an IOP communication
error error
DITYPE
Accum
Status PV
OVERVAL
Latched
None STARTFL
1.5 Sec
Start STOPFL
Command Stop UP/ RESETFL
Reset DOWN
ACCUMULATION
PVAUTO OLDAV
PVman PV AVTVFL
(from Operator) SOURCE Countdown OVERFLOW
PVsubstituted Resetval
(from Program)
Only AVTV
All Auto
AV
PVSRCOPT
PV
DITYPE = Status DITYPE = Latched or Status
PV PV
EVTOPT
ALMOPT
None
EIPSOE
None ChngOfSt SOE EIP
Offnorml
(EIPPCODE)
DLYTIME
(TIME STAMP)
(N/A for latched inputs)
ALENBST
EIPPCODE & TIME STAMP
Enable Inhibit
(N/A for latched inputs)
Disable
PV
Printer Printer
JnlPrint JnlPrint
Emergncy Emergncy BADPVPR
OFFNRMPR ALARM
Low DETECTION Low
High High
Journal Journal
NoAction NoAction
PVNORMFL
PVNORMAL OFFNRMFL
16 11 6
HIGHAL HIGHALPR
Current state
The current state of the PV input is represented on the Universal Station Group and
Detail Displays as two boxes, as shown in the following figure. The boxes are lighted or
extinguished depending on the current state of PVRAW and the input direction as
configured through the INPTDIR parameter, as shown in the chart in the following
figure. The current PV state is also available to be used as an input to logic slots, and
other HPM control functions.
Figure 7-2 DI Input States
STATE 1
BOX
(Upper)
STATETXT (1)
STATE 0
BOX
(Lower)
STATETXT (0)
PV = ON. PV = OFF.
State 1 Box is State 0 Box is
ON lighted. lighted.
State 0 Box is State 1 Box is
extinguished. extinguished.
PV = OFF. PV = ON.
State 0 Box is State 1 Box is
OFF lighted. lighted.
State 1 Box is State 0 Box is
extinguished. extinguished.
Bad PV flag
Control strategies can test for a bad Digital Input PV. Parameter BADPVFL is set ON
when PV source:
• has been switched to Substituted, and the point is inactive or the module status is
Idle.
• is AUTO and the PV is not being updated, because either the point is inactive, the
module is idle, there is a slot soft failure, or the FTA is missing.
Digital input point types
The digital input point is a single-input point that can be configured as:
• Status Digital Input Point.
• Latched Digital Input Point.
• Accumulation Digital Input Point.
Note1: If a point is in alarm delay, and the CONTCUT parameter for the point is enabled,
the delay timer is terminated. When CONTCUT is disabled, the subsequent alarms
follow the configured delay.
Note 2: If a point's return-to-normal condition is delayed because of the OFF delay and
CONTCUT is made TRUE and then FALSE, the return-to-normal condition is reported
immediately. If a point's alarm is delayed because of the ON delay and CONTCUT is
made TRUE and then FALSE, the alarm is reported only after the configured delay
period.
PM OFF delay—When off-normal alarming has been configured and $DLYOPT is
configured as PMOFFDLY, any off-normal event is detected and reported to the system.
Further off-normal alarms for the same data point are not reported until the time delay (0
to 60 seconds) specified by the DLYTIME parameter expires. When the time delay
expires, the time-delay function is disabled and the off-normal alarm for the data point
can again be reported.
For Change of State alarms, when a PV state change occurs, a COS alarm is produced
and the delay timer is started. When DLYTIME expires, two situations are possible:
• the PV is in the same state and future state changes are immediately alarmed.
• the PV is in the opposite state (it may have changed many times during the
DLYTIME period) so a second COS alarm is produced and the timer starts again.
NIM ON delay— With R660, when the alarm delay option $DLYOPT is configured as
NIMONDLY and an off-normal alarm is detected, the event is not reported to the system
until the time delay (0 to 9999 seconds) specified by the DLYTIME parameter has
expired. When the time delay expires, if the point is still in alarm, the time-delay function
is disabled and the off-normal alarm for the data point is reported. After the time delay
expires, no action is taken if the point ceases to be in the alarm condition.
NIM OFF delay— With R660, when the alarm delay option $DLYOPT is configured as
NIMOFFDLY, and when the point returns to the normal state from the alarm state, the
return-to-normal is not reported to the system until the delay time (0 to 9999 seconds)
specified by DLYTIME parameter has expired. When the time delay expires and the
point continues to be in the normal condition, the return-to-normal condition is reported.
After the time delay expires, no action is taken when the point ceases to be in the return
to normal condition.
Note that the DLYTIME parameter is resident in both the NIM and the IOP, and they are
synchronized. With R660, view-only parameter $PMDLYTM is provided to monitor the
value of IOP DLYTIME value. This parameter shows 0 when $DLYOPT is set to
NMOFFDLY, NMONDLY or NONE. When $DLYOPT is set to PMOFFDLY, the
parameter shows the value specified for DLYTIME.
NIM OFF delay— With R681, the OFF delay feature is provided for BADPV and
BADCTL alarms using the new $DLBADAL parameter. This parameter allows you to
delay the return to normal condition (RTN) for a time as specified by the DLYTIME
parameter.
During delay period, if any of the BADPV or BADCTL alarm returns to normal, the
timer is restarted from its initial configured value. When the timer expires and the point
is not in alarm, the return to normal is reported. The RTN event is reported with the time
stamp when the timer expires and not the actual RTN time.
While in delay, the following instances can cause the RTN to get reported before expiry
of the timer:
• Change in $DLBADAL parameter value, and change in DLYTIME.
• Change in priority of the BADPV and BADCTL alarms.
Note: The OFF delay feature does not delay reporting of alarms; it delays only the return
to normal (RTN).
Alarm delay reset— The Alarm delay can be reset by any of the following events:
• When $DLYOPT is set to NMONDLY, if the input chatters during the alarm delay
period, the delay time is reset and restarted whenever the point goes into the alarm
state.
• When $DLYOPT is set to NMOFFDLY, if the input chatters during the alarm delay
period, the delay time is reset and restarted whenever the point goes to the return- to-
normal state.
Scenarios
• When the delay timer is running, if the NIM/xPM/IOP switches over to its redundant
partner during an existing alarm condition, which is being delayed, the delayed
alarm is reported immediately.
• If there is a change in the value of DLYTIME when the $DLYOPT is NMONDLY
or NMOFFDLY and the delay timer is running the alarm will be reported
immediately and the new value is in effect from the next cycle.
• If there is a change in the value of DLYTIME when the $DLYOPT is PMOFFDLY
and the delay timer is running the new value is not applied until the delay time for
that cycle is completed.
• If there is a change in the value of $DLYOPT from PMOFFDLY to NMOFFDLY or
NMONDLY or NONE, the new value is not applied until the delay time for that
cycle is completed.
• If there is a change in the value of $DLYOPT from NMOFFDLY or NMONDLY or
NONE to PMOFFDLY or NMONDLY or NMOFFDLY or NONE, the new value is
taken into effect immediately.
• Whenever there is a configuration change that affects the alarm (like priority change,
ALENBST change, AUXUNIT change, or contact cutout change) and if the delay
timer is running, the timer will be terminated, and the delayed alarm will be reported
immediately.
Note that when the value of $DLYOPT is set to PMOFFDLY, if the input chatters during
the alarm delay time, the delay time is not restarted.
Note: Change of state alarms are momentary state change alarms and do not have Return
to Normal events. Therefore, they must not be configured for NMOFFDLY. In addition,
if there is an alarm-related configuration change when the Change of State alarm is
subjected to delay, the delayed alarm may not be reported.
Event Reporting
The EVTOPT parameter for the status input allows the user to optionally specify the tag
name (EIPPCODE) of a data point in the system that is to be notified when the PV
changes state, and/or specify that a time stamp be added to the reported PV state change.
For a status input point, EVTOPT has the four possible entries: None, EIP, SOE, and
EIPSOE. EIP specifies that the user supply the tag name of the data point in the system
that is to receive the PV state change, while SOE specifies that a time stamp is added to
the PV state change to establish a sequence of events.
Change of State Reporting can initiate Event Initiated Processing if the point is
configured for both COS and EIP. Note that digital input points that have COS (or Off
Normal alarming) and EVTOPT EIP configured will have EIP triggered twice. EIP
processing associated with COS reporting is not recoverable for NIM/HPM failovers.
Full EIP recovery is available for DISOE points.
Accumulator commands
The operator has the capability of issuing start, stop, and reset commands to the
accumulator for starting, stopping, and resetting the accumulation. For resetting the
accumulator, the operator can specify the value to which the accumulator is reset by
using the RESETVAL parameter to enter the value. When the accumulator is reset, the
old accumulated value is displayed using the OLDAV parameter.
Target value
The operator can specify the accumulator target value through the AVTV parameter.
When the accumulated value (PVAUTO) reaches the target value (PVTV), parameter
AVTVFL is set to On. AVTVFL is set to Off when the accumulator is reset.
Overflow
If the accumulated value AV overflows the accumulator (AV > 32767), the OVERFLOW
parameter is set to On. In addition, it is set to 0 when the accumulator is configured for
counting up (incrementing); it is set to 32767 if it is configured for counting down
(decrementing).
DITYPE
Status
Latched
1.5 Sec
PVAUTO
PVma n PV
(from Operator) SOURCE
PVsubstituted
(from Pro gram)
Only
All Auto
PVSRCOPT
PV
DITYPE = Status DITYPE = La tched or Status PVCHGDLY
PV PV
ALMOPT
ALENBST D
(TIME STAMP) e
Enable Inhibit (N/A for latched inputs) l
a
Disable y
EIPPCODE & TIME STAMP
(N/A for latched inputs)
Printe r Printe r
PV
Jn lP rint Jn lP rint
High High
Jo urnal Jo urnal
NoA ctio n NoA ctio n
PVNORMFL
PVNORMAL OFFNRMFL
HIGHAL HIGHALPR
Timestamping
Timestamps are based on the "wall clock" time entered in the LCN. Time is broadcast
over the UCN every six seconds by the NIM with the lowest UCN address. To do this,
the time synch parameter (TIMESYNC) must be enabled during NIM configuration and
the NIM must contain an EPNI card. If there is a redundant NIM, its TIMESYNC
parameter should also have been enabled in case the primary NIM fails.
The HPMM receives time sync messages from the NIM and broadcasts time synch
messages on its own I/O Link every two seconds to the Sequence of Events IOPs. The
IOP time stamps an input state change with a code that is converted to, and reported as,
wall clock time by the HPMMs. Each IOP can store up to 20 seconds of state changes
(for all 32 points) before older events are overwritten.
If an HPMM fails, or if event collection by the HPMM is stopped or delayed, or if the
buffer in the IOP becomes full, the IOP rejects newer events (that is, it saves the older
events).
If the DISOE IOP hardware detects loss of one or more physical events, then an SOE
Lost event packet is passed in the System Status Journal (not the SOE Journal). This
packet contains the time at which lost events were detected, and should be used in
conjunction with the SOE journal to correlate the SOE events. SOE lost events are
usually caused by a chattering input.
Specifications and reporting
Resolution
The operator sees one millisecond resolution as reported in the SOE Journal. Event time
is reported in hours, minutes, seconds, and milliseconds. The entries are further sorted at
a sub-millisecond level that affects the order of entry but does not appear in the journal.
Reporting
Typical SOE Journal entries appear as follows:
Date (MM/DD/YY)
10:50:21:848 SE150501 ON
10:50:21:849 SE150501 OFF
10:50:21:850 SE150502 ON
10:50:21:851 SE150502 OFF
Minimum physical event separation
The following table shows the guaranteed Minimum Physical Event Separation (MPES)
values using various Field Termination Assemblies for two digital state change events
occurring between two points. In one case the events are on the same IOP. In the other
case, assume that the events are in different HPMMs on two separate UCNs, logical or
physical, or in case of NIM failover. Assume that both points are using the same type of
FTA. These specifications implicitly include DISOE IOP and/or HPMM failovers, are
valid for stable system operating conditions, and represents the guaranteed worst-case
conditions.
Configuration
Digital input SOE IOP points are configured by selecting the DIGITAL INPUT target
from the NIM Point Build Menu. The configuration considerations are similar to those
described for the conventional digital input point, with the following additions.
PNTMODTY
For Point Module Type, select DISOE.
DITYPE
Choose STATUS as the Digital Input Type. Note that the SOE IOP can be used as a
conventional digital input point if you choose Latched.
DEBOUNCE
The contact debounce time parameter specifies the time interval used to debounce an
input from mechanical contacts of a field input source. It is defined as the length of time
following an input state change during which the input must remain unchanged in the
new state to declare it a valid event. DEBOUNCE has a range of - 50 milliseconds in one
millisecond increments. The default value of 10 ms should suffice for most contacts. If
not, choose a value slightly longer than the manufacturer's specified contact bounce
time.
The following figures illustrate debounce operation.
A B C
A B C D E F
• If the input—
− remains at a steady state until the debounce timer expires, then an event is
generated with a timestamp corresponding to the time of detection (point B).
− changes before the debounce timer expires (point c), then the change of state
event detected at B is discarded, the timer is restarted and runs for the full
debounce time.
• If a new input detected at D remains in a steady state until the debounce timer
expires (point F), then an event is generated with a timestamp corresponding to the
original time of detection (point D).
R688 HPM High-Performance Process Manager Control Theory 91
08/2019 Honeywell
7 Digital Input Points
7.5 Sequence of Events Digital Input Point
• If the input has returned to the old state (dotted line at E) when the debounce timer
runs out (point F), no event is generated.
PVCHGDLY
The PV change delay parameter specifies the time of separation in seconds for reporting
two consecutive PV change events from the same input source. It is intended to prevent
repeated rapid reporting of PV change events (that is, chattering). It can be configured
over a 0–60 second range in one second increments. It applies to points configured as
EIP, EIPSOE, or SOE only. Ideally, PVCHGDLY AND DLYTIME should have the
same value.
When a PV state change is detected, the change is reported and the PV change delay
timer is started.
If the PV state
• does not change before the delay timer runs out, no further action is taken.
• changes only once before the delay timer runs out, this second event is noticed and
timestamped with the actual time of detection, but it is not reported until the delay
timer expires.
• changes more than once before the PV change delay timer runs out, only the last
state change is noticed and timestamped but not yet reported. When the delay timer
expires, if the PV state is—
− different from the state that started the timer, this event is reported.
− is the same as the original PV state that started the timer, no event is reported.
PWM
DOTYPE
Status
OUTDIR
Direct
Reverse
OFFPULSE OFF-PULSE
From GENERATOR
Digital Composite
Point or
Logic Block
SO
SO
DO point types
There are two types of digital output points:
• Pulse Width Modulated DO Point.
• Status DO Point.
Selection of the output type is accomplished through the DOTYPE parameter shown in
the figure illustrated in DO Point Functional Overview, Description. Actual output action
can be status, latched or momentary, depending on the configuration of the digital
composite point. The default for untagged component DO points is Status.
OP
(On-Time in %)
The pulse on-time for direct and reverse acting outputs is calculated as defined in the
following table.
Figure 8-3 Calculation of pulse-on-time and reverse acting outputs
OP% * PERIOD
Pulse On-Time =
100
ATTENTION
If the value of OP is less than 0%, it is clamped to 0%; an OP with a value
greater than 100% is clamped to 100%.
ATTENTION
Digital Composite points or Position Proportional control algorithms are
automatically forced to initialize when outputting to a Digital Output point
whose INITREQ is ON.
ONPULSE
(0 TO 60 Seconds)
OUTPUT
SO
OUTPUT
SO
OFFPULSE
(0 TO 60 Seconds)
At the end of the pulse time, SO is set to Off. If ONPULSE is specified as 0.0, SO is
immediately set to Off. This also applies to the OFFPULSE, except that the OFFPULSE
sets SO to Off.
If SO is received from a logic slot, the SO output of the digital output point tracks the SO
output provided by the logic slot.
Initialization Request Flag
When ON, this parameter indicates control strategies in the HPM cannot manipulate the
output. Parameter INITREQ is set ON when a Status Output type is configured and:
• the point is inactive.
• the module is idle.
• there is a soft failure such that the point is not working.
ATTENTION
Digital Composite points or Position Proportional control algorithms are
automatically forced to initialize when outputting to a Digital Output point
whose INITREQ is ON.
P AV
V $ACC SR C
3 2-BIT
PVRAW C
ACCUMUL ATION PV
H
A
R
A
Second s C C1
T
TIMEBASE Minu te s C2
E
Hou rs R
I
Z
A
T
I
PVEULO
O
PVEUHI N
PVCALC
(in Eu )
PVCLAMP Nocl amp
PVEXEU HI Ran ge Cl amp
PVEXEU LO Che cki ng
PVEXHIFL
TF & PV
PVEXLOFL
Filteri ng
PVAUTO
PNTFORM
Com ponn t
PVMan or PVSu b Full
(from Operator or Progra m)
PVAUTO
PV
PVSOU RCE
Man/Sub Auto Auto
PVEUHI PVP (PV in % )
Man/Sub NORMALIZATION
PVEULO LASTPV
PV
Enab le ALENBST
Inhi bit
Di sable
Hal f
One A
Two L
PVALDB Three A HIGHAL
Four R
Five M
PVHITP D PVHIFL
PVHIPR E
• •
• T •
PV AL ARM • PV AL ARM
• E •
TRIP POIN TS • •
• C FLAGS
AND PRIOR ITIES
PVROCPTP T PVROCNFL
PVROCPPR I PVROCPFL
O
N
PTINAL
Operation
For each point, the IOP is able to calculate flow rate in engineering units based on user
selected scaling factors. The Pulse IOP module always provides two related functions
simultaneously:
Totalizing
Totalizing means the IOP maintains a 32-bit accumulation (AV) for each channel
(updated every 20 ms). The least significant bits are provided by the hardware
accumulator. The 32-bit entity continually rolls (that is, there is no start, stop, or reset).
The Pulse IOP only sets the parameter AV to zero when the point is inactive, the IOP is
in Idle, or an error is detected. In the case of an error, status parameter AVSTS is set to
BAD.
Frequency counting
Frequency counting is expressed by parameter PVRAW.
Delta_AV
PVRAW = = Pulses Per Second
Elapsed Time Seconds
The frequency of the input pulse train must be greater than 0.4 Hz for the calculated PV
for that point to be correct. The AV is correct under all circumstances.
9.2 PVCALC
Calculating PVCALC
PVCALC is PVRAW after scaling (for example, barrels per minute):
C1
PVCALC = • TIMESBASE • PVRAW
C2
• C1 is an engineering units scale factor and is dimensionless, for example, barrels per
gallon).
• TIMEBASE is a time scale factor (seconds, minutes, or hours).
• C2 is a meter factor in pulses per engineering unit (for example, pulses per gallon).
TIP
If the instrument vendor supplies the factor K in engineering units per pulse
(for example, gallons per pulse), then C2 must represent the reciprocal of the
factor K; that is, C2 = 1/K.
Rate Value
The rate value is treated similar to an analog input PV and is supported by high/low
alarms, Rate of Change (ROC) alarming, filtering, and so on, on a half second processing
interval (every four seconds for ROC only).
The Pulse IOP calculates the unsigned integer AVDELTHS every half second.
AVDELTHS is the change in AV from the last half second and is intended for display
purposes. The parameter’s value is normally constant, but the operator will observe a
change if the pulse input rate varies.
Pulse Period
The pulse period (1/PV) can be determined with CL.
APM
FTA To Field
1 Device
SI Power
IOP Panel
FTA To Field
2 Device
Each active SI slot must have a corresponding Array point. Data collected through the SI
slot is available as local data for use by Digital Composite points, Device Control points,
CL programs, and so on.
ATTENTION
Not all EIA RS-232D or EIA RS-485 signals are supported.
Function
Each Serial Interface IOP connects to one or two FTA assemblies. There are 32 slots per
Serial I/O card. 16 slots can be configured to FTA-1 and 16 slots can be configured to
FTA-2.
Supported interfaces
Each of the 32 Serial Interface slots can support up to 512 Flags, 16 Reals, 32 Integers, or
64 ASCII characters of contiguous data to/from a field device. Plug-in modules adapt the
FTAs for different communications protocols and applications. Qualified applications
include:
• Modbus Interface—
− Modicon Modbus-RTU protocol with extensions for real numbers and string
support).
− Modicon 984 programmable logic controller.
− Rosemount Micro-Motion Transmitter.
− Other Honeywell-approved Modbus compatible devices.
• Allen-Bradley Interface—
− Allen-Bradley PLC-2, 3, and 5 programmable logic controllers.
1 80
.5 40
.25 20
IO module numbers
During Node Specific Configuration, you must also specify the IO Module Numbers that
contain SI cards. Otherwise, no specific configuration is required for an SI slot, except
what is entered for the associated Array point. Array points are described in the Array
Points section.
Detail status displays
The communication protocol in the FTA firmware is customized by Honeywell for
specific uses. The SI IOP’s Detail Status display shows the protocol, baud rate, and parity
type configured for each FTA. If a fault exists, the configuration information is replaced
with a failure message.
Checkpointing
The SI slot data is not checkpointed, but SI configuration is contained in the HPMM
Array point checkpoint. Configuration of related Array points is saved.
R688 HPM High-Performance Process Manager Control Theory 105
08/2019 Honeywell
10 Serial Interface Point
10.3 Serial Input Point Configuration
Startup
The SI slot configuration data is automatically reloaded on every startup. When reloaded,
the SI IOP Database Valid parameter is automatically set to Valid.
APM
FTA To Field
1 Device
SDI (e.g., EIA-232 device)
Power
IOP Panel
FTA To Field
2 Device
(e.g., EIA-485 device)
Implementation
You can communicate directly with the SDI using CL or control algorithms. Other
implementation methods are described in the Process Manager Implementation
Guideline or the PM/UDC 6000 Integration Manual.
Control
Operators typically control an SDI device from a custom schematic. You can build your
own schematic or contract with Honeywell Engineering Services to build it.
R688 HPM High-Performance Process Manager Control Theory 107
08/2019 Honeywell
11 Serial Device Interface
11.2 Manual/Auto Station Interface
Configuration
Communications with the device mimics a Smart Transmitter analog input point. The
SDI module is configured as you would for a Smart Transmitter Interface Module
(STIM, see “Smart Transmitter Interface Point” in Section 5).
Supported serial device interface types
Currently interfaces for the following devices are supported:
• Manual/Auto Station.
• Toledo Weigh Scale, Model 8142-2089.
• Toledo Weigh Scale, Model 8142-2189.
• UDC 6000 Process Controller.
REFERENCE - INTERNAL
Refer to the High-Performance Process Manager Implementation Guidelines
for additional information.
Communications
Invalid data
Both data received from the SDI IOP and data received from the Manual Auto Station are
checked for reasonableness. Very small values may be rounded to .001. Very large
(absolute) values are either rejected or stored as NaN.
Time out
A time out signal is sent from the SDI IOP to the FTAs every half second. Loss of this
signal for 10 seconds or more halts all communications with the Manual/Auto Stations
connected to that FTA.
Communication failure
When communications between the FTA and an M/A Station fails, the FTA makes two
attempts to send the last message after the time out, then the point is put in bad input soft
failure. As long as the slot remains active, there is an attempt to restore communications,
but the M/A station is marked as not communicating.
REFERENCE - INTERNAL
Refer to the Manual/Auto Station Installation and Operation Manual for
additional information on the Manual/Auto Station itself.
Implementation
The PV and OP process signals are directly connected to appropriate modules in the
HPM. Process and status signals are sent from the HPM to the M/A station and operator
changes to the Set Point at the M/A station are read into the HPM as if those changes
were at a Universal Station. The following figure illustrates a typical Manual Auto
Station implementation.
APM
FTA
PV
HLAI
Regulatory Field
Control Signals
Point
OP
AO
FTA
FTA
M/A M/A
Station Station
Logic SDI Power
Blocks IOP Panel
M/A
Station
FTA
PM override flag
Unless the PM Override flag is set, the PM responds to SP, OP, or mode change
operations from the M/A Station's front panel. The PM Override function can inhibit
operator functions attempted from the M/A station front panel that would affect SP, OP,
or Mode.
LRV Low end of operating Low end of operating PV (in engineering units)
range for PVRAW range for PVRAW
PVEXEUHI PV extended range high PV extended range high Must be set to 100.0
limit in engineering units limit in engineering units
PVEXEULO PV extended range low PV extended range low Must be set to 0.0
limit in engineering units limit in engineering units
SECVAR Value of Secondary Variable OP (in per cent) from the M/Auto
Station)
STISWVER Smart Transmitter software revision FTA information (sent from FTA):
level • Slot 1 = M/A application
• Slot 2 = Software gen date
• Slot 3 = Software rev date
REFERENCE - INTERNAL
Refer to the High-PerformanceProcess Manager Implementations Guidelines
for detailed information about implementing the above rules.
Operating Considerations
To modify any Regulatory Control Point parameter from the M/A station, the external
Mode Switching Enable parameter ESWENBST must be set to ENABLE.
The Regulatory Control Point’s Mode attribute parameter (MODATTR) must be set to
PROG so that OP can be modified by a Logic point.
Only a one second scan period is supported for the M/Auto Station Logic points.
The PV High, PV Low, and PV Extended Range parameters must be configured with the
values shown in Table 2-6 in order to transfer an SP change request to the Regulatory
Control point’s set point parameter SPP.
Invalid data
When communications between an FTA and a Toledo Weigh Station fails, the FTA
makes two additional attempts to send the last message, then the Toledo Weigh Station is
marked as not communicating and PVRAW (the weight) is set to NaN.
To recover from most communication failures, switch the point execution status
PTEXECST to inactive and back to active.
Invalid data
Weight (PVRAW) and Flow Rate (SECVAR) are updated every 250 ms or faster.
REFERENCE - EXTERNAL
Refer to your Toledo Weigh Scale manual for more information.
STISWVER Smart Transmitter software revision FTA information (sent from FTA):
level • Slot 1 = Application
• Slot 2 = Software gen. date
• Slot 3 = Software rev. date
LRV Low end of operating range for Decimal Point Position (D)
PVRAW • 1 = 1.0
• 2 = 0.1
• 3 = .01
• 4 = 0.001
• 5 = 0.0001
NOTE 1: Values are modified to 6 digits or less by moving the decimal point per LRV.
NOTE 2: Odd parity should not be used. Even parity is preferred.
• Low
CONTCUT parameter. A TRUE (ON) in this parameter will cut out alarming by the
secondary point. The secondary point will not resume alarming until a logic point or CL
program writes a FALSE (OFF) into the secondary's CONTCUT parameter.
Typical implementation of Contact Cutout uses a primary point's PTINAL parameter
(point-in-alarm indicator) to control a secondary point's CONTCUT status. This is a
convenient method for providing Contact Cutout for all primary alarms, and we
recommend it as the safest and most secure implementation. However, any other valid
primary point alarm parameter, such as PVHIFL, PVHHFL, PVLOFL, PVROCNFL or
any other valid primary point Boolean parameter can be used. When distributing a
primary point's alarm status to the CONTCUT parameter of several points, use only one
input connection to make the best use of peer-to-peer resources.
When implementing a Contact Cutout connection using a logic point, the Logic Bad
Input handling Option parameter, LIBADOPT, must be set to OFF in case the primary
point fails or is deleted while in alarm. This implementation ensures that the secondary
point's CONTCUT parameter will be set to OFF in the event of a point failure. In
addition, if the primary and secondary points are in different UCN nodes, the logic point
should be located in the same node as the secondary point in case the node containing the
primary point is idled or fails.
For the same reason, we recommend that CL programs be located in the same node as the
secondary point. CL programs should include error trapping code to handle the different
failure cases previously described.
In general, Contact Cutout should be implemented using primary point alarming flags as
previously described, because these alarm parameters automatically clear (to the OFF
state) when the primary points are made INACTIVE or the node containing the primary
point is idled. Note that when connecting CONTCUT to other parameters, such as box
flags or digital composite PV flags, these parameters do not provide similar protection.
Because CONTCUT cannot be changed by the operator, it is possible to end up with a
secondary point temporarily or permanently disabled from alarming!
Primary module points
Primary Module (PRIMMOD) Points are used to collect alarms and events from points
that are related for some purpose. All UCN points with alarming capability have a
PRIMMOD parameter with which to identify a common PRIMMOD point. All points
with a matching Primmod point are considered to be in the same alarm group.
The value for the Primmod parameter can be any point in the same NIM. The value is
assigned during point build, but can later be stored by a CL program or from schematics.
If a Primmod point name is changed when alarms exist, the alarms are reissued for the
new Primmod name.
Up to 10 Primmod points can be grouped into one annunciator group in the Area data
base and Primmod points can be assigned to turn on the configurable button alarm
indicators.
R688 HPM High-Performance Process Manager Control Theory 119
08/2019 Honeywell
12 Alarming Theory of Operation
12.2 Contact Cutout Function
Auxilliary units
Alarmable NIM points in Release 520 and later software have an Auxiliary Unit
($AUXUNIT) parameter. If this parameter is set to null (- -), alarms and messages on that
point go to the primary unit. If a valid Unit ID is specified, alarms and messages from
that point go to the Auxiliary Unit.
$AUXUNIT can be configured at build time or, with the proper keylevel, it can be
initially assigned or changed by schematics, CL programs, the DEB alter parameters
function, or from the configuration page of the Point Detail display. The keylevel
necessary to change $AUXUNIT is configurable in the System Wide Values section of
the Network Configuration File.
Alarms from a point where $AUXUNIT has been configured are only accepted by
Universal or GUS stations having an Area Database in which both the Primary Unit and
the Auxiliary Unit are configured.
If an $AUXUNIT assignment is changed and there are outstanding alarms on the old
unit, alarms are deleted from the old unit and added to the new unit.
ATTENTION
It is not recommended to change AUXUNIT of a point, when the Alarm
DELAY is active. In this situation, the user has to inactivate the point before
modifying AUXUNIT.
ATTENTION
To prevent unusual or inconsistent re-alarming behavior, do not modify
$REALARM while the point is in alarm.
to-peer writes are locked out but peer-to-peer reads from the same or other nodes are
permitted.
D1 CURRENT
INPUT1
INPUT STATE
INPUT2 D2 GENERATOR
PVAUTO
PV (from Program)
Sub
All OnlyAuto
PVSRCOPT
PV
BAD PV BADPVFL
ALARMING
BADPVPR
COMMAND
CMDFALTM > 0 CMDFALFL
FAIL ALARM
PVNORMAL
< > None OFF-NORMAL OFFNRMFL
ALARMING
OFFNRMPR
UNCOMMANDED
UNCMDFL
CHANGE ALARM
1611 7
A functional diagram of the output portion of a digital composite point is shown in the
following figure.
Figure 13-2 Digital Composite Point Outputs Functional Diagram
Operator
Commanded State Off
(OP) from Operator Off
On On
Commanded State NMODATTR OROPT BYPASS
(OP) from Program
Program
Commanded
STATE 2 State STATE 1
STATE 0
Permissive
Interlocks ON ON ON
(P1, P0, & P2 are OFF OFF OFF
controlled by P2 P0 P1
Logic Blocks)
ON OFF
STATE 2
Override
Interlocks I2
(I2, I1, & I0 are
controlled by ON
OFF
Logic Blocks) STATE 1
I1
ON
OFF
STATE 0
I0
OFF
Safety ON
Interlock
STATE 0 SI0
Output Connections
(Up to 3 Outputs)
PULSEWTH OUTPUT STxOPy
STCHGOPT STATE
STxOPy
SEALOPT GENERATOR
MOMSTATE (OPFINAL) STxOPy
x = 0, 1, 2
y = 1, 2, 3
Normal states
A digital composite point can have two or three normal states that allow the data point to
interface with devices that have two or three operational states. The normal states of a
digital composite point are presented in the following table.
State Description
These states can best be described by showing how the digital composite data point is
depicted in a group display, as shown in the following figure. On the display, each state
is represented by a separate box. The state 0 box is the middle box, the state 1 box is the
upper box, and state 2 box is the lower box. (The state 2 box does not appear if the point
has been configured for two states where parameter NOSTATES = 2). The state
descriptor for each box is an 8-character descriptor and appears at the top of the box. In
the following figure, the descriptors are FORWARD (for state 1), STOP (for state 0), and
REVERSE (for state 2), which are specified by parameters STATETXT(0)-
STATETXT(2).
The lower portion of each box is split, with the left box being the indicator for the input
PV state, and the right box being the commanded-output state indicator. The condition of
the PV input that causes the left box to light is determined by parameters D2D1_00 -
D2D1_11. The condition that causes the right box to light is determined by OP being
commanded to that state.
Figure 13-3 Digital Composite Point Display
State 1 Descriptor
STATETXT (1)
FORWARD
State 1 Box
PVState 1 Indicator
OP State 1 Indicator (Commanded State)
PVFL (1)
State 0 Descriptor
STOP STATETXT (0)
State 0 Box
PVState 0 Indicator
OP State 0 Indicator (Commanded State)
PVFL (0)
State 2 Descriptor
REVERSE STATETXT (2)
State 2 Box
As an example, assume that the digital composite point shown in the previous figure is
connected through digital output points and digital input points to a motor control circuit
and that the current state of the digital composite point is state 0 (STOP).
In state 0, the PV indicator of the STOP box is lit, indicating that the motor is stopped
because the proper PV input has been received from the field. All other indicators in the
display are in the extinguished condition.
When the operator touches the FORWARD box to place the motor in the forward
running direction, the digital composite point output goes to State 1. Outputs from the
digital composite point are provided as determined by the ST1_OPn parameter (where
n=1.3). When the proper PV inputs are received from the field, the FORWARD box is
lighted. This indicates to the operator that the motor is running. Also, the current state of
the PV can be read by a logic slot or by a user program by accessing parameter PVFL(n)
where n is 0, 1, or 2. If the PV is in State 0, PVFL(0) is on; otherwise, PVFL(0) is off.
PVFL(1) and PV(FL2) operate in the same manner for States 1 and 2, respectively.
Similarly, when the operator presses the STOP box, the operator is notified that the
motor is stopped by the lighted PV indicator in the STOP box. The operator can then
select the REVERSE box to start the motor running in the reverse direction.
Momentary states
The states of a digital composite point can be configured as being momentary by using
the MOMSTATE parameter. The commanded states can be configured as momentary
where the state acts like a doorbell (state remains active as long as a switch is pressed).
The momentary states (MOMSTATE) parameter specifies which of the states are
momentary as presented in the following table.
Table 13-2 Digital Composite Point Momentary States
Entry Description
Moving/Bad states
The digital composite point has two standard states that represent conditions when the
current state of the device is "bad" (indeterminate) or the current state is "moving" (from
one state to another). The bad state can result when the PV input signals from the process
are in an inconsistent state (for example, for a valve, the limit switches indicating open
and closed are both simultaneously on). The moving state is encountered when the device
is in transition from one state to another (for example, a slow moving valve is changing
from the open state to the closed state). The moving/bad state descriptor is located below
the State 2 box on the display. In the example described above, the descriptor assigned
for the BADPVTXT parameter would be the word FAULTY and the descriptor assigned
for the MOVPVTXT parameter would be the word MOVING. These descriptors are
configured once for each HPM box data point and then are used for all digital composite
points in the same HPM.
If the standard "bad/moving" default text is not desired, you can select the PV Text
Option during point configuration, and enter two eight-character strings of your choice.
While the words "bad/moving" are defined on a PM/HPM box basis, your entries
override them on a per point basis. Up to 15 unique bad/moving text descriptors can be
defined on a UCN network basis.
13.4 Interlocks
Types of interlocks
Two kinds of interlocks, permissives and overrides, are provided in the output portion of
a digital composite point. The states of the interlocks are typically controlled by output
connections from logic slots that can write to the P0-P2 permissive interlock parameters,
and I0-I2 override interlock parameters. In addition, a safety override interlock (SI0) that
cannot be bypassed is provided.
R688 HPM High-Performance Process Manager Control Theory 131
08/2019 Honeywell
13 Digital Composite Point
13.4 Interlocks
Permissive Interlocks
The permissive interlock parameters P0-P2 (illustrated in the Digital composite point
outputs functional diagram) are controlled by logic slot outputs, and the permissive
interlocks determine whether the operator and user programs are allowed to change the
output of a digital composite point to a specific state. A permissive interlock is provided
for each of the three states. The permissive interlocks themselves never cause the output
to change.
For the commanded output to be changed to the desired state, the corresponding
permissive interlock parameter must be set to ON. As an example, if a logic-slot output
has set parameter P1 to OFF, the commanded output of the digital composite point
cannot be set to State 1. The permissive interlock parameters P0, P1, and P2 are all
defaulted to ON, thereby allowing permission for all the states. They must be
individually set to OFF by the logic slots to prevent access to the corresponding
commanded output state.
Override Interlocks
The override interlock parameters I0-I2 (illustrated in the Digital composite point outputs
functional diagram in the) are also controlled by the logic slot outputs and can force the
commanded output to a specific state regardless of the condition of the permissive
interlocks. The operator and user programs cannot change the output state when any
override interlock is in the ON condition. An override interlock is provided for each of
the three output states.
When parameter I0 is set to ON by a logic slot output, the commanded output state is
forced to State 0 (regardless of the condition of parameters I1 and I2). When I0 is OFF
and I1 is ON, the commanded output is forced to State 1 (regardless of parameter I2).
Finally, when I0 and I1 are OFF and I2 is ON, the commanded output is forced to
State 2.
Override interlock parameters I0-I2 are all defaulted to OFF, disabling all the override
interlocks. They must be set to ON to force the output to go to any specific state. If the
override interlock forces the output to go to a momentary state, it stays in that state as
long as the interlock remains ON and then switches back to the original state when the
override interlock is reset to Off.
When all the override interlocks are OFF, the last value of the commanded output is
maintained (except for momentary state) until changed by the operator, a user program,
or another override interlock. The interlock logic restores the output value to the output
devices (Digital Output IOPs) whenever the interlock value changes, even if the state
asserted by the interlock is already in effect.
The Override Alarm Option (OVRDALOP) allows an Optional alarm to be generated
when an override occurs. You have the following configuration choices for the Override
Alarm Option:
a) no alarm.
b) return to normal when the override is cleared (auto return).
c) Operator confirmation required after interlock is cleared (the operator must confirm
the alarm before it is possible to command a new state).
The occurrence of a new override takes precedence over any previously active override
(including the Safety Override Interlock, SIO) if that condition has returned to inactive.
Therefore, to the operator, a lower priority confirmation appears to overwrite a higher
priority override if that higher priority override has reset. This is sometimes called an
auto-confirm of the previous override.
If a higher priority override has been reset, the descriptions and confirm prompt (if
Cnfm_Rqd was configured) remain visible until the operator confirms the override from
the Detail Display. The confirm prompt and alarm are then reset. If any other override
occurs after a previous condition has reset, regardless of the previous priority, the new
description and confirm prompt appear. This also applies to the Real Time Journal
Display. If the confirmation required option was not selected for a particular class of
overrides, the description will still override the previous one and the previous confirm
prompt goes away, if the previous override condition has reset.
ATTENTION
When upgrading from an R400 APM to an R500 HPM, note the differences
described herein and make sure your strategy continues to operate a
intended.
In R410 and R500 systems, a lower priority interlock (such as I1) can become active if a
higher priority interlock (such as I0) is no longer true, but has not yet been confirmed. In
R400 systems, Confirmation has to be done before the lower priority interlock is
activated.
When the Digital Composite point is built, you can specify the tag name of the Logic
point that is driving the interlocks as parameter LOGICSRC. The contents of this
parameter then appear on the Group Display when the Digital Composite point is
selected. After identifying the Logic point, an operator can call up the Detail Display for
that point to find out about the interlocks.
You can predefine an eight character alarm descriptor for each override interlock, I0-I2.
When the override interlock is activated, that string is displayed on the detail display. CL
programs can write into these descriptors (InDESC) before asserting the interlock. The
detail display text then explains why the program forced the interlock (for example, TOO
HOT in the Override Alarm Descriptor, OVRDDESC).
ATTENTION
Please note that:
• these sources must be in the same HPM box as the digital composite
point that is being configured.
• the status of Input 1 is represented by parameter D1; Input 2 is
represented by parameter D2.
• Input 2 can be configured only when the entry for the number-of-digital-
inputs parameter (NODINPTS) is 2.
• Tagname is the 8- or 16-character name assigned to the data point through the
NAME parameter.
• FL signifies a flag.
• nn is the flag number to which the input of the digital composite is sent. The flag
number has a range of 7-12: flag numbers 1-6 have dedicated uses and cannot be used
as destinations by a Device Control point.
Array Point Flags
To assign the digital composite-point input to an Array Point flag, the user can enter the
following information for the respective DISRC(n) input connection parameter:
Tagname.FL(nn)
where:
• Tagname is the 8- or 16-character name assigned to the data point through the
NAME parameter.
• FL signifies a flag.
• nn is the flag number to which the input of the digital composite is sent. The flag
number has a range of 1-NFLAG, where NFLAG is the array point parameter that
defines the number of flags in the Array point.
TIP
The inputs to a digital composite point are usually the PVs from digital input
points. The digital input points should be configured as component points that
force the input direction to be direct (as opposed to reverse).
Direct/Reverse action
The actual direct/reverse action can be configured by assigning the appropriate PV state
to the input as described in the following paragraphs.
Single input points
For a single-input point, there is only one input parameter (D1). D1 has two possible PV
states (PVstate0 and PVstate1) that can be assigned to either of the following input
conditions:
• D1 = 1 (D1 is ON; parameter D1_1)
• D1 = 0 (D1 is OFF; parameter D1_0)
You assign either PVstate0 or PVstate1 to parameter D_1; the system automatically
assigns the other PV state to parameter D1_0.
• MovPV • BadPV
PVstates1, 0, and 2 cause the PV indicator to be lighted in the respective state box on the
group display when the assigned D2D1 input conditions are satisfied. The MovPV and
BadPV states cause the respective MOVPVTXT or BADPVTXT descriptor to appear
below the state boxes on the group display.
PV source
The PV source parameter (PVSOURCE) determines the source of the current PV state
for the digital input portion of the digital composite data point. The possible sources of
the current PV state are presented in the following table.
Table 13-3 Digital Composite Point PV Sources
Source Description
PV Source Option
During configuration, the user can specify the PV sources that can be used for this data
point. Parameter PVSRCOPT allows the user to select the PV source as being only
AUTO, or to select all the PV sources in the above listing as allowable sources of the PV.
Note that the organizational summary display lists all the points for which PVSOURCE =
TRACK.
13.7 Alarming
Background
The digital composite point can be configured to detect and report command disagree,
command fault, uncommanded change, or off-normal alarms. You have the option of
specifying no alarming for the data point. Digital composite points also generate a bad
PV alarm when any input is coming from a digital input point that has a bad PV flag
(BADPVFL) status of ON.
ATTENTION
Please note that:
• Digital Composite point alarm options can be configured only if the digital
composite point is configured to have inputs, or inputs and outputs.
• The BADPVPR parameter determines priority of the bad PV alarm.
Command disagree
During the command disagree timeout interval, determined by the feedback-time
parameter, FBTIME, it is possible, in some instances, that the state defined as BADPV
could occur in the PV inputs, but not reflect an actual failure of the inputs or associated
hardware. To lessen operator confusion, these "state" BADPVs should be ignored.
Therefore, only BADPVs resulting from detected input errors are declared by the point
during the timeout interval. If a "state" BADPV occurs, the previous PV remains
displayed.
When the commanded-output state is changed and the actual input PVstate does not
change accordingly within a predefined feedback time, a command disagree alarm is
generated.
The feedback time (1 to 1000 seconds) is specified by the FBTIME parameter and the
timer starts whenever the OP value changes. A command disagree alarm is also
generated if OP changes are caused by the interlocks.
This alarm condition returns to normal when the input PV state and the commanded-
output state are the same. If the commanded state is momentary, no alarm is generated.
For example, a motor may have two PV states (RUN and STOP), but there may be three
commanded output states (RUN, STOP, and JOG) where JOG is defined as a momentary
state. Command-disagree alarming is performed for only the RUN and STOP
commanded output states.
Command fail
The command fail alarm is similar to the command disagree alarm, but instead of waiting
for the actual state to equal the commanded state, a check is made to verify that the PV
changed from its original value to any other value within a configurable time interval.
For slow devices, absence of this alarm provides feedback that the device responded to
the command, even if it has not yet moved to its final position. The command fail alarm
is enabled by entering an integer greater than zero for the command failure timeout
parameter, CMDFALTM.
Uncommanded change
If a change does not occur in the commanded output state but the input PV state changes
(and the PV is not bad), an uncommanded-change alarm is generated. This alarm
condition returns to normal when the input PV state and the commanded state are the
same. If the point state has been configured as being momentary, this type of alarm is not
applicable. Alarm priority for the command disagree alarm, the command fail alarm, and
the uncommanded change alarm is determined by the Command Disagree Priority
(CMDDISPR) parameter.
Off-Normal
Detection of off-normal alarms is inhibited by selecting an FBTIME greater than zero.
The normal state of the PV input is defined by the user through the PVNORMAL
parameter.
When the PV input state is different than the state specified by the PVNORMAL
parameter, the off-normal alarm is generated. The alarm condition returns to normal
when the PV input state and the specified PV normal state are the same. When command
disagree is configured, the off-normal alarm is inhibited if PVNORMAL = ON. This is to
avoid two alarms at the same time and help isolate failures. You can set the priority of
the off-normal alarm with the OFFNRMPR parameter.
OP can be commanded to state 1 or state 0 using the OPCMD parameter. When OPCMD
is ON, OP is set to state 1. When OPCMD is OFF, OP is set to State 0. OPCMD can be
used when three states are defined, but will only command OP to state 1 or state 0.
Overrides take precedence over OPCMD; however, when the override is cleared, the OP
will be commanded to the state determined by OPCMD. OPCMD should not be used in
conjunction with SOCMD since OPCMD will always override the state set by SOCMD.
Like SOCMD, OPCMD only affects OP when the mode attribute is PROGRAM.
ATTENTION
Do not configure two different logic outputs to drive OPCMD and SOCMD of
the same Digital Composite Point.
Seal-In circuit
The seal-in circuit is a configurable option (SEALOPT). It is used to unlatch the digital
output contacts on detection of the PV, not following the output command as happens on
a device drop out (for example, a stopped motor).
This condition is determined to be true any time the PV is not in state1 or state 2 and
either of the following is present:
• a command disagree alarm.
• an uncommanded state change alarm.
If the seal-in option is enabled, when the above condition is detected, the output
destinations are set to the state corresponding to OP of state 0, but OP is not altered. The
actual state commanded to the output destinations can be observed on the lower part of
the group display as OPFINAL. OPFINAL is displayed in reverse video if it is different
from OP. OPFINAL is set equal to OP on the next store to OP, thus clearing the seal
condition. However, if OPCMD is used, it must be set OFF, then ON to clear the seal
condition.
ATTENTION
The seal-in option is mutually exclusive with MOMSTATE.
ATTENTION
Setting the permissive interlock parameter for any state to OFF when that
state is already commanded, does not take effect. For example, if state 1 is
already commanded, then if you set the permissive interlock parameter P1 to
OFF, it does not take effect until state 1 is reset.
While configuring Device Control point with the seal-in option enabled, you
must review the OP and OPFINAL values to check if there is any
TIP
If the break before make option is enabled, commanding a motor to change
direction from forward to reverse causes the motor to stop before reversing.
ATTENTION
Please note that:
• the CL state change statement waits until feedback for the second OP
change is successfully received.
• the state change option is mutually exclusive with MOMSTATE.
• Tagname is the 8- or 16-character name assigned to the data point through the
NAME parameter.
• FL signifies a logic-slot flag.
• nn is the flag number to which the output of the digital composite is sent. The flag
number has a range of 7–12: flag numbers 1–6 have dedicated uses and cannot be
used as destinations by a digital composite point.
HPM Box PV Flags
To assign the digital composite-point output to an HPM box PV flag in the same HPM
box, the user can enter the following information for the respective DODSTN(n) output
connection parameter:
Tagname.PVFL or !BOX.FL(nnnn)
where:
• Tagname is the 8- or 16-character name assigned to the data point through the
NAME parameter.
• PVFL signifies the PV flag.
• !BOX specifies the same HPM box in which the digital composite point resides.
• nnnn is the flag number. Box flags from 1 to 16,384 are available.
Initialization Option
With R630, parameter $INITOPT allows the user to configure a digital composite point
so that the digital composite point holds the output value (OP) at its last value when the
point recovers from the initialization manual condition.
The $INITOPT parameter has two values; NORMAL and HOLDOP. If NORMAL is
selected as the entry for the $INITOPT parameter, the digital composite point operates as
currently described in the Initialization section.
If HOLDOP is selected, the output value is held at its last value (previous state) as long
as the initialization condition persists. When the digital composite recovers from the
initialization manual condition, the output is not sent to the output point unless an
override interlock or safety interlock is active. If the active interlock (I0, I1, I2, or SIO)
is not bypassed, the digital-composite point output value is set to the value of the active
interlock.
CAUTION
If HOLDOP has been selected as the entry for the $INITOPT parameter, it is
possible that the state of the output field device does not match the state of
the OPFINAL parameter after recovery from initialization has been
completed. There may be a mismatch between the digital-composite output
value and the output device state that requires operator intervention to
correct this mismatch. Therefore, there may be uncertainty in the validity of
the field device state after recovering from initialization.
For recommendations about the implementation and use of the $INITOPT
parameter, refer to the description of the $INITOPT parameter in the PM
Family Parameter Reference Dictionary.
Operation
When INITMAN transitions from On to Off, the digital composite point provides an
output value OP as follows:
The Maintenance Statistics display contains a REDTAG target. The REDTAG and
RESET targets work as follows:
If you select the REDTAG target (and ENTER), the point’s REDTAG parameter is set to
ON and a RESET target appears. Selecting the RESET target (and ENTER), resets the
points maintenance statistic values. If you select REDTAG (and ENTER, the REDTAG
condition clears and the RESET target disappears.
GENERIC DESCRIPTORS
CONNECTIONS CONNECTIONS
SO (1)
LISRC (1) L (1) LOGALG (1) LOSRC (1) LODSTN (1)
:
: : LOENBL (1) :
:
: :
:
SO (24) LOSRC (12) LODSTN (12)
LISRC (12) L (12) LOGALG (24)
LOENBL (12)
NUMERICS FLAGS
Connections
The logic point can have up to 12 input connections, 24 logic blocks, and 12 output
connections. The actual number of these is specified through the entry made for
LOGMIX parameter as shown in the following table.
Table 14-1 Entires for LOGMIX parameters
12 24 4 12_24_4
12 16 8 12_16_8
12 8 12 12_8_12
Flags
Twelve flags, FL(1) to FL(12), are provided for each logic point. The states of flags
FL(1) to FL(6) are controlled by the HPM and cannot be changed by the user. Flags
FL(7) to FL(12) are assigned by the user for controlling the path of the logic in the
respective logic point. The flags are described in the following table.
TIP
You can not change Flags FL(1) to FL(5), but the states of these flags can be
used as inputs to the logic points and can also be read by user programs.
Flag Description
FL(1) Always Off (see “Output connections” in Section 14.2 when used for
logic output enable).
FL(3) On only if this logic point is processing for the first time after
becoming active.
FL(4) On only if this point is processing for the first time after the HPMM
box state has transitioned from Idle to Run, or the HPMM has gone
into the Run state following a power-up.
Numerics
Eight numerics, NN(1) to NN(8), are provided with each logic point. The numerics can
be used as reference values for the comparison logic algorithms, or they can be used as
source parameters for the output connections when writing predefined analog constants
to other points. The values of the numerics can be changed from the Universal Station, by
other logic points, or by user programs. A bad numeric input typically has the value NaN.
Logic blocks
The logic operations are performed by the logic blocks. Up to 24 logic blocks may be
configured by the user for each logic point. The actual number of logic blocks configured
is determined by the logic mix described in Logic Points, Connections. Each logic block
consists of:
• Up to 4 inputs (specified by S1, S2, S3, S4).
• One logic algorithm (specified by LOGALG).
• One Boolean output (specified by SO).
The parameters associated with a logic block are always qualified with an array index
corresponding to the number of that logic block. For example, LOGALG(4) represents
the algorithm configured in the logic block number 4, whose output is SO(4), and the
inputs may be S1(4), S2(4), and so on.
On the first time through configuration, the outputs of all logic blocks are set to OFF;
however, on a subsequent restart (for example: IDLE to RUN transition of the HPMM
state, or INACTIVE to ACTIVE transition of the point execution state), all the outputs
are held at their previous values.
The logic points defined for each HPM are processed in descending order. Within each
logic point, the inputs are calculated first, then the gates are processed, then the outputs
are processed, each in ascending order.
Output connections
Logic output connections are used to write the values of local parameters of a respective
logic point to the configured destinations. Up to 12 output connections can be configured
for each logic point. The actual number of output connections is determined by the
LOGMIX parameter described in Logic Points, Connections. The destinations are
specified by parameter LODSTN by using the "Tagname.Parameter" format or the
hardware reference address format.
The logic output connection can write the selected local parameters of a logic point to
any of the following destinations:
Any Boolean, integer, enumeration, self-defining enumeration, or real parameter in this
HPMM, or another UCN node
Any Boolean, integer, enumeration, self-defining enumeration, or real parameter in the
IOPs in this HPM. A maximum of 8 such connections can be configured for each point.
The remaining 4 output connections can be used to write to boolean or real parameters
that reside in this HPMM or in another UCN node.
The user must specify the local parameter within the logic point and the destination to
which it is to be written. The local parameter to be written is specified as the logic output
source (LOSRC(n), where n = 1 to 12). The source parameter for the output connection
can be selected from any of the flags (specified as FL1, FL2, and so on), numerics
R688 HPM High-Performance Process Manager Control Theory 163
08/2019 Honeywell
14 Logic Points
14.2 Configuring a Logic Point
(specified as N1, N2, and so on), external inputs (specified as L1, L2, and so on), or the
output of any of the logic blocks (specified as SO1, SO2, and so on.).
Associated with each output connection is a logic output enable flag, LOENBL(n). The
parameter pointed to by LOENBL(n) must be ON for the corresponding output
connection to write to the specified destination. If store-only-on-a-change is required, the
appropriate condition to store can be determined by the CHDETECT logic algorithm and
then used to manipulate the enable signal; or if the FL1 parameter is specified for the
output enable and the output data type is Boolean, then output occurs on change only.
The logic output enable flag can be obtained from any of the flags (specified as FL1,
FL2, and so on), external inputs (specified as L1, L2, and so on.), or the output of any of
the logic blocks (specified as SO1, SO2, and so on.).
Generic descriptors
Up to 12 user-defined generic descriptors are provided with each logic point for
identifying parameters of the logic point with custom names that are to be shown on
Universal Station displays. Generic descriptors can be assigned to any of the following
logic-point parameters:
• Flags (FL1, FL2, and so on).
• Numerics (N1, N2, and so on).
• External inputs (L1, L2, and so on).
• Outputs of any of the logic blocks (SO1, SO2, and so on).
Typically, the generic descriptors identify critical interlock signals, operator-adjusted
parameters, and so on.
The actual number of descriptors used is determined by the NODESC parameter for this
logic point. For each descriptor, the parameter to which it is attached is defined by
PRMDESC(n) parameter, and the corresponding 8-character descriptor is defined by
GENDESC(n).
Configurable alarms
Four custom alarms can be configured for each logic point. The alarm source can be any
of the logic inputs (L1–L12), logic flags (FL1–FL12), logic gate outputs (SO1–SO24), or
None.
When the alarm source is None, a CL program can force an alarm by writing ON to the
alarm flag (C1FL–C4FL) and clear the alarm by writing OFF to the alarm flag.
Each of the four custom alarms permits an 8-character descriptor that appears on page
one of the Detail Display, the Alarm Summery Display, and the Real Time Journal, when
that alarm is active.
The alarm priority choices are:
Parameters
REFERENCE - INTERNAL
For a complete list of the parameters associated with the Logic Point
algorithms, refer to the PM Family Parameter Reference Dictionary.
Compare Equal with Compare Not Equal Compare Greater Compare Greater
Deadband with Deadband Than with Deadband Than or Equal to with
Deadband
Compare Less Than Compare Less Than Check for Bad Fixed-Size Pulse
with Deadband or Equal to with
Deadband
Null
This logic algorithm provides an output (SO) that is always set to OFF.
AND Gate
This algorithm provides a 3-input AND gate, with each input (S1, S2, and S3) having the
capability of being optionally inverted, as required. The output SO is determined as
follows.
Figure 14-2 AND Logic Point Algorithm
S1
S2 AND SO
S3
ATTENTION
In the following truth table, REV indicates if the input is reverse acting
(inverted).
OR Gate
This logic algorithm provides a 3-input OR gate, with each input (S1, S2, and S3) having
the capability of being optionally inverted, as required. The output SO is determined as
follows.
S1
S2 OR SO
S3
ATTENTION
In the following truth table, REV indicates if the input is reverse acting
(inverted).
NOT Gate
This algorithm provides the Boolean inversion (NOT) function. The output SO is the
inversion of the input S1 as follows.
S1 NOT SO
OFF ON
ON OFF
NAND Gate
This algorithm provides a 3-input NAND gate, with each input (S1, S2, and S3) having
the capability of being optionally inverted. The output SO is determined as follows.
S1
S2 NAND SO
S3
ATTENTION
In the following truth table, REV indicates if the input is reverse acting
(inverted).
NOR Gate
This logic algorithm provides a 3-input NOR gate, with each input (S1, S2, and S3)
having the capability of being optionally inverted. The output SO is determined as
follows.
S1
S2 NOR SO
S3
ATTENTION
In the following truth table, REV indicates if the input is reverse acting
(inverted).
XOR Gate
This algorithm provides a 2-input exclusive-OR gate. The output SO is determined as
follows.
S1
XOR SO
S2
S1 S2 SO
OFF ON ON
ON OFF ON
ON ON OFF
S1
S2
QOR2 SO
S3
S4
any two or more inputs (S1, S2, S3, S4) are ON SO = ON SO = OFF
S1
S2
QOR3 SO
S3
S4
any three or more inputs (S1, S2, S3, S4) are ON SO = ON SO = OFF
Discrepancy 3
The Discrepancy 3 algorithm has three inputs and an output. The output SO is set True if
the three inputs do not agree for longer than the delay time (DLYTIME). The delay time
is configurable and has a range of 1 to 8000 seconds. If the configured delay time is less
than or equal to one sample time of this logic point, it is assumed to be equal to one
sample time.
The output is determined as follows.
DLYTIME
S1
S2 DISCREP3 SO
S3
The Discrepancy block is used to monitor inputs S1 - S3 for inactivity or failure. The
output (SO) goes true if any input disagrees with either of the other two inputs for longer
than the preset delay time.
Two Out of Three Voting
A two out of three voting function can be implemented with the QOR2 and DISCREP3
logic blocks as follows. One input to the QOR2 block is connected to a source that is
always off such as the output (LO) of logic flag 1.
S1 DLYTIME
S2 S1
QOR2 SO
S3 S2 DISCREP3 SO
S4 S3
FL1 (Off)
Switch
This algorithm provides a 2-input switch. Output SO is determined as follows.
S3 = ON SO = S1 SO = S2
R1
R2
EQ SO
DEADBAND
ATTENTION
If R1 and/or R2 inputs are "NaN", then SO is not changed.
R1
R2
NE SO
DEADBAND
ATTENTION
If R1 and/or R2 inputs are "NaN", then SO is not changed.
R1
R2
GT SO
DEADBAND
ATTENTION
If R1 and/or R2 inputs are "NaN", then SO is not changed.
R1
R2
GE SO
DEADBAND
ATTENTION
If R1 and/or R2 inputs are "NaN", then SO is not changed.
R1
R2
LT SO
DEADBAND
ATTENTION
If R1 and/or R2 inputs are "NaN", then SO is not changed.
R1
R2
LE SO
DEADBAND
ATTENTION
If R1 and/or R2 inputs are "NaN", then SO is not changed.
R1 CHECKBAD SO
R1 is NaN SO = ON SO = OFF
Fixed-Size Pulse
This logic algorithm provides a fixed-size output pulse at the SO output each time the S1
input transitions from the OFF state to the ON state. The output pulse width (in seconds)
is specified by the DLYTIME parameter. If the delay time is less than or equal to one
sample time (of the logic point), it is assumed to be equal to one sample time. Another
output pulse cannot be generated until the generation of the preceding pulse has been
completed.
DLYTIME
S1 PULSE SO
S1
DLYTIME DLYTIME
SO
DLYTIME
S1 MAXPULSE SO
S1
DLYTIME DLYTIME
SO
DLYTIME
S1 MINPULSE SO
S1
DLYTIME DLYTIME
SO
Delay
This logic algorithm delays the input signal at the S1 input by one sample time. The SO
output always follows the input after one sample time delay.
S1 DELAY SO
On Delay
This logic algorithm delays the input signal supplied at the S1 input when the input signal
is going from the OFF to the ON state. (There is no delay provided when the input
changes from the ON to the OFF state.) When the input state changes from OFF to ON,
an internal timer starts counting down the delay time specified by the DLYTIME
parameter (in seconds). When it times out, the S1 input is monitored again, and if it is
still ON, the SO output is set to ON. When the input state transitions to OFF, the SO
output is set to OFF immediately, and the timer is shut off (if it is running). If the
specified delay time is less than or equal to one sample time (of the logic point), it is
assumed to be equal to one sample time.
DLYTIME
S1 ONDLY SO
S1
DLYTIME DLYTIME
SO
Off Delay
This logic algorithm delays the input signal supplied at the S1 input when the input signal
is going from the ON to the OFF state. (There is no delay provided when the input
changes from the OFF to the ON state.) When the input state changes from ON to OFF,
an internal timer starts counting down the delay time specified by the DLYTIME
parameter (in seconds). When it times out, the S1 input is monitored again, and if it is
still OFF, the SO output is set to OFF. When the input state transitions to ON, the SO
output is set to ON immediately, and the timer is shut off (if it is running). If the
specified delay is less than or equal to one sample time (of the logic point), it is assumed
to be equal to one sample time.
DLYTIME
S1 OFFDLY SO
S1
DLYTIME DLYTIME
SO
Watchdog Timer
This logic algorithm provides a "time out" capability to monitor other system functions
or remote devices. The function or device monitored must set the watchdog reset flag
FL(6) (of this logic point) to ON within a time interval specified (in seconds) by the
DLYTIME parameter, otherwise it is assumed to have failed, and the SO output of the
algorithm is set to ON. If the specified delay time is less than or equal to one sample time
(of the logic point), it is assumed to be equal to one sample time. When the watchdog
timer algorithm runs and if the FL(6) flag is ON, the internal timer is set equal to
DLYTIME, and FL(6) and the output SO are both set to OFF. However, if FL(6) is OFF,
the internal timer is decremented, and if it becomes zero, the SO output is set to ON.
Because this algorithm always uses the FL(6) flag of the logic point as the reset input,
only one Watchdog Timer algorithm should be configured for each logic point.
Flip-Flop
This algorithm provides the flip-flop function. The SO output is determined by the states
of inputs S1 and S2 as follows.
S1
S2 FLIPFLOP SO
S3
S1 S2 SO
OFF OFF Not changed
ON OFF OFF
OFF ON ON
ON ON S3 input
Change Detect
This algorithm is used to detect changes in up-to-three inputs. The output SO is
determined as follows.
S1
S2 CHDETECT SO
S3
PROCMOD
OVERPHAS SEQUENCE
OVERSTEP
CONTROL
OVERSTAT
ACP INTERFACE
BATCHID
LOCAL VARIABLES
SEQMODE CL/HPM
SEQUENCE • 127 Flags
SEQNAME
PROGRAM • 80 Numerics
PHASE STATUS
• 16 Strings
STEP • Normal • 4 Time s
INTERFACE Sequence
STATMENT
PHASETIM • Subroutines
• Abnormal
Condition
Handlers
ALPRIOR
ALARM
PHASEAL
INTERFACE
SEQERR
Use
The Process Module Data Point is the mechanism through which:
• an operator, a CL/AM block, a user-written CM program, or another sequence
program can start and stop a sequence program and monitor the current status of a
sequence program.
• sequence alarms (sequence errors, failures, and phase alarms) are reported to the
system; an alarm priority can be assigned to sequence alarms.
• a sequence program can send information to an Advanced Control Point (ACP) in a
Computing Module when implementing high-level control strategies.
Capacity
Total statement capacity depends on configuration. The maximum number of CL/HPM
statements = 3(22000 - n) where n is the number of Memory Units used by data points
(see “Determining Processing and Memory Capacity” in Section 49.4).
Using the Universal Station or the Universal Work Station, individual programs can be
easily modified and reloaded without affecting the execution of regulatory control, logic
blocks, and other user programs.
− eight 8-character string variables Point (can alternatively use four 32-character
or two 64-character strings).
− 4 time variables.
• Use the variables (flag, numeric, string, time, timer) that reside in another Process
Module Data Point.
• Use HPM Box resident variables (flag, numeric, string, time, timer) within the
same HPM, noting that—
− CL programs cannot access HPM Box variables with an index of greater than
4,095.
− Array points can be used to refer to those variables.
• Start another sequence program or force an abnormal condition in another
Process Module Data Point as required.
• Issue predefined or computed messages to the operator to inform you of current
process conditions and to provide instructions. (the operator can also override various
portions of the sequence, as required).
ATTENTION
With R530, the compile time of a loaded CL/HPM sequence program is
provided. Time and Date stamp information is shown on the Detail Display of
the UCN ProcMod point. To access this page, select the target CONFIG
PARAMS from the first page of the ProcMod Point Detail Display.
High Performance
Process Manager Module
(HPMM)
ATTENTION
To prepare CL/HPM programs, refer to the Control Language High-
Performance Process Manager Reference Manual To compile a CL/HPM
program (binding it to a process module point) and load it into the HPM:
• using the Universal Station, refer to Control Language High-
Performance Process Manager Data Entry.
• using the TPS Builder, refer to the TPS Builder Configuration Tool Guide.
Sequence library
The Sequence Library contains the names of the sequence programs. The Sequence
Library is divided into three sections, with each section having a maximum of 1000
entries. (The section is defined by the LIBRYNUM parameter.) A section of the library
can be viewed by reconstituting the point, using $NxxLiby where xx is the UCN number
on which the NIM resides and y is the section number of the library.
Library entries can be made automatically by the CL Compiler, or they can be entered
manually by the user. If the manual entry method is to be used, the user should first enter
the names on the NIM Library Configuration Form, AP88-540. The LIBRYTXT
parameter defines the allowable character set for the library entries.
Library 1 is reserved for sequence names; Libraries 2 and 3 are reserved for all other
names. If the CL Compiler completely fills up Libraries 2 and 3, the compiler will begin
entering the overflow information into Library 1, beginning with index number 1,000 and
working down towards index number 2.
The sequence library resides in the NIM, and it is applicable to all the HPMs (or APMs,
or PMs) on the same UCN.
Local variables
Each Process Module Data Point contains 127 local flags, 80 local numerics, 4 local time
variables, and 16 local 8-character strings. The strings can alternatively be allocated as
8 16-character, 4 32-character, or 2 64-character strings. Flags are designated FL(1) to
FL(127) and the numerics are designated NN(1) to NN(80). Times are designated
TIME(1) to TIME(4) and Strings are designated STRn(mm) where n is the string length
(8, 16, 32, 64) and mm is the specific string number. For example, STR8(15) for 8-
character strings, STR16(7) for 16-character strings, and so on.
The primary purpose of the flags and numerics is to provide storage for recipe data and
intermediate results. Time variables are used to record date/time information, and strings
contain text strings that name or describe things. These local variables can be accessed by
the sequence executing in the same process module in which they reside, or they can be
accessed by any other sequence in the same HPM. The flags and numerics can also be
accessed by all system functions, such as CL programs in the AM, Universal Station
displays, and so on. They can be accessed as local variables by CL/HPM by using the AT
clause. Refer to the Control Language High-Performance Process Manager Reference
Manual
These local variables are accessed by the various system elements using the
"Tagname.Parameter" convention where the Tagname is the name of the process module
in which they reside, and the "Parameter" is the parameter name such as FL(15), NN(25),
STR8(15), or Time(4). To store (write) into the local flags and numerics, the keylock
position must equal or exceed the minimum access level specified in parameter
SPLOCK.
Process module flags and numerics are set to the default values of OFF and NaN
respectively, when the process module data point is deleted or when the HPM database is
initialized to default values. Time and string variables are initialized to spaces and 0
seconds, respectively. The HPM database is set to default values on initial loading of the
HPM Box data point and when the SCANRATE parameter or point mix changes in
subsequent loads of the HPM Box data point. Process Module data point local flags and
numerics are left unchanged during downloading of sequence programs or the process
module data point itself to allow a record or history to exist between programs.
Flag, Numeric, String, Times, and Timer variables that reside in the HPM box are a
different set of variables from the local flags, numerics, strings, and times. These
variables are available to the sequence programs in this HPM and to the other sequence
programs in the HPMs (or APM, or PMs) on the same UCN and, with some minor
restrictions, to other system functions. They are described in Section 9 of this manual.
Data declaration
The data declaration section requires you to provide optional CL/HPM statements that
relate user-defined names to HPM flags, numerics, strings, and times that declare the
numeric constants, and that name the data points used in the program.
Execution declaration
The execution section consists of one-to-three parts:
• Normal Sequence (refer to Error! Reference source not found.) which—
− is the main program that provides control when conditions in the process are
normal (for example, the process is proceeding within acceptable limits and
does not require special control actions) is divided into "Phases," "Steps," and
"Statements" (as shown in Figure 15-3).
• Subroutines, which—
− simplify the program structure and are used for executing repetitive functions,
thereby reducing the programming effort and memory requirements.
− can be called by the normal sequence, other subroutines, or abnormal condition
handlers.
− permit two levels of nesting for both normal and abnormal sequences (a runtime
error is generated if the nesting level is violated).
− are specific to one sequence program (that is, subroutines defined outside of the
program and maintained in subroutine libraries are not supported in the High-
Performance Process Manager).
• Abnormal-Condition Handlers (see Error! Reference source not found.), which—
− provide corrective action when abnormal conditions are encountered.
− detect abnormal conditions when the SEQEXEC value is Run, Pause, Fail,
Error, or End.
− suspends the normal sequence when an abnormal condition is detected and
begins execution of the appropriate abnormal-condition handler.
− are identified in the sequence program by the HANDLER statement, preceded
by the name for the type of handler, and followed by the user-given handler
name (for example, HOLD HANDLER cooldown).
− consist of steps and statements. Hold and Shutdown abnormal-condition
handlers and an Emergency Shutdown handler.
− have priority over each other and over the normal sequences.
− can be enabled or disabled anywhere within a Phase by using the ENB
statement, which causes a suspend condition, but the new conditions to be
monitored take effect immediately.
R688 HPM High-Performance Process Manager Control Theory 197
08/2019 Honeywell
15 Process Module Data Point
15.5 Sequence Program Structure
− can also be enabled or disabled by the phase header in the phase statement.
ATTENTION
The abnormal condition handlers and the normal sequence order of
execution priority is as follows:
• Emergency Shutdown (Highest Priority).
• Shutdown.
• Hold.
• Normal Sequence (Lowest Priority).
The priority of a Restart Section is the same as the abnormal-condition
handler that contains the Restart Section.
Item Definition
Normal Sequence
Step A step executes a minor process function such as opening a valve with
associated checks and verification, or checking a temperature. At least one step
is executed each time the sequence is executed. A step is visible at a Universal
Station as a process milestone. It is identified in the sequence program by a
STEP statement, and consists of an ordered set of CL/HPM statements. The
step size is limited to a maximum of 255 statements.
Abnormal-Condition Handlers
Hold Executed on an abnormal condition that requires a partial shutdown and can be
terminated by a restart section that is identified by the RESTART statement,
followed by the handler's END statement
Item Definition
TIP
To manipulate the PROCMOD parameter successfully:
• its value must be Off and the value of SEQEXEC must be Loaded.
• the keylock position must equal or exceed the minimum access level
specified in parameter CTLLOCK.
The value of PROCMOD can be changed to START from any keylock
position regardless of the access level specified in CTLLOCK.
• a CL block in an AM.
• a user-written program in a CM.
State Description
Norm (Normal) The normal sequence program is running in the process module
slot.
ATTENTION
Parameter PROCMOD also contains the Strt (Start) and Stop states,
which are transitional states that can be controlled by one of the items
listed in Execution of abnormal handlers.
STOP
START
Return
NORMAL
HOLD
EMERGENCY
SHUTDOWN
SHUTDOWN
Hold,
Shutdown,
Restart
Restart
Section
Section
Execution Description
Mode
NO T LOADED
LOADING
LOADED
RUN
NL (Not Loaded) Initial state in which sequence has not been assigned to a process module.
This state is automatically entered from the DLL state when loading has
been aborted.
DLL (Down- Transient state during which the loading of the sequence into the process
Line Loading) module slot is in progress.
Loaded Sequence program has been loaded into the process module slot. This state
is automatically entered from the DLL state when loading has been
completed.
117—164 Reserved
• Emergency • High
• Low • JnlPrint
• Printer • Journal
• NoAction
Operator messages
Two types of programmed operator messages can be generated by a sequence program:
• Message with feedback—A SEND statement with the confirmation option (WAIT)
causes the sequence to be suspended until the message has been confirmed by the
user at the Universal Station.
• Message without feedback—This message is a 1-way communication from the
sequence to a destination, such as the Universal or GUS station.
These messages can be displayed at the Universal or GUS Station and/or logged on the
printer, depending on how the user codes the message statement.
TIP
It is good practice to confirm any outstanding messages after a sequence
failure before rerunning the sequence and before loading a new sequence.
15.13 Parameters
REFERENCE - INTERNAL
For a complete list of the parameters associated with the Process Module
Data Point, refer to the PM Family Parameter Reference Dictionary.
Functional diagram
Figure 16-1 Regulatory PV Point Functional Diagram
PV INPUT
NOPINPTS PROCESSING
PV USER-SUPPLIED
PVALGID :
ALGORITHM VALUES FOR THE
CALCULATION :
PVINIT CONFIGURED
ALGORITHM
PVCALC
(in EU)
PVCLAMP Noclamp
PVEXEUHI PV FILTERING Clamp
PVEXEULO AND
RANGE CHECK PVEXHIFL
TF PVEXLOFL
PVAUTO
PNTFORM
Componnt
PVMan or PVSub Full
(from Operator or Program)
PVAUTO
PV
PVSOURCE
PV
EU
Half
A HIGHAL
One L
Two A
PVALDB R
Three
Four M
Five
D
PVHHTP E PVHHFL
T
PVHHPR E PVHIFL
: C :
PV ALARM : T : PV ALARM
TRIP POINTS : I : FLAGS
AND PRIORITIES : O :
PVROCPTP N PVROCNFL
PVROCPPR PVROCPFL
PTINAL
Bad The PV value is NaN, resulting from one of the following conditions:
• PVSOURCE = Auto and PVAUTO = NaN.
• PVSOURCE = Auto, the value in PVAUTO is out-of-range, and has
not been clamped.
• PVSOURCE = Sub or Man and the PV is stored as NaN.
TIP
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.
Measured
Process
or (Data
Value from P1 DATAC PVCAL
Parameter)
Another
Data
17.2 Equations
Background
This algorithm has one equation form.
Equation legend
In the Data Acquisition equation:
• P1 contains the first input value.
• PVCALC contains the value that becomes the PV when PVSOURCE = Auto.
Equations
The operation is simply the replacement of the data point's calculated PV (PVCALC)
with the value of the input:
PVCALC = P1
Flow Input
P
G
COMPTERM (Data Point
T FLOWCOMP PVCALC
Inputs Parameter)
Q
X
Simplified Equation
PVCALC = F * COMPTERM
A: Liquids
B: Gasses, Vapors
C: Gasses, Vapors (Specific Gravity)
D: Volumetric Flow of Gasses and Vapors
E: Steam
Use
The uncompensated-flow input is typically a square-rooted, differential pressure
measurement. Other direct-flow measurements can also be used. The square root should
be extracted before the input to the data point, and the input value must be in engineering
units. For process-connected inputs, the square root can be extracted in the IOP;
conversion to EUs also takes place in the IOP.
The compensation is calculated from temperature, pressure, specific gravity, molecular
weight, steam quality, or steam compressibility. Choice of inputs depends on the type of
the equation selected. All of these inputs are obtained through PV input-connections.
B Primarily used for mass-flow compensation of gas or vapor flows. Actual absolute
temperature and pressure are used as compensation inputs.
C Used for mass-flow compensation of gas or vapor flows. Actual specific gravity
(measured or calculated), absolute temperature, and pressure are used as
compensation inputs.
D Principally used for volumetric-flow compensation for gas or vapor flows. Actual
temperature, pressure, and molecular weight are used as compensation inputs.
The molecular weight can be calculated by the Calculator algorithm, or a user
written program in the AM or Computing Module (CM50/CM60).
Error handling
If the status of any of the input values is bad, PVCALC contains NaN and the
PVAUTOST becomes Bad. If there are no bad inputs but the status of one or more of the
inputs is "uncertain," the PVAUTOST becomes Uncertn.
Zero pressure reference
Parameter P0 compensates for ambient atmospheric pressure. Most pressure sensors
measure pressure relative to the atmospheric pressure. If the pressure measurement is
actually absolute, P0 must be set to a value of zero. The usual zero reference is a value
for sea level. If the pressure sensor is at a significantly different elevation than sea level,
P0 should be set to a more appropriate value. For example, Denver, Colorado has an
average atmospheric pressure of about 12.2 psia. Standard sea-level atmospheric pressure
is 14.696 psia. P0 contains the absolute value of ambient atmospheric pressure.
Units of measure
The absolute value of either U.S. Customary Units or SI (metric) units can be used. All
inputs and parameters must be in engineering units of one system or the other. The
typical value for P0 (see “Equations” in Section 18 for definition of this parameter) in
U.S. Customary Units is 14.696 psia and in SI units it is 101.325 kPa. The typical T0
value is 459.69°F in U.S. Customary Units and 273.15°C in SI units.
Compensation term value
Typically, the COMPTERM value is near 1. It should never be zero or negative. The
COMPLO and COMPHI limits are used to prevent unrealistic values of COMPTERM
caused by incorrect inputs. Should the calculated value of COMPTERM go beyond one
of these limits, the value is held (clamped) at that limit. You should estimate the range of
COMPTERM by considering the most extreme input-conditions you expect. Also, you
should set the PV range for this data point, by considering the largest compensated-flow
value expected.
Custody transfer
Equation E can be used for "custody transfer" of gases or liquids. To do so, set parameter
RX equal to one and specify the input connection to X to come from RX in this data
point.
18.3 Equations
Background
You configure PVEQN for data point that uses the Flow Compensation algorithm to
specify one of five equations. The equations select the compensation term. The basic
equation is:
PVCALC = C * * F * COMPTERM
Equation legend
For the basic equation:
• PVCALC =The output of this algorithm. It is selected as the PV for this data point
when the PVSOURCE is Auto.
• C =Scale factor. The default value is 1.0.
• C1, C2 =Constants for correcting for assumed design conditions. Default value for
each is 1.0.
• F =The uncompensated flow input. A square-rooted, differential pressure input.
• COMPTERM =The compensation term. This term differs in each of the five flow-
compensation equations, A through E. Its value lies between the COMPLO and
COMPHI limits, which are specified by the process engineer. If either limit parameter
contains NaN, the corresponding limit check is not made.
Equations
ATTENTION
These equations are performed using absolute values for pressure and
temperature. You must convert temperatures and pressures to absolute
values in order to use this algorithm.
Five forms of COMPTERM may be calculated using Equations A through E. Each are
defined in the following table.
The COMPTERM computation depends on the value of the PVCHAR parameter. If
PVCHAR = SqrRoot, then COMPTERM is as shown. If PVCHAR = Linear, then
COMPTERM is determined without the square root function.
Table 18-2 Flow Compensation PV Algorithm Equations
Equation Definition
A
(Liquids)
B
(Gases & Vapors)
C
(Gases & Vapors w/specific
Gravity)
D
(Volume Flow of Gases &
Vapors)
E
Steam
ATTENTION
When using Equation A to Convert uncompensated, standard volumetric-flow
to compensated, standard volumetric-flow, if the variations in standard
density caused by fluid-composition changes are significant, C2 is
manipulated as:
• If the measured value of specific gravity at flow conditions is available,
the actual specific gravity, referred to standard conditions, is calculated
from that measurement by another data point and input to C2 through a
general input connection.
• If actual specific gravity is measured by a lab, a numeric data-point could
be used to hold the value and input to C1 through a general input
connection.
For the latter case, another data point uses the lab value to calculate specific
gravity at flow conditions and the result is input G.
P1
PVCALC
P2 MIDOF3 (Data Point
Parameter)
SELINP
P3
SELINP = The selected input, Select P1 through Select P3, except with only
two valid inputs and Equation C, SELINP contains None.
With TPN R683 a deviation high alarm has been introduced for MidOf3 algorithms.
When the absolute difference between any two inputs exceeds the set deviation trip point
value a deviation high alarm is generated.
Use
This algorithm is used to provide a reasonably secure PVCALC when inputs are
available from three redundant inputs, one or more of which may occasionally fail or
provide erratic values. The Low Selector, High Selector, Average PV algorithm provides
a somewhat similar function with up-to-six input connections.
19.3 Equations
Background
If three valid inputs are present, the equations have no meaning and the algorithm
functions normally, as described in Normal Operation with three valid inputs. The
equations specify what the algorithm is to do if one or more inputs have a bad-value
status.
Equation legend
The following legend applies to all Middle of Three PV algorithms:
PVCALC = The output of this algorithm. It is selected as the PV for the data
point when the PVSOURCE is Auto.
P1, P2, and P3 The input values. The default value is NaN.
Equations
The equations function as follows:
Example: P1
P2 EQUATION A PVCALC
Temperature P3 HILOAVG (Data Point
Inputs from P4 (HI) Parameters)
Six Points in P5
SELINP
a Boiler P6
Which is the
hottest s pot
PVCALC = Highest of the Input Values
in the boiler?
P1
P2 PVCALC
EQUATION B (Data Point
P3
HILOAVG Parameters)
P4
(LO)
P5 SELINP
P6
P1
P2
P3 EQUATION C (Data Point
P4 HILOAVG PVCALC Parameters)
P5 (Avg.)
P6
PVCALC = P1 . . . . . + PN,
N
With TPN R683 a deviation high alarm has been introduced for HiLoAvg algorithms.
When the absolute difference between any two inputs exceeds the set deviation trip point
value a deviation high alarm is generated.
Use
One example of the use of this algorithm is shown at the top of the preceding figure. In
this example, the high value-selector version of the algorithm is used to detect hot spots
in a boiler or a reactor.
Either the high value-selector version or the low value-selector version can be used to
detect production bottlenecks. For example, this algorithm might be used to notify the
process operator that production is currently constrained by the speed of a gas
compressor. One of the selector options might also be used to select the "safest" PV for
control.
One use of the averaging option is in balancing furnace passes. In this application, the
algorithm calculates the average of the outlet temperatures of the passes.
20.3 Equations
Background
The High. Low, Average PV algorithm includes three equations options:
• Equation A, which selects the highest input value.
• Equation B, which selects the lowest input value.
• Equation C, which calculates the average of all valid inputs.
Equations
Equation A—High Selector:
• If FRCPERM and FORCE are both On, then
− PVCALC = the value of the input indicated by FSELIN
− SELINP = FSELIN
• If either FRCPERM or FORCE is Off, then
− PVCALC = the highest valid input
− SELINP = the selected input, SelectP1 through SelectP8
Equation B—Low Selector:
• If FRCPERM and FORCE are both On, then
− PVCALC = the value of the input indicated by FSELIN
− SELINP = FSELIN
• If either FRCPERM or FORCE is Off, then
− PVCALC = the lowest valid input
− SELINP = the selected input, SelectP1 through SelectP8
Equation C—Average:
• If FRCPERM and FORCE are both On, then
− PVCALC = the value of the input indicated by FSELIN
− SELINP = FSELIN
• If either FRCPERM or FORCE is Off, then
− PVCALC = (Sum of the valid inputs)/N
− SELINP = None
P1
P2
P3 (Data Point
P4 SUMMER PVCALC
Parameters)
P5
P6
EQUATION B, simplified:
PVCALC = P1 + P2 + . . . + P6
Use
A typical use is the calculation of the rate at which a component of a raw product is
entering a process unit, which is found by summing the proportion of the component in
each of several input streams and multiplying by the stream flow rates. This algorithm
can also be used to calculate a net heat loss by finding the difference between the heat
inputs and heat outputs (the difference can be obtained by using a negative scale factor,
for example, –1.0).
Other possible uses are mass-balance, heat-balance, and inventory calculations.
This equation can be used to scale and bias a single variable using Equation A.
21.3 Equations
Background
You can select one of two equations when you configure a data point that uses the
Summer PV algorithm:
Equation legend
For both equations:
• PVCALC = The output of this algorithm. It is selected as the PV for this data point
when the PV source is AUTOmatic.
• C = The overall scale factor. Default = 1.0.
• C1 through Cn = The scale factors for P1 through Pn. Default = 1.0.
• P1 through Pn = The PV input values. Equation B is limited to six inputs. Default for
all values is NaN.
• D = The overall bias. Default = 0.
• n = The number of PV inputs used. Default = 2.
Equations
Equation Definition
A PVCALC = C * P1 + D
Process Input P1
(Data Point
VDTLL PVCALC Parameters)
Variable Dead
Time Input P2
Use
This algorithm is used for feedforward control and in process simulations. It may be used
as the PV algorithm in a data point that uses the PID Feedforward control algorithm.
In a typical feedforward application, the PV provided by this algorithm serves as the
feedforward PV. An operator can "cut out" this feedforward component by switching the
PVSOURCE to Man.
Equation Definition
C A change in the input value (P1) is delayed by a time period the duration
(Variable Dead Time) of which varies as the inverse of P2-input value variations. The variable
time period is determined by P2, the C1 and C2 scale factors, and bias
values D1 and D2. The delay (or dead time) typically represents a delay
in the process that depends on some variable in the process, such as
flow, feed rate, or a conveyer-belt speed.
D A change in the input value (P1) is delayed as with Equation C and then
Variable Dead Time receives lag compensation as specified by one or two time constants
(w/Two Lags (TLG1, TLG2). This equation is useful for simulating a portion of a
process that can be represented by a dead time and one or two lags.
The cutoff feature applies as for Equation C.
TIP
Equations C and D have a cutoff feature that can simulate situations like a
conveyer belt stopping. If the flow or speed value, represented by the P2
input, drops below a limit that you configure in the CUTOFFLM parameter,
the value of the delayed P1 signal (DP1) goes to zero. (DP1 is not an
external parameter.) When P2 again exceeds the CUTOFFLM value, DP1
resumes as a normal, delayed output. If you don't want this feature,
configure CUTOFFLM as NaN. Note that DP1 is subject to scale factor C
and bias value D.
Equation C can be used to produce a fixed delay time that can be changed
while the data point is active.
Calculating dead-time
The delay (dead-time)) of the input values is accomplished by a process that has the
effect of shifting the values through a table in the HPM's memory. Values are shifted
from one location in the table to the next, at intervals calculated to provide the desired
delay.
Figure 22-2 Variable Dead-Time Functional Diagram
Interpolator DP1
For an example of the delay-table operation, suppose that the P1-input value has been
constant at 5.0 units for an hour. Assume that the specified delay time, TD, is 15 minutes
and that the data point is processed every second; Time Sample (TS = 1/60) min. as
determined by the SCANRATE parameter. At this time, the output of the interpolator is
5.0 units, all of the locations in the table contain a value of 5.0 units, and P1 contains a
value of 5.0 units.
Now suppose that the input to P1 suddenly changes to 6.0 units. The interval at which
new values are shifted through the table and the number of table locations in use have
been set up so that it takes 15 minutes for the new value of 6.0 units to appear at the
output of the interpolator.
Changing dead-time parameters
Variable delay-time (dead-time) parameters C1, C2, D1, and D2 in Equations C and D
can be changed at a Universal Station while the data point is active. Note that the D1
value allows a supervisor or engineer to add a fixed delay time to the total variable delay
time.
The C1 and C2 parameters are used to specify the time scale of the P2 value. D1 can be
used to offset that scale. Note that the P2 value is inversely proportional to the variable
time delay. Where P2 represents a flow rate or speed, when the flow or speed decreases,
the time delay increases to simulate the effect of the reduced flow or speed.
Restrictions on dead-time
The minimum fixed delay-time (dead-time, Equation B) is equal to TS, the processing
interval in minutes. Delay values greater than 32,000*TS are rejected.
For Equations C and D the minimum step-change in the TD value is equal to NLOC*TS.
This is also the value of the smallest dead time (delay time). If the TDNEW value is less
than zero, it is clamped to zero. Also, if TDNEW exceeds 32,000*TS, it is clamped to
32,000*TS.
Time-Constant recommendations
We recommend that the processing rate of a data point that uses this algorithm and
Equation A or D must be at least ten times greater than the lead or lag break-point
frequencies, so, divided by lead break-point frequency) be less than or equal to 10, so,
• TLG1 should be equal to or greater than 2 * TS.
• TLG2 should be equal to or greater than 2 * TS.
• |TLD| should be equal to or greater than 10 * TS.
Both positive and negative lead times can be specified, so it is the absolute value of TLD
that must be equal to or greater than 10 * TS.
We recommend that the rate amplitude (lag break-point frequency divided by the lead
break-point frequency) be less than or equal to 10 so, |TLD| should be equal to or less
than 10 * TLG1.
Error handling
For Equations C and D, if neither input has a bad-value status, but one or both has an
uncertain-value status, PVAUTOST is Uncertn. Equations A and B don't use the P2
input, so for them, PVAUTOST is Uncertn only if the P1-value status (P1STS) is
Uncertn.
For Equations C and D, if either input has a bad-value status, PVCALC becomes NaN
and the PVAUTOST is Bad. For Equations A and B, when P1STS is Bad, it causes
PVCALC to contain NaN and the PVAUTOST to be Bad.
When the input-value status is again normal or uncertain, the data point is initialized as
for a cold start in Restart or point activation and the PVAUTO-value status becomes
normal, or uncertain, as appropriate.
22.3 Equations
Background
You can select one of four equations when you configure a data point that uses the
Variable Dead Time with Lead-Lag Compensation PV algorithm:
Equation legend
For all equations:
• PVCALC = The output of this algorithm. It is selected as the PV for this data point
when the PV source is AUTOmatic.
• C = The overall scale factor. Default value = 1.0.
• C1 = Scale factor, TDNEW denominator. Default value = 1.0.
• C2 = Scale factor for P2. Default value = 1.0.
• CUTOFFLM = Cutoff (zero-flow or zero-belt speed) limit. Default = 0.0.
• D = Overall bias. Default value = 0.
• DP1 = The delayed P1 value. Not accessible to Universal Stations nor to user-written
programs.
• D1 = Bias value for the variable delay time. Default value = 0.
• D2 = Bias for P2. Default value = 0.
• P1 = The input value to which the delay and lead-lag compensation are applied.
• P2 = The input value that changes the variable delay when Equation C or Equation D
is used.
• s = The Laplace operator (notation only, not a parameter).
• t = The present time (notation only, not a parameter),
• t-TD = The present time minus the actual dead (delay) time (notation only, not a
parameter).
• TD = The fixed time delay in minutes for Equation B. The actual variable delay time
in minutes for Equations C and D. Default = 0.
• TDNEW = The calculated new (ideal) delay time in minutes for Equations C and D.
• TLD = Lead-compensation time constant in minutes. 0 = no lead. Default = 0.
• TLG1 = Lag-compensation time constant 1 in minutes. 0 = no lag. Default = 0.
• TLG2 = Lag-compensation time constant 2 in minutes. 0 = no lag. Default = 0.
Equations
Table 22-1 Variable Dead-Time PV Algorithm Equations
Equation Definition
C Variable Delay Time—if CUTOFFLM does not contain NaN and if P2 is less than
CUTOFFLM, DP1 = 0; otherwise, calculate DP1 using:
S ta rt
O per ator or u ser- S to p
Rese t Time -scale d
written p rog ram TO TAL IZR P VCA LC
TIMEB A SE accu mula ti on
Tar get Va lue
PV AV
P ulse IOP
The accumulation can be started, stopped, and reset by commands from a Universal
Station operator or from a user-written program. An operator or user-written program can
establish a target value for the accumulation. Status indicators are available to indicate
that the accumulation is near the target value, nearer to the target value, and is complete
(has reached or exceeded the target value).
For situations where the flow transmitter may not be precisely calibrated near the zero-
flow value, a zero-flow cutoff feature is provided that avoids accumulating negative flow
values. When the flow is below a user-specified cutoff value, the input value is clamped
to zero.
Use
The Totalizer PV algorithm accumulates periodic measurements over time. It is
principally used to accumulate total flows, or in applications such as the measurement of
ingredients that are blended. The accumulated value can be used for control or just as
process history.
An example of TOTALIZER's use in control is determining how full a tank is, so that the
flow into the tank can be shut off before it overflows. In such an application, the P1 input
to TOTALIZR would be the PV of PID-flow controller.
Typical operation
The events in an operation that uses TOTALIZR might be as follows (see Error!
Reference source not found.)
• The target value, which represents the desired total volume, is specified to the
AVTV (displayed as the setpoint) parameter in the TOTALIZR point, by an operator
at a Universal Station or by a user-written program.
• An operator or a user-written program issues a Reset command (using the
COMMAND parameter) to the TOTALIZR point. This sets any accumulation value
equal to RESETVAL.
• A Start command is issued to the TOTALIZR point. A logic slot or user program
sets the setpoint to some value.
• When the first "slowdown" or "near-target" flag (ADEV1FL) comes on, it is read by
logic or user program and reduces the setpoint.
• When the second "slowdown" or "near-target" flag (ADEV2FL) comes on, it is read
by logic or user program and reduces the setpoint.
• When the accumulation reaches the target value (AVTV), filling is complete and the
complete flag (AVTVFL) comes on. It is read by logic or user program and sets the
setpoint = 0.
Target
Value
(PVTV)
AVDEV1FL
P1 TOTALIZER AVDEV2FL CL Block(s)
AVTVFL
SP
PID OP
PV
F Flow Transmitter
Liquid
(OLDAV). This allows other system functions using the totalized value to be able to reset
the totalizer without losing any "accumulation."
Range of Values
The accumulated value has a normal range of PVEULO to PVEUHI, where PVEUHI
defines the point where the bar graph is at the 100% level, and PVEULO is the point
where the bar graph is at the 0% level.
Clamping option
This algorithm will continue to totalize past PVEUHI until it reaches the value of
PVEXEUHI. When it reaches PVEXEUHI, the following occurs:
• If NoClamp was selected, the PV is set to BadPV and displayed as NAN.
• If Clamp was selected, the PV is flagged as uncertain and clamped to PVEXEUHI.
In either case, the algorithm continues to accumulate a value in PVCALC until it is reset,
regardless of the selection of NoClamp/Clamp.
Using scientific notation
Values are accumulated as integers, but displayed as real numbers. You can enter values
using scientific notation; for example, 1,000,000 can be entered as 1E6. If the
accumulated value exceeds the limit of displayable characters, it will be displayed in
scientific notation.
Near-Zero cutoff
To prevent accumulation of negative flow values, where the flow transmitter may not be
precisely calibrated near zero flow, you can specify a cutoff value in parameter
CUTOFFLM. When the P1 value is below CUTOFFLM, it is replaced by zero. You can
eliminate this feature by specifying NaN in CUTOFFLM.
Target-Value flags
The target value can be specified by an operator or a user-written program that is stored
in AVTV. This feature can be disabled by storing NaN in AVTV.
When the accumulated value in PVCALC is equal to or greater than AVTV, the target-
value-reached flag, AVTVFL, goes to On, indicating that the accumulation is complete.
Even if the accumulator has stopped, this check is made on each processing pass.
You can specify two other trip points in AVDEV1TP and AVDEV2TP, as deviations
from AVTV. Each of them is associated with a flag:
• AVDEV1FL trips when—
PVCALC > AVTV - AVDEV1TP
• AVDEV2FL trips when—
If the accumulator is stopped, the input status is ignored. If the accumulator is stopped on
a warm restart, no special action by the operator is required.
Restart or point activation
When the TOTALIZR data point is activated, the PVCALC value becomes NaN,
PVAUTOST goes Bad and the accumulator state is Stopped. If the PVSOURCE is Auto,
this causes a bad-PV alarm and the operator must re-establish normal operation.
The processing that takes place for a warm restart is described in Bad-Input and warm-
restart Options.
Error handling
PVAUTOST is Uncertn when
• The input status (P1STS or P2STS) is Uncertn.
• The input status is Bad and the "use zero" or "use last value" (Equation A, B, D, or
E) is configured (see “Bad-Input and warm-restart Options” in Section 23.2).
• The data point is in a warm restart and the continue option (Equations A, B, or C) is
configured (see “Bad-Input and warm-restart Options” in Section 23.2).
A Reset command is needed to return PVAUTOST status to Normal, provided the input
status is Normal.
PVCALC contains NaN and the PVAUTOST is bad when
• The input status is Bad and the "set bad and stop" (Equation C or F) is configured.
• The data point is in a warm restart and is configured for "set bad and stop"
(Equations D, E, or F) is configured.
A Reset command is needed to return PVAUTOST to Normal, provided the input status
is Normal.
PV or AV selection
Either of the parameters AV or PV is available at the input of the Regulatory PV
Totalizer algorithm. Normally AV is used, but only if all the following conditions are
true—
• Pulse IOP is running.
• Point is active.
• IOP PV is not in lo cutoff.
• IOP PV is not clamped.
• IOP PV source is AUTO.
• there are no soft failures against the IOP slot.
Automatic PV reset
With TPN R684, HPM Totalizer RegPV points are provided with an option to
automatically reset and restart the accumulation of PV value at specific configured
intervals. The two point-based parameters - $AUTROPT and $AUTRTIM are used to
configure the automatic PV reset.
$AUTROPT – Automatic Reset Option
The $AUTROPT (Automatic Reset Option) parameter is an enumeration. It provides the
following options:
NONE This is the default option indicating that the automatic reset is
not configured for this point.
HOURLY PV value resets every one hour from the configured automatic
reset time.
MONTHLY PV value resets every month at the specified day and time as
configured in the automatic reset time.
YEARLY PV value resets every year at the specified day and time as
configured in the automatic reset time.
NONE N/A
DAILY Offset time to be set to any hour in the day ranging from [0
00:00:00] to [0 23:59:59].
WEEKLY Offset time to be set to any day in the week ranging from [0
00:00:00] to [6 23:59:59].
MONTHLY Offset time to be set to any day in the calendar month ranging
from [0 00:00:00] to [30 23:59:59].
YEARLY Offset time to be set to any day in the calendar year ranging
from [0 00:00:00] to [365 23:59:59].
TIP
The $AUTRTIM parameter goes invisible in PED when the $AUTROPT
parameter is set to NONE (default).
Step Action
TIP
• The automatic reset occurs at the UCN time. Reset time may be different
from the time on the station if there is no clock master and if the nodes
are in Local mode.
• Program reset, Command driven reset and/or Operator reset does not
have any impact on the automatic reset.
$AUTROPT YEARLY
$AUTRTIM 59-00:00:00
0 Sunday
1 Monday
2 Tuesday
3 Wednesday
4 Thursday
5 Friday
6 Saturday
Parameter Configuration
$AUTROPT MONTHLY
$AUTRTIM 29-06:30:20
If the month is February and the year is a non-leap year, the reset occurs on 28th of
February at 06:30:20.
Similarly, if the month is April, the reset occurs on the 30th of April.
Parameter Configuration
$AUTROPT HOURLY
$AUTRTIM 0 00:20:30
The PV value resets immediately when HPM transitions from IDLE to RUN at 12:45:00.
The next reset time is calculated as 13:20:30.
TIP
For the automatic reset functionality, the behavior of totalizer points during
PTEXECST change from INACTIVE to ACTIVE is same as when HPM
changes from IDLE to RUN.
23.3 Equations
Background
NormalText
Equation legend
For each of the equations:
• PVCALC(i)=The output of this algorithm from the current pass. It is selected as the
PV for this data point when PVSOURCE is Auto.
• PVCALC(i-1)=The accumulated value at the end of the last processing pass for this
point.
• C=The scale factor. Can be used to convert from eng. units to different eng. units.
Default value = 1.0
• (Time-scale)=TS*60 if TIMEBASE contains Seconds.
• TS if TIMEBASE contains Minutes.
• TS/60 if TIMEBASE contains Hours.
• TS=The data-point processing interval in minutes.
• Pn=The input value. Typically a flow rate.
Equations
Configure one of the Equations A through F for a TOTALIZR data point equation
specifying the operating bad-input and warm-restart options according to Bad-Input and
warm-restart Options.
For Analog Operation:
• For all equations, when the accumulator is running, the accumulated value in
PVCALC is calculated as follows:
PVCALC(i) = PVCALC(i-1) + C * (TIME-SCALE) * Pn
ce, P1SRC(1) to be the PV parameter of the PI IOP. The HPMM software uses the entity
specified for P1SRC(1) to establish the algorithm’s second input (P2) except that it uses
the parameter ID of AV.
(Data Point
P1 GENLIN PVCALC
Parameter)
Use
This algorithm is typically used to provide a linearized PV (in engineering units) for a
sensor with a nonlinear characteristic. This algorithm can also be used to characterize
functions of a single variable, such as heat transfer vs. flow rate, or efficiency as a
function of load. The algorithm is particularly useful when the relationship of the input to
engineering units is empirically determined.
This algorithm supplements the standard linearization functions that are provided in the
IOPs for standard temperature sensors and differential flow meters.
Error handling
If P1STS is Uncertn, PVAUTOST status becomes Uncertn.
If P1STS is Bad or if any of the segment coordinates (INi or OUTi) contains NaN,
PVAUTOST becomes Bad.
If any of the segment coordinate values (INi or OUTi) contains NaN, a configuration
alarm is generated.
Operator parameter changes
The SEGTOT, INi, and OUTi parameters can be changed by the operator, but only if the
data point that uses the GenLin algorithm is made inactive.
Parameter value restrictions
The input coordinate value parameters must be specified in ascending order from the
smallest value to the largest.
OUT3 100 -
90 -
80 -
Solution D
70 -
60 -
PVCALC
50 - SEGTOT = 3
OUT2 Solution A
40 -
Solution C
30 -
OUT1 20 -
Solution B
10 -
OUT0 0 -
0 10 20 30 40 50 60 70 80 90 100
OUT1 - OUT 0 20 - 0
PVCALC = *( P1 -IN0) +OUT0 = *( 20 - 0 ) + 0 = 13.33
IN1 - IN0 30 - 0
Solution C (P1 int ersects any but 1st and last segment):
OUT(i+1) - OUTi 45 - 20
PVCALC = *( P1 - INi) + OUTi = *( 45 - 3 0) + 20 = 35.0
IN(I+1) - INI 55 - 30
OUTsegtot - OUT(segtot - 1)
PVCALC = *[P1 - IN(segtot - 1)] + OUT(segtot -1)
INsegtot - IN( segtot - 1)
100 - 45
=
85 - 55 *( 70 - 5 5) + 45 = 72.5
Segment extensions
The first and last segments are treated as if they indefinitely extended, so if P1 is less
than IN0 or greater than INsegtot, PVCALC is computed by assuming that the slope of
the appropriate segment continues to the intersection point.
24.3 Equations
Equation legend
For each equation:
• PVCALC =The output of this algorithm. It is selected as the PV for this data point
when the PV source is AUTOmatic.
• P1 =The input value.
• IN(i) =Input value at the beginning of the intersecting segment.
• IN(i+1) =Input value at the end of the intersecting segment.
• OUT(i+1)=Output value at the end of the intersecting segment.
• segtot =A subscript indicating the user-entered value in SEGTOT.
Equations
Each time this algorithm is processed the input value P1 is compared with each segment,
starting with the first and continuing until a segment is found that intersects with the
input. When that segment is found, PVCALC is calculated as follows:
• If the P1 value is exactly equal to the input value at the beginning of any segment
(P1 = INi, for i in a range from 0 to the value in SEGTOT),
• If P1 intersects any segment except the first one or the last one [INi < P1 < IN(i+1)
for any i from 1 to segtot-2],
P1
P2
P3 (Data Point
P4 CALCEXP PVCALC
Parameters)
P5
P6
With TPN R683, the CALCEXP parameter of the HPM calculator points can accept up to
60 characters. All access mechanisms of CALCEXP parameter supports the revised
length of the equation.
However, the CALCEXP parameter of the APM and PM calculator points can accept
only up to 40 characters.
ATTENTION
If the equations are configured with more than 40 characters, the CPU
Use
This algorithm can be used to perform any calculation or arithmetic function on up to six
inputs, using up to four intermediate results. Additionally is can be used as a selector
algorithm as noted above.
If the HI, LO, and AVG functions have bad inputs, they are ignored in the computation;
if all inputs are bad, the result is marked bad. On MID3 function, if only one input is bad,
the result is set equal to the average of the other two.
25.3 Equations
Background
The equation is specified at the time of point building and is loaded from the DEB
without additional steps such as compilation or linking. Up-to-six inputs can be
configured and stored into the destination parameters P1, P2 . . . P6.
Guidelines
The following general guidelines apply:
• The equation can be up to 60 characters long.
• FORTRAN-like syntax rules apply.
• Up to 5 levels of nesting of expressions.
• Free format real and mixed real and integer calculations permitted.
• Up to four intermediate results.
• The result of any expression that has no "equate" associated with it is stored into
PVCALC.
• On point activation or warm restart PVCALC is initialized to the P1 input.
Operators Divide /
Multiply *
Subtract -
Add +
Other Separator ;
Equations
The equation can be up to 60 characters long. It is entered into the Parameter Entry
Display in the port for the parameter CALCEXP. You can configure up to four
intermediate expressions. The result of an expression not having an "equate" associated
with it is stored in PVCALC.
Examples of use of this algorithm's equation:
PV (Input Value)
EXTERNAL MODE
SWITCHING
INITIALIZATION
LOGIC
TARGET VALUE
PROCESSING OR
DEVIATION
ALARMING
DEVIATION
ALARMING
CONTROL
ALGORITHM
CALCULATION
ALARM
DISTRIBUTION
REFERENCE - INTERNAL
Descriptions of each step in the regulatory control point functional processing
diagram are provided in the following topics.
• Control Input Processing.
• PV Source Selection.
• PV Alarm Detection.
• External Mode Switching.
• Initialization Logic.
• Target Value Processing or Deviation Alarming.
• PV Tracking.
• Deviation Alarming.
• Control Algorithm Processing.
• Control Output Processing.
• Alarm Distribution.
Operating modes
Table Regulatory Control point operating modes and figure Regulatory Control point
mode structure define the operating modes and mode attributes applicable to the
Regulatory Control point (RegCtl).
Separate flags are provided to indicate if the current mode is manual (MANMODFL),
auto (AUTMODFL), cascade (CASMODFL), backup cascade (BCAMODFL), or if the
mode attribute is Oper (OPRATRFL) or program (PRGATRFL). The modes and mode
attributes can be used in conjunction with the logic slots to implement interlocks.
Cascade (Cas) Data point receives its setpoint value from a primary data
point.
Backup Cascade Data point receives its setpoint value from a primary data
(Bcas) point.
OP (from AM)
Ddc
DdcRsp Spc
Rsp
RCASOPT
Cas
PV (from Program) Bcas Auto
Man
PV (from Operator) Sub MODE
Man
Configured Auto
PVAUTO
PV Connection (CISRC) PVSOURCE
REGULATORY MODE
CONTROL OP
OP
POINT Cas or Auto
SP
Man
MODE MODATTR
Prog
Cas Auto None
Oper
Configured
SP Connection (CISRC)
MODE
Bcas Auto
Man
Cas
RCASOPT
Spc Rsp
DdcRsp
Ddc
SP (from AM)
None
SP (from Operator)
Oper MODATTR
SP (from Program)
Prog
OP (from Operator)
OP (from Program)
Normal Mode
The normal mode is the mode that is copied into the MODE parameter when the operator
presses the NORM button. Also at that time, the content of the NMODATTR parameter
is copied into the MODATTR parameter. This then becomes the mode for the data point.
The possible entries for the normal mode are None, Man, Auto, Cas, and Bcas. The
normal mode flag (NRMMODFL) indicates if the mode for the point is normal mode.
Attributes
The mode attribute, as defined in the following table, denotes who has the authority to
change certain parameters of a data point, and is established through parameter
MODATTR.
Table 26-2 Regulatory Control Point Mode Attributes
The normal mode attribute is the attribute that is copied into the MODATTR parameter
when the NORM button is pressed. The possible entries for the NMODATTR parameter
are Operator, Program, and None. The normal mode attribute flag (NRMATRFL)
indicates if the point is in the configured normal mode attribute.
ATTENTION
An access level of Ccont (Continuous Control) allows supervisory control
from an LCN module, such as the AM, to change the setpoint, output value,
and mode of a data point.
The HPM supports supervisory or DDC control for the PID algorithms from any of the
following remote devices such as:
• Computer (through the CG)
• AM
• ACE-T through TPN Server
In addition to this, the EHPM which is integrated with the Experion network also
supports supervisory or DDC control for the PID algorithms from any of the following
remote devices such as:
• ACE through FTE
• C300 through FTE
If the remote cascade connection is coming from a regulatory data point in the
AM/ACE/C300, it handles everything automatically; however, in all other cases
(including the continuous CL programs in the AM directly writing to the HPM), you
must ensure that the following conditions are handled:
• remote device must use the continuous control access-level provided by the AM and
UCNOUT/EUCNOUT for writing to the SP, OP, and MODE parameters.
• remote device must also handle mode changes for closing the cascade.
• initialization to ensure bumpless mode transfers.
• windup protection.
EUCNOUT block
EUCNOUT block is a configurable block for creating regulatory control cascade strategies
between the ACE/C300 supervisory controller and the Enhanced High-Performance Process
Manager (EHPM) controllers residing on the EUCN.
The EUCNOUT function block supports Setpoint Control (SPC), Direct Digital Control (DDC),
Remote Setpoint Control (RSP) and Direct Digital Control with Remote Setpoint (DDCRSP)
remote cascade types between the regulatory control function blocks included in an ACE/C300
supervisory controller control strategy and the regulatory control points included in an EHPM
controller.
The EUCNOUT block does not require an OPC gateway or a TPN server to communicate with the
Process Manager controller.
The BASIC/FULL value of the NODFSTAT parameter does not impact the EUCNOUT block
functionality, but the HPM UCNWRTLK parameter status impacts the EUCNOUT block
functionality.
UCNOUT block
UCNOUT block is a configurable block for creating regulatory control cascade strategies
between the Experion ACE-T supervisory controller and the Process Manager controller.
The UCNOUT block requires an OPC gateway or a TPN Server to communicate with the
Process Manager controller.
REFERENCE - EXTERNAL
For more information on UCNOUT/EUCNOUT block, refer to the following
documents in the Experion bookset.
• Control Builder Components Theory
• Control Builder Components Reference
WARNING
While using the BCAS and Auto BIAS options, make sure that the
backup controller’s output is not configured as the source of SP in the
downstream controller’s input connection.
Option Definition
Supervisory This option is configured by setting RCASOPT to Spc. The
Control (Spc) AM/ACE/C300 control strategy writes to the setpoint of the RegCtl
point, subject to the setpoint limits, when the RegCtl point is in Cas
mode.
Direct Digital This option is configured by setting RCASOPT to Ddc. The
Control AM/ACE/C300 control strategy writes to the OP output of the RegCtl
(Ddc) point, when the RegCtl point is in Cas mode. The SP cannot be written
by the AM/ACE/C300 control strategy to the RegCtl point. If the control
algorithm is a PID type and is configured for PV tracking, the SP is set
equal to the PV when in Cas mode.
Direct Digital This option is available for only PID-type algorithms. It is configured by
Control with setting RCASOPT to DdcRsp. The AM/ACE/C300 control strategy
Remote Setpoint writes directly to the OP output of the RegCtl point when it is in Cas
(DdcRsp) mode. The AM/ACE/C300 can also write to the SP of the RegCtl point
subject to the setpoint limits. PV tracking is not performed in Cas mode.
This option is used primarily when a single PID controller in the HPM is
used to back up a higher level control strategy running in the
AM/ACE/C300. The higher level control strategy writes to the OP and
also provides the SP for the backup control strategy.
Remote Setpoint This option is available for only PID-type algorithms and is configured
(Rsp)
by setting RCASOPT to Rsp. The AM control strategy writes to the SP
through an AM general output connection, whereas the ACE/C300
control strategy writes to the SP through an ACE/C300 output
connection, subject to the setpoint limits, when the RegCtl point is in
the Auto mode and it is being initialized by its secondary (that is
INITMAN flag is ON). PV tracking is not performed in Auto mode when
INITMAN is ON, if Rsp is selected.
Note: For more information on Rsp option for the ACE/C300, refer to
the Control Builder Components Theory in the Experion bookset.
ATTENTION
The Remote Setpoint (Rsp) option is primarily used in a cascade control
strategy where a RegCtl point serves as backup to a higher level control
strategy running in the AM/ACE/C300, and the higher-level control strategy
provides the SP for the backup control strategy. In the backup strategy, the
primary PID would be configured for the Rsp option (allowing the
AM/ACE/C300 to specify the backup SP), and the secondary would be
ATTENTION
After CASREQ has been set to Request, any mode change causes CASREQ
to be set to NotReq.
WARNING
Do not use EUCNOUT with the RegCtl or AO unless OUTIND parameter is
set to DIRECT or OPTDIR is set appropriately for balancing the control
strategies.
ACE/C300 control strategy writes to EHPM using EUCNOUT overrides the
UCN/HPM FULL/BASIC parameter status but does depend on HPM
UCNWRTLK parameter status.
There are multiple paths for control output to EHPM. You should coordinate
the upper level control schemes to avoid conflicts between unique interfaces
such as:
• UCN peer-to-peer
• LCN Computer Gateway
• AM and AM/CL control
• ACE-T control though TPN Server
• ACE-T/C300 control through FTE
ATTENTION
This function does not apply to the RampSoak, IncrSum, or RatioCtl
algorithms.
The Regulatory Control parameter BADCTLOP determines if the mode sheds to manual
on detection of a bad PV (or bad CV for algorithms that do not have a meaningful PV).
For the definition of a bad PV, refer to BADPVFL in the PM Family Parameter
Reference Dictionary.
ATTENTION
In MAN mode, when a point is in BADCTL and the BADCTLOP parameter is
not NOSHED, the user can go beyond the $MOPxxLM values, up to the
extended limits (106.9, -6.9) when using the RAMP keys.
The BADCTLOP parameter is configured on a per point basis as shown in the following
table.
Table 26-4 Regulatory Control Point Bad PV/Mode Shed
Safety Shutdown
This option allows you to implement safety interlocks that effectively shutdown a single
control loop. The shutdown flag is set by a user-written program. When the shutdown
flag (SHUTDOWN) is set to:
• On, the mode and the mode attribute are changed to Man and Oper, respectively, and
the OP output is set equal to a predefined safe output value (SAFEOP), and—
− the external-mode-switching enable state (ESWENBST) is disabled, if it is
currently enabled.
− as long as it is On, the MODE, MODATTR, ESWENBST, and OP parameter
values cannot be changed.
• Off, the control loop must be manually restarted, and—
− a Logic Point or CL program must be used to reset the Safety Shutdown Flag
(from ON to OFF).
ATTENTION
If the point is already red tagged when the shutdown flag is turned On, the
output value is not changed. Typically, the safe output value can be
configured as 0% (if the valve is fully closed) or 100% (if valve fully open). In
some cases it may be important to just hold the last value. This can be
achieved by setting the SAFEOP parameter to NaN.
Sources
The inputs can be obtained from any source parameter that is a real number, an integer,
or a Boolean state. (Boolean states are treated as real numbers by the algorithm. The Off
state is equal to a real number of 0.0; the on state is equal to 1.0). For all RegCtl
algorithms except PIDERFB, the point's control output connections are also considered
input connections because the RegCtl point reads the output status before writing to it. A
RegCtl point can have up to seven input and output connections that obtain non-I/O scan
parameters from I/O Processors in the same HPM.
Initalizable inputs
Generally, initializable inputs are stored with control output connections at the primary
data point, and no input connections are required; however, in some cases it may be
required to obtain initializable inputs with input connections (for example, when
initialization and windup protection are not needed). To achieve this, the number of
control inputs is allowed to be increased based on the initializable inputs of the control
algorithm.
ATTENTION
The PV Source Selection step in the Regulatory Control processing applies
only to the Pid, PosProp, and RatioCtl algorithms.
Source
The source of the PV can be an analog input point, a PV algorithm, a Universal Station,
or a user-written program.
Specified by
The source of the PV is specified by the PVSOURCE parameter, whose value can be
changed by an operator, a supervisor, an engineer, or a user-written program.
Configuration
The PVSOURCE parameter is configurable only if the data point has been configured as
a full point. PVSOURCE can have one of the values defined in the following table.
Table 26-5 Regulatory Control Point PV Source Selection Configuration
Value Definition
Value Definition
TIP
You can prevent PV source changes by entering OnlyAuto for the
PVSRCOPT parameter. This fixes the source as AUTO and the parameter
PVSOURCE is removed from the point. Configuring All in PVSRCOPT allows
normal PV source selection.
ATTENTION
The PV Source Selection step in the Regulatory Control processing applies
only to the Pid, PosProp, and RatioCtl algorithms.
Configuration
Alarms for a RegCtl point can be configured only when the point has been configured as
a full point. Alarm types supported by the RegCtl points are provided in the following
table.
Table 26-6 Regulatory Control Point Bad PV Alarm Detection
REFERENCE - INTERNAL
For detailed alarm information, refer to the System Control Functions.
ESWCAS (RegCtl)
ESWMAN (RegCtl)
Enabling EMS
When external mode switching is enabled by the operator or the program by setting the
ESWENBST parameter to Enable, both:
• are prevented from changing the mode of the data point when the point is in the
ESWMAN, ESWAUTO or ESWCAS mode as indicated in the following table.
• may disable external mode switching at any time by entering Disable for the
ESWENBST parameter.
Table 26-7 Regulatory Control Point External Mode Switching
CAUTION
Up to four output connections are permitted from a Regulatory Control point
but the control output destinations must be all IOPs (AOs or pulse width
modulated DOs) or all Regulatory Control inputs. The outputs cannot be a
mix of IOPs and Regulatory Control inputs.
PV initialization purpose
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 BadPV value
status. PV initialization is useful for only 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.
Events causing PV initialization
The following events cause PV initialization:
• Point's execution state is changed to Active.
• HPM undergoes a warm or cold restart.
• PVAUTOST recovers from Bad value status.
Functions of PV initialization
PV initialization consists of the following functions:
• PVCALC is calculated from the PV inputs, using the steady-state portion of the
equation.
• PVAUTO is made equal to PVCALC.
• No other PV processing is affected by PV initialization.
ATTENTION
With regards to PV initialization, please note that:
• calculations that don't involve time use the normal equation.
• if PV filtering is configured, the filter dynamics are initialized to steady
state.
ATTENTION
Target Value Processing applies only to the Pid, PosProp, PIDPosPr, and
RatioCtl algorithms.
Setpoint Handling
Setpoint handling takes place only if the configured control algorithm requires a setpoint.
Setpoint-handling functions are as follows:
• Setpoint (SP) limits.
• SP Target-Value processing.
• PV Tracking.
• Deviation Alarming.
• Advisory Deviation-alarm processing.
• Ratio and bias options.
• Setpoint Restrictions.
Setpoint access restrictions in PID Algorithms
The table on the next page defines the activities that may write a value into the SP for
PID-based regulatory control points. Also refer to Setpoint access restrictions in non-PID
Algorithms as required.
CAS No None PC PC PC PC
SPC RC RC RC RC
DDC I I PC PC
DDCRSP RC RC RC RC
RSP PC PC PC PC
BCAS No Any PC PC PC PC
Man No Any I I
Yes I I
Yes None I I
SPC I I
DDC I I
DDCRSP —— ——
RSP —— ——
CAS No Any PC PC
SPC RC RC
DDC I I
DDCRSP —— ——
RSP —— ——
Yes None I I
SPC I I
DDC —— ——
DDCRSP —— ——
RSP —— ——
BCAS No Any PC PC
Yes Any I I
Setpoint limits
Setpoint limit parameters SPHILM and SPLOLM prevent setpoint values from exceeding
user-configured high and low limit values. These limits are configured in the same
engineering units as the SP and must be within the SP range plus extensions. Crossover
of setpoint limits is not allowed. The configured setpoint limits also apply to the
advisory-target value.
Setpoint limits are observed in initialization calculations. If the limits are violated by the
SP value, anti-reset windup-status propagation is invoked.
Setpoint target-values
This option allows an operator or a user-written program to "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 setpoint option parameter SPOPT.
If the SP is to be ramped by... then the mode attribute (MODATTR) must be...
an Operator Oper
The standard process for entering and initiating a new SP target-value is: Once the
procedure is complete, when RAMPTIME = 0, SP reaches the new value and the status
in TVPROC changes to Off.
1. The desired new SP value in SPTV is entered.
2. The ramp time (in minutes) in RAMPTIME is entered.
3. Run is entered through TVROC.
4. The SP begins moving linearly toward the new value and the value in RAMPTIME
decreases with time.
ATTENTION
Actions 1 and 2 cause the TVPROC parameter to go to Preset if the point is
in the Auto mode, INITMAN is Off, and TVPROC is Off.
TVPROC (Action 3) can be changed to the Run state only from the Preset
state.
While TVPROC contains either Preset or Run, SP high and 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:
SPTV > SP and the SP1 is not Hi or LoHi SP ramping continues from the stop position2
Tolerance Check
Release 530 and later provides a function called “SP/OP Tolerance Check.” This function
uses two new parameters, called $SPTOL and $OPTOL, that allow you to configure an
SP (setpoint) and an OP (output) tolerance value.
Manually entered values are checked against the 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, Group Display, and in schematic
actors RS_SYS, CHG_ZONE, and USER_CZ.
ATTENTION
The SP/OP Tolerance Check applies to manually entered:
• SP and OP values for the AM, HG, and the NIM Regulatory Control
points.
• OP values for HG and NIM Analog Output points.
• OP values for HG Analog Composite points.
Deviation Alarming
Configuration
Deviation (PV-SP) high and low alarms can be configured by using the alarm trip points
provided by the DEVHITP and DEVLOTP parameters. In addition, alarm priorities can
be established for these trip points by using the DEVHIPR and DEVLOPR parameters.
Parameters DEVHIFL and DEVLOFL are used as flags to indicate that a deviation (high
or low) alarm has been detected. This alarm returns to normal when the deviation (PV-
SP) is less than or equal to the configured trip point minus a deadband equal to 10% of
the trip point value.
ATTENTION
If the advisory-deviation alarm is present and the value of one of the above-
listed configuration parameters is changed, the advisory-deviation alarm is
reset.
If parameter ASPPROC = Disable, the value in ADVSP equals the value in
SP.
Digital Output points are broken. Broken means data cannot be pushed to a point. This
alarm is cleared when all connections to the AO or DO points are good, or when the Bad
Output Alarm Option is disabled.
Ratio and Bias options
ATTENTION
Ratio and Bias options apply only to the PID algorithms.
If SP target value processing or advisory deviation alarming is configured for
a RegCtl point, the ratio/bias options cannot be configured for the same data
point.
The ratio and bias options are configured by entering one of the following values in ratio
and bias option parameter RBOPT:
• FixRatBi—Fixed Ratio and Bias
• AutoRat—Auto Ratio and Bias
• AutoBi—Fixed Ratio and Auto Bias
If one of these options is configured, the SP is modified before being used by the PID
algorithm as follows (where SP_Store_Value is the setpoint before the modification):
SP_Store_Value*RATIO + BIAS
In normal operation (in Cas mode and INITMAN is 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:
• FixRatBi—The initialization value calculated for this point's primary is—
RINITVAL = (SP - BIAS)/RATIO
• AutoRat—RATIO is initialized as—
RATIO = (SP - BIAS)/Store Value
If either RATIO or BIAS attempt to go outside one of their limits, it is clamped at the
limit, and INITVAL is calculated as defined in the following table.
Table 26-10 INITVAL Calculation with RATIO or BIAS Clamped
Ratio/Bias Calculation
Ratio/Bias Calculation
BIAS = SP - (Store_Value*RATIO)
BIAS INITVAL = (SP - BIAS)/RATIO
Ratio limits
You can configure high and low limits for the RATIO value that can be applied to the
setpoint for Pid Algorithms. A Universal Station user with a Supervisor key can change
these limits. An operator is not allowed to enter a value that exceeds these limits. If a
user-written program attempts to store a value outside the limits, it is clamped to the
limit. Crossover of these limits is prohibited.
You configure RATIO limit values using:
• RTHILM—Ratio high limit
• RTLOLM—Ratio low limit
Bias limits
Two user-setable Hi and Lo limits on the SP-related bias parameter are provided.
Whenever operator or program entries are outside the limits, the entries are clamped to
the closest limit. Crossover of limits is inhibited.
You can configure high and low limits for the BIAS value that can be applied to the
setpoint for PID algorithms. 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.
You configure BIAS limit values using:
• BSHILM—Bias high limit
• BSLOLM—Bias low limit
26.9 PV Tracking
Applicability
ATTENTION
PV Tracking applies only to the Pid algorithms.
Configuration
PV tracking is configured by entering Track for the PVTRACK parameter. During PV
tracking, SP is set equal to PV whenever the cascade is broken by an operator or a
program action, or the RegCtl point is a secondary (in a local cascade strategy) and the
cascade is momentarily interrupted by a 1-shot initialization.
Occurrence
PV tracking occurs when:
• Mode is Man.
• Mode is Cas and RCASOPT is Ddc.
• INITMAN is On.
• RegCtl point is being processed for the first time after becoming active.
• RegCtl point is a secondary within a local cascade-control strategy (inside the same
HPM), and it is going through a 1-shot control initialization, which occurs when—
− the control initialization-request flag CTRLINIT is On.
− the point is being processed for the first time after the HPM state has changed to
Run.
− just recovering from a bad PV.
− this slot has only one disposable secondary that just underwent 1-shot
initialization.
ATTENTION
PV tracking (even if configured) is not done on return from a Bad PV.
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 for parameters ARWNET and ARWOP are as follows:
• Normal—Free to move in either direction.
• Hi—Free to move only in the lower direction.
• Lo—Free to move only in the upper direction.
• HiLo—Not free to move in any direction.
With R670 and later, when OUTIND is set to Reverse, the values of the displayed output
and the related output parameters are changed. However, the value of the Output
Indication does not affect the actual or the displayed values of the ARWOP parameter.
Parameter Definition
Typically, the output rate-of-change limit is used to match the slew rate of the final
control element to the control dynamics.
Use caution when setting the value of OPROCLM. This value should be set before loop
tuning has taken place. When done this way, tuning accommodates any slow down in
response time caused by rate limiting. If OPROCLM is changed after a loop has been
tuned, it is possible for poor loop dynamics or even instability to result.
Note that when a choice is available, rate limiting should be applied to PID algorithms
(PID, PIDFF, and PIDERFB) rather than regulatory control algorithms of other types.
The PID algorithms support special processing to prevent windup of the CV during rate
limiting. Other algorithms cannot provide this special processing.
Output Minimum-Change Limit
You can configure a minimum output-change value for RegCtl points using parameter
OPMCHLM. This value is a percentage of the output-value range. If the absolute
difference between the output value at one processing pass and the next doesn't equal or
exceed the minimum change, the earlier value is maintained. A Universal Station user
with a Supervisory key can change the minimum output-change value.
The default minimum output-change value is NaN, which eliminates the minimum
change check.
This feature is used to minimize "wear and tear" on the final control device.
Output Limiting in Manual Mode
Control output connections are used to establish initializable cascade connections
between the output of the RegCtl point output and other points. Control output
connections are accomplished through parameter CODSTN. To assign the RegCtl output
to the parameter of another data point, the user can choose from one of the following two
output connection conventions (Tagname.Parameter or hardware reference address):
Tagname.Parameter
or
!MTmmSss.Parameter
Where:
1. MT is the IOP type (AO or DO).
2. mm is the IOP number in the HPM file, from 1 to 40.
3. ss is the slot number from 1 to 8 for analog outputs, and from 1 to 16 for digital
outputs.
4. Parameter is the parameter in the AO, DO point to which this output value is to be
written.
Up-to-four output connections can be configured for a RegCtl point. Initialization and
wind-up protection are supported for multi-output configurations.
ATTENTION
Fieldbus does not support a control connection output when the Regulatory
Control point is configured for the PIDERFB algorithm.
The RegCtl data point can write the output value to only the following destination
parameters:
1. SP, RATIO, X1, X2, X3, and X4 parameters of another RegCtl data point in the same
HPM. When a control output connection is made to the RATIO parameter, the ratio
high and low limits on the secondary are used as its engineering unit range. Also the
secondary should be configured for a ratio bias option of auto ratio and placed in
Program Cascade mode for the initialization to work correctly.
2. X1 parameter of a RegCtl data point in another HPM or APM on the same UCN.
3. SP parameter of a RegCtl point in another HPM, APM, or PM on the same UCN.
4. OP parameter of an analog output point in the same HPM. The component form of the
output connection can be used to connect to an AO point that has been configured as a
component point. The following restrictions apply:
− The total number of control input and output connections fetching data from the
I/O Processors must not exceed seven (prefetch limit updated in R600).
− The analog output slot must be configured as a component point.
− The output destinations cannot be a mix of IOPs and RegCtl points.
5. OP parameter of a digital output point that has been configured for pulse-width
modulation in the same HPM.
− The total number of control input and output connections fetching data from the
I/O Processors must not exceed seven (prefetch limit updated in R600).
6. Any addressable parameter of any accessible slot if the configured control algorithm
is PidERFB.
ATTENTION
When a Regulatory Control point output is connected to the setpoint of a
RegCtl point in another HPM, APM, or PM on the same UCN , it counts as
one input and one output for the purpose of limiting the number of
input/output connections going across HPMs.
ATTENTION
The $MOPHILM and $MOPLOLM values can only be modified in MAN mode
with OPERATOR mode attribute (for example, Detail Display, Data Entity
Builder, DATACHG schematic, and ramp keys). Changes to these values are
not allowed from AM/PM CL or peer controllers.
ATTENTION
Using AM/PM CL, if you attempt to configure OPHILM/OPLOLM value
beyond the current $MOPHILM/$MOPLOLM value, then this operation
clamps the OPHILM/OPLOLM value at the $MOPHILM/$MOPLOLM value.
This functionality does not modify point behavior in any mode. The existing limits, trip
points and all associated features like control action, clamping and alarming of the
RegCtl points remain unaffected due to this new functionality.
The change events for the new parameters will be logged in the operator process change
events journal as existing for the OPHILM and OPLOLM parameters.
This functionality does not modify or improve the point processing.
Shown here are a few examples to depict the behavior of RegCtl points when OP values
are moved beyond the range of the new parameters ($MOPLOLM, $MOPHILM).
OP value modification in MAN mode
The OP value cannot be moved beyond the set manual limits; however, the existing OP
limits, OPHILM and OPLOLM shall have no impact on the OP in MAN mode.
The following are few example scenarios,
OP value moved over $MOPHILM:
• OPHILM is set to 90 and $MOPHILM is set to 95.
• RegCtl point is in MAN mode.
• Operator enters a value of 92 to OP.
• RegCtl point accepts the value of 92.
• Operator enters a value of 96.
• RegCtl points throws an error retaining the previous entered value of 92, since the
value of 96 exceeds $MOPHILM.
• Change the RegCtl point mode to AUTO.
• OP value goes to the OPHILM limit causing a bump in the OP value.
AUTO mode and MAN mode limits are set at the same value:
• OPHILM and $MOPHILM is set to 90.
• RegCtl point is in MAN mode.
• Operator enters a value of 92 to OP.
• RegCtl points throws an error retaining a value of 90, since the value exceeds
$MOPHILM.
• Change the RegCtl point mode to AUTO.
• OP value goes to the OPHILM limit causing a bump in the OP value.
AUTO mode and MAN mode limits are left at their default values.
• OPHILM = 105.0; $MOPHILM = NaN; OPLOLM = -5.0; $MOPLOLM = NaN.
• RegCtl point is in AUTO mode.
• OP value can reach up to a maximum of 105 and gets clamped at 105
• Switch the mode to MAN.
• Operator can enter a value up to 106.9.
ATTENTION
The $MOPHILM and $MOPLOLM values can only be modified in MAN mode
with OPERATOR mode attribute (for example, Detail Display, Data Entity
Builder, DATACHG schematic, and ramp keys). Changes to these values are
not allowed from AM/PM CL or peer controllers.
REFERENCE - INTERNAL
A Tolerance Check function applies (Release 530 and later) to the OP. For
details of this function, refer to Tolerance Check under Regulatory Control
Points, Target Value Processing.
Output Indication
The OUTIND parameter defines how the output of a regulatory data point is to be
displayed at the Universal Station. The output display is determined by the selection of
the value range, which can be:
• Direct = A 4 mA output from this data point is displayed as 0% at the Universal
Station. A 20 mA output is displayed as 100%.
• Reverse = A 20 mA output from this data point is displayed as 0%. A 4 mA output is
displayed as 100%.
With R670, when the value of OUTIND parameter is set to Reverse, the output
indication for the output alarm trip points (OPHITP and OPLOTP) and output limits
(OPHILM and OPLOLM) are reversed. The output indications for output alarm priorities
(OPHIPR and OPLOPR), output alarm flags (OPHAFL and OPLAFL), and output limit
exceeded flags (OPHIFL and OPLOFL) are swapped.
This option is applicable to the following regulatory-control point parameters:
OPHITP (OP High Trip Output High Trip point Displayed OPHITP value
Point) value =100.0% - Output Low
Trip point value
OPLOTP (OP Low Trip Output Low Trip point Displayed OPLOTP value
Point) value =100.0% - Output High
Trip point value
OPHIPR (OP High Alarm Output High Alarm Priority Output Low Alarm Priority
Priority) value value
OPLOPR (OP Low Alarm Output Low Alarm Priority Output High Alarm Priority
Priority) value value
OPHAFL (OP High Alarm Output High Alarm Flag Output Low Alarm Flag
Flag) value value
OPLAFL (OP Low Alarm Output Low Alarm Flag Output High Alarm Flag
Flag) value value
OPHILM (OP High Limit) Output High Limit value 100% - Output Low Limit
value
OPLOLM (OP Low Limit) Output Low Limit value 100% - Output High Limit
value
OPHIFL (OP High Flag) Output High Limit Output Low Limit
Exceeded Flag value Exceeded Flag value
OPLOFL (OP Low Flag) Output Low Limit Output High Limit
Exceeded Flag value Exceeded Flag value
− In this case, the fuel flow is the primary PV to be controlled and the actual air-
flow PV is the "constraint".
• Heating, in some 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".
• Oven Temperature-Control, in a typical application—
− temperatures can be measured at several places in the oven, and it may be
desirable to control all these PVs by controlling one valve.
− One PID controller can be used for each PV, and the PID controller representing
the PV that is farthest from its SP can be allowed to control the valve.
− In this case, there is no primary PV, because all the PVs have the same
importance and each PID controller represents a constraint on the others.
ATTENTION
The status in PTORST becomes NotCon when:
• the point is returned from inactive to active status.
• it undergoes a cold start.
• it is initialized.
Processing example
ATTENTION
There must be at least one PID controller in the O/R strategy.
The override status (Feedback Value) can be propagated to a maximum of
five primaries.
All points downstream of the O/R selector are processed at their specified
interval.
The override portion of the control strategy includes the Override Selector point and all
points "upstream" from it. In this example, the points named TAG-A, TAG-B, TAG-C,
TAG-D, and TAG-E constitute the O/R strategy.
1. All points upstream of the O/R selector are processed on normal cycles (highest slot
index to lowest). In the example, the points can be processed in TAG-D, TAG-A,
TAG-B, TAG-C 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.
2. 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 non-selected,
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 non-selected, initializing primary, TAG-B.
TAG-D does not receive the O/R status nor the feedback value because it is not an
initializing primary.
3. Each primary (provided it 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.
4. The propagation upstream continues until there are no more primaries. The output of
any PID in a cascade chain, connected to a non-selected input of the O/R selector is
initialized to override-feedback value, plus gain times deviation (PV-SP) if
OROFFSET is On. If OROFFSET is Off, it is initialized to the override-feedback
value. Because TAG–A contains a PID algorithm and is not selected, it undergoes
O/R initialization.
5. The whole cycle is repeated.
TAG-A TAG-B
PV PV
OP
PID PID
OP
SP SP TAG-E
X1 O/R
TAG-C LO OP
SP SELECT
OP X2
PID
X3
PV TAG-F
To
X1
Secondary
SOME or Valve
TAG-D CONTROL
PV ALGO.
PV ALGO. X2
The output of this algorithm is normally "floating," because of the dynamics of the
integral and derivative terms. Internally, the output is calculated as increments of output
change, but the increments are accumulated to provide a full-value output, thus
simplifying the techniques used to achieve "bumpless" outputs when modes or tuning
constants are changed.
Figure 27-1 PID Control Algorithm Functional Diagram
Setpoint Feedforward
From Initializing Processing Signal
Primary
CAS
SPP
To
PIDFF CV OP
AUTO Secondary
PVP
Operator or
User-Written
Program Output
From PV Algo or
I/O Module Processing
Use
If the HPM's PID point is:
• a primary for another data point in the same or another HPM (including APMs and
PMs), then its output is connected to the SP of the other data point (through
Tagname.Parameter).
• directly controlling a valve, then its output is connected to:
− the output of an Analog or Digital IOP through "Tagname.Parameter", or
− the hardware reference address !AOmmSss.OP or !DOmmSss.OP (where mm is
the IOP card number in the HPM, and ss is the slot number of the output on the
IOP card).
• a secondary for another data point, then it can be configured to receive an input from
another source.
ATTENTION
In all other cases (including the continuous CL programs in the AM directly
writing to the HPM), the you must take care to assure:
• the remote device must.
− use "continuous_control" access level for stores to SP, OP, and
MODE parameters.
− handle mode changes for closing the cascade.
• initialization for bumpless mode transfers.
• windup protection.
− proportional (P) and integral (I) terms act on error (PV - SP).
− derivative (D) acts on PV changes.
− used to eliminate derivative spikes in control action that occur with quick changes
in the setpoint.
• Equation C—
− integral (I) term acts on error (PV - SP).
− proportion (P) and derivative (D) terms act on PV changes.
− provides the smoothest and slowest response to setpoint changes.
• Equation D—
− integral (I) control only.
Single term control
When you use equation A, B, or C, the integral or derivative terms can be eliminated by
setting their time constants to 0. Setting both T1 and T2 to 0 results in only proportional
control.
Use Equation D to achieve only integral control.
Direct and Reverse control action
When configuring a data point that uses the PID algorithm, you can select direct-control
action or reverse-control action. You can also change the control action through the detail
display if you have an engineer's key, or a user-written program can change the control
action. The control action can be changed at the Universal Station or by a program, only
while the data point is in Man mode. The attribute must be appropriate (Oper or Prog) for
the change to be accepted.
Changing the control action effectively changes the sign of the gain. With direct action,
an increase in PV increases output; with reverse action, an increase in PV decreases
output.
TIP
PV tracking
PV tracking is typically chosen when the data point is a secondary in a cascade control
strategy, because it allows the PID to resume control with no error, after the point has
been in Man mode or is initialized.
It can also be used when the data point is the ultimate primary point. In such a case, a
startup procedure could be used where the point is started in Man mode and the valve
manually adjusted to bring the PV close to the desired value, and the data point would
then be switched to Auto.
PV tracking (even if configured) is not done on return from a Bad PV.
PV tracking is configured by setting PVTRACK to Track. If configured, SP is set equal
to PV when the cascade is broken by an operator, a program action, or when this data
point is a secondary in a local cascade strategy and the cascade is momentarily
interrupted by one-shot initialization; that is, when the following conditions exist:
• the data point that uses this algorithm is in Man mode.
• the mode of this data point is Cas and RCASOPT = Ddc.
• INITMAN = On, and either the—
− mode is not Auto, or
− RCASOPT is not Rsp.
• the first time the data point is processed after becoming active.
• this slot is a secondary within a local (inside the same HPM) and is going through 1-
shot control initialization.
ATTENTION
1-shot control initialization occurs when:
• the control initialization request flag (CTRLINIT) is On.
• this slot is being processed for the first time after the HPM state has
changed to RUN (OK).
• this slot has just recovered from a bad PV.
• this slot has only one disposable secondary that just underwent 1-shot
initialization.
Gain options
When configuring a data point that uses the PID algorithm, and equations A, B, or C, you
can choose any of the four gain options listed in the following table.
Linear Gain The most commonly used gain option. You set the gain, K, in the chosen
equation. The default value for K is 1.
Gap Gain Used to reduce the sensitivity of the control action when the PV is in a
Modification1 narrow band (gap) around the setpoint. The size of this band is specified by
the user. K, as used in the chosen equation is derived as follows:
• if (SP - GAPLO) < PV < (SP + GAPHI), then—
K = KLIN * KGAP
• if PV is outside the gap, then—
K = KLIN
If the resulting value in K exceeds 240.0, it is clamped at 240.0.
Nonlinear Gain Provides control action proportional to the square of the error, rather than
Modification2 the error itself. The gain, K, used by the chosen equation, is derived as
follows:
External Gain Compensates for nonlinear-process gain. The gain, K, used by the chosen
Modification3 equation, is modified by an input value that can be from the process, from a
PV calculated from a process input by a PV algorithm, or from a user-
written program.
K is derived as follows:
K = KLIN * KEXT
If the resulting value in K exceeds 240.0, it is clamped at 240.0.
1 KLIN = Linear-gain parameter, in percent-per-percent. Range is 0.0 to 240.0, and the
value is tuned at a Universal Station. Default = 1.0.
KGAP = Gain-modification factor, specified by the user. Range is 0.0 to 1.0. Default = 1.0.
GAPLO = Bottom limit of the gap in the same engineering units as the PV. Can be any
value ≥ 0.0. Default = 0.
GAPHI = Upper limit of the gap in the same engineering units as the PV. Can be any value
≥ 0.0. Default = 0.
2 KLIN = Same as for gap gain.
KNL = Nonlinear-gain modifier.
NLFM = Nonlinear-gain form. 0 or 1, as specified by the user. Default = 1.
3 NLGAIN = Nonlinear gain, specified by the user. Value ranges from 0.0 to 240.0.default = 0.
PVP = PV in percent.
SPP = SP in percent.
TIP
Regarding the External Gain Modification option:
• when used to compensate for nonlinear-process gain the PID gain may
be tuned independently of the operating point of the process. For
R688 HPM High-Performance Process Manager Control Theory 343
08/2019 Honeywell
27 PID Control Algorithm
27.2 Options and Special Features
example—
− In controlling the level in a tank whose cross section is not constant,
the gain could be modified to compensate for the nonlinear rate of
level change that is caused by the changing shape of the tank.
− The General Linearization PV algorithm (subsection 7.9.8) could be
used to compute the inverse of the level-change characteristic, and
the resulting PV could be used to modify the level-control gain.
• it is possible to use this option for multiplicative-feedforward control, but
the PID with Feedforward-control algorithm is a better choice as it
provides a better operator interface and better recovery from a "bad"
feedforward input.
Windup handling
When the output of this algorithm reaches the user-specified output limits, or reaches the
setpoint limits of the data point's secondary, or when a woundup-status indication is
received from the secondary, the PID algorithm stops calculating the integral term but the
calculation of the proportional and derivative terms continues.
This is the same way that windup conditions are handled in Basic Controllers,
Multifunction Controllers, and Extended Controllers.
Output suppression
This feature suppresses output "kicks" when switching to cascade (Cas) mode.
Without this suppression feature, the first setpoint change after switching from Man or
Auto to Cas mode could cause a sudden move (kick) in the output because of the
proportional or derivative terms. This "kick" occurs when, for some reason, the primary
data point's output is not initialized, and an abrupt change in the setpoint occurs when
Cas mode resumes.
To suppress this "kick," the proportional and derivative terms are not calculated the first
time the PID data point is processed after changing to Cas mode.
TIP
This feature is especially useful when the PID point is one of two or more
secondaries of its primary data point. When this data point is changed to Cas
mode, even if the primary is not initialized, the output of this data point does
not bump the first time it is processed.
TIP
As an example of the usefulness of this feature, consider a single PID that is
controlling temperature by controlling the flow of either gas or oil. This PID's
output is connected to both flow controllers, but only one secondary is in
cascade at any time.
When a change from one fuel to the other is made:
• the user-written program initializes the output of the temperature-
controller PID by storing a new, full-value output in CV
• the cascade connection is switched from one to the other, and the
dynamic compensation of the flow of the new fuel proceeds
• the value stored in CV is the setpoint of the new secondary in percent
(SPP)
Through this technique, the full-value output of the primary has been
initialized without affecting its dynamic calculations, so the fuel switchover is
quick and smooth.
Restrictions
1 The specified engineering units range for the PV also applies to the SP
Recommendations
1 For best performance, we recommend that the integral (T1) and derivative
(T2) time constants be within the following ranges:
• T1 > 20.0 * TS
Bias options
Ratio control can be achieved by modifying the setpoint input to the PID algorithm by a
RATIO of some other process point that is stored to through a control output connection,
for example, a fuel-to-air ratio in furnace control (it can also be accomplished with the
Ratio Control algorithm. When configuring a PID data point, you can select one of the
following options for modifying the setpoint through the RBOPT parameter:
If you select one of the ratio and bias options, configured or operator-entered ratio and
bias values are used to modify the setpoint (by multiplying it by the ratio and adding the
bias value) only while the data point is in Cas mode. In Auto mode, the ratio calculation
does not occur because this option is intended to receive the process value to be modified
by the ratio, only from another data point (which can happen only in the Cas mode).
The "Auto ratio and Auto bias" options adjust the ratio or bias while the data point is in
Auto or Man modes, or is undergoing initialization, so that when it returns to Cas mode,
the new SP won't "bump" the process. With:
• Auto ratio, the operator can—
− change only bias; ratio is calculated to maintain the same setpoint when the
mode is changed to Cas.
− change the ratio in Cas mode.
• Auto bias, the operator can—
− change only ratio; bias is calculated to maintain the same setpoint when the
mode is changed to Cas.
− change the bias in Cas mode.
Modification of the setpoint by a ratio and a bias is actually handled by setpoint
processing rather than by the PID algorithm. It is applied to only PID setpoints.
These options allow this one algorithm to perform PID Ratio, PID Auto Ratio, and PID
Auto Bias functions.
The parameters used for these options are RBOPT, RATIO, BIAS, RTHILM, RTLOLM,
BSHILM, and BSLOLM.
Operating modes
The PID algorithm operates in the following modes:
• Man
• Auto
• Cas
• Bcas – If RCASOPT = Spc or Ddc or DdcRsp
Remote Cascade options
All Remote Cascade Options are supported: Spc, Ddc, DdcRsp and Rsp.
Restart or Point Activation
On a warm restart, or when the data point is activated, initialization takes place.
Error Handling
If the status of the PV value goes bad, the CV value is changed to bad (NaN) and the data
point remains in the current mode. When the PV-value status returns to normal, the CV
value is initialized and the PID dynamics are returned to a steady state. An initialization
request and initialization value is sent to the primary data point.
27.3 Equations
Background
You can select one of four equations when you configure a data point that uses the PID
control algorithm. Each equation differs in the interactive and non-interactive forms of
the algorithm. The following tables provide a description of each equation and it's
Interactive (Real) and Non-interactive (Ideal) forms. The following equations are
supported:
• Equation A where – P, I, and D act on the error
• Equation B where – P and I act on the error, D acts on PV changes
• Equation C where – I acts on the error, and P and D act on PV changes
• Equation C where – Integral (I) control only is supported
Equation legend
When reviewing these equations, please note that:
• CV = output of the PID algorithm, full value in percent
• a = for the—
REFERENCE - INTERNAL
Certain restrictions and recommendations apply to the integral and derivative
time constants, refer to Restrictions and recommendations for some values
for more information.
Interactive PID
CV( s ) (T1 s + 1)(T2 s + 1)
=K
e( s ) T1 s (αT2 s + 1)
(1)
Non-Interactive PID
CV( s ) 1 s
= K ni (1 + + TD )
e( s ) TI s (αTdf s + 1)
(2)
If the rate limiters are ignored the transfer functions take on the following forms:
Interactive PID
Non-Interactive PID
CV( s ) 1
= K ni (1 + + TD s )
e( s ) TI s
(4)
Equation (3) can be arithmetically manipulated to obtain the form of equation (4) by
multiplying out the nominator and then converting to a sum:
CV( s ) T1T2 s 2 + (T1 + T2 ) s + 1
=K
e( s ) T1 s
CV( s ) T1 + T2 T1T2 s 1
=K ( +1+ )
e( s ) T1 T1 + T2 (T1 + T2 ) s
CV( s ) T2 1 T1T2
= K (1 + )(1 + + s) (5)
e( s ) T1 (T1 + T2 ) s (T1 + T2 )
Comparing the respective coefficients of equations (4) and (5) gives the Non-Interactive
PID tuning coefficients in terms of the Interactive PID tuning parameters:
T2
K ni = K (1 + ); TI = T1 + T2 ;
T1
Equation A
Table 27-2 Pid Control Algorithm - Equation A
Equation A
Description:
P, I, and D act on the error
Equation B
Table 27-3 Pid Control Algorithm - Equation B
Equation B
Description:
P and I act on error, D acts on PV
Used to eliminate derivative spikes in control action that occur with quick changes in the setpoint
Interactive (Real) Form:
Equation C
Table 27-4 Pid Control Algorithm - Equation C
Equation C
Description:
I acts on error, P and D act on PV
Provides the smoothest and slowest response to setpoint changes
Equation D
Table 27-5 Pid Control Algorithm - Equation D
Equation D
Description:
Integral control, only
27.4 Initialization
When the output destination of the primary is to the secondary, initialization occurs as
follows:
• When the control initialization request flag (CTRLINIT) is on.
• When this slot is being processed for the first time after the HPM state (APMMSTS)
has changed to Run or OK.
• When this slot is just recovering from a Bad PV.
• When this slot has only one disposable secondary that just underwent 1-shot
initialization.
• When the output is indisposable (when the mode of the secondary slot is not in Cas).
From
Primary
CAS
SPP PID
CV OP X1 CV
AUTO X2 Override
X3 SELECTOR
X4
INITVAL
To PTORST PTORST
Primary
ORFBSEC ORFBSEC
Action Description
1 When override feedback is propagated, override status is returned in PTORST to the
PID point as one of the following:
• Not Connected • Selected • Not Selected
ATTENTION
The following important notes apply to Override Feedback processing:
• When the PID point is Not Selected and is in Cas mode an override-
feedback value is calculated as follows and sent to the primary:
ATTENTION
† Such a connection counts as one output and one input for the purpose of
limiting the number of UCN connections.
When output connections are not to any of the above, they can be to
• OP parameter of an analog output slot inside an AO IOP in the same HPM box∗. AO
point must be configured as a component point.
• OP parameter of a digital output slot (configured for DOTYPE = PWM ) in the same
HPM box*.
• Any addressable parameter of any accessible slot if the control algorithm is PID with
external reset feedback.
ATTENTION
Output does not go to a device on the Data Hiway (MC, EC, CB).
REFERENCE - INTERNAL
For operational additional operational details of the PID with Feedforward
(PIDFF) Control Algorithm, refer to PID Control Algorithm, Functional
Overview.
Setpoint Feedforward
From Initializing Processing Signal
Primary
CAS
SPP
To
PIDFF CV OP
AUTO Secondary
PVP
Operator or
User-Written
Program From PV Algo or Output
I/O Module Processing
Feedforward
The feedforward signal can be obtained from an analog-input point, and it is often
subjected to dead-time compensation or lead-lag compensation before being connected to
the FF input of this algorithm. That compensation can be provided by algorithms such as
the Variable Dead-Time with Lead-Lag Compensation PV. The following figure shows
an example of such a strategy.
Inlet Feed
T Fuel
Outlet Feed
TIP
Additive-feedforward action, as shown in the example, would permit you to
use the scale factor that could be used to convert an engineering-units input
to a percentage.
Multiplicative feedforward action is typically used to compensate for
variations in process gain that are caused by changes in throughput.
For example if the feed rate is doubled in a heating application twice the
amount of fuel might be required, which is the equivalent to doubling the
process gain.
Use
The use of the PID Feedforward Control Algorithm (PIDFF) is the same as the PID
Control Algorithm, Use.
REFERENCE - EXTERNAL
For more information on UCNOUT/EUCNOUT block, refer to the following
documents in the Experion bookset.
• Control Builder Components Theory
• Control Builder Components Reference
Operating Modes
The PIDFF algorithm operates in the following modes:
• Man
• Auto
• Cas
• Bcas — If RCASOPT = Spc or Ddc or DdcRsp
Remote Cascade Options
All Remote Cascade Options are supported: Spc, Ddc, DdcRsp and Rsp.
28.3 Equations
Background
The available equations in the PID with Feedforward (PIDFF) control algorithm are
identical to the those of the PID algorithm except that they include the following
functions:
REFERENCE - INTERNAL
Refer to the following for information concerning equations in the PID control
algorithm:
• Background.
• Equation A where – P, I, and D act on the error.
• Equation B where – P and I act on the error, D acts on PV changes.
• Equation C where – I acts on the error, and P and D act on PV changes.
• Equation C where – Integral (I) control only is supported.
Equation legend
When reviewing these equations, please note that:
• CV = Full-value output in percent, PID combined with feedforward action.
• CVPID = The full value output before the multiplicative term. This is an internal
parameter and is not available to displays nor to user-written programs.
• CVPID = The full value output before the multiplicative term. This is an internal
parameter and is not available to displays nor to user-written programs.
• DELCV = The incremental output of PID computation. Default = N/A.
• BFF = Bias value for multiplicative action. Default = 0.
• FF = The feedforward input signal, from a control-input connection. Normally from
a parameter with a percentage value. Default = N/A.
• FF lgv = Last good value for the FF input (notation only, not a user-visible
parameter).
• KFF = Scale factor applied to FF. Normally the source parameter is in units of
percent. However, if it isn't, KFF can be used as an EU to percent conversion factor.
In this case, KFF is set to the following where EUHI and EULO correspond to the EU
range of the source parameter.
• n and n-1 = Notation to indicate the value this pass (n) and the preceding pass (n-1).
Additive action
When additive action is used, the feedforward signal is applied to the incremental output
of the PID computation using the equation:
ATTENTION
If the status of... Then...
FFn or FFn-1 is bad
Multiplicative action
When multilicative action is used:
• the feedforward signal is applied to the output of the PID computation using the
equations:
ATTENTION
If the status of... then...
FFn or FFn-1 is bad CV = CVPID * (KFF * FFn + BFF)
If the result of (KFF * FFn + BFF) is less than 0.01, it is clamped at 0.01.
28.4 Initialization
Background
Initialization in the PID with Feedforward (PIDFF) control algorithm is identical to the
PID control algorithm except that it includes the following functions:
• Additive action
• Additive action
• Multiplicative action
REFERENCE - INTERNAL
Refer to the following for information concerning Initialization in the PID
control algorithm:
• Background.
• Equation A where – P, I, and D act on the error.
• Equation B where – P and I act on the error, D acts on PV changes.
• Equation C where – I acts on the error, and P and D act on PV changes.
• Equation C where – Integral (I) control only is supported.
ATTENTION
ORFBSEC is the override-feedback value from the secondary in percent.
Reverse control
In Reverse-Control, if OROFFSET is:
• On (CV = ORFBSEC * + GAIN * ERROR) the PIDFF point's CV is initialized
as—
CV = ORFBSEC - K * (KFF * FF + BFF) * (PVP – SPP)
• Off (CV = ORFBSEC * + GAIN * ERROR) the PIDFF point's CV is initialized
as—
CV = ORFBSEC - K * (KFF * FF + BFF)
ATTENTION
ORFBSEC is the override-feedback value from the secondary in percent.
Family
The PID with External Reset-Feedback control algorithm is a member of the Regulatory
Control algorithms.
Purpose
The PID with External Reset-Feedback (PIDERFB) control algorithm is used as a
controller that either directly moves a control device (valve) in the process, or provides
an input to another data point. It is identical to the PID Control Algorithm, Purpose,
except as defined herein.
Description
The PID with External Reset-Feedback (PIDERFB) algorithm is a regulatory control
function that, like the PID Control Algorithm, Description, operates as a proportional-
integral-derivative (PID) controller except that it accepts a:
• reset-feedback signal from another data point
− typically the PV of the secondary PID data point that is receiving its setpoint
from this data point.
− to be combined with the PID's incremental output, before the full-value output is
accumulated.
• tracking-value signal.
The intent of this algorithm is to prevent windup when it has a secondary data point,
typically a PID point that may or may not be responding to the output of this data point.
TIP
The PID with External Reset-Feedback algorithm also permits you to
integrate third-party hand/auto stations to an HPM control strategy.
REFERENCE - INTERNAL
For additional information regarding:
• details of the PID with External Reset-Feedback (PIDERFB) Control
Algorithm, refer to PID Control Algorithm, Functional Overview.
• the use and integration of hand/auto stations with the HPM, refer to the
topic Hand/Auto Stations, for the PIDERFB control algorithm.
Setpoint
Processing
CAS
To
SPP PIDERFB CV OP
Secondary
AUTO
PVP
Operator or
User-Written
From PV Algo
Program
or IOP
S1 Tracking Switch Control
TRFB Tracking Value*
RFB Reset Feedback Value**
Output destination can be to a secondary data point in the HPM or to any desired
destination using control output connection (that is, any addressable parameter of any
accessible slot).
The tracking switch-control signal (S1) is usually stored with an output connection from
a Logic slot (or a program). If the switch control is On, the CV value from this data point
is replaced by the tracking value. If, for some reason, the secondary is not using the
output of this data point, S1 can be set to On by logic external to the PIDErfb, which
causes this point's CV to track the secondary's PV. When the secondary begins to accept
OP from this point for control, S1 is set to Off (by the external logic), and CV is then at
the same value as the controlled variable (PV), so there is no bump and normal control
can resume.
P ID E R FB
SPP OF F
+/- O u tp u t
P ID
PVP A ccu m CV OP SP P ID
S1
PV
On
S ca lin g an d T RF B
I nt e gra tio n R FB
ATTENTION
Note the following with regards to output connections with the PIDERFB
algorithm:
• Fieldbus does not support a control connection output when the
Regulatory Control point is configured for the PIDERFB algorithm.
• Initialization and windup protection normally associated with control
output connections are not performed with this algorithm. That is,
initialization occurs only when S1, the tracking switch-control signal, is
true.
• Output connections store the value of the OP after converting to
engineering units.
• See “Control Output Connection” in Section 27.6, for restrictions on the
number of output connections and destinations for this algorithm.
• Cas
• Bcas — If RCASOPT = Spc or Ddc or DdcRsp
Remote Cascade Options
All Remote Cascade Options are supported: Spc, Ddc, DdcRsp and Rsp.
Function Description
Mode Indication that the hand/auto station is in "hand" (or Local Manual)
position at the group display of the PID driving the output.
Interface requirements
In order for the interface to be generic (to allow support for hand/auto stations from many
different vendors), all signals are wired into the HPM through analog and digital IOPs.
This requires a total of two AI slots, one AO slot, and two DI slots in addition to the
requirements if no hand/auto station support is desired.
The I/O signals listed in the following table must be supported by the third-party
hand/auto station.
Table 29-2 Hand/Auto Station I/O Signals
PV_IN Analog input used to display the PV value on the hand/auto station.
The signal from the analog transmitter is wired into this input as
well as to the HPM through an AI IOP.
CV_IN Analog input from the controller. It represents the control value
position requested by the HPM's PID.
CV_OUT Analog output. This output drives the control valve. When the
hand/auto station is in auto position, CV_OUT should track the
CV_IN input; when in local manual position, it can be manipulated
by the raise/lower keys.
MAN_STS Digital output indicating that the hand/auto station is in local manual
position.
SP_IN Analog input used to display the SP value on the hand/auto station.
The setpoint of the HPM's PID controller is connected to this input
through an AO IOP.
ATTENTION
SP_IN and SP_CHNG are not required if SP raise/lower capability is not
supported.
PID_PRIM #1 PID_SEC #1
PV OP
SP
SP OP
SPP S1 TRFB
PV_IN CV_OUT
ANALOG DISPLAY SERVICE
Input Output
From NOTE: #1 SP, AND PV MAY BE CONNECTED TO THE PID_SEC IN A To
SINGLE LOOP CONTROL SITUATION.
Process Process
#2 SEE THE NEXT PAGE FOR DETAILS OF THE LOGIC SLOT
CONFIGURATION.
DI.MAN.PVFL L1
(ANALOG_DSP.MAN_MODE)
OR
ALG S01 PID_SEC.S1
AO_CV.INITREG L2
PID_PRIM.SP L3 AO.SP.OP
(ANALOG_DSP.SP_IN)
AI.SP.PV L4 PID_PRIM.SPP
(ANALOG_DSP.SP_OUT) ENB
DI_SP.PVFL L5
(ANALOG_DSP.SP_CHNG)
29.4 Equations
Background
The available equations in the PID with External Reset-Feedback (PIDERFB) control
algorithm are identical to those of the PID algorithm except with regard to the tracking
switch control feature (S1).
REFERENCE - INTERNAL
Refer to the following for information concerning equations in the PID control
algorithm:
• Background.
• Equation A where – P, I, and D act on the error.
• Equation B where – P and I act on the error, D acts on PV changes.
• Equation C where – I acts on the error, and P and D act on PV changes.
• Equation C where – Integral (I) control only is supported.
On A, B, C, or D
Off A, B, or C
Where:
• CV = Full-value output in percent, PID combined with CVRFB.
• CVPID = The incremental output of the PID computation. This is an internal
parameter and is not available to displays nor to user-written programs.
• CVRFB = The scaled, integrated deviation of RFB from CV. This is an internal
parameter and is not available to displays nor to user-written programs.
• K = Gain.
• K1 = External, reset-feedback gain.
• RFB = The external, reset-feedback signal in engineering units. Default =
NaN.
• rfb
29.5 Initialization
Background
Initialization normally associated with output connections is not performed with this
algorithm. Output connections store the value of the OP (after converting to engineering
units based on CVEULO and CVEUHI) to the secondary.
TIP
Use of PIDERFB in override strategies is not recommended.
PV Lower
PID del_cv POSPROP
SP Raise
ATTENTION
When the Mode is:
• Man—output pulses are issued on operator demand.
• Auto, Cas, Bcas—normal computation is performed.
Raise Raise pulses are issued until the PV is > EUHI, or OPHIFL
is ON. If the PV is bad, the test for PV > EUHI is ignored.
Item Interpretation/Action
Shed High Raise, Raise pulses are issued until PV > EUHI or OPHIFL is ON. If
the PV is bad, the test for PV > EUHI is ignored.
Shed Low Lower, Lower pulses are issued until the PV < EUHI or OPLOFL is
ON. If the PV is bad, the test for PV < EUHI is ignored.
30.3 Equations
Background
Only one equation is available for the PIDPOSPR algorithm. It is calculated as defined in
Equations, if CYCLE_TIMER has expired.
Equation legend
When reviewing the Equations, please note that:
Item Definition
Item Definition
Equations
When the conditions of the following table are met, PIDPSOPR raise/lower pulse width
equation can be used to determine the pulse raise or lower pulse width issued by the
PISPOSPR algorithm.
Table 30-3 PIDPOSPR Raise/Lower Equation Decision
If... then...
((ACCUMULATED_DEL_CV > DEADBND) AND (OPHIFL = OFF)) Issue a raise pulse
((ACCUMULATED_DEL_CV < DEADBND) AND (OPHIFL = OFF)) Issue a lower pulse
ATTENTION
If neither of the above are true, then the cycle timer will be reset to the
beginning.
Raise
Lower
SP
100% of Scale
From PV Algo
PV POSPROP PV
or I/O Module
0 % of Scale
LOWER
RAISE
SP
ATTENTION
When the Mode is:
• Man—output pulses are issued on operator demand.
• Auto, Cas, Bcas—normal computation is performed.
ATTENTION
In manual mode, the operator can manipulate the output Raise/Lower pulses
regardless of the status of the OPHIFL and the OPLOFL.
CV NaN
CVEUHI 100.0
CVEULO 0.0
OPEU N/A
OPHILM 105.0%
OPLOLM -5.0%
OPROCLM NaN
OPMCHLM 0.0
SAFEOP N/A
NOCOPTS 1
INITMAN Off
31.3 Equations
Background
Only one equation is available for the POSPROP algorithm. It is calculated as defined in
Equations, if CYCLE_TIMER has expired.
Equation legend
When reviewing the Equations, please note that:
Item Definition
PVP = PV in percent.
SPP = SP in percent.
Item Definition
Equations
When the conditions of the following table are met, the table POSPROP raise/lower
pulse width equation can be used to determine the pulse raise or lower pulse width issued
by the POSPROP algorithm.
If... then...
(PVP < (SPP - DEADBAND)) AND (OPHIFL = Off) Issue a raise pulse
(PVP > (SPP + DEADBAND)) AND (OPLOFL = Off) Issue a lower pulse
ATTENTION
If neither of the above are true, then the cycle timer will be reset to the
beginning.
Raise
RAISETIM
Lower
LOWERTIM
31.4 Initialization
Raise and lower outputs
The Raise and Lower outputs are either set to OFF (or their normal states) and the cycle
is restarted when forward calculation is resumed after initialization.
Setpoint
The SP is set equal to the PV (subject to the setpoint limits) when any of the following
conditions exist:
• the mode is Man.
• the slot is being processed for the first time after becoming active.
• this slot is a secondary within a local (inside the same HPM box) cascade control
strategy, and it is going through one-shot control initialization.
ATTENTION
The one-shot control initialization occurs:
• when the control initialization request flag (CTRLINIT) is On,
• when this slot is being processed for the first time after the HPM state
has been changed to RUN (Ok),
• when just recovering from a bad PV.
The position proportional control algorithm is forced to initialize when
outputting to a digital output point that has its INITREQ parameter = ON.
SP RATIOCTL CV OP To Secondary
(Typically, SP
AUTO X2 for a PID)
Operator or
User-Written
Output
Program
Processing
Uncontrolled Filtered
Variable Value of X2
16 120
TIP
Ratio control can also be accomplished with the ratio-bias options of the PID
Control Algorithm or PID w/Feedforward Control Algorithm.
Application
The RATIOCTL algorithm is typically used in the control of the flow of a gas or fluid, as
a ratio of an another flow. For example, in a furnace, the air supply might be controlled
as a ratio of the fuel supply. If more heat is required to maintain combustion efficiency,
the fuel flow is increased and the air flow can be increased as a ratio of the fuel-flow
increase.
The following figure shows an example of such an application. In this example, the:
• data point that uses the Ratio-control algorithm also uses the Calculator PV
algorithm to calculate the actual ratio achieved, for display or printing.
• Calculator PV should use the filtered value (X2FILT) of the uncontrolled variable.
PV PID
17.143 GPM
Controlled Flow
F
16 121
To evaluate this example, see “Equations” in Section 32.3 and you will note that the
same scale factor, 0.7, is used for P1 in the PV algorithm and for K1 in the Ratio-control
algorithm. The resulting scaled ratio between the "other" flow and the controlled flow is
2.00/0.7 = 2.857, so if the "other" flow is 6.00 gallons per minute, the controlled flow
must be 6.00*2.857 = 17.143 gallons per minute.
The 0.7 scale factor is used for C1 and K1 in the example. This illustrates that the same
scale factors and bias values must be used with the PV algorithm and the Ratio-control
algorithm (K1 = C1, K2 = C2, B1 = C3, and B2 = C4). This is so that the actual ratio
calculated by the PV algorithm will be the same as the desired ratio (2.00) when the loop
is stable. If the scale factor in C1 and K1 were 1.0, the controlled flow would stabilize at
the "other" flow, multiplied by the ratio. In the example, the controlled flow would be
6.00*2.00 = 12.00 gallons each minute. In any case, the controlled flow stabilizes at a
value equal to the "other" flow, multiplied by the desired ratio, as modified by any scale
factors other than 1.0 or any bias values other than 0.
RATIOCTL CALCULATOR
K1 C1
K2 C2
B1 C3
B2 C4
Thus, Calculator can calculate the actual (measured) ratio attained, and when the
PVSOURCE is Auto, that value is available in the PV parameter of the data point for use
on displays and reports.
Operating Modes
The RATIOCTL algorithm operates in the following modes:
• Man
• Auto
• Cas
• Bcas—if RCASOPT = Spc
Remote cascade options
Only the Spc option is supported.
400 HPM High-Performance Process Manager Control Theory R688
Honeywell 08/2019
32 Ratio Control Algorithm
32.2 Options and Special Features
32.3 Equations
Background
The available equations with the Ratio Control Algorithm are:
Equation legend
When reviewing the equations, please note that for the:
• Calculator PV equation—
− PVCALC = The calculated, actual ratio achieved.
− C1 = P1 scale factor. Must equal K1 of the RATIOCTL algorithm Default value =
1.0.
− C2 = P2 scale factor. Must equal K2 of the RATIOCTL algorithm Default value =
1.0.
− C3 = Bias constant P1 input. Should be the same value as B1 in the RATIOCTL
algorithm (Default value = 0).
− C4 = Bias constant P2 input. Should be the same value as B2 in the RATIOCTL
algorithm (Default value = 0.
− P1 = The controlled process variable (Source should be the same as the PV of the
PID controller that is RATIOCTL's secondary).
− P2 = The filtered value (X2FILT) of the uncontrolled process variable (If there is
a PID-controller controlling this other flow, the PV of that PID could be the
source for P2 and X2).
• Ration Control equation—
− B = The overall bias value (= BO + BI).
− BI = Internal bias.
− BO = Fixed output bias.
− CV = The calculated output in engineering units.
− SP = The desired ratio input.
− X2FILT = The filtered value of the uncontrolled process variable X2.
− BI = Internal Bias.
− B1 = Bias constant. Should be the same value as C3 in the CALCULTR PV
algorithm. Default = 0.
− B2 = Bias constant for the X2 input. Should be the same value as C4 in the
CALCULTR PV algorithm (Default = 0).
− K1 = The ratio scale factor. Must equal C1 of the CALCULTR PV algorithm.
− K2 = The scale factor for X2. Must equal C2 of the CALCULTR algorithm.
Equations
The equations used in the Ratio Control algorithm are defined in the following table.
Table 32-1 Ratio Control Algorithm Equations
Algorithm Equation
Calculator PV (C1 * P1 + C 3)
PVCALC =
(C 2 * P 2 + C 4)
Ratio Control SP * ( K 2 * X 2 FILT + B 2) − BI )
CV = +B
K1
32.4 Initialization
Operation
When the data point is initialized, an initialization request is sent to the primary, and the
initialization value to be applied by the primary to the SP input is calculated and sent to
the primary.
Initialization ramping bias
The bias (B) is made up of two components, BO and BI, where BO is the operator
entered bias and BI is the internal bias. Parameter RATE1 specifies the decay rate for the
Internal Bias, BI. The value of BI is set during the algorithms initialization and decays to
zero at a rated defined by RATE1.
If RATE1 is set to NaN, the initialization ramping value is set to 0.0 and the initialization
value for the primary is determined by back calculation compatible with Pre-R500
functions. (When migrating from R4xx or R5xx to R600, the fixed bias term BO should
be defaulted to 0.0.) When RATE1 = NaN, then:
K1 * (CV − BO) + BI
INITVAL =
K 2 * X 2 FILT + B 2
If RATE1 is set to a non-zero value, and the Ratio Control block is in Cascade mode, the
SP value is back calculated. During initialization, an internal bias that is equal to the
difference between the old CV value and the new CV value is added to the output
calculation to produce a bumpless output Internal Bias (BI) is calculated as follows
(where CVold is the last calculated CV value before initialization):
SP * ( K 2 * X 2 FILT + X 2) − BI
BI = CVold – - BO
K1
If the primary accepts the initialization value (INITVAL), then BI turns out to be zero.
If the primary does not accept the initialization value, then BI turns out to be non-zero. If
not zero, the internal bias (BI) decays at the rate specified by RATE1. RATE1 is
specified in engineering units per minute. If RATE1 = 0, then BI does not decay but
remains fixed.
If the Ratio Control block operates in Auto mode during initialization when the mode
changes from manual to auto, the internal bias (BI) is added to the output. BI decays at
the rate specified by RATE1 as described for Cascade mode.
The default value of RATE1 = NaN.
From Initializing
Primary
CAS
SP RATIOCTL
AUTO CV OP X1 CV
X2 Override
X3 SELECTOR
X4
To I NITVAL PTORST
Primary PTORST ORFBSEC
ORFBSEC
ORFBSEC is not an external parameter.
PV RAMPSOAK CV OP SP PID
CV OP
PV
Outpu t
Processing
FT
SOAKT3
SOAKV3
SOAKT2
RATE3 SOAKT4
CV SOAKV2 RATE4
SOAKT1
RATE2 SOAKV4
SOAKV1
RATE1
Time
Application
RAMPSOAK is principally used for automatic temperature cycling in furnaces and
ovens. It can also be used for automatic startup of units, and for simple batch-sequence
control where the batch sequence is part of a process that is otherwise a continuous
process.
Sequencing
The Ramp and Soak control algorithm supports both Single and Cyclic sequencing.
Once started, the configured sequence of ramps and soak periods repeats itself, if it is not
stopped by an operator or by a user-written program. A Universal Station operator can
put the point in Man mode to freeze the sequence, and then return it to Auto to continue
the sequence.
A configuration parameter called cycle option (CYCLEOPT = Single or Cyclic) is
provided that optionally permits the cycle to stop after completing a single cycle. This
works as follows:
• CYCLEOPT = Single
− When the mode is changed from Man to Auto, the algorithm cycles through the
configured rampsoak sequence until the last soak segment is completed. At this
point, the mode is switched back to Man and the current segment ID is set to
RAMP1 (the first segment). Another sequence can now be executed by simply
switching the mode back to Auto.
• CYCLEOPT = Cyclic
− When the mode is changed from Man to Auto, the algorithm cycles through the
configured rampsoak sequence until the last soak segment is completed. At this
point, the current segment ID is set to RAMP1 (the first segment) and the whole
cycle is repeated.
Operational modes
The operating modes establish the operating state of the RAMPSOAK algorithm as
follows:
• Man mode, where—
− the sequence is stopped and the ramp/soak timers are not running.
− the Ramp and Soak actions are suspended.
− this allows the user to enter starting output value for the Ramp/Soak profile and
to change the value during profile.
− the timers are stopped and hold the last value.
− the value in CV is replaced by the OP value (after converting to EUs).
− SP = CV (SP doesn't affect the output but can be seen at Universal Stations and
user-written programs).
• Auto mode, where—
− the sequence is running.
− If the current segment is a ramp, and if the guaranteed ramp conditions are OK,
CV changes at the ramp rate. Should the CV overshoot the next soak value, it is
clamped at that value and, the remaining soak-time (REMSOAKT), the current-
segment (CURSEGID), and the mark timers and flags are updated.
− If the guaranteed ramp conditions are not OK, the mark timers are stopped.
− If the current segment is a soak, and if the point just changed from Man to Auto,
or just started the soak segment, and the guaranteed soak time conditions are not
OK then, the soak timer doesn't start, CV remains at its last value, the mark
timers are stopped.
ATTENTION
If the polarity of the ramp rate is opposite to the soak target value, the output
jumps to the soak target value. That is, the ramp segment for this ramp/soak
cycle is omitted and the next segment is invoked.
Guaranteed Soak-Time
This feature guarantees that the PV is at the proper soak value before the soak-time
measurement begins.
If, when a soak segment begins or is resumed by switching from Man to Auto, the PV is
not within a user-specified deviation (MXSOKDEV) from the SP value (SP always
equals CV), the soak timer doesn't start. When the deviation is within the MXSOKDEV
value, the timer is started and continues, even if the deviation again exceeds
MXSOKDEV.
Because the PV could be above or below SP, it is the absolute value of the deviation that
is checked against MXSOKDEV.
To bypass this check you can change MXSOKDEV to NaN.
The soak timer can also be kept from starting when HOLDCMD is On. This allows you
to use a Logic Slot to set HOLDCMD to hold the soak timer until some other condition is
met.
ATTENTION
HOLDCMD also affects the guaranteed ramp function.
PV
NOTE
For example S1SEGID = 2
S1BGNTIM = 5 min
S1ENDTIM = 6 min • S1BGNTIM must be less than
Pulsewidth = ENDTIM-BGNTIM or equal to S1ENDTIM.
(Same is true for S2 parameters.)
SEG1 SEG2
5 6 • S1ENDTIM is not required to
—
—
—
—
—— —
—— —
The S1 or S2 flag is turned on at the number of minutes after the specified segment
begins, as is specified in SnBGNTIM. The corresponding flag is turned Off at the
number of minutes after the specified segment begins, as specified in SnENDTIM.
The following functions also take place:
• At the end of the last segment in the sequence, the S1 and S2 flags are turned Off
and the timers are reset.
• When a ramp or a soak segment is held up by the guaranteed-ramp or the
guaranteed-soak functions, the mark timers are suspended.
• The mark timers suspend when the data point is in Man mode and the S1 and S2
flags are unchanged.
• If the remaining soak time (REMSOAKT) is changed (in Man mode), the mark
timers are not affected.
• If the current segment (CURSEGID) is changed (in Man mode) to a segment that is
earlier than or equal to a segment specified by SnSEGID, the corresponding mark flag
goes to Off and its timers are reset. If a later segment is specified in CURSEGID, the
flags and timers are not affected.
Long sequences
A sequence of more than 12 ramp and soak segments can be attained by interconnecting
RAMPSOAK points. A Logic Slot can be used with a Switch Algorithm (see “
Switch Control Algorithm” in Section 1) to select any of the four RampSoak Algorithm
data points.
Longer sequences can be accomplished by setting the S1 Mark Flag at the end of the last
soak segment (S1 must be on for at least one sample time).
A Logic point reads the S1 Mark Flag and, using a pulse Logic Block (Pulse width can
be one sample time), sets the corresponding S input on the Switch Algorithm. This
causes the next RampSoak to become selected and all non-selected RampSoaks are INIT.
The Switch Algorithm should be configured for tracking and Equation B.
RSK1
SP OP
X1
PV S1
To Logic
OP
RSK2
SP OP
X2
PV S1 S1
S2
To Logic
TRACKING
EQUATION B
LOGIC
L2 SWITCH.S1
PUL SE
PROCESSING ORDER:
ATTENTION
Setpoint limits are not available.
33.2 Equations
There are no configurable equations for the RAMPSOAK algorithm. The ramp and soak
segments are specified in the following:
• Number of ramp/soak segment-pairs in the sequence—NORSSEQ (Default = 2).
• Ramp Rates, EUs per minute—RATE1 through RATE12 (Default = NaN).
• Soak values—SOAKV1 through SOAKV12 (Default = NaN)
Soak times, in minutes—SOAKT1 through SOAKT12 (Default = 0).
CAS
o o
MAN
From Primary o
Data Point
Output
CAS Processing
o
o X1
o To
MAN CV OP
Secondary
To
Primary INITVAL
CV = X1 +B
Where :
B = BO + BI
Equation A:
PRIMARY Output
DATA POINT Processing
o CAS
o AUTOMAN CV OP
o
Man
Analog Output
Slot Using PID
Algorithm
To Additional
Secondary
Data Points
This algorithm is very useful for a secondary data point that is one of two or more
secondaries of the same primary data point (a "fan-out" configuration). In such a
configuration, AUTOMAN can provide a "bumpless" output even if its primary doesn't
accept AUTOMAN's initialization request, but accepts one from one of its other
secondaries. This might happen because the AUTOMAN point is temporarily out of the
cascade because it is inactive or because it is in Man mode.
For an example of output from a PID controller to two auto manual stations, see the
example under “Equation B” in Section 34.3).
You cannot write to the X1 parameter of this algorithm from an AM using a control
output connection.
Operating modes
The AUTOMAN algorithm supports three operating modes:
34.3 Equations
Background
This algorithm has two equations.
Equation legend
For Equation A
• B = B0 + BI)
For Equation B:
• CV = Control algorithm output in Engineering Units
• X1= Initializable input pushed from primary
• B = Bias Value, and
• B = (K * X2) + BI
• X2 = input connection fetched with input connection #1
• BI = Initialization Bias Component
Equation A
Equation A is as follows:
CV = X1 + B
X1 is the input that is typically pushed from the primary PID controller and B is the
overall bias, which consists of the operator set bias component (BO) and the initialization
bias component (BI).
This form of the equation requires NO input connection. The number of input
connections is defaulted to 0; however, it can be increased to 1, allowing the X1 input to
be fetched with an input connection (X1 fetched by connection number 1).
Equation B
Equation A is as follows:
CV = X1 + B
X1 is the input that is typically pushed from the primary PID controller and B is the
overall bias, which consists of the automatic bias adjustment (K * X2) and the
initialization bias component (BI). X2 is fetched with an input connection (#1) from a
calculated input. Bumpless closing of cascades is provided the same as in Equation A
(with ramping of the initialization component). The overall Bias B is a read-only
parameter and cannot be stored to.
Equation B requires only one input connection — X2. The number of input connections
is defaulted to one; however, it can be increased to two, allowing the X1 input to be
fetched with input connection #2.
Equation examples
If a PID controller outputs to two auto manual stations, the operator may want the total
required offset between the outputs of the two auto manual stations to be distributed
equally above and below the PID's output. The operator can store the bias (= half the
required offset) to the first auto manual station (configured for Equation A). The second
auto manual must be configured with Equation B, have K of -1.0, and get its X2 input
from the B0 parameter of the first one. Thus, whenever the operator changes B0 of the
first auto manual point, the bias of the second point tracks automatically.
Alternately, the strategy could be configured so that the bias value is held in a numeric.
Each auto manual point would then fetch the numeric value into its X2 input. In this
configuration, bias balancing is achieved by setting K on the two auto manual stations to
+0.5 and -0.5, respectively.
34.4 Initialization
Initialization value = CV - B. For additional information, refer to Bumpless returns to
cascade.
CAS
o
o X1 CV X1
o X2 Override
AUTO MAN SELECTOR CV
MAN X3
X4
PTORST-(Selected)
To INITVAL
Primary PTORST ORFBSEC
ORFBSEC
X1
X2 To
INCRSUM CV OP
X3 Secondary
X4
Output
Processing
Equation:
PID
X1
PID X2
INCRSUM CV OP SP Secondary
X3
PID Data Point
X4 PV
PID
Use
This algorithm is typically used where more than one primary data point is used to
manipulate the setpoint of the same secondary data point.
ATTENTION
The dynamic correction calculated by a PID primary appears as a change in
that data point's output after it is processed again and the Incremental
Summer actually uses this change as its input. The full-value outputs of PIDs
connected to the Incremental Summer have no meaning.
ATTENTION
If a single feedforward input is needed, the PID feedforward control algorithm
should be used.
35.3 Equations
Equation legend
When CV is calculated:
• CV(n) = Current full value of the output of this algorithm in engineering units.
• CV(n-1) = Past full value from the data point (value from the last time the data point
was processed).
• m = The number of inputs actually used (m = 1 through 4).
• K1 through Km = User-specified scale factors (gains). K1 through K4 default to 1.0.
• X1(n) through Xm(n) = Current values of each X input in use.
• X1(n-1) through Xm(n-1) = Past value of each X input (value from the last time the
data point was processed).
Equations
CV is calculated as follows:
CV(n) = CV(n-1) + K1*[X1(n) - X1(n-1)]
+ K2*[X2 - X2(n)(n-1)]
.
.
.
+ Km*[Xm(n) - Xm(n-1)]
35.4 Initialization
Initialization occurs in Man mode when the output is indisposable, or when recovering
from a bad CV value (NaN), as follows:
• An initialization request is sent to all primary data points (up-to-four).
• The Incremental Summer's CV value and past values are initialized as—
CV(n-1) = CV
X1(n-1) = X1
.
.
.
Xm(n-1) = Xm
TIP
This is very useful for cases where several feedforward signals are added to
the output of a PID controller (the addition done by the incremental summer
algorithm) and the overall result is fed to an override selector. Because the
output of the PID controller tracks the output of the incremental summer,
which in turn tracks the output of the override selector when not selected, the
output of the PID controller is prevented from winding up when not selected
by the override.
X1
MAN
X2 CV OP
From up to 4
Other Data
Points CAS
X3
X4 Output
Processing
You cannot write to X1 from an AM Regulatory point using a control output connection.
Inputs and outputs
This algorithm requires no input connections. The number of input connections is
defaulted to 2; however, it can be increased to up to 4. For each input connection, the
user must also specify the destination parameter as X1, X2, X3 or X4.
Use
The Switch control algorithm is used to allow the operator to alter control strategies by
selecting any of four inputs to be passed on to the output, if Equation A is chosen. If
Equation B is chosen, a Logic Slot can change the switch position, or the operator can
store to SELXINP if all four input selection flags (S1, S2, S3, and S4) are Off.
You can use SWITCH to select inputs from differing sources and to pass them on to a
single destination or you can use more than one SWITCH data point to switch a single
source to differing destinations. The following figure shows an example of each of these
situations.
Figure 36-2 Switch Control Algorithm Examples
Either A, B, C, or D is Connected to E:
A
X1
B
X2
SWITCH CV OP SP E
X3
C
X4
D
F X1 SWITCH CV OP SP G
X1 SWITCH CV OP SP H
TIP
Changing the desired switch indicator from Off to On is very useful when
operating with custom displays. The displays can be built to allow the
operator to see the positions and strategies selected unless S1 through S4
are all OFF.
ATTENTION
When the configuration is changed from Equation B to Equation A, ensure
the following:
• No external connections exist for S1, S2, S3, or S4 connections of the
switch.
• If connections exist from external sources, ensure that these connections
are active and are On.
S1 S2 S3 S4 Xn SELXINP
On – – – X1 SELECTX1
Off On – – X2 SELECTX2
Where "–" means On or Off does not affect the switch position.
S1 has the highest priority, S4 has the lowest.
ATTENTION
In the HPM, an operator is allowed to change the switch position, by storing
to the SELXINP parameter when configured for Equation B, if all input
selection flags (S1, S2, S3 or S4) are Off.
Tracking
You may configure the SWITCH algorithm for the tracking option, which causes non-
selected inputs to track the selected input value. This allows the switch position to be
changed without "bumping" the output.
When tracking option is configured, the primaries connected to non-selected inputs can
be initialized. Should one of the primaries not accept the initialization value from the
SWITCH data point, the output may bump when that input is selected. (A primary might
not accept an initialization value because it has more than one secondary and accepts
initialization from one of its other secondaries.)
ATTENTION
For the tracking option to work, the Switch input must come from an HPM
primary Regulatory Control point. The output destination from the RegCtl
point must specify the Switch point (that is, the Switch input must be pushed
from the RegCtl point).
When SWITCH is included in an override control strategy, the tracking option
must be configured.
Operational modes
The Switch-control algorithm operates in the following modes:
• Man
• Cas
• Bcas if RCASOPT = Ddc
Remote cascade options
Only the Ddc option is supported.
Restart or point activation
On a cold or warm restart, or when the SWITCH data point is activated, initialization
takes place, as configured (see “Initialization” in Section 36.4).
On a hot restart, normal operation resumes with no initialization.
Error handling
If a selected input has a bad-value status, the CV value goes bad (NaN), but the operating
mode does not change. When the status of the selected input is again good, CV is
recalculated, an initialization request is sent to the primary data point.
36.3 Equations
Background
The Switch control algorithm provides two equations:
• Equation A – Operator Switching, where an operator can change the switch
position.
• Equation B – Automatic Switching, where logic or user written programs switch
between inputs.
Equation legend
In Equations A and B:
• n = 1, 2, 3, or 4.
• CV= The control output value in engineering units.
• SELXINP = The selected-input. Default = SelectX1.
• S1 through S4 = Switch indicators.
• M = The number of inputs configured. Default = 2.
Equations
Equations A and B:
CV = Xn
ATTENTION
Equations A and B differ in controlling aspect of the switch position. For
additional details, refer to Switch position control.
36.4 Initialization
When an initializing condition occurs, an initialization request is sent to the selected
primary and the initialization value is the present CV value.
If the tracking option is configured (see “” in Section 36.2), the non-selected primaries
are continually initialized.
Output
Processing
CAS
X1 To
CV
X2 ORSEL Secondary
MAN X3
X4 ORFBSEC
From
Init.
Primaries Feedback Value
Sel To Primaries
Notsel,
Notcon
CAS
MAN
Equation A: HI Selector
Equation B: LO Selector
controller. If the value of the air flow multiplied by some ratio exceeds the fuel-flow
setpoint, the air flow constrains the fuel flow.
In a strategy like that illustrated in the following figure, Equation A, the override option
is configured. PID data points connected to non-selected inputs are prevented from
"winding up" by forcing their outputs to track the override feedback signal (ORFBSEC).
The simple selector (override option not configured) can be set up to initialize one input,
but not all inputs, by using control-input connections for the inputs that are not to be
initialized, and by using a control-output connection from the point that is connected to
the input to be initialized.
Figure 37-2 Override Control Strategy Example
SP A ir
PV Cont.
Air
F
Fuel
If X2 exceeds X1, air flow
constrains fuel flow.
ATTENTION
When a selected input is bypassed, all parameters go through 1-shot
initialization.
Error handling
In Cascade mode with BYPASS Off, if any input has a Bad-Value status, CV's value is
bad (NaN) and the mode doesn't change when the CV value goes bad. Also, in Cascade
mode with BYPASS On, any non-bypassed input (BYPASSXn=Off) that has a Bad-
Value status causes CV to go bad (NaN).
If a bad input, that was causing CV to be Bad, returns to Normal, CV returns to normal,
CV is made equal to OP, and all bypassed primaries are initialized (see “Initialization” in
Section 37.4).
Processing order
Processing order is always important, but especially for the ORSEL strategy. ORSEL
functions will not work properly if point processing order is incorrect.
37.3 Equations
Background
The Override Selector control algorithm provides two equations:
• Equation A—Select the higher of the connected, active inputs.
• Equation B—Select the lower of the connected, active inputs.
Equation legend
For either equation:
• CV = The control-algorithm output in engineering units.
• X1 through X4=The four available inputs.
• M = The number of inputs configured. Default = 2.
• SELXINP = The selected input; SelectX1 through SelectX4.
ATTENTION
With SELXINP if more than one input has the highest (EqA) or the lowest
(EqB) value, the lower-numbered input is selected.
For example, if X2 and X3 have exactly the same highest value (EqA)
SELXINP contains SelectX2.
Equations
In Equation A:
CV = highest of X1 through Xm
In Equation B:
CV = lowest of X1 through Xm
37.4 Initialization
Initialization requests from secondary points are ignored as long as the ORSEL output is
disposable.
If the ORSEL is initialized because it is in Manual mode, the output is indisposable, or it
has just returned from bad control status, CV is made equal to INITVAL from the
secondary, and SELXINP is set to None. When the ORSEL is in Manual mode, an
initialization request is passed on to all primaries with an initialization value equal to CV.
When the ORSEL is initializing because the output is indisposable or it is returning from
bad control, an initialization request is passed on to all primaries whose input are
bypassed (BYPASS = On and BYPASSXn = On) with an initialization value equal to
CV.
PTORST status sent to the selected primary is the same as that received from the
secondary. If BYPASS is:
• False, the status to all other primaries is NotSel.
• True, non-selected inputs are initialized, so the status sent to them is NotCon.
Output
X1 Proc essing
X2 MULDIV CV OP To Secondary
X3
Each of the three input variables can be multiplied by a scale factor, and then a bias value
added to them. or example, input X1 can be multiplied by a scale factor K1 and a bias
value of B1 added to the result. In a similar way, input X2 can be multiplied by K2 and
bias value B2 added and X3 can be multiplied by K3 with B3 added.
The resulting product can also be multiplied by an overall scale factor K and an overall
bias B added.
ATTENTION
X1 is an initializable input.
X2 and X3 can be used only as inputs and their data cannot be stored from
another source. Their data has to be fetched.
Use
This algorithm is normally part of a cascade control strategy. Typically, its primary is a
data point that is using a PID algorithm, and its secondary is another data point that is
also using a PID algorithm. The Multiply/Divide algorithm can also provide an input to
an Override Selector algorithm.
38.3 Equations
Background
The Multiply/Divide algorithm can be configured using anyone of five equations.
Equation legend
For each equation:
Equation Description
38.4 Initialization
Background
Input X1 is an initializable input and initialization is accomplished with an internal
ramping bias. The Bias B is made up of two components, BO and BI, where BO is the
operator entered bias and BI is the internal bias component. The internal bias decay rate
parameter RATE1 specifies the decay rate of the internal bias BI.
ATTENTION
For Equation A, if the Primary:
• accepts the INITVAL, then the value of BI turns out to be 0.
• does not accept INITVAL, the BI turns out to be a non-zero value that
would cause a bumpless CV output. Then BI will decay to zero at the
rate specified by RATE1 which is specified in terms of engineering units
per minute.
Equation Description
Equation A
Initialization
Equation B
Initialization
Internal
ramping
bias
Equation C
Initialization
Equation Description
Internal
ramping
bias
Equation D
Initialization
Internal
ramping
bias
Equation Description
X1
Output
X2 RegCtl Proc essing
SUMMER
X3 CV OP To Secondary
X4
To Primary INITVAL
Each of the inputs can be scaled by their gains K1, K2, K3, and K4. The output can be
scaled by an overall gain K and overall bias value B can be added to the result.
If only one input (X1) is used, then only the overall gain parameter K and the overall bias
B are configurable.
ATTENTION
X1 is an initializable input.
X2, X3 and 43 can be used only as inputs and their data cannot be stored
from another source. Their data has to be fetched.
39.3 Equations
Background
The equations used when processing Regulatory Control Summer algorithm depends on
the number of configured inputs.
Equation legend
For both equations:
• CV = Current full value of the output of this algorithm in engineering units.
• K = Overall scale factors (gain). The default is 1.0.
• K1 through K4 = User-specified scale factors (gains) for inputs X1 through X4. The
default is 1.0.
• X1 through X4 = Current values of each X input in use.
• B = Overall bias (see “Initialization” in Section 39). The default is 0.
Equations
For Regulatory Control Summer algorithms configured for:
• one (1) input, the equation is—
CV = K * X1 + B
• two (2) to four (4) inputs, the equation is (where n = the number of inputs)—
CV = K * (K1 * X1 + K2 * X2 ...+ Kn * Xn) + B
39.4 Initialization
Initializable input
Input X1 is an initializable input and initialization is accomplished with an internal
ramping bias.
Bias
The Bias B is made up of two components, BO and BI, where BO is the operator entered
bias and BI is the internal bias component. the internal bias decay rate parameter RATE1
specifies the decay rate of the internal bias BI.
Cascade
When the cascade is:
• broken—
− input X1 goes into initialization
− the initialization value to the primary is calculated as:
INITVAL =
• resumes—
− the internal ramping bias value BI is calculated (where CVlast is the last
calculated CV before initialization):
BI = CVlast - K * (K1 * X1+K2 * X2...Kn * Xn) -B0
ATTENTION
When only the X1 input is used, the following equations apply:
INITVAL =
BI = CVlast - K * X1 - B0)
• If the status is not selected, an override feedback value is calculated as follows and it
is passed to the primary of the Summer.
Override feedback value
The feedback value for equations with:
• one (1) input, the equation is—
ORFB =
• two (2) to four (4) inputs, the equation is (where n = the number of inputs)—
ORFB =
This algorithm allows you to implement a control strategy that switches one input to one
of four different outputs, as specified by the $SELCTOP parameter. An operator, a user-
written program, or user-configured logic can change the output selected by $SELCTOP.
The algorithm operates as a single pole, 4-position rotary switch as shown in the
following figure.
Figure 40-1O P SELECT Control Algorithm Functional Description
In the figure shown above, the user control strategy provides the output value to the X1
input. The X1 input can be connected to any one of 4 outputs. Typically, the outputs are
connected to analog output points (AO.OP), or to the inputs of other regulatory control
points (such as SP inputs of PID regulatory control points).
For the default configuration shown above, The X1 input is connected to $CV1 which
becomes the overall CV for the OPSELECT algorithm. The CV undergoes output
processing to determine the overall output value OP that becomes the OP of the selected
output. OP is calculated from CV which is stored into $OP1 (OP of the selected output).
In the default configuration, the $SELCTOP parameter value SELOP1 selects $OP1 as
being the algorithm output value. Additionally, when $OP1 is selected by parameter
$SELCTOP, flag S1 of the regulatory control point is set to ON.
The OP values of the unselected outputs are calculated from their CV values. The CV
values of the unselected outputs are set to their default values ($CDEF2-$CDEF4) that
are configured by the user.
In this case, the unselected outputs ($OP2-$OP4) are set to default values that are
specified by parameters $CDEF2-$CDEF4, respectively. (The $CDEF1 parameter
provides the default value for $OP1 when $OP1 is unselected). Additionally, the flags
(S2-S4) of the unselected outputs are set to OFF, to indicate that $OP2-$OP4 have not
been selected.
As an example, if the user changes the value of $SELCTOP parameter to SELOP3, then
the $OP3 value becomes the algorithm output value and outputs $OP1, $OP2, and $OP4
are set to their default values as specified by parameters $CDEF1, $CDEF2, and
$CDEF4. In addition, flag S3 is set to ON and flags S1, S2, and S4 are set to OFF.
The user can also change the values of flags S1-S4 to select the respective output, as
described later in this section.
Inputs and Outputs
Control Input Connections
The OPSELECT algorithm does not require input connections because another
regulatory control point can write a value to parameter X1.
By default, the number of input connections (NOCINPTS) is
0. However, it can be changed to 1 in which case, the user
must specify the destination parameter as X1.
ATTENTION
You cannot combine the regulatory control point and IOP point output PUSH
connection for the same OPSELECT point.
ATTENTION
A difference between the OPSELECT regulatory control point and other
regulatory control points is that the control outputs of most regulatory control
points can have up to 4 connections, but the OPSELECT algorithm can have
only one output connection for each $OPn.
ATTENTION
Bad output connection checks are not performed for the non-selected
outputs.
Unselected Outputs
The OPSELECT regulatory control point provides parameters $CDEF1-$CDEF4. With
these parameters, the user can specify the default values for the four outputs when the
outputs are unselected. The values of the parameters can be set by an engineer, by a user-
written CL program.
For example, if the selected output is $OP1, then the 4 output CV values are set as
follows:
$CV1 = X1 + B
$CV2 = $CDEF2
$CV3 = $CDEF3
$CV4 = $CDEF4
If the selected output is changed to $OP2, then the 4 output CV values change to the
following values:
$CV1 = $CDEF1
$CV2 = X1 + B
$CV3 = $CDEF3
$CV4 = $CDEF4
Bumpless Output Transfer
The OPSELECT regulatory control point provides bumpless output transfer when you
change the selected output using the ramping bias function. Because unselected outputs
do not support the ramping bias function, a bump occurs in the output when changing
from the selected to the unselected state.
Cascade Scenario
A typical cascade strategy using the OPSELECT algorithm is shown in the following
figure. The output of a PID block is connected to the input of OPSELECT, and the
outputs of OPSELECT are connected to 4 analog output points.
Figure 40-2 Switching Example
Manual mode
In manual mode, the operator controls the selected output by changing the value of
output value OP.
Cascade mode
In cascade mode, the CV of the selected output ($CV1, $CV2, $CV3 or $CV4) is set to a
value X1 +B.
$CVn = X1 + B
where,
$CVn is the CV of the selected output
B = BO + BI
where,
B = Bias value
BO = Operator entered bias value
BI = Initialization bias component
Ramping Bias
The ramping rate for the internal bias is specified by the RATE1 parameter (configured
as engineering units per minute). Ramping bias is applicable only to the selected output.
When RATE1 is set to 0.0 (default value), the internal bias BI remains fixed. If RATE1
is set to NaN, then the internal bias BI does not ramp but instantaneously changes to 0
during initialization. This may cause a bump in the output.
If an OPSELECT regulatory control point is configured with a default value (0.0) for
RATE1 and loaded, and when the point is set to the CAS mode, or output switching is
done in the CAS mode, the output will not ramp but remains at the same value. However,
initialization bias is calculated and whenever the user changes the value of RATE1, the
selected output starts ramping.
Engineering Unit Ranges
The X1 input range is specified by the range parameters XEUHI and XEULO. The
output engineering range values (CVEUHI and CVEULO) track the X1 input range
values. When the XEUHI or XEULO value is changed and the value of any $CDEFn is
crossing the new limit (either high or low), then a configuration error message is
displayed and the new value for XEUHI or XEULO is not stored.
Windup Handling
This algorithm supports the regulatory control windup propagation function. When the
selected output value exceeds the user specified limits, the appropriate windup status is
propagated upstream so that any PID blocks in the cascade chain does not windup.
OP Limits
The OP value of the selected output is limited by OPHI and OPLO limits configured by
the user. Similar to the other regulatory control functions, OPSELECT regulatory control
point supports OP minimum-change limiting and OP rate-of-change limiting functions.
However, rate-of-change and minimum-change limiting are not processed on the first
scan whenever switching occurs whenever $SELCTOP is changed, and the first OP
receives the value of the selected secondary, and then the OPHI and OPLO are applied to
the OP.
Point Activation
When the OPSELECT regulatory control point is activated after a cold start, the outputs
$CV1, $CV2, $CV3 and $CV4 are initialized to NaN.
40.3 Equations
Background
The OPSELECT regulatory control point supports two equations, Equation A and
Equation B.
Equation A
If equation A is configured, an operator at the Universal Station can change the switch
position by using any one of the following methods.
• By altering $SELCTOP parameter value. The value of $SELCTOP specifies
the selected output. In addition, one of the four flags (S1, S2, S3 or S4), that
represent the selected output is set to ON and the other three switches are set to
OFF.
• By changing the desired flag (S1, S2, S3 or S4) from OFF to ON. When one of
the flags is set to ON, the other three flags are set to OFF and the $SELCTOP
parameter indicates the selected output.
For example, if the OPSELECT regulatory control point is configured for equation A, the
operator can connect input X1 to output $CV1 by setting $SELCTOP = SELOP1. The
S1 flag is set to ON and the other three flags (S2, S3 and S4) are set to OFF. The overall
CV of the algorithm is equal to $CV1 and the overall OP value is calculated based on the
value of CV. The output of selected output $OP1 is set equal to the overall OP.
The CV's of the unselected outputs are set to their default values (that is, $CV2 =
$CDEF2, $CV3 = $CDEF3, and $CV4 = $CDEF4). $OP2 is calculated from $CV2,
$OP3 is calculated from $CV3, and $OP4 is calculated from $CV4.
To change the selected output from 1 to 2, the operator can either change the setting of
$SELCTOP to SELOP2 or change the setting of flag S2 from OFF to ON.
Equation B
Equation B is primarily intended for automatic switching of outputs using CL programs.
If the OPSELECT regulatory control algorithm is configured for equation B, the switch
position can be changed by storing to the $SELCTOP parameter only if all the flags (S1–
S4) are OFF. Setting one flag to ON does not set the other flags to the OFF state. The
switch position may be selected by setting the flags to ON and OFF as shown in the
following table.
S1 S2 S3 S4 $SELCTOP
ON X* X X SELOP1
OFF ON X X SELOP2
OFF OFF ON X SELOP3
OFF OFF OFF ON SELOP4
OFF OFF OFF OFF Remains at last
selected value**
*X indicates ON or OFF.
**If the flags change to a state where all are OFF, the selected output remains at the last
setting.
For example, the OPSELECT regulatory control point is configured for equation B so
that the regulatory control point can be controlled by a CL program. The X1 input can be
connected to $CV1 by setting S1 = ON and the other three flags (S2, S3 and S4) can be
set to OFF or ON because S1 has the highest priority and S4 has the lowest priority.
To change the selected output from 1 to 2, either set S1 = OFF and S2 = ON or set all the
flags (S1-S4) to OFF and then set $SELCTOP = SELOP2. If all the flags are set to OFF,
the selected output initially remains unchanged at SELOP1. The selection changes to
SELOP2 only when the $SELCTOP parameter is set to SELOP2. All the flags have to be
initially set to OFF because with equation B, $SELCTOP can be stored only if all the
flags are OFF.
Red Tag
If REDTAG or SHUTDOWN is ON, then the output cannot be switched by operating
$SELCTOP or by operating S1-S4, because output changes are not allowed.
40.4 Initialization
Input X1 is an initializable input and it is initialized using an internal ramping bias if the
selected output is indisposable.
For example, if output 2 is selected and the analog output slot AO2 is inactive, the
OPSELECT regulatory control point goes into the initialization state (INIT). This state is
propagated upstream to the PID block which also goes into the initialization state and an
initialization value (INITVAL) equal to CV – BO is propagated to the PID block.
If AO2 is activated, the cascade operation resumes and the initialization bias (BI =
INITVAL – X1) is calculated.
If the PID block output initializes to INITVAL, then BI is set to zero. If the PID does not
initialize to INITVAL, BI contains a non-zero value and results in a bumpless $CV2
output.
If BI contains a value other than zero, the internal bias behavior depends on the value
specified in the RATE1 parameter. The value of BI ramps to zero at a rate configured in
RATE1 (engineering units per minute).
ATTENTION
Although this algorithm has 4 output connections, only the status of the
selected output determines the INITMAN state of this algorithm.
ATTENTION
With TPN R682, you can take a backup of box parameters and restore all the
values later. The backup and restore option can be accessed through the
target BOX PARAM BACKUP RSTR in the DEB. In DEBEC, the commands
“BPB” and “BPR” can be used for backup and restore operations
respectively.
Alarming
The first 1024 flag points (slots) can be configured for off-normal alarming. An alarm
will be generated when the PV of the flag point is changed from STATE0 (Off) to
STATE1 (On)
Alarming
With R660, PV trip point alarming capability is available for HPM Box Numeric data
points. By using the $NNUMALM parameter in the HPM Box Data Point you can
specify the maximum number of HPM Box Numeric slots that are to be processed for PV
trip point alarming.
ATTENTION
To use the new feature, please note the following:
• For a new node: The default value for $NNUMALM parameter is set to 0.
• For an existing node (after migrating to R660 software): Idle the HPM,
reconstitute the HM Box Data Point, and change the value of the
$NNUMALM parameter to the desired number of alarmable numeric
points in the HPM Box Data point. The value of the parameter can be
changed in the Parameter Entry Display. After changing the parameter,
load the revised HPM Box Data Point into the HPM and then start up the
HPM.
• If a NIM receives more than 50 numeric-point alarms within 5 seconds,
the reporting of the remaining alarms is delayed.
REFERENCE - INTERNAL
For additional information on the alarming parameters, refer to the PM Family
Parameter Reference Dictionary.
Minutes, Seconds
TIMEBASE
TIMER
PV Current Time Value
DATA
Start POINT
RV Remaining Time
Stop (SP - PV)
Point types
Box Timer Data Points are component points and cannot be configured as full points.
Points per box
There are 64 Timer Data Points in each HPM Box, and like box numeric and flag points,
timer data points do not require a tag name. These points are accessible to the sequences
in the same HPM box, to any HPM (or APM or PM) box on the same UCN, and to any
node on the LCN. A functional diagram of the Timer Data Point is shown in this section.
Use
To use a Timer Data Point, an operator or the sequence program loads a preset time value
(the length of time that the timer is to run in seconds or minutes) into parameter SP. Once
the preset value is entered, the timer is started by setting parameter COMMAND to Start.
(The timer can also be stopped, reset, or reset and restarted through the COMMAND
parameter.)
Time
The time value in PV starts at zero and increments toward the preset time value when the
timer is processed. (The timer is processed once each second.) The RV parameter
indicates the time remaining until the timer reaches its limit (SP - PV). When PV = SP,
the status parameter SO is set to On to indicate that the time limit has been reached. The
values in PV and SP can range from 0 to 32000 seconds or minutes, as configured.
Parameters
To access, use!BOX.TMSP(n) or !BOX.TMCMD(n).
H PM M
Array
Point
16124
HPM
SI IOP
HPMM
(up to 80 SI
Array points)
Power
Adapter
16 Arrays 16 Arrays
To Field FTA FTA To Field
Devices 1 2 Devices
Each Array point can contain up to 512 Booleans (Flags), or 16 Reals (Numerics) or 32
Integers (Numerics), or 64 byte-sized Integers (Numerics), or 64 ASCII Characters (Strings)
16 125
1 Second 80
0.5 Second 40
0.25 Second 20
Module type
Finally, you must select SI as the Module Type on the IO Module Configuration pages
for each SI IOP board that you wish to implement.
Note that 16,384 box flags are always available. The number of variables of each
particular global box variable data type available to an Array point is further limited by
configuration parameters for the Array point.
Variable Parameter
Flags FL(i)
Numerics NN(i)
Strings STRn(i)
Times TIME(i)
In the case of strings, n refers to the string length, 8, 16, 32, or 64. For example
STR32(4).
String length
The Array point parameter STRLEN specifies string length as 8, 16, 32, or 64 characters
and this determines the format in which strings are presented on the Array point Detail
Display. Regardless of the value of STRLEN, Array point string data can still be
referenced using the STR8, STR16, STR32, or STR64 formats.
The following figure shows how longer character string lengths can be fetched from the
8-character format HPM box global string variables (provided that the access requested is
within the configured section). For example, if the Array point string starting index is set
to 301 and adequate HPM box string variables are configured (in 8-character format), a
request for the 64 character Array point parameter STR64(2) will fetch Box.STR8(309)
through Box.STR8(316). If only part of a longer character string can be been fetched, the
available portion is fetched. An array index error results when none of the requested
string is available.
STR32(1)
STR16(1) STR16(2)
STR64(1)
STR32(4)
STR64(2)
STR16(7) STR16(8)
Descriptors
You can enter 4 descriptors up to 64 characters long, 1 for each type of variable. These
descriptors are typically used to describe the array variables. They appear on the Array
point Detail Display. Refer to the Process Operations Manual for examples.
Access Lock
Parameter SPLOCK determines store access to the variables. Configuration choices are
Operator, Supervisor, Engineer, or Program.
The 75 numerics list the amounts of all possible ingredients. The 75 strings describe each
ingredient. The descriptor entries (for NNDESC and STRDESC in this case)
subsequently appear on the point Detail Display and describe the ingredients.
Additional Array points could be configured to store other attributes of each of the 75
ingredients, such as specific gravities, and so on.
After loading the Array point, the parameters AR100.STR16(1 to 75) can be used to refer
to the ingredients for Product X. The parameters AR100.NN(1 to 75) can be used to refer
to the amount of each ingredient for Product X.
On the Detail Display, array variables appear in a table numbered from 1 through the end
of the array. Note that by choosing the starting index to end in 1 in the above examples,
the box variables and array variables correspond more conveniently. For example,
ARR100.NN(70) is mapped to box variable NN(2070) and appears on the Detail Display
as N0070.
ATTENTION
PTEXECST parameter is applicable only to the array points configured for
serial communication and is not applicable if EXTDATA is set to NONE.
• DATACHNG schematic.
• CL programs.
• Detail Display of a point.
• Alter Parameters function.
• ACT/INACT command from Command Processor.
• Custom Schematics.
You can view this parameter using the following tools:
• System Documentation Tool.
• Find Names.
Read/Write access for this parameter is provided through:
• Network Gateways to other LCNs.
• TPS applications that are capable of parameter access.
Access errors
If you access the PTEXECST parameter when the EXTDATA of an SI Array point is set
to NONE, the following error messages are displayed.
PTEXECST states
The states of the PTEXECST parameter are as follows:
• Inactive: If an SI Array point is set to INACTIVE, the serial communication between
the SI Array point and the device is stopped. The data parameters (FL [], NN [], or
STR []) return bad values (-----) as in the case of a communication failure. The
communication with the serial device is suspended, but the configuration of the SI
Array point is retained. In the INACTIVE state, no soft failure or system error is
reported. If the point is set back to ACTIVE, you need not change the configuration.
The preserved values are restored on activation. If more than one point is connected
to one device, all the points are to be set to INACTIVE for stopping the
communication.
• Active: If the PTEXECST of an SI Array point (configured for a particular device) is
set to ACTIVE, the configuration is downloaded to the FTA and the serial
communication is established. In the ACTIVE state, the point can report
communication errors, if any.
Journal entries
If the PTEXECST parameter is changed using the DATACHNG schematic, a Detail
Display, the Command Processor or the Alter Parameters function, the changes are
journaled in the Process Change Journal and the Process Alarm Journal. Any changes
made through AM/CL are logged in the journal specified in the AM/CL debugger.
Loading an SI Array point
You cannot load an SI array point if the PTEXECST is ACTIVE. However, the point can
be loaded with PTEXECST as ACTIVE if the HPM or the SI IOP is IDLE.
Switching off the serial device
Before switching off a serial device, set all the associated SI Array points to INACTIVE.
If all the points are inactivated, there are no soft failures on the FTA and SI IOP. The IOP
Status Display shows no errors or soft failures and the system status LED does not blink.
The SI IOP Detail Display indicates, “No array points are configured to this FTA” as the
FTA error status. No error is displayed if the point is set to INACTIVE before the device
is turned off.
Deleting an SI Array point
Before deleting an SI Array point, set the PTEXECST parameter to INACTIVE.
Migration
When migrating to R670, the default value of the PTEXECST parameter is automatically
set to ACTIVE. With R670, when an APM checkpoint is migrated to an HPM, the
PTEXECST parameters of the SI Array points are automatically set to ACTIVE. If a pre-
AUXDATA Parameters
These parameters are for use with the Generic Modbus interface. They should be set to
NaN (dashes) when communicating with an Allen-Bradley PLC. Likewise, when the
Modbus interface is being used, the AB_DATA parameters should be set to NaN.
Parameter Specifies
Parameter Specifies
The concept of array type, size, and starting index is the same as described for mapping
to HPM box variables, but for Serial Interface data, the limits are as follows:
* 64 characters maximum configured any way from eight 8-character strings to one
64-character string
ATTENTION
Note that BADPVFL and INITREQ are always OFF if not using SI data
(EXTDATA = None).
If flag data is mapped back from the SI/Array point, a digital output read-back check
determines the actual value of the output. After a new output state is stored to the digital
output connections, the read-back check is delayed for a time period equal to the
feedback-time parameter (FBTIME) or 4 seconds, whichever is greater. This delay
allows the SI/Array output enough time to reach even a slow responding field device
before causing a Command Disagree alarm (see “Any transitions in the PV input state
can be used for triggering event-initiated processing of points in the Application Module
(AM). It is configured by entering EIP for the event-report-option parameter EVTOPT.
The user must enter the tag name of the AM or CM point using the EIPPCODE
parameter.
Commanded State (OP)” in Section 0 and “Alarms” in Section 48.4).
If a discrepancy then exists between OPFINAL and OP, the operator is advised. If
OPFINAL does not agree with any of the defined states, its state is displayed as NONE.
47.8 CL Notes
All Array point data (flags, numerics, and so on) can be accessed by a CL program
(without impacting IOL prefetch limitations). Refer to the Control Language/Advanced
Process Manager Reference manual for additional information.
The CL/HPM compiler issues a warning when external Array point data (data read from
a Serial Interface) is used in a LOCAL declaration. This is done because the data is not
truly local, but resides in the external device connected to the Serial Interface IOP.
SECVAR Output
Commanded State
Logical Input Logical Output
Output #1
Sources, 1 to 12 Destination(s)
State Command
Permissive
State #1
Interlock
State #1
Alarms
Output #0
State Command
Permissive
State #0
Interlock
State #2
Primary and
Secondary Input
Gates, 1 to 12
These sources must be in the same HPM box as the Device Control point. The PV state is
calculated from the inputs the same way as for a Digital Composite Point.
Other configuration for this section such as box color, and so on is the same as for a
Digital Composite Point. You can specify the PV states, options, and alarming.
Logic inputs
The following figure presents a simpler way of looking at just the Logic Inputs, their
associated gates, how the outputs can be routed, and possible destinations.
Looking at the logic gates in the following figure, you should note the concept of
Primary or Secondary Input Gates and Primary or Secondary gates. This terminology is
used throughout the following discussions and on the point configuration screens.
Figure 48-2 Logic Gates and Destinations
You can designate up to 12 Logical inputs (NOLINPTS) and enter an 8-character ASCII
descriptor for each input (LIDESC(n) where n is 1–12). The ASCII descriptor can be
changed by a CL program or a person with Engineer access level.
Each input source is specified by Logic input source parameter LISRC(n) and you can
use:
• any Boolean, integer, enumeration, self-defining enumeration, or real parameter
from within the HPM, or another UCN node.
• the PV flag or BADPVFL for a Digital Input point from within the HPM.
• the SO or INITREQ parameters for a Digital Output point from within the HPM.
• any IOP parameter (up to a maximum of six).
Logic inputs (LISRC(1) – LISRC(12) are referenced within the configuration pages as
L1 – L12.
The parameter LIBADOPT allows substitution of Off, On, or the last good value (Hold)
in case a logic input goes bad.
ATTENTION
Every logic input that you specify must eventually be used to drive some
output, permissive, or interlock.
for L1 (input) greater than 50 and the deadband value = 5. The gate output goes true
when L1 is greater than 50, but does not go false unless L1 falls below 45.
• For EQ, EQ2, NE, and NE2 gates, the deadband value defines the range of
comparison. For example, an EQ gate is configured with input numeric PINN(n) = 6
and deadband parameter PIDEADBD(n) =2. The output is true when the input source
is between 4 and 8.
Figure 48-3 Primary and Secondary Logic Input Gate
Primary Secondary
L(n) Input Gate Input Gate SIDSTN(n)
1 –12 1 –12
PIALGID(n) SIALGID(n)
Algorithms
• NULL • INVERT
• IN_SET • NULL
• MAXPULSE • MINPULSE
Secondary
Input Gate SIDSTN(n)
1–12
(Destination)
ATTENTION
Every Secondary Input Gate that you configure must have an output
destination specified.
Primary Secondary
Gate PGDSTN(n) Gate SGDSTN(n)
1–4 1– 2
PGALGID(n) SGALGID(n)
OR POR OR POR
Primary Gate Inputs—Inputs to the Primary Gates can only come from Secondary
Input Gates. Up to six inputs is available.
Secondary Gate Inputs—Inputs to the Secondary Gates can come from any of the 12
Secondary Input Gates or any of the four Primary Gates.
Primary and Secondary Gate Algorithms—both the Primary and Secondary Gates
have identical algorithms. Algorithms beginning with a P have a pulsed output when the
gate is enabled. Pulse width is specified by parameter PGPLSWTH(n) for Primary Gates
or SGPLSWTH(n) for Secondary Gates. Pulse width can range from 0–8000 seconds.
Primary and secondary gate destinations
ATTENTION
Every Primary and Secondary Gate must have an output destination
specified.
Primary
Gate PGDSTN(n)
1–4
(Destination)
Secondary
Gate SGDSTN(n)
1–2
(Destination)
OVERRIDE
STOP
Input_4 AND OR
2 3
Input_5
Input_6
Input_7
The following figure shows how the Secondary Variable appears on the point detail
display. The thick bar represents the actual value. The lower vertical dash represents the
target value (SVTV). The Secondary Variable high alarm priority trip point in percent
(SVHITPP) and high high alarm trip point in percent (SVHHTPP) are represented by the
other two small vertical dashes.
Figure 48-9 Secondary Variable Representation on the Point Detail Display
SVHITPP SVHHTPP
SVTV
The colors of SVHITPP and SVHHTPP are described in the following table.
Table 48-2 SVHITP and SVHHTP Colors
Three Selectable Depends on color selected in NCF Depends on color selected in NCF
Alarm Colors
Condition Result
2 If SVHIFL is TRUE, then the following table determines when SVP color is
RED
Network Configuration Red Color Alarm SVHIPR =
Priority =
Low Hi Emg
Low Red Red Red
High N/A Red Red
Emergency N/A N/A Red
3 If SVHHFL is TRUE, then the following table determines when SVP color is RED.
Low Hi Emg
Low Red Red Red
High N/A Red Red
Emergency N/A N/A Red
If the three color alarm option was selected in the NCF, the SVP color is based on the
color choices in the NCF.
Local Manual Input
Parameter LMSRC allows you to designate a logical input for the local manual signal.
The source can be specified as a tag name.parameter or as a hardware reference address.
Parameter LMREV permits the input to be inverted.
When the LOCALMAN flag is true, it indicates that the device’s state is being controlled
directly by external hardware. The Device Control point’s output tracks the PV (the
actual state of the device). When the device is taken out of Local/Manual, the output of
the point matches the current state of the device being controlled.
Destinations
Destinations are specified as a tag name.parameter or a hardware address and they must
be in the same HPM as the Device Control point. If a hardware address is used, it must
have one of the following forms (where nnnn = 1 to 16,384):
!BOX.FL(nnnn)
!DOmmSss.S0
Output commands
There are two ways to command the output:
• when MODATTR = Operator, the operator can command it.
• when MODATTR = Program, a Logic point or CL program can command it.
OPCMD controls State 0 and State 1. SOCMD(n) controls State 0, State 1, and State 2.
Inputs to OPCMD or SOCMD can come from any of the following logic gates:
• the Primary Gates.
• the Secondary Gates.
• the Secondary Input Gates.
logic gates. Both OPCMD or SOCMD can be configured to drive the output, but you
should use only one of these on a given point. When interlock logic does not drive
OPCMD or SOCMD, they can be written from outside (for example from a Logic point,
a CL Program, and so on)
The state of OP is calculated from signals generated by the primary and secondary gates
through OPCMD or SOCMD, as well as LOCALMAN and REDTAG.
OP can be commanded to state 1 or state 0 using the OPCMD parameter. When OPCMD
is commanded ON, OP is set to state 1. When OPCMD is commanded OFF, OP is set to
State 0. OPCMD can be used when three states are defined, but will only command OP
to state 1 or state 0.
SOCMD(i) provides a command for each state (i = 0, 1, or 2). Unlike OPCMD, the
output state is commanded when SOCMD(i) goes from OFF to ON. For example, if
SOCMD(1) is commanded ON, State 1 goes true. Then if SOCMD(0) is commanded
ON, State 0 is commanded. It does not matter that the logic for SOCMD(1) is still
commanding an ON condition. In order to return to State 1, SOCMD(1) must command
an OFF, and then an ON condition.
Interlocks Permissives and Overrides
The ON command is sent to the output only if the permissives and interlocks are in a
state to permit the output. If the ON state is allowed, ON becomes the Output Final
OPFINAL output. OP and OPFINAL may be different; for example, if the seal in option
is activated.
The following figure illustrates the interlock system associated with the Device Control
Point’s digital outputs. This illustration is described thoroughly in Section 4 for the
Digital Composite point and is reproduced here for convenience.
Operator
Commanded State Off
(OP) from Operator Off
On On
Commanded State NMODATTR OROPT BYPASS
(OP) from Program Program
Commanded
STATE 2 State STATE 1
STATE 0
Permissive
Interlocks ON ON ON
(P1, P0, & P2 are OFF P2 OFF P0 OFF P1
controlled by
Logic Blocks)
ON OFF
STATE 2 I2
Override
Interlocks
(I2, I1, & I0 are
controlled by ON OFF
Logic Blocks) STATE 1 I1
ON OFF
STATE 0 I0
OFF
Safety ON
Interlock STATE 0 SI0
Output Connections
(Up to 3 Outputs)
PULSEWTH OUTPUT STxOPy
STCHGOPT STATE
STxOPy
SEALOPT GENERATOR
MOMSTATE (OPFINAL) STxOPy
x = 0, 1, 2
y = 1, 2, 3
Seal-in —If the seal-in circuit is configured, it will unlatch the digital output contacts on
detection of the PV not following the output command as happens on a device drop out
(for example, a stopped motor). This condition is true any time the PV is not in state 1 or
state 2 and either a command disagree alarm or an uncommanded state change alarm is
present.
If the seal in option is enabled when the above condition is detected, the output
destinations are set to the state corresponding to OP of state 0, but OP is not altered. The
actual state commanded to the output destinations can be observed on the lower part of
the group display as OPFINAL. OPFINAL appears in reverse video when not equal to
OP.
Inputs—Inputs to the interlocks can come from the output of —
• any of the Secondary Input Gates.
• any of the Primary Gates.
• either of the Secondary Gates.
Inputs to the interlocks can also be written to from outside if not driven by any interlock
logic (like OPCMD and SOCMD(n). Parameter LOGICSRC allows you to enter the
name of an external point (if any) that is controlling interlocks and permissives. The
entry then appears on the Detail Display.
Break Before Make Option—When OP is commanded from State 1 to State 2 (that is,
from forward to reverse), or from State 2 to State 1, OP will first go to State 0 (that is,
stop) and remain there for a configured pause time before going to the commanded state.
Digital outputs on the detail display
The following figure shows how the commanded digital output appears on the detail
display for a two state and for a three state output.
Figure 48-11 Output Indicators on the Point Detail Display
START FORWARD
STOP OFF
REVERSE
The right half of any state box (when filled) indicates the commanded state. The left half
of any state box (when filled) indicates the PV has changed to that state.
Two dashes in a state box means that operator commands for that state are not permitted.
This can be caused because an interlock is active, when a program is controlling the
point, or the permissive for the state is off.
Logic output connections
The Device Control point can have up to two (NOLOPTS) Logic Output connections.
The following figure illustrates the Logic Output connection strategy. LOSRC is the
logic source, LOENBL is the flag that enables the gate, and LODSTN is the output
destination.
Figure 48-12 Logic Output Connections
LOSRC(n) Out
LODSTN(N)
LOENBL(n) Enable
48.4 Alarms
The Device Control Point provides the following alarms:
• BADPVFL, Bad process variable alarm.
• BADSVFL, Bad secondary variable alarm.
• CMDDISFL, Command disagree alarm.
• CMDFALFL, Command fail alarm.
• OFFNRMFL, PV off normal state alarm.
• OVRDI0FL, OVRDI1FL, OVRDI2FL , Override interlock alarms.
• OVRDSIFL, Safety Override alarm flag.
• SVHHFL, Secondary variable high high alarm.
• SVHIFL, Secondary variable high alarm.
• UNCMDFL, Uncommanded state alarm.
BADPVFL indicates that a digital input has detected a bad PV value.
CMDDISFL, the command disagree flag indicates that the field device did not go to the
commanded state within the allowed time.
CMDFALFL, the command fail alarm (also called the crack timer) is generated if the PV
does not change within the time specified by the command fail timeout parameter
(CMDFALTM) after the OP is commanded to a new state. This alarm is useful for motor
driven valves with states of OPEN, INBETWEN, and CLOSED. Alarm priority for the
command fail alarm is determined by the Command Disagree Priority (CMDDISPR)
parameter.
OFFNRMFL indicates that an Off Normal alarm has been detected.
The Secondary Variable high and high high alarms indicate the analog input SECVAR
has exceeded the configured limits and BADSVFL indicates the input value is NaN.
UNCMDFL, the uncommanded state alarm indicates that a field device changed state
without being command to do so.
The override interlock alarms and the safety override alarm indicate that an override is
active. Also refer to the Override descriptor description below.
Override interlock alarm descriptor
When an interlock is tripped, the Device Control point traces the cause of the interrupt
and presents the logic descriptor LIDESC(n) for that input on the Detail Display just
above the MAN/P-MAN indicator.
REFERENCE - INTERNAL
For more information on any of these slot types, refer to the appropriate
sections of this document.
• Section 13, Digital composite point
• Section 14, Logic points
• Section 15, Process Module points
• Section 16, Regulatory PV point
• Section 26, Regulatory Control point
• Section 47, Array points
• Section 48, Device Control point
• HPM Control Functions and Algorithms manual.
Point mix
The point mix is defined by specifying the number of slots of each type using the
NDCSLOT, NLOGSLOT, NPMSLOT, NPVSLOT, NCTLSLOT, NDEVSLOT, and
NARRSLOT parameters that are found on the UCN/PM Configuration Form. This
configuration form allows the user to specify the particulars of the HPM Box Data Point.
Slot number for each point type
The slot numbers for each point type range from 1 to the user-specified maximum
number listed in the above chart. For example, if NPVSLOT is set to 35, the RegPV
points can be configured in any RegPV slot from slot 1 to slot 35. Similarly, if
NLOGSLOT is set to 40, the logic points can be configured to run in any logic slot from
slot 1 to slot 40. The point types and slot numbers are used for the initial configuration of
a data point and for specifying the processing order.
Scan rate
The scan rates indicate the number of times that all slots of that particular type (except
Fast Slots) are scanned and processed each second. For example, a scheduled frequency
of 1/4 sec for the regulatory slots indicates that all the regulatory slots in this HPM will
be scanned and processed four times each second. The scan rate has an impact on the
number of slots that can be processed as described in Determining Processing and
Memory Capacity.
The following chart contains the scheduled frequency of the respective entries for the
SCANRATE parameter.
Table 49-1 Scheduled frequency of SCANRATE parameters
If the SCANRATE parameter is configured for four times per second, then all of the
points for those types are scanned at the quarter second rate. The number of fast slots is
forced to the same as the total number of slots for that type (provided that the total
number of slots is less than or equal to the maximum number of fast slots). For example,
if SCANRATE = REG1LOG4, then the number of Fast Logic slots parameter
(NFASTLOG) are set equal to the number of Logic slots (NLGSLOT).
ATTENTION
With TPN R684, the limit of HPM Regulatory PV slots and fast Regulatory PV
slots are increased from 125 to 400 and 125 to 200, respectively. This
increase in the range allows the users to increase the value of NPVSLOT and
NFASTPV.
TIP
The PERIOD parameter shows the processing period in seconds. Refer to
the High-Performance Process Manager Parameter Reference Dictionary for
additional information.
The processing load is distributed as evenly as possible between the four cycles using the
following logic:
• All of the 1/4 second slots are processed in every cycle.
• 50% of the processing load of the 1/2 second slots is processed in cycles 1 and 3; the
other 50% in cycles 2 and 4.
• 25% of the processing load of the 1 second slots is processed in each of the four
cycles.
Processing order
The processing order of the slots within a cycle is determined based on the point type as
follows (from left to right):
Within each point type, the slots are processed in the descending order of the slot number
(that is, from highest slot number, down to one).
I/O Data Scanning
The frequently used I/O parameters in the following table are automatically scanned in
the HPMM.
ATTENTION
CL programs or control functions running in the HPMM do not require an I/O
Link prefetch when reading any of the scanned parameters, and thus I/O Link
prefetch related restrictions do not apply.
Device Control 4 PU 2 or 4 PU 1 or 2 PU
Logic 4 PU 2 PU 1 PU
Regulatory PV 4 PU 2 PU 1 PU
Array 0 PU 0 PU 0 PU
String 0 PU 0 PU 0 PU
Timer 0 PU 0 PU 0 PU
Flag 0 PU 0 PU 0 PU
Numeric 0 PU 0 PU 0 PU
Note: With TPN R684, the number of PUs consumed by the configured HPM Regulatory
PV point type increases with the increase in the value of NPVSLOT and NFASTPV.
HPM needs these extra processing units to execute the additional HPM Regulatory PV
slots.
2_PU two PUs are allocated per Process Module point per scan
and up to 100 Process Module points can be scheduled in
a single quarter-second cycle.
In batch applications where many small sequences are needed and you want all of them
loaded at the same time, 1_PU is the appropriate choice for parameter SEQPROC.
ATTENTION
Process module points in software releases R230 (and earlier) always used
two processing units, therefore, parameter SEQPROC should be set to 2_PU
if updating from R230 and earlier versions.
With R682, you can process the Process Module points every 500ms. The process
module points to be scanned twice a second must be placed in the lower numbered slots.
These points are configured for twice a second execution by the parameter $NSFPMS
(Number of Semi Fast Process Module Points) in the HPM Node Specific Configuration.
HPM must be in idle state to modify the value of $NSFPMS. When the HPM is set to
RUN state the points are automatically processed twice a second. Note that you must
modify and compile the sequence programs, and load them to the corresponding points
for the rearrangement of the slots to take effect.
HPM requires more Processing Units to execute this scan. The following is the PU
consumption for twice a second execution of Process Module points.
1_PU two PUs are allocated per Process Module point per scan
and up to 100 Process Module points can be scheduled
in a single quarter second cycle.
2_PU four PUs are allocated per Process Module point per scan
and up to 50 Process Module points can be scheduled in
a single quarter second cycle.
ATTENTION
Both NIM and HPM must to be loaded with R682 for the scan to function. Any
configuration error with mismatch in personality can lead to system failure or
abnormal behavior.
Digital Composite 5
Logic 15
Process Module 15
Regulatory PV 12
Regulatory Control 13
Sequence Programs 1
Flags 0
Device Control 30
Array 8
Timer 0
Note 1:
8 strings = 1 MU
16 Numerics = 1 MU
4 Numerics (w/PV Alarming) = 1 MU
32 Times = 3 MU
Logic 400
String 16,384
Time 4096
Timer 64
Note: With TPN R684, the number of MUs consumed by the configured HPM
Regulatory PV point type increases with the increase in the value of NPVSLOT. HPM
needs these extra memory units to store the additional HPM Regulatory PV slots.
Example 1
The following illustrates a possible configuration, showing the PU calculations.
Example 2
The following illustrates a possible configuration, showing the PU calculations.
Example 3
The following illustrates a possible configuration, showing the PU calculations.
Point Type Points Freq PUs/Slot Total PUs/Slot Type
Note: If you have 100 RegCtrl points and 50 Fast Reg Ctrl points, the total PUs for
Reg Ctrl points is 250. This is because the 50 Fast Reg Ctrl points is actually part of
the 100-Reg Ctrl points. Fast Regulatory Control points are processed four times a
second.
Note: If you have 200 process module points and 100 semi-fast process module
points, the total PUs for process module points is 300. This is because the 100 semi-
fast process module points are actually part of the 200 process module points. Semi-
fast process modules points are processed twice a second.
If an I/O link overrun occurs for four seconds in a row (on any cycle within each second),
an I/O link access-overload soft failure is generated. The soft failure is reset when an
overrun does not occur for eight seconds.
538 HPM High-Performance Process Manager Control Theory R688
Honeywell 08/2019
49 HPM Control Performance
49.5 Overrun Handling
Although most IOL activity is periodic and can be accounted for, there are some
functions that are less predictable. These functions include event and alarm collection,
point configuration, checkpoint save/restore and synchronization of IOPs. IOL overruns
and blank displays may be experienced if any of these activities becomes excessive.
For each cycle, the current hour and previous hour I/O link access-overrun counters are
maintained in the HPMM and displayed on the UCN Detailed Status Displays to help
track down the cause of the overrun.
I/O link bandwidth considerations
The amount of I/O Link bandwidth available for I/O scanning per second is divided into
1000 units called Link Units (LUs). A Link Unit is roughly equivalent to one parameter
read or one parameter write per second.
.
Link unit calculations
AI, DO and DI PV connections, including point status and alarms, are scanned and
therefore not counted in the point processing section of the sheet.
Except for Serial Interface Modules, which are configurable, PV scan times are fixed at
1/4 second (except the LLMUX and RHMUX scan time is 1/2 second) and AOs are not
scanned. Digital Composite and Device Control Outputs only change when commanded.
The resulting DO connection load can be estimated from the maximum number of
commanded state changes per second.
Every parameter write from either a CL sequence or the UCN is followed by an
unpredictable number of write message status reads. This number depends on several
system variables. On the average, it has been observed to take approximately three LUs.
TIP
To prevent I/O Link overruns, the total LUs consumed per second should not
exceed 1000.
TIP
Check this display for overruns, especially if your process module points
contain a large number of statements per step (as long as all of the
sequences in a subcycle average out to 20 statements per step, no overruns
will occur).
Section 21 of the Process Operations Manual explains how to view the UCN Device
Resource Utilization Display. Section 10 of the Engineer’s Reference Manual explains
the details of the displays.
Careful consideration must be taken before reducing the number of slots of any type in an
HPM with points built or tagged from multiple remote NIMs. Because the point database
is distributed between the HPM and the NIM and because the tagname resides in the
NIM portion of the database, if the user fails to delete a configured point that is being
removed before reducing the point mix, the tagname will remain on the remote NIM(s).
At this time, an attempt to delete the point or access its point detail display will fail
because the HPM and NIM databases are no longer synchronized. In this situation, in
order to delete any such point(s), first change the NIM load scope parameter
(LOADSCOP) to NIMONLY, then delete the point(s), and then reset the NIM load scope
to its previous state.
REFERENCE - INTERNAL
Refer to the Data Entity Builder Manual for information on how to backup and
restore box parameters.
• Box variables that are removed due to a reduction in the number of box variables
cannot be mapped into any existing Array point that will remain in the new point mix.
TIP
If changes are not required in the point mix, the HPM Box Data Point can be
loaded while in the RUN state. For example, a new I/O Processor can be
added without interrupting control by simply loading the HPM box data
configuration (with the new I/O Processor added) while in the RUN state).
Logic Blocks Execution halts, then resumes once box is running again.
Timers The timer stops and needs to be restarted once the box is
running. Time accumulation starts from where it left off unless
reset deliberately.
Other Point Types Processing stops and outputs are held. Processing resumes
when the HPM is running again.
Status conditions
The following table summarizes the important status conditions for Warm/Cold restart
functions.
52.2 Implementation
Mechanisms for implementation
The HPM provides the following two convenient mechanisms for implementing peer-to-
peer communications functions:
• Input Connections.
• Output Connections.
• CL Read/Write Statement.
Both communication mechanisms offer location-independent access to data from another
UCN device using the "Tagname.Parameter" notation.
Refer to for a summary of peer-to-peer communications.
Input connections
The RegPV, RegCtl, DevCtl, and Logic slots can use standard input connections to
obtain data from other UCN devices. When such a connection is configured, it is scanned
at the rate of twice per second, regardless of the scan rate of the slot in which it is
configured. The data obtained is saved internally and used (more than once if the slot is
running faster than twice a second) until the next time that it needs data. Peer-to-peer
data is requested .75 seconds before it is needed. The data obtained from another UCN
device can therefore be up to .75 second old by the time it is used. A maximum of 100
input connections can be configured for each HPMM.
TIP
We recommend that input connections be used for continuous peer access
that requires a 1/2 second update (see “Run-Idle-Run Transition” in
Section 51.2).
Output connections
The RegCtl, DevCtl, and Logic slots can use standard output connections to provide
outputs to other UCN devices. Output connections are processed when the slot is
processed, thus outputs are updated four times per second, two times per second, or once
per second depending on the point processing rate. The number of output connections per
HPMM is not limited.
TIP
We recommend that output connections be used for regulatory-control
cascades between UCN devices (see “Run-Idle-Run Transition” in
Section 51.2).
CL Read 16 values per Process If requested read transaction Use for on-demand
Statement Module Data Point not completed, CL program data required by CL
per second branches to specified error programs. Use for
location. Program fails when continuous (1
error option not used. On second) update of
failure recovery, program data required for
behavior is based on user RegPV, RegCtl,
code, or requires operator DevCTL, or Logic
interaction if failed. Slots.
TIP
We recommend that the CL read/write technique be used for on-demand
peer access, and for continuous peer access that requires a 1-second
update.
52.3 Restrictions
Point type restrictions
Certain restrictions exist on the type of data that can be accessed through peer-to-peer
communication. These restrictions vary with the point type. The following table defines
the type of data that can be accessed for each point type or connection type.
RegCtl.CISRC No restrictions
RegPV.PISRC No restrictions
Logic.LISRC No restrictions
Logic.LODSTN No restrictions
DevCTL.LISRC No restrictions
DevCTL.LODSTN No restrictions
TIP
Adopt a single approach for all peer-peer communications; use either
input/output connections or CL read/write statements. If a 1-second update is
adequate and cascade interconnection is not required, the CL read/write
approach offers increased capability (quantity/throughput) for peer data
access.
For CL read/write approach:
• consistently use same method (either CL reads or CL writes).
• the Process Module Data Points that are continually affecting peer-to-
peer communication should be grouped on the same 1/4-second cycle.
TIP
Standard status displays are available to show which points are associated
with each hardware module.
OP parameter
of Slot #3
of AO Processor #12
DI Processor PV !DI05S07.PVFL
PVFL parameter
of Slot #7
of DI Processor #5
of Slot #12
of DO Processor #15
ONPULSE parameter
of Slot #12
of DO Processor #15
OFFPULSE parameter
of Slot #12
of DO Processor #15
ATTENTION
The AI address !AimmSss.Parameter is not supported because the analog
input point does not have a useable default database.
REFERENCE - INTERNAL
Refer to "HPM Operational Considerations" in the High-Performance Process
Manager Implementation Guidelines manual for more information.
REFERENCE - INTERNAL
Refer to these parameters in the PM Family Parameter Reference Dictionary
for additional information.
56.2 Configuration
During UCN Node Configuration for the NIM, you can enter up to 15 Message Text
Items, (MSGTXT(n)). The entry is an 8-character ASCII string. Message text item 0
defaults to NONE and is not configurable. The actual number of Message Text items that
you can enter is determined by parameter NMSGTXT, the number of Message Text
items.
56.4 CL Interaction
If a point is not in Red Tag, a CL program can store a message (in STSMSG). When Red
Tag is on, only the engineer or supervisor can store the message.
57.2 Configuration
This function is implemented by the user configuring a mode selection list using the
$MODESEL parameter to determine the applicable modes and mode attribute. During
normal operation, the mode selection list is displayed on the standard displays (Detail,
Group, Standard Change Zone, Enhanced Change Zone, GUS Faceplate, GUS Group,
and GUS Change Zone) when the mode is selected.
However, changes to the control mode parameters using AM/CL and custom schematics
remain unaffected.
The $MODESEL parameter can be modified from a custom schematic with Engineer key
level access or from AM/CL.
Any change made to the $MODESEL parameter affects the value of MODEAPPL, that
is, if $MODESEL is configured to disallow the AUTO mode, then the corresponding
boolean in the MODEAPPL parameter will be reset to FALSE. The mode attribute entry
(PROG) in the mode selection list can be disallowed by setting $MODESEL(5) to
FALSE.
The allowable modes and mode attribute that can apply to an HPM point are dependent
on the point types as shown in the tables below. Any of these modes can be configured so
that the mode is not shown on the mode selection list.
Regulatory Control
Control Algorithms
Null Rampsoak AutoMan PID
IncrSum PIDErFb
MulDiv PIDFF
OrSel PIDPosPr
Summer PosProp
Switch RatioCtl
Allowable Modes/Mode Attribute
Man Man Man Man
Prog Auto Cas Auto
Prog Bcas Cas
Prog Bcas
Prog
ATTENTION
The PROG mode attribute is not applicable to Control Module (CM) points.
By default, all the modes and mode attributes applicable for a point are allowed in the
mode selection list.
ATTENTION
The MAN, AUTO, and NORM keys on the operator keyboard do not function
if the desired mode change (MAN or AUTO or the value contained in
NMODE) has been disallowed from the mode selection list.
ATTENTION
If parameter EXTSWOPT (External Mode Switching Option) is enabled, its
restrictive qualities will take precedence over $MODESEL.