51-52-25-109 FB Ref
51-52-25-109 FB Ref
WARRANTY/REMEDY
Honeywell warrants goods of its manufacture as being free of defective materials and faulty
workmanship. Contact your local sales office for warranty information. If warranted goods are
returned to Honeywell during the period of coverage, Honeywell will repair or replace without
charge those items it finds defective. The foregoing is Buyer's sole remedy and is in lieu of all other
warranties, expressed or implied, including those of merchantability and fitness for a particular
purpose. Specifications may change without notice. The information we supply is believed to be
accurate and reliable as of this printing. However, we assume no responsibility for its use.
While we provide application assistance personally, through our literature and the Honeywell web
site, it is up to the customer to determine the suitability of the product in the application.
Abstract
The "Process Control Designer" configuration software program is used for HC900 Controller and Operator
Interface configuration and operates on a PC with Windows Vista or Windows 7 (32 and 64 bit). The software
program uses graphic symbols and line drawing connections to create custom control strategies. Menus are provided
in the software to allow selection of screens for the operator interface and to customize screen access methods and
operator keys. Completed configurations are loaded into the control system using a dedicated communication port in
the controller.
References
The following list identifies all documents that may be sources of reference for material discussed in this
publication.
900 Control Station For use with HC900 Process Control 51-52-25-148
Revision 19 HC900 Process Control Designer Function Block Reference Guide iii
June 2015
Contact Information
For Europe, Asia Pacific, North and South America contact details, refer to the back page of this manual
or the appropriate Honeywell Solution Support web site:
Corporate http://www.honeywell.com
Symbol Definition
Protective Earth (PE) terminal. Provided for connection of the protective earth
(green or green/yellow) supply system conductor.
Functional earth terminal. Used for non-safety purposes such as noise immunity
improvement. NOTE: This connection shall be bonded to protective earth at the
source of supply in accordance with national local electrical code requirements.
Earth Ground. Functional earth connection. NOTE: This connection shall be bonded
to Protective earth at the source of supply in accordance with national and local
electrical code requirements.
Introduction ..................................................................................................................... 1
Overview ........................................................................................................................................................................1
Revision 19 HC900 Process Control Designer Function Block Reference Guide vii
June 2015
ENTH Humidity and Enthalpy Function Block ............................................................................................................ 178
viii HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
4OR Function Block ................................................................................................................................................... 279
xii HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Table 109 Default PV sources and compare type operators ..................................................................................... 404
Table 110 STG Stage Tabs parameters..................................................................................................................... 405
Table 111 TCPR function block configuration parameters ...................................................................................... 421
Table 112 TCPS Block General tab configuration parameters ................................................................................. 426
Table 113 TCPS Block Read tab configuration parameters ...................................................................................... 427
Table 114 TCPS Block Write tab configuration parameters ..................................................................................... 429
Table 115 TCPW function block configuration parameters ..................................................................................... 433
Table 116 Time and Date configuration parameters ................................................................................................. 438
Table 117 TOT configuration parameters................................................................................................................. 440
Table 118 TPO configuration parameters ................................................................................................................. 443
Table 119 TPSC General tab configuration parameters ........................................................................................... 446
Table 120 TPSC Start/Restart tab configuration parameter....................................................................................... 448
Table 121 TPSC RSP tab configuration parameters .................................................................................................. 449
Table 122 TPSC Range/limit tab configuration parameters ...................................................................................... 451
Table 123 TPSC Tuning tab configuration parameters ............................................................................................. 453
Table 124 TPSC Accutune tab configuration parameters .......................................................................................... 454
Table 125 TPSC Alarms tab configuration parameters ............................................................................................. 456
Table 126 TPSC Motor tab configuration parameters ............................................................................................... 458
Table 127 TRND block configuration parameters .................................................................................................... 462
Table 128 Up/down configuration parameters ......................................................................................................... 467
Table 129 VLIM Configuration Parameters ............................................................................................................. 469
Table 130 XFR switch configuration data ................................................................................................................ 478
Revision 19 HC900 Process Control Designer Function Block Reference Guide xiii
June 2015
Figures
Figure 1 ABS function block example ....................................................................................................................... 15
Figure 2 ADD function block example....................................................................................................................... 16
Figure 3 4ADD function block example..................................................................................................................... 17
Figure 4 AGA8DL function block example ............................................................................................................... 26
Figure 5 AGA8GS function block example ............................................................................................................... 33
Figure 6 AGA3O function block example .................................................................................................................. 38
Figure 7 AGA7TM function block example ............................................................................................................... 42
Figure 8 AGA9UM function block example .............................................................................................................. 46
Figure 9 AI function block example ........................................................................................................................... 53
Figure 10 ALM function block example .................................................................................................................... 63
Figure 11 ALMGR Function Block Example .............................................................................................................. 65
Figure 12 ALT function block example ..................................................................................................................... 74
Figure 13 AMB function block example .................................................................................................................... 81
Figure 14 2AND function block example................................................................................................................... 83
Figure 15 4ALM function block example ................................................................................................................... 85
Figure 16 4AND function block example................................................................................................................... 87
Figure 17 8AND function block example................................................................................................................... 89
Figure 18 AO function block example ....................................................................................................................... 92
Figure 19 BCD function block example ................................................................................................................... 102
Figure 20 BOOL function block example ................................................................................................................ 105
Figure 21 CALEVT function block example............................................................................................................ 113
Figure 22 CARB function block examples ............................................................................................................... 133
Figure 23 CAVG function block example ................................................................................................................ 136
Figure 24 CMPR function block example ................................................................................................................ 137
Figure 25 DC function block example ...................................................................................................................... 142
Figure 26 DCMP function block example ................................................................................................................ 145
Figure 27 DDEC function block example ................................................................................................................ 147
Figure 28 DENC function block example ................................................................................................................ 149
Figure 29 DEWP function block example ................................................................................................................ 152
Figure 30 Digital input function block example ....................................................................................................... 155
Figure 31 8Point DI function block example ............................................................................................................ 162
Figure 32 DIV function block example .................................................................................................................... 164
Figure 33 DO function block example ..................................................................................................................... 169
Figure 34 8 Point DO function block example ......................................................................................................... 176
Figure 35 DSW function block example .................................................................................................................. 177
Figure 36 ENTH function block example.................................................................................................................. 179
Figure 37 FGEN function block example ................................................................................................................. 183
Figure 38 FI function block example ........................................................................................................................ 187
Figure 39 FSS function block example..................................................................................................................... 196
Figure 40 HLLM function block example ................................................................................................................ 200
Figure 41 HMON function block example ............................................................................................................... 202
Figure 42 HOA function block example................................................................................................................... 207
Figure 43 HSEL Function Block Example ............................................................................................................... 209
Figure 44 LDLG function block example................................................................................................................. 212
Figure 45 LMON function block example................................................................................................................ 214
Figure 46 LPSW function block example................................................................................................................. 216
Figure 47 LSEL function block example .................................................................................................................. 217
Figure 48 LTCH function block example ................................................................................................................. 219
Figure 49 MATH function block example................................................................................................................ 223
Figure 50 MBR function block example .................................................................................................................. 227
Figure 51 MBS function block example ................................................................................................................... 237
Figure 52 MBW function block example ................................................................................................................. 241
Revision 19 HC900 Process Control Designer Function Block Reference Guide xiv
June 2015
Table of Contents
Figures
xvi HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Introduction
Overview
Purpose of this section
This Reference Guide presents detailed reference data for each function block. The reference data is
organized in alphabetical order by the Function Block type identification label.
There is a list of Function Blocks grouped in categories as they appear on the Process Control Designer.
The presented data covers each control blocks
• function,
• inputs/outputs,
• point name,
• configuration parameters
• index numbers (used for reading [RCON] and writing [WCON] block parameter constants)
ATTENTION
Select the index number of the required parameter from the specific function block reference
data and enter it in the appropriate field in the “Read Constant Properties” (RCON) or “Write
Constant Properties” (WCON) dialog box.
• technical reference
• examples
Of course, data varies based on what is pertinent for each function block since they do not all have a point
name or configuration parameters and do not all require technical reference information.
Reader assumptions
It is assumed that you are familiar with the operation of the HC900 Process Control Designer and its help
or its manual, HC900 Process Control Designer User's Guide (51-52-25-110).
Block Order
Block Order is the order in which function blocks are executed in the control strategy. By default, Block
Order is based on the Block Number, that is, lower block numbers are executed first. For example, the first
block you add to a new configuration has block number 101 and block order 1. The second block is block
number 102 and block order 2, and so on. Block numbers are assigned in the sequence that they are
programmed. Block numbers: from 101 to 500(CPU C30), 101 to 2100(CPU C50), 101 to 5100 (CPU
C70/C75). If there is a gap in block numbers—such as after blocks have been deleted—all remaining
blocks are executed from lowest to highest.
You can override the default block execution order specified by the Block Numbers and change the
execution order of a block or multiple blocks.
To change block order, right-click on a Function Block and select Execution Order. Select and drag blocks
up or down the list and put them in the order that suits your control strategy.
To change the execution order individually, double-click on the top area of the function block that
identifies the block type and number. A dialog will appear to allow changing the execution sequence of the
block. Keep in mind that changing the order number of a single block will also change the order numbers
of other blocks.
Parameter Tables
Parameter tables accompany the dialog box graphic and describe the parameters and the value or selection
available for the active fields.
IO Blocks
AI Analog Input
AO Analog Output
DI Digital Inputs
DO Digital Output
FI Frequency Input
PI Pulse Input
QDT Quadrature
Loop Blocks
PID PID
SP Program
SPP Programmer
SYNC Synchronize
Setpoint Scheduler
Logic
2OR 2 – Input OR
4OR 4 - Input OR
8OR 8 – Input OR
XOR Exclusive OR
NOT NOT
TRIG Trigger
LTCH Latch
PB Pushbutton
SEQ Sequencer
Counters/Timers
UPDN Up/Down
Math
SUB Subtraction
MUL Multiplier
MATH MATH
Calculations
MMA Min/Max/Avg
NEG Negate
DEWP Dewpoint
TOT Totalizer
Alarm Monitor
Signal Selector
SW Analog Switch
Auxiliary
LDLG Lead/Lag
STG Stage
RAMP RAMP
ALT Alternator
DC Device Control
Communications
HVAC
RH Relative Humidity
AI Analog Input
ALT Alternator
AO Analog Output
4OR 4 - Input OR
8OR 8 – Input OR
DC Device Control
DEWP Dewpoint
DI Digital Inputs 2
DO Digital Output
FI Frequency Input
LDLG Lead/Lag
LTCH Latch
MATH MATH
MMA Min/Max/Avg
MUL Multiplier
NEG Negate
NOT NOT
ON ON/OFF
2OR 2 – Input OR
PB Pushbutton
PI Pulse Input
PID PID
QDT Quadrature
RAMP RAMP
RH Relative Humidity
SEQ Sequencer
STG Stage
SUB Subtraction
SW Analog Switch
SYNC Synchronize
TOT Totalizer
TRIG Trigger
UPDN Up/Down
XOR Exclusive OR
Function
Calculate the absolute value of a single analog variable input. Useful for ensuring a positive output value.
• OUT = [ X]
Input
X = Analog value to be modified.
Output
OUT = modified value.
continued
ABS example
Figure 1 shows a Function Block Diagram configuration using an ABS function block to calculate the
absolute value of the deviation between two analog inputs.
Function
Add two inputs (X, Y) to get an output.
• OUT = X + Y
Input
X = First Analog Input
Y = Second Analog Input
Output
OUT = Sum of analog values
ADD example
Figure 2 shows a Function Block Diagram using an ADD function block to find the total flow rate as the
sum of Flow 1 and Flow 2.
ATTENTION
th
All 4 inputs must be connected or unused inputs inverted. If only 3 inputs are used, the 4
value should be inverted or connected to a constant value of 1.0.
Output
OUT = Sum of the analog values
4ADD example
Figure 3 shows a Function Block diagram using a 4ADD function block to find the total Flow rate as the
sum of Flow 1, Flow 2, Flow 3, and Flow 4.
METER BLOCK
CONNECT
Used when accurate gas analysis is available either via an on-line gas analyzer or from laboratory
measurements. The Detail method can handle up to 21 gas components typically found in natural gas. If
this information is available, the Detail method is preferable, as accurate results are obtainable over a wider
range of conditions than the Gross method.
Inputs
TF = Temperature at flow in units selected by the UNITS configuration parameter.
PF = Pressure at flow in units selected by the UNITS configuration parameter.
HW = Differential pressure in the units selected by the UNITS configuration parameter.
(Only required if the meter block is AGA3.)
METH = Methane Mole Fraction
NITRO = Nitrogen Mole Fraction
CO2 = Carbon Dioxide Mole Fraction
ETH = Ethane Mole Fraction
PROP = Propane Mole Fraction
H2O = Water Mole Fraction
H2S = Hydrogen Sulfide Mole Fraction
HYDRO = Hydrogen Mole Fraction
CO = Carbon Monoxide Mole Fraction
OXYGEN = Oxygen Mole Fraction
I-BUT = i-Butune Mole Fraction
N-BUT = n-Butane Mole Fraction
I-PENT = i-Pentane Mole Fraction
N-PENT = n-Pentane Mole Fraction
HEX = Hexane Mole Fraction
HEPT = Heptane Mole Fraction
OCT = Octane Mole Fraction
NON = Nonane Mole Fraction
DEC = Decane Mole Fraction
HEL = Helium Mole Fraction
ARG = Argon Mole Fraction
Outputs
RHOTP = Density at flow temperature and pressure conditions in units selected by the UNITS
configuration parameter.
RHOB = Density at base conditions in units selected by the UNITS configuration parameter.
RHOS = Density at standard conditions in units selected by the UNITS configuration parameter.
FPVS = Super-compressibility factor
GRS = Real Gas relative density at 60 deg F/14.73 PSI
GRS = (Mgas*Zair)/(Mair*Zgas)
where Zair = .9995844 and Mair = 28.96256
HV = Heating Value in units selected by the UNITS configuration parameter.
ERR = Set when calculation status is indicating an error condition.
WARN = Set when calculation status is indicating a warning condition -
STATUS = a status number is placed on this pin which can be used to find the error in the error/warning
lookup table (See Table 5 AGA Error Codes). This enables the user to connect the pin to comparator
blocks to distinguish various error/warning conditions in the function block configuration.
METER BLK CONNECT = Must be connected to the companion meter block. This output connection
provides multiple data for input to its associated meter function block, (AGA 3, 7, or 9), reducing the need
to make multiple connections to complete the configuration.
Execution Order of this block must be set to be less than meter block (AGA3, 7, or 9) Execution Order
for correct calculation sequence.
Configuration parameters
The AGA8DL properties dialog box is divided into two tab cards
GENERAL
AGA8 - Detail
Click on the tab to access the properties for that tab.
GENERAL tab
Block Block Order Execution Order for Block Read Only. To change
Execution Order of this block block order, right-click on
must be set to be less than a Function Block and
meter block (AGA3, 7, or 9) select Execution Order.
Execution Order for correct
calculation sequence.
Tag Name N/A 16-character tag name
Flowing Pressure Use Gauge Sets whether pressure Click on Radio Button to select.
Measurement Pressure measurements are absolute Ensure that units and gauge
or gauge pressure. If you pressure settings are
are using gauge pressure, consistent with the meter
a value of atmospheric block.
pressure is required in the
Atmospheric pressure units chosen. Enter an Atmospheric pressure
Pressure value in units selected by the
UNITS configuration parameter
Gas Analysis Override Under certain situations, Check this box to Override the
Expanded the gas component values expanded Range Error
Range Error may exceed the expanded
range recommended by the
AGA 8 Report. Setting this
checkbox will override the
expanded range error so
that a flow rate will be
calculated. It should be
noted that calculated flow
rates for conditions where
the expanded range is
exceeded are outside of the
recommended uncertainty
values for AGA 8
calculations.
Use Remote If using this setting, the gas Check this box to use the
Gas component parameter pins block’s input pin values from an
Component X [1..21] are always online analyzer.
Values visible whether or not Uncheck this box to use Local
this is selected. Unused Gas Component Values.
pins can be left floating,
since an unconnected
pin is always read as 0.
Note that the analyzer
values must be normalized
to ensure the gas
component sum is equal to
1.0.
Local Gas METH Each of the 21 gas < 1.0 and >= 0.0
Component NITRO component fractions can be
Values configured with either a The sum of the gas components
CO2
constant fraction value should equal 1. HCDesigner will
ETH
derived from a lab report or show the sum of the gas
PROP
from an on-line gas components to aid the user.
H2O
H2S chromatograph.
HYDRO
CO
OXYGEN
I-BUT
N-BUT
I-PENT
N-PENT
HEX
HEPT
OCT
NON
DEC
HEL
ARG
Error Codes
The AGA function blocks have a status pin that outputs a number that indicates the status of the block. This
pin can be connected to comparator blocks to distinguish various error/warning conditions in the function
block configuration.
14 AGA 8 - GROSS Error HEATING VALUE (HV) < 477.0 OR > 1211.0 BTU/FT^3
15 AGA 8 - GROSS Error GAS RELATIVE DENSITY (GRGR) < 0.55 OR > 0.870
16 AGA 8 - GROSS Error MOLE FRACTION FOR N2 < 0.0 OR > 0.50
OR FOR CO2 < 0.0 OR > 0.30
OR FOR H2 < 0.0 OR > 0.10
OR FOR CO < 0.0 OR > 0.03
17 AGA 8 - GROSS Error REFERENCE TEMPERATURE < 32.0 OR > 77.O DEG F
18 AGA 8 - GROSS Error REFERENCE PRESSURE < 13.0 OR > 16.0 PSIA
22 AGA 8 - GROSS Warning FLOWING PRESSURE (PF) <=0.0 OR > 1200.0 PSIA
23 AGA 8 - GROSS Warning FLOWING TEMPERATURE (TF) < 32.0 OR > 130.0 DEG F
24 AGA 8 - GROSS Warning HEATING VALUE (HV) < 805.0 OR > 1208.0 BTU/FT^3
25 AGA 8 - GROSS Warning GAS RELATIVE DENSITY (GRGR) < 0.55 OR > 0.800
26 AGA 8 - GROSS Warning MOLE FRACTION FOR N2 < 0.0 OR > 0.20
OR FOR CO2 < 0.0 OR > 0.20
OR FOR H2 < 0.0 OR > 0.0
OR FOR CO < 0.0 OR > 0.0
32 AGA 8 - DETAIL Error FLOWING PRESSURE (PF) < 0.0 OR > 40,000. PSIA
33 AGA 8 - DETAIL Error FLOWING TEMPERATURE (TF) < -200 OR > 760 DEG F
36 AGA 8 - DETAIL Error MOLE FRACTION FOR METHANE < 0.0 OR > 1.0
FOR NITROGEN < 0.0 OR > 1.0
FOR CARBON DIOXIDE < 0.0 OR > 1.0
FOR ETHANE < 0.0 OR > 1.0
FOR PROPANE < 0.0 OR > 0.12
FOR WATER < 0.0 OR > 0.10
FOR H2S < 0.0 OR > 1.0
FOR HYDROGEN < 0.0 OR > 1.0
FOR CARBON MONOXIDE < 0.0 OR > 0.03
FOR OXYGEN < 0.0 OR > 0.21
FOR BUTANES < 0.0 OR > 0.06
FOR PENTANES < 0.0 OR > 0.04
FOR HEXANES + < 0.0 OR > 0.10
FOR HELIUM < 0.0 OR > 0.03
FOR ARGON < 0.0 OR > 1.0
37 AGA 8 - DETAIL Error REFERENCE TEMPERATURE < 32.0 OR > 77.0 DEG F
38 AGA 8 - DETAIL Error REFERENCE PRESSURE < 13.0 OR > 16.0 PSIA
39 AGA 8 - DETAIL Error SUM OF MOLE FRACTIONS < 0.98 OR > 1.020
42 AGA 8 - DETAIL Warning FLOWING PRESSURE (PF) < 0.0 OR > 1750. PSIA
43 AGA 8 - DETAIL Warning FLOWING TEMPERATURE (TF) < 17 OR > 143 DEG F
46 AGA 8 - DETAIL Warning MOLE FRACTION FOR METHANE < 0.45 OR > 1.0
FOR NITROGEN < 0.0 OR > 0.5
FOR CARBON DIOXIDE < 0.0 OR > 0.3
FOR ETHANE < 0.0 OR > 0.1
FOR PROPANE < 0.0 OR > 0.04
FOR WATER < 0.0 OR > 0.0005
FOR H2S < 0.0 OR > 0.0002
FOR HYDROGEN < 0.0 OR > 0.1
FOR CARBON MONOXIDE < 0.0 OR > 0.03
FOR OXYGEN < 0.0 OR > 0.0
FOR BUTANES < 0.0 OR > 0.01
FOR PENTANES < 0.0 OR > 0.003
FOR HEXANES + < 0.0 OR > 0.002
FOR HELIUM < 0.0 OR > 0.002
FOR ARGON < 0.0 OR > 0.0
49 AGA 8 - DETAIL Warning SUM OF MOLE FRACTIONS < 0.9999 OR > 1.0001
52 AGA 3 - ORIFICE Error FLOWING PRESSURE WAS <= 0.0 OR > 40000. PSIA
53 AGA 3 - ORIFICE Error FLOWING TEMPERATURE < -200. OR > 760. DEG F
55 AGA 3 - ORIFICE Error ORIFICE DIAMETER WAS >= 100.0 INCHES
56 AGA 3 - ORIFICE Error PIPE DIAMETER WAS >= 100.0 INCHES
57 AGA 3 - ORIFICE Error FLOWING OR STANDARD DENSITY WAS <= 0.0
LBM/FT^3
58 AGA 3 - ORIFICE Error DIFFERENTIAL PRESSURE WAS <= 0.0 INCHES H2O
65 AGA 3 – ORIFICE Error SUPERCOMPRESSIBILITY FACTOR WAS <= 0.0
66 AGA 3 – ORIFICE Error RELATIVE DENSITY AT STANDARD CONDITIONS WAS <
0.07 OR > 1.52
68 AGA 3 – ORIFICE Error COMPRESSIBILITY FACTOR AT STANDARD
CONDITIONS <= 0.0
69 AGA 3 – ORIFICE Error BETA RATIO (DO/DM) <= 0.0 OR => 1.0
75 AGA 3 – ORIFICE Warning ORIFICE DIAMETER WAS < = 0.45 INCHES
76 AGA 3 – ORIFICE Warning PIPE DIAMETER WAS <= 2.0 INCHES
77 GENERAL Error ERROR INVALID COMPANION BLOCK
CONFIG INTERCONNECTION
78 GENERAL Error METER/COMPRESSIBLITY BLOCK UNITS ARE
CONFIG INCONSISTENT
79 AGA 3 - ORIFICE Warning BETA RATIO (DO/DM) WAS < 0.1 OR > 0.75
99 GENERAL N/A Block is disabled – process value outputs are set to 0 and
OPERATION error/warning pins are turned off.
Example
METER BLK
CONNECT
Inputs
TF = Temperature at flow in units selected by the UNITS configuration parameter.
PF = Pressure at flow in units selected by the UNITS configuration parameter.
HW = Differential pressure in the units selected by the UNITS configuration parameter. (Only required if
the meter block is AGA3.)
CO2 = Carbon Dioxide Mole Fraction
HYD = Hydrogen Mole Fraction
CO = Carbon Monoxide Mole Fraction
NITRGN = Nitrogen Mole Fraction (Method 2 only)
Outputs
RHOTP = Density at flow temperature and pressure conditions in units selected by the UNITS
configuration parameter.
RHOB = Density at base conditions in units selected by the UNITS configuration parameter.
RHOS = Density at standard conditions in units selected by the UNITS configuration parameter.
FPVS = Super-compressibility factor
GRS = Real Gas relative density at 60 deg F/14.73 PSI
GRS = (Mgas*Zair)/(Mair*Zgas)
where Zair = .9995844 and Mair = 28.96256
HV = Heating Value in units selected by the UNITS configuration parameter.
ERR = Set when calculation status is indicating an error condition. Errors indicate a fatal condition. The
output values in this case will be set to 0 and the error pin turned on until configuration is corrected or
operating conditions return to normal.
WARN = Set when calculation status is indicating a warning condition - Warnings indicate that the
configured or running conditions are outside of the tolerance for the AGA calculations being performed.
Values will still be calculated but should be viewed as out of tolerance
STATUS = a status number is placed on this pin which can be used to find the error in the error/warning
lookup table. (See Table 5 AGA Error Codes) This enables the user to connect the pin to comparator
blocks to distinguish various error/warning conditions in the function block configuration.
METER BLK CONNECT = Must be connected to the companion meter block. This output connection
provides multiple data for input to its associated meter function block, (AGA 3, 7, or 9), reducing the need
to make multiple connections to complete the configuration.
Execution Order of this block must be set to be less than meter block (AGA3, 7, or 9) Execution Order
for correct calculation sequence.
Configuration parameters
The AGA8GS properties dialog box is divided into two tab cards
GENERAL
AGA8 - Gross
Click on the tab to access the properties for that tab.
GENERAL tab
Block Block Order Execution Order for Block Read Only. To change
Execution Order of this block block order, right-click on
must be set to be less than a Function Block and
meter block (AGA3, 7, or 9) select Execution Order.
Execution Order for correct
calculation sequence.
Tag Name N/A 16-character tag name
Setup for Gas Relative Gas Relative Density Enter a positive number >0
Method 1 & 2 Density
Example
Configuration parameters
The AGA3O properties dialog box is divided into two tab cards
AGA3-Orifice
Flow Rates
Click on the tab to access the properties for that tab.
AGA3-Orifice tab
QB Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for QB output flow.
QB Multiplier Units Type (see Provides a time period Enter Value
“UNITS” on other than “per hour” or For example, if “per minute” is
Orifice tab) = “per day”. desired, set the unit to “per
US Metric hour” and the multiplier to 1/60.
Default = 1.0.
FT3/hr M3/ hr
Ft3/day M3/day
QM Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for Qm output flow.
QH Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for QH output flow.
QH Multiplier Units Type (see Provides a time period Enter Value
“UNITS” on other than “per hour” or For example, if “per minute” is
Orifice tab) = “per day”. desired, set the unit to “per
US Metric hour” and the multiplier to 1/60.
Default = 1.0.
MBTU/hr MJ/ hr
MBTU/day MJ/ day
Example
Outputs
QV = Corrected volume flow rate at flowing conditions (Tf,Pf) in the units selected by the UNITS
configuration parameter. Output units are "ft3/hr" U.S. and “m3/hr” for metric.
QB = Corrected volume flow rate at Base (or Contract) pressure and temperature in the units selected by
the UNITS configuration parameter. Base or Contract conditions are specified by TB and PB in the
companion compressibility block. Output units are "ft3/hr" U.S. and “m3/hr” for metric.
QM = Mass flow rate in the units selected by the UNITS configuration parameter." Units are lbm/hr for
U.S. and kg/hr for metric.
QH = Energy flow rate in the units selected by the UNITS. Units are MBTU/hr for U.S. and MJ/hr for
metric.
ERR = Set when calculation status is indicating an error condition. Errors indicate a fatal condition. The
output values in this case will be set to 0 and the error pin turned on until configuration is corrected or
operating conditions return to normal.
STATUS = a status number is placed on this pin which can be used to find the error in the error/warning
lookup table (See Table 5 AGA Error Codes). This enables the user to connect the pin to comparator
blocks to distinguish various error/warning conditions in the function block configuration.
Execution Order of this block must be set to be greater than the Gas Compressibility block (AGA8GS, or
AGA8DL) Execution Order for correct calculation sequence. Right click on block to change execution
order.
Configuration parameters
The AGA7TM properties dialog box is divided into two tab cards
AGA7-Turbine
Flow Rates
Click on the tab to access the properties for that tab.
AGA7-Turbine tab
QV Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for QV output flow.
QB Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for QB output flow.
QB Multiplier Units Type (see Provides a time period Enter Value
“UNITS” on other than “per hour” or For example, if “per minute” is
Turbine tab) = “per day”. desired, set the unit to “per
US Metric hour” and the multiplier to 1/60.
Default = 1.0.
FT3/hr M3/ hr
Ft3/day M3/day
QM Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for Qm output flow.
QM Multiplier Units Type (see Provides a time period Enter Value
“UNITS” on other than “per hour” or For example, if “per minute” is
Turbine tab) = “per day”. desired, set the unit to “per
US Metric hour” and the multiplier to 1/60.
Default = 1.0.
lbm/hr Kg/hr
lbm/day Kg/day
QH Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for QH output flow.
Example
Outputs
QV = Corrected volume flow rate at flowing conditions (Tf,Pf) in the units selected by the UNITS
configuration parameter. Output units are "ft3/hr" U.S. and “m3/hr” for metric.
QB = Corrected volume flow rate at Base (or Contract) pressure and temperature in the units selected by
the UNITS configuration parameter. Base or Contract conditions are specified by TB and PB in the
companion compressibility block. Output units are "ft3/hr" U.S. and “m3/hr” for metric.
QM = Mass flow rate in the units selected by the UNITS configuration parameter." Units are lbm/hr for
U.S. and kg/hr for metric.
QH = Energy flow rate in the units selected by the UNITS. Units are MBTU/hr for U.S. and
MJ/hr for metric.
ERR = Set when calculation status is indicating an error condition. Errors indicate a fatal condition. The
output values in this case will be set to 0 and the error pin turned on until configuration is corrected or
operating conditions return to normal.
STATUS = a status number is placed on this pin which can be used to find the error in the error/warning
lookup table (See Table 5 AGA Error Codes). This enables the user to connect the pin to comparator
blocks to distinguish various error/warning conditions in the function block configuration.
Execution Order of this block must be set to be greater than the Gas Compressibility block (AGA8GS, or
AGA8DL) Execution Order for correct calculation sequence. Right click on block to change execution
order.
Configuration parameters
The AGA9UM properties dialog box is divided into two tab cards
AGA9UM-Ultrasonic
Flow Rates
Click on the tab to access the properties for that tab.
AGA9-Ultrasonic tab
QB Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for QB output flow.
QB Multiplier Units Type (see Provides a time period Enter Value
“UNITS” on other than “per hour” or For example, if “per minute” is
Ultrasonic tab) = “per day”. desired, set the unit to “per
US Metric hour” and the multiplier to 1/60.
Default = 1.0.
FT3/hr M3/ hr
Ft3/day M3/day
QM Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for Qm output flow.
QM Multiplier Units Type (see Provides a time period Enter Value
“UNITS” on other than “per hour” or For example, if “per minute” is
Ultrasonic tab) = “per day” desired, set the unit to “per
US Metric hour” and the multiplier to 1/60.
Default = 1.0.
lbm/hr Kg/hr
lbm/day Kg/day
QH Flow Rate Per Hour Defines the rate of time Click Radio Button to select.
Per Day for QH output flow.
Example
AI Function Block
Description
The AI label stands for Analog Input.
ATTENTION
The failsafe detection on this input block configured for 4-20mA range is:
Low Detection: 2.4mA
High Detection: 21.6mA
Outside of the range the flag (Input Fail) is ON. There is no detection from 0 to 4 mA, but the
block continues to provide data that can be compared via an Alarm Block, for example.
Input
Analog value from specified real I/O address.
DIS = disable the AI channel
Output
OUT = Analog Input value in engineering units.
WARN = Warning Input Indication - Sensor failure possibility. If AI input wiring or sensor exceeds
100 ohms of resistance, the WARNing pin will energize.
FAIL = Digital status of channel
Digital Low (0) = OK
Digital High (1) = Open sensor or failed input channel.
Configuration parameters
Failsafe rules
If the controller is unable to access the physical channel or the sensor is faulty, and:
Example
Figure 9 shows a Function Block Diagram configuration using an AI function block.
AI used for work temperature monitoring. Tag descriptors are used to identify
the input. A digital tag connected to the fail output can alarm on an open
sensor.
Function
Reads values of Analog Inputs from specified real I/O addresses. Converts analog input value
to corresponding output (OUT) in engineering units based on the necessary scaling and
conversions performed.
Input Type = LINEAR - converts analog input value to corresponding output in units based on a
linear 0 to 100% scale and specified high and low range values.
OUT = Scale x Input value + Bias
where:
Scale = High Range Value - Low range value
100
Input value = Analog Value in percent
Input Type = T/C or RTD - converts analog input value in engineering units using the range of
Input Type
AI-V differs from AI in that multiple inputs (up to 3) may be specified, and the values of the inputs
(whose channel has not failed) must match for the input value to be considered good overall.
Otherwise the FAIL pin becomes ON and the Fail-safe value is used as output instead of any
input value. If there is only one input used, then the state of the single channel determines the
state of the FAIL pin.
If none of the inputs are used (i.e. all three are not enabled by user), the function block will
behave the same as when the DIS (Disable) pin is ON.
Please refer to the descriptions of the DIS, FAIL, SFAIL, and VFAIL pins below to get a good
understanding of the block behavior.
NOTE: For calibration of AI channel, please follow following steps:
1. Create a configuration using AI-V function block and configure the addresses of input channels
to be used.
2. Download the configuration to controller.
3. Now follow the steps given "Calibrate AI Channel " section for each AI channel selected in the
above configuration.
Input
Analog value(s) from specified real I/O address(s).
DIS = Disable Signal:
DIS pin = ON:
Results in disabling of the AI channels. Output of the block in this case is the Fail-safe value. All
output pins (FAIL, SFAIL and VFAIL) pins becomes OFF.
DIS pin = OFF:
Results in normal operation i.e. it enables the function block.
All output pins (FAIL, SFAIL and VFAIL) pins behave as expected for a normal operation (as
described below).
DIS pin = Open:
Results in normal operation i.e. it enables the function block.
All output pins (FAIL, SFAIL and VFAIL) pins behave as expected for a normal operation (as
described below).
Output
OUT = Analog Input value in engineering units.
FAIL = Failed – If ON, indicates that the block output is set to Fail-safe. Possible cause for this is:
In the case where three inputs are used:
One input has a failed channel and the good channels have a validation failure.
OR
All three inputs have failed channels.
In the case where two inputs are used:
Two inputs have good channels and a validation failure.
OR
Both inputs have failed channels.
SFAIL = Source Failure – If ON, indicates a failure of one or more of the analog channel(s).
Possible cause for this is:
Power failure
One of the AI channels failed
VFAIL = Validation Failure – If ON, indicates that the values of the “good” channels disagree.
Block properties
Double click on the function block to access the function block properties dialog box
Configuration parameters
Analog Input Voting configuration parameters
Properties Parameter Index # Parameter Description Value or Selection
Group
I/O Module (for N/A Address of selected I/O module (must Enter a value: from 1
each Input) match model selection guide) to 12
Channel (for each N/A Channel on selected I/O Module Enter a value: 1 to 16,
Input) depending on module
type.
Input Type and N/A Thermocouple,RTD, Linear Input types Click on the "Input
Range or Special Input Types - Carbon or Type and Range"
Oxygen group button and
Input Type and select an input from
Range list box.
High Range Value N/A For Linear Inputs Only - output value Enter a value:
that corresponds to 100 % input value
± 99999 to ± 99999
For example: Actuation Input = 4-20mA
Low Range Value N/A For Linear Inputs Only - output value Enter a value:
that corresponds to 0 % input value
± 99999 to ± 99999
For example: See "High Range Value"
Disable Output Value 13 The output value when the AI channel Enter a value
Channel is disabled. Disable = ON
Default = 0
Filter Time (sec) 7 A software digital filter is provided for Enter a value:
the input designated to smooth the
input. You can configure the first order 0 to 120 seconds
lag time constant from 1 to 120
seconds.
Settings
0=no filter
Use Value field N/A The output value to which the output Enter a value in
will go to protect against the effects of Engineering Units
failure of the equipment, such as, fuel
shut-off if there is loss of flame in a ±9999 to ±99999
furnace, or a sensor break.
Use Value N/A Use the value entered in the Click on Radio button
appropriate field. to select
T/C or RTD
Example
Figure 01 below shows a function block diagram using an AI-V function block. The AI-V block
reads in analog input values from real I/O addresses, and then passes the calculated value to the
PID block, for it to control the value, to be then output to real I/O addresses by the AO block. The
source fail (SFAIL) and validation fail (VFAIL) pins are also used for monitoring the statuses.
Function
The analog alarm block accepts an analog signal as a process variable and compares it to a limit value
(setpoint) to determine an alarm condition. The setpoint may be entered by the user or be another analog
signal in the controller.
Alarm actions may be high, low or high deviation, low deviation or band deviation. For deviation alarming,
a second analog signal provides the reference and setpoints represent deviation from the reference.
The alarm output may be inverted to create normally active digital output. A user selection for latching
until acknowledged or automatically reset is provided.
A user-specified hysteresis value in the engineering units of the process variable is provided.
An on-delay time value up to 240 seconds is available to prevent momentary alarm actions. A digital reset
input is available to disable alarm actions.
Inputs
PV = Process Variable
CV = Compare Value
RSP = Remote Setpoint
DISABLE = On disables alarm action.
Output
OUT = Output
Block properties
ATTENTION
Local Setpoint is set in the Process Control Designer unless “Use RSP Input” is enabled. Use
an Analog Variable connected to one RSP input (use RSP Input Enabled) if you want to
change alarm setpoint at the operator interface via the Variable Edit Display.
Block Order N/A Execution Order for Block Read Only. To change block order,
right-click on a Function Block and
select Execution Order.
Output Latch 3 ON latches the alarm output until Click on Box to select.
acknowledged.
To acknowledge an alarm, it must
be tagged and entered into an
alarm group. This will provide for
the acknowledgment from the
operator interface.
Examples
Figure 10/Example 1 shows an ALM function block being used for Band Deviation Alarm—a control loop
process variable is compared to the loops working setpoint. A variable is used as the setpoint value to allow
periodic changes. (RSP enabled). The Output contains a tag identification that will be used to identify the
alarm state.
Example 2 shows an ALM function block being used to alarm on PV>SP.
EXAMPLE 1
EXAMPLE 2
Function
The Alarm Group Function Block allows you to tie alarm groups into the Control Strategy particularly
when you do not have an Operator Interface. It provides remote acknowledgement of all alarms in the
group.
This block is always stored in the reserved block area (40 thru 59), are always in the configuration whether
visible in the FBD or not, and all outputs of the block are updates every alarm scan.
Input
ACK = acknowledges all alarms in group (rising edge). Clears UNACK.
Output
UNACK = ON when any of the alarms in the group have not been acknowledged.
ACTIV = ON when any of the alarms in the group are active.
Example
Function
The Alternator (ALT) function block is typically used to alternate the starting sequence of a group of
pumps, valves, filters, etc. Each block accepts up to 16 inputs and controls up to 16 outputs.
There are four unique alternation styles used to control the output starting sequence so that you can limit
the amount of repeat or continuous usage of a single device (pumps, valves, etc.). If an output device fails,
or has been disabled, then an alternate device will be used in order to meet the requested demand. You may
specify the alternators active outputs and the order in which the outputs are manipulated.
Each configuration is limited to a maximum of 6 Alternator function blocks.
Inputs
IN1 – IN 16 =. Sixteen digital inputs for requesting an output device. Unconnected pins default to OFF.
DSBL = determines the status of the block:
OFF = Status of block is RUN
- function blocks process normally
- inputs and outputs reevaluated based on current states and style settings
- the STI output pin is set to ON
Outputs
OUT1 – OUT16 =. Sixteen digital outputs, which turn ON and OFF based on the input demand
[IN1-16]. Outputs can be manually disabled by way of the Outputs tab in the block properties.
Outputs can be programmatically disabled by the use of the "DRDYS" input pin.
ODIS = ON when any one of the outputs (OUT) is manually disabled, otherwise OFF
IDIS = ON when any one of the inputs (IN) is manually disabled, otherwise OFF
STI = ON when the block state is RUN; OFF when the block state is OFF.
Configurable Parameters
The Alternator properties dialog box is divided into four tab cards:
GENERAL
INPUTS
OUTPUTS
SEQUENCE ORDER
GENERAL tab
Style selections
A style is a method used to control the cycling of the 16 outputs. There are four styles from which to
choose: Direct, Rotary (Last ON/First OFF), First ON/First OFF (FOFO), or Fixed (with Advance feature).
This parameter is initially configured here and can be altered from an operator interface.
Important: A style change request does not take effect until all inputs (IN1 - 16) are OFF.
DIRECT Monitors up to 16 inputs and maps them, using the user adjustable map order on the Output
tab, directly to the outputs.
If the Inputs selected are 1, 2, 3, 4, 5, 6 and the Output order mapped is 6, 3, 4, 1, 5, 2; when
Input 3 is activated, Output 4 is enabled; or if Input 1 is activated then Output 6 is enabled.
ROTARY Uses the sum of the 16 inputs that are set to ON to determine the required demand for outputs.
The output order is managed in a Last ON/First OFF basis (LOFO).
If the Inputs selected are 1, 2, 3 and the mapped sequence is 1, 2, 3 the alternator sequence
changes when NO outputs (pumps) are required or there is a request to Advance (see Activate
Advance).
Depending on the capacity required, Outputs 1, 2, 3 come on in order. When the demand falls,
Output 3 goes OFF, then Output 2, then Output 1. When Output 1 turns off, the Rotary
sequence advances and Output 2 starts the next cycle.
If an input pin is set to “not available”, then that output is forced to OFF and the next available
output in the mapping order is turned ON. If the previously bypassed output later becomes
enabled, then it will not be used until the demand increases.
FOFO Uses the sum of the 16 inputs that are set to ON to determine the required demand for outputs.
The output order is managed in a First ON/First OFF basis (FOFO).
If 3 Inputs are ON (no mapping), the Alternator sequence changes (first one in the list moves to
the end of the list) as the inputs turn OFF or, when there is a request for Advance (see Activate
Advance).
If an input pin is set to “not available”, then that output is forced to OFF and the next available
output is turned ON. If the previously bypassed output later becomes enabled, then it will not
be used until the demand increases.
FIXED Uses the sum of the 16 inputs that are set to ON to determine the required demand for outputs.
The output order is managed in a First ON/First OFF basis (FOFO).
If the Inputs selected are 1, 2, 3, 4 and you map a fixed sequence 4, 2, 3, 1 the sequence will
not change unless you select the Advance feature (see Activate Advance).
It takes a direct command (OFF to ON signal) before the output order map rotates to
the 2, 3, 1, 4 sequence.
If an output pin is not available then that output is forced OFF and the next available output in
the mapping order is turned ON. If the previously bypassed output later becomes enabled, then
it will not be used until the demand increases.
Activate advance
Used with all styles except Direct. If you select “Activate Advance” (click on box on General tab to select),
an OFF to ON transition of the ^ADV Input pin will rotate the output order sequence. Make before Break
selection determines how this is done for Rotary and FOFO only.
2 outputs
requested 3 outputs
and one of requestd
initially Advance Advance them is with #3
no outputs 2 outputs occurs and occurs and disabled output still
requested requested MBB* is set BBM** is set (or fails)*** disabled
ON
Delay
Delay
Delay
OFF
OUTPUT 1
ON
ON
OFF
ON
Delay
Delay
Delay
OFF
OUTPUT 2
ON
ON
OFF
ON
Delay
Delay
OFF
OUTPUT 3
ON
OFF
ON
Delay
OUTPUT 4
ON
OFF
Time Delay On-Time 1 Delay time used before turning Range: 0 – 99999 sec
Delay ON the next output in the Default = 0
(seconds) sequence. Used with
“Make/Break” feature Value can be changed
See “ON/OFF Delay Timers” from the Operator
Interface
INPUT tab
Click on the “Enable Input” block to activate that particular Input [1 – 16], deselect to inactivate it.
“Enable” is the default. (Indices 6 thru 21)
OUTPUT tab
Click on the “Enable Output” box to activate that particular Output [1 – 16], deselect to inactivate it.
“Enable” is the default. (Indices 22 thru 27)
Device Ready Enable
Click on the “Use Device Ready [DRDYS] “ box to activate the DRDYS inputs from the Digital Encoder
function block. OFF (deselect) ignores all the DRDYS from the Digital Encoder block and assumes all
device ready values are on. (Index # 54)
Click “OK”.
Example
Figure 12 shows a function block diagram using an ALT function block.
Function
On transfer from Manual to Auto; Bias is calculated to make PV + Bias = Output.
Inputs
PV1 = Process Variable Input (%)
TRV = Output Track Value in percentage (Output = TRV Value when TRC is ON).
TRC = Output Track Command—1 = enable TRV (Mode = Local Override), 0 = disable
MDRQI = External Mode Request (connected to the MDRQO output of a MDSW function block)
encoded as follows:
0.0 = No Change
1.0 = Manual Mode Request
2.0 = Automatic Mode Request
Outputs
OUT = Control Output (–5 % to 105 %)
AL1 = Alarm 1
AL2 = Alarm 2
MODE = Actual Mode encoded as follows: (Connect to Mode Flags block [MDFL] to encode mode
status.)
4.0 LSP AUTO
5.0 LSP MAN
7.0 LSP LO (Local Override)
Configuration parameters
The Auto/Manual Bias properties dialog box is divided into four tab cards
GENERAL
START/RESTART
RANGE/LIMIT
ALARMS
Click on the tab to access the properties for that tab.
GENERAL tab
Start/Restart tab
RANGE/LIMIT tab
ALARMS tab
Example
Figure 13 shows an function block diagram using an AMB function block.
Function
Turns digital output (OUT) ON when inputs X1 and X2 are ON. Thus,
• If all inputs are ON, then: OUT = ON.
• If any input is OFF, then: OUT = OFF.
Input
X1 = First digital signal.
X2 = Second digital signal.
Output
OUT = Digital signal controlled by status of input signals.
Block properties
Input state
You can invert Input 1 or Input 2 or both. If the input is inverted, an input line that is ON is seen as OFF
(“N” on Icon next to inverted input).
Example
Figure 14 shows an AND function block being used to monitor two input signals for an alarm condition.
Function
This block monitors four analog input values (SP1, SP2, SP3, SP4) and performs up to four alarm
comparisons against the PV input. Configurable Alarm types are Disabled, Low, High. The associated
output pins, AL1 through AL4, will turn ON if the configured HIGH or LOW alarm condition is present.
The individual hysteresis settings for each alarm are used to prevent output cycling.
Inputs
PV = Process variable
SP1 = Analog value
SP2 = Analog value
SP3 = Analog value
SP4 = Analog value
Outputs
AL1 = Alarm output
AL2 = Alarm output
AL3 = Alarm output
AL4 = Alarm output
Configurable parameters
Parameter Index # Parameter Description Value or Selection
Block Order N/A Execution Order for Block Read Only. To change
block order, right-click on
a Function Block and
select Execution Order.
Tag Name n/a 16-character tag name
Descriptor n/a Block description
Alarm type 0-3 Alarm type Disabled, Low, High
Hysteresis 4-7 Adjustable overlap of the on/off 0 to the span of the input
states of the output. in engineering units.
Example
Use the Four Alarm function block to configure up to four alarm setpoints (Low/Low, Low -- High,
High/High) for a single input signal.
Function
Turns digital output (OUT) ON when inputs X1 through X4 are ON. Thus,
• If all inputs are ON, then: OUT = ON.
• If any input is OFF, then: OUT = OFF.
Input
X1 = First digital signal
X2 = Second digital signal
X3 = Third digital signal
X4 = Fourth digital signal
ATTENTION
Output
OUT = Digital signal controlled by status of input signals
Block properties
Double click on the function block to access the function block properties dialog box.
Input state
You can invert Input 1, 2, 3, 4, or all. If the input is inverted, an input line that is ON is seen as OFF (“N”
on Icon next to inverted input).
ATTENTION
Example
Figure 16 shows a Function Block Diagram configuration using a 4AND function block. The function
block is being used to monitor 3 input signals for an alarm condition. Note unused input is terminated.
Function
Turns digital output (OUT) ON when inputs X1 through X8 are ON. Thus,
• If all inputs are ON, then: OUT = ON.
• If any input is OFF, then: OUT = OFF.
Input
X1 = First digital signal
X2 = Second digital signal
X3 = Third digital signal
X4 = Fourth digital signal
X5 = Fifth digital signal
X6 = Sixth digital signal
X7 = Seventh digital signal
X8 = Eighth digital signal
ATTENTION
Output
OUT = Digital signal controlled by status of input signals.
Block properties
Double click on the function block to access the function block properties dialog box.
Input state
You can invert Input 1, 2, 3, 4, 5, 6, 7, 8 or all. If the input is inverted, an input line that is ON is seen as
OFF (“N” on diagram next to inverted input).
ATTENTION
Unused values must be set to 1 or inverted.
Example
Figure 17 shows a Function Block Diagram configuration using a 8AND function block. The function
block is used in a startup sequence to enable heaters when 6 input conditions are true.
AO Function Block
Description
The AO label stands for a milliamp Analog Output.
Function
Range High and Range Low are used to specify the Engineering Unit values for 100 % and 0 % of this
block’s input span. For reverse outputs, Range High may be set to a value less than Range Low.
The output range high and range low values (0-20 maximum) set the milliamp output values that
correspond to the 0 % to 100 % span limits of the inputs.
Input
IN = Analog value
Output
OUT = Converted value sent to specified real I/O address.
FAIL = Failed Output indication - Module Error. 8 and 16 channel analog outputs require loop power open
for loop detection.
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
AO’s Address starts at Module 4.
Table 23 Analog output configuration parameters
Example
Figure 18 shows a Function Block Diagram configuration using an AO function block to retransmit an
analog input value. In example A, the output is from a SPP block to an external controller via the AO
block. In example B, the mA output is 4 mA for an analog input of 2000.
ATTENTION
Description
The AO-V label stands for Analog Output Validated . This block is part of the I/O Blocks category.
Function
Provides an analog output from the algorithms and functions to physical analog output hardware. The
analog status is fed back to AI feedback channel for validation. Each AO-V block and feedback AI
requires a module and channel number during configuration.
NOTE: For calibration of AI channel, please follow following steps
1. Create a configuration using AO-V function block and configure the address of feedback input
same as the AI channel which is to be calibrated.
2. Download the configuration to controller.
3. Now follow the steps given "Calibrate AI Channel " section.
Input
X = Input Analog Signal
^RSTRT = Restart Signal – When used, a positive (rising) input pulse releases OUT from its
failsafe value and FAIL pin from its ON state. If ^RSTRT pin is left unconnected, the function
block’s OUT and FAIL pins will not latch the status. This allows for the replacement or repair of
the failed AO module or failure condition and operator controlled release.
DIS = Disable Signal – When used and made ON, disables the AO Channel and also results in
disabling of ^RSTRT functionality. If DIS pin left unconnected or made OFF, results in Normal
Operation i.e. it enables the function block.
Output
OUT = Physical output value of function block
FAIL = Failed Output Indication – AO module has an error. OUT is set to failsafe (0 - for safety
worksheet and option-selectable for process worksheet).
FBFAIL = Feedback Fail – Feedback AI module fail. OUT continues to function without feedback
validation.
VFAIL = Validation Fail – Input does not match output status i.e. the value read does not equal
the value written. The percent deviation allowed from input to output is +/- 3% i.e. if the input to
output is outside of +/- 3 %, VFAIL will be ON. Please note that percent deviation is calculated
based out of output range. If AI module has an error, VFAIL will stay OFF. OUT continues to
function without feedback validation.
Block properties
Double click on the function block to access the function block properties dialog box
Configuration parameters
Analog output validated configuration parameters
Properties
Parameter Index # Parameter Description Value or Selection
Group
Address of selected DO
I/O Module From 1 to 12
module
Address N/A
From 1 to 32,
Channel number on selected depending on the
Channel
DO module physical module type –
DC or AC or Relay
0 to 20
mA at range High Value of mA output that
3 corresponds to 100 % output Default = 20
signal (for example: 20 mA)
Output Range
0 to 21
mA at Range Low Value of mA output that
4 corresponds to 0 % output Default = 21
signal (for example: 4 mA)
0 to 20
mA at High Limit Value of mA that you want to
N/A Default = 20
set the High Range Limit
Output Limits
0 to 21
mA at Low Limit Value of mA that you want to
N/A Default = 21
set the Low Range Limit
0 to 21 mA
USE VALUE sets the output to
Value N/A the programmed value when Default = 0
failure is detected.
62.5 Ω
500 Ω
Example
Figure below shows a function block diagram using a AO-V function block. An analog output signal from PID
block will control the analog output for AO-V block output for monitoring. The feedback fail (FBFAIL) and
validation fail (VFAIL) are also used for monitoring the statuses. The connection to “RSTRT” pin ensures
that the status on OUT and FAIL pins will remain latched, until a positive (rising) edge is detected on
“RSTRT” pin.
Function
This function block provides read access to controller status values including those related to the Normal
Scan execution cycle. (To access status values associated with the Fast Scan execution cycle see the FSYS
function block.) The outputs may be connected to the function block inputs. The outputs may also be
connected to signal tags for operator interface monitoring. The Analog System Status block is assigned
block number 1.
Versions
The status information available to be monitored for the analog system depends on both the controller type
and the revision of software executing on the controller. As a result, there are different versions of the
ASYS block and when you drag and drop this block onto a configuration worksheet the graphic may look a
little different than the one shown above. The Process Control Designer will automatically select the
correct version of the block based on the controller type and software revision selected for each
configuration file.
The graphic shown above is for the most advanced version of the block and earlier versions may have
fewer outputs, different output types and/or different output ordering. Where applicable, the differences are
described in the table below for each output.
Restrictions
There can be only one instance of the ASYS function block within a configuration.
Output
Output Description
NEWSTART ON for one full cycle of control block execution, following a new start of the system. For example:
starting after a change from program to run.
RESTART ON for one full cycle of control block execution, following power up. [Warm Start]
HWOK Hardware OK is ON if there are no faults. HWOK is set to off when a Rack Monitor Block’s
RACK OK pin is off.
LOWBTRY Low Battery is ON if the battery is low, Off when battery is good.
BAD_BLOCK Provides an indication of whether or not there are any blocks in the normal scan execution that
are not operating properly. Any function block monitor window which indicates a block status
other than "OK" is considered a Bad Block. For example: forced outputs (analog or digital), math
errors (divide by zero), un-configured I/O blocks (rack/slot/channel) and PID blocks with a PV
over/under the configured range limits.
Revision 6.0:
This pin is an analog output which provides the block number of the first bad block in the normal
scan configuration. Refer also to the BBLK_CNT output below.
This pin is a digital output which provides simple ON/OFF indication of at least one bad block in
the normal scan execution logic. The BBLK_CNT output below does not exist in these versions.
TIME OFF Number of seconds that power was turned off. Valid for one cycle of control blocks execution
following power up. Then it is cleared to zero.
RSV AVAIL Available for C75 and C75S redundant CPU controllers only.
ON when the Reserve CPU is available for failover. OFF when the Reserve CPU is unavailable
for failover.
On other controllers this pin may be missing or may be labeled as "N/A" and serves only as a
placeholder, depending on the revision of the software.
Output Description
The number of bad blocks present in the normal scan execution logic. Refer to the BAD_BLOCK
output above for the definition of a bad block.
DS LIMIT ON when the configured storage warning limit is exceeded. OFF when the storage capacity falls
below the warning limit.
Block Properties
To bring up the ASYS block properties window shown below, either double-click on the function block
graphic or right-click on the function block graphic and select Properties from the context menu.
Configurable Parameters
The ASYS block has one configurable parameter that allows the input line voltage frequency to be set at
either 50 or 60 Hz. The system uses this parameter to determine the integration times for analog to digital
conversions. The correct integration time is needed to prevent aliasing the line frequency when converting
low level signals such as those produced by thermocouples.
Use the radio buttons to select either 50 or 60 Hertz for the Power Noise Rejection property. In the United
States, the line frequency is 60 Hertz. Click on the OK button to accept the new value.
100 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
BCD Function Block
Function
Accept up to 8 digital inputs in sequence and interprets the ON/OFF status of the first 4 inputs as a BCD
value between 0 and 9 and the second 4 digits as a value between 10 and 80.
Input
D1 = Bit 0 of the BCD lower digit
D2 = Bit 1 of the BCD lower digit
D4 = Bit 2 of the BCD lower digit
D8 = Bit 3 of the BCD lower digit
D10 = Bit 0 of the BCD upper digit
D20 = Bit 1 of the BCD upper digit
D40 = Bit 2 of the BCD upper digit
D80 = Bit 3 of the BCD upper digit
Output
OUT = Analog output integer in the range of 0 to 99
OUT = (1* (1 if D1 is ON, else 0))+
(2* (1 if D2 is ON, else 0)) +
(4* (1 if D4 is ON, else 0)) +
(8* (1 if D8 is ON, else 0)) +
(10* (1 if D10 is ON, else 0)) +
(20* (1 if D20 is ON, else 0)) +
(40* (1 if D40 is ON, else 0)) +
(80* (1 if D80 is ON, else 0)))
Revision 19 HC900 Process Control Designer Function Block Reference Guide 101
June 2015
Function Blocks
BCD Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 19 shows a Function Block Diagram configuration using a BCD function block to select a Recipe.
102 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
BOOL Boolean Logic Function Block
Function
Read digital inputs A through H and calculates the output based on specified Boolean logic function.
• Offers the following Boolean logic functions:
AND entered as *
OR entered as +
NOT entered as not
XOR entered as ^
( - Left parenthesis
) - Right Parenthesis
Inputs
A = Block Input 1
B = Block Input 2
C = Block Input 3
D = Block Input 4
E = Block Input 5
F = Block Input 6
G = Block Input 7
H = Block Input 8
Output
ERR = error during execution of the equation. Error = ON. No Error = OFF.
OUT = Calculated Output (ON or OFF)
A maximum of 50 tokens per equation is allowed. A token is an operator, a variable, or a pair of
parentheses.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 103
June 2015
Function Blocks
BOOL Boolean Logic Function Block
TIP
• This function block consumes significantly more execution time than gate logic. Extensive
use of this block in the fast logic scan can add significantly more time to the overall system
cycle time.
• Use only the following list of words and characters in an equation:
• Logicals AND, OR, and XOR must have a left and right operand.
• Unary NOT must have one operand to the right, and the operand must be enclosed in
parentheses; for example, NOT(G).
Examples: (A*B)+C,
(A+notB+C)*notD
Block properties
Double click on the function block to access the function block properties dialog box.
104 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
BOOL Boolean Logic Function Block
Configuration parameters
Table 25 BOOL function block configuration parameters
Example
Revision 19 HC900 Process Control Designer Function Block Reference Guide 105
June 2015
Function Blocks
CALEVT Calendar Event Function Block
Function
The Calendar Event Block compares user-entered time-and-date setpoints to the real-time clock to generate
digital Event outputs. These Event outputs can be integrated into a control strategy to activate time-
synchronized activities. For example, the Event outputs can be used turn-on or turn-off the lights in an
office building. Each Calendar Event block supports up to eight Event outputs.
In addition, the block allows you to configure up to five sets of time-and-date setpoints, called Setpoint
Groups. These Setpoint Groups can be used to activate different sets of time-and-date setpoints to handle
different conditions. Using the example of an office building, Setpoint Groups can be used to activate a
different set of time-and-date setpoints for each season of the year (Spring, Summer, Fall, and Winter).
Each Calendar Event block supports five Setpoint Groups.
The block also allows you to configure up to 16 Special Days. On these Special Days the Calendar Event
Block will override its normal Event processing for a 24-hour period. For example, you can configure
selected Event outputs to remain off on designated holidays.
Input
ENABLE = Enable; off = all event outputs (1-8) are off
^EVT1 = Event number 1 override input
^EVT2 = Event number 2 override input
^EVT3 = Event number 3 override input
^EVT4 = Event number 4 override input
^EVT5 = Event number 5 override input
^EVT6 = Event number 6 override input
^EVT7 = Event number 7 override input
^EVT8 = Event number 8 override input
^EVT1 thru ^EVT8 allows the user to activate the output pins OUT1 thru OUT8 of the function block
based on a condition other than time. The output action would be a one-shot.
106 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CALEVT Calendar Event Function Block
SPGRP = Value of Event Set point that is to be loaded {range 1 to 5} When SPGRP is connected to a
variable, toggling the ^SET input is not required; the setpoint group is loaded automatically.
^SET = Loads the event set point group as indicated by the spgrp input signal.
SPGRP and ^SET input pins allow the user to activate one of five Setpoint Groups at any time. All the 8
events will be activated based on the settings in this Setpoint Group.
Output
OUT1 = Calendar timer event 1 output
OUT2 = Calendar timer event 2 output
OUT3 = Calendar timer event 3 output
OUT4 = Calendar timer event 4 output
OUT5 = Calendar timer event 5 output
OUT6 = Calendar timer event 6 output
OUT7 = Calendar timer event 7 output
OUT8 = Calendar timer event 8 output
Note: If the Event occurs when the Controller is OFF or not in RUN MODE, the event output will not turn
ON until the event occurs again and the Controller is in RUN MODE
SPGRP = Value of Event Set point that was loaded {range 1 to 5} at the SPGRP input pin.
BAD_CLK = Bad clock; on when error in system time.
Configuration Parameters
The CALEVT properties dialog box is divided into 7 tab cards:
EVENT DETAILS
SPECIAL DAYS
EVENT SETPOINT 1
EVENT SETPOINT 2
EVENT SETPOINT 3
EVENT SETPOINT 4
EVENT SETPOINT 5
Revision 19 HC900 Process Control Designer Function Block Reference Guide 107
June 2015
Function Blocks
CALEVT Calendar Event Function Block
108 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CALEVT Calendar Event Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 109
June 2015
Function Blocks
CALEVT Calendar Event Function Block
110 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CALEVT Calendar Event Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 111
June 2015
Function Blocks
CALEVT Calendar Event Function Block
112 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
Example
The purpose of the example is to control the timing of lights in Building #1 for two different season
sets. If you work after hours in this building, know that if the lights go out you can turn them back
on. They will then stay on for a few hours and then turn off again.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 113
June 2015
Function Blocks
CARB Carbon Potential Function Block
Function
A combined Carbon Probe and Temperature Probe and PID algorithm determine Carbon Potential of
furnace atmospheres based on a Zirconia probe input.
Input
Probe = Sensor Input from AI block (0-2000 mV)
TEMP = Temperature Input (°F or °C) from AI block
%CO = Percent Carbon Monoxide 1 % to 100 %
RSP = Remote Setpoint Analog Input value in Engineering Units or Percentage (0-1.5)
FFV = Feedforward value in percentage (0 % to 100 %) The Feedforward value is multiplied by the
Feedforward Gain, then directly summed into the output of the PID block.
TRV = Output Track value in Percentage. Output = TRV when TRC is on. (If control output OUT is
connected back to the Track Value Input [TRV], then the Track Command Input [TRC] will function as an
output hold. This may be used where input probes are undergoing burnoff.)
TRC = Output Track Command [ON, OFF] On – Enables TRV (Mode = Local Override)
BIAS = Remote Bias value for Ratio PID
SWI = Switch Inputs (from LPSW function block)
0 = No Change
1 = Initiate Autotuning
2 = Change Control Action (reverse to direct acting or direct to reverse acting)
4 = Force Bumpless Transfer
8 = Switch to Tune Set 1
16 = Switch to Tune Set 2
114 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
MDRQI = External Mode request (typically connected to the MDRQO output of a MDSW function block
that encodes discrete switch inputs).
0 = No Change
1 = Manual Mode Request
2 = Auto Mode Request
4 = Local Setpoint Request
8 = Remote Setpoint Request
BCI = Back Calculation Input Value—See ATTENTION 1.
Output
PV = Calculated Process Variable (% Carbon) for monitoring
DEWPT = Calculated Dewpoint
WSP = Working Setpoint in Engineering Units for monitoring (setpoint in use)
AL1 = Alarm 1 - Digital Signal
AL2 = Alarm 2 - Digital Signal
DIRECT = ON = Direct; OFF = Reverse
ATI = Autotune Indicator (ON = Autotune in Progress)
MODE = Loop mode status (typically connected to the Mode Flags block for encoding). Value indicates
mode as follows:
0.0 RSP AUTO
1.0 RSP MAN
2.0 RSP Initialization Manual (See ATTENTION 1)
3.0 RSP Local Override (See ATTENTION 1)
4.0 LSP AUTO
5.0 LSP MAN
6.0 LSP Initialization Manual (See ATTENTION 1)
7.0 LSP Local Override (See ATTENTION 1)
BCO - Back Calculation Output (for blocks used as Cascade Secondary)—See ATTENTION 2.
ATTENTION
− the request comes from the Mode Switch (MDSW) function block, the request is retained
and when leaving the Initialization Mode or Local Override Mode the loop will go to
manual.
2. BCO output is provided for applications where the block is used as a cascade secondary.
BCI input is provided for applications where the block is used as a cascade primary. When
the BCO output of a secondary loop is connected to the BCI input of a primary loop,
bumpless transfer is achieved when the secondary is switched into remote setpoint (i.e.,
cascade) mode. In addition, the primary loop is prevented from reset windup when the
secondary is decoupled from the process. The secondary is decoupled from the process
when it is in local setpoint mode or manual output mode, has reached a setpoint or output
limit, or is integral limiting because its BCI input. For example, see Figure 73.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 115
June 2015
Function Blocks
CARB Carbon Potential Function Block
Configuration parameters
The CARB properties dialog box is divided into 8 tab cards
GENERAL
START/RESTART
RSP
RANGE/LIMIT
TUNING
ACCUTUNE III
ALARMS
CARBON POTENTIAL
Click on the tab to access the properties for that tab.
GENERAL tab
116 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 117
June 2015
Function Blocks
CARB Carbon Potential Function Block
START/RESTART tab
118 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
Initial Use initial 49 Use Initial Local Click on radio button to select
Setpoint LSP Setpoint
Value
Initial LSP 50 Initial Local Setpoint Enter Initial Local Setpoint Value
Value Value
High Output Use Limit 51 High Limit Override Click radio button to select.
Limit Select Control -
Limit Value See NOTE 1
Delay Time 52 Delay Time for High Enter time in minutes to use TRV as the
Limit Output Select output high limit. See NOTE 1.
Ramp Rate 53 Ramp Rate for High Enter Rate in % per minute to ramp
Limit Output Select the default output high limit after
delay time expires.
Note 1. When ON, the HiLimOvr parameter causes the meaning of TRC and TRV to be redefined for process
startup rate control. In this case, TRC set ON causes the algorithm to calculate a value to override the default output
high limit.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 119
June 2015
Function Blocks
CARB Carbon Potential Function Block
The initial value of the limit override comes from TRV. This value is held until the configured delay time expires.
A delay time of zero means delay indefinitely. In this case, the output high limit will track the value on TRV until
such time that TRC returns to OFF.
When the delay time expires, the output limit will ramp to the default configured value and the configured ramp rate.
When the ramped output limit equals or exceeds the default configured value, the output limit override status is set
OFF and the default value is used. A ramp rate of zero will cause immediate termination of the high output limit
override.
A transition of the TRC input to OFF at any time will terminate the output limit override function and restore the
limit to the default configured value. The TRC input must transition to OFF before the output limit override
function can be started again.
120 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
RSP tab
Remote Setpoint Use RSP N/A Use Remote Setpoint in Click on radio button to select.
Source and Units Input (EU) Engineering Units
Use RSP N/A Use Remote Setpoint in Click on radio button to select.
Input (%) Percent
Use LSP2 N/A Use Local Setpoint #2 in Click on radio button to select.
(EU) Engineering Units
Ratio/Bias No Ratio or N/A No ratio and bias applied to Click on radio button to select.
Bias the function block
(RSP Input Only)
Use Local Use Bias value selected on Click on radio button to select
Bias Tab Enter value at “Local Bias
Value” on tab.
Use Bias Use Bias value attached to Click on radio button to select.
Input an input to the block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 121
June 2015
Function Blocks
CARB Carbon Potential Function Block
RANGE/LIMIT tab
122 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 123
June 2015
Function Blocks
CARB Carbon Potential Function Block
TUNING tab
100 %
G=
PB %
124 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
ATTENTION
DUPA and DUPB algorithm types automatically select tuning set #2 for outputs between
50 % and –5 %. Tuning set #2 must be entered for DUPA and DUPB.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 125
June 2015
Function Blocks
CARB Carbon Potential Function Block
ACCUTUNEIII tab
126 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 127
June 2015
Function Blocks
CARB Carbon Potential Function Block
ATTENTION
Accutune III is an On-demand tune only. You must provide a 0 to 1 transition to start another
tuning cycle. The tuning will disturb the output to evaluate the tuning constants required.
TUNING NOTE: For this block, during tuning using either Cycle or SP tuning, a constant
temperature value should be provided via the temperature input.
Note 1: CYCLE TUNING - This tuning method uses the measured ultimate gain and period to produce
tuning parameter values. Cycle tuning does not distinguish between process lags and always results in gain
based on PV amplitude and calculates values of Reset and Rate based on time of the SP crossings (The
Reset value is always 4x the Rate value.) This method does not require a stable process initially and the
process may be moving. Cycle tuning is applicable to Three Position Step control and can be used for
integrating processes (level control).
Note 2: SP TUNING - When initiated the control loop is put into an initial temporary manual state until
the process characteristics are identified. This period may last up to a minute. During this time the Tune
status shows Not Ready, and then an initial output step is made using the preconfigured size and direction
parameters along with the preset output value. The resultant process action is used to determine the tuning
parameters and once the process identification has completed, the loop is returned to automatic control.
Note 3: PV ADAPTIVE TUNING - This method adapts a tuned process to changing system
characteristics over time. When the PV deviates from the SP by a certain amount for any reason, the
adaptive tuning algorithm becomes active and begins to observe the resulting PV action. If the process
becomes unstable and oscillates, PV Adaptive Tuning eventually brings the process into control by retuning
parameter values (as needed) using a systematic approach defined by an expert based method of tuning
rules. Should the process not oscillate but be observed as too fast or sluggish, a different expert rules set is
applied to result in the slowing down or speeding up of the process by adjusting certain tuning parameter
values. This method continuously learns the process as PV deviations are observed and adapts the tuning
parameters to the process response.
128 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
ALARMS tab
Revision 19 HC900 Process Control Designer Function Block Reference Guide 129
June 2015
Function Blocks
CARB Carbon Potential Function Block
130 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 131
June 2015
Function Blocks
CARB Carbon Potential Function Block
Rev. 4.0
and
higher/
Rev. 3.x
and lower
Use Actual % 67/56 Function block will use the Click on block to select
CO actual % Carbon Monoxide that
is defined through an analog
input.
O2 Probe Carbon N/A Select from Drop Down List of • Advanced Atmosphere
Manufacturer Probe Manufacturers. Control Corp.
Vendor
• Furnace Control Corp.
• Marathon Monitors
132 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CARB Carbon Potential Function Block
Example
Figure 22 shows Function Block Diagrams using a CARB function block.
Configuration Notes:
Timing Diagram
Select probe Mfg.. type
O2 probe input: 0 to 2 V. PTMR Output
(0 to 2000 range)
Select T/C type J or K etc.. MDSW Output Auto Manual Auto
Revision 19 HC900 Process Control Designer Function Block Reference Guide 133
June 2015
Function Blocks
CAVG Continuous Average Function Block
Function
Provides the average value of a single analog parameter for a user specified time period, plus the running
(instantaneous) average within the time period. A running average value is updated at the end of each
sample period. Time periods to 1440.0 minutes are supported. At the end of the time period, the running
average value is transferred to I/O process output value. A hold input allows excluding samples from the
average when active.
Cold Start – On the first cycle after a cold start, the instantaneous average output is initialized to current
input value, the sample counter begins to increment, and the period timer begins to decrement (assuming
that Reset is OFF). The previous average output is set to zero.
Warm Start – On a warm start, the calculations continue where they left off. There is no attempt to
compensate for the time the power was off or to resynchronize with the time of day.
Input
INPUT = Analog Input
RESET = Controls the sample calculations.
If OFF, the input samples are accumulated, the sample counter is incremented, the time remaining
decrements and the average value is calculated and written to the outputs.
If ON, the outputs are held at their last values, the internal accumulators and sample counters are
cleared, and the time remaining is re-initialized to the full average period.
If ON to OFF transition, the average output is set to the input value, and the period timer begins to
decrement.
The RESET pin does not affect the previous average output value.
HOLD = If OFF, calculations run as normal. If ON, input samples are not accumulated and included in the
average calculation, the time remaining continues to decrement. The output values are held at their last
state prior to the OFF to ON transition.
If the averaging period elapses while HOLD is ON, the instantaneous average will maintain the last
calculated average value, the previous average is updated to this value, the internal accumulators and
sample counters are cleared, and the time remaining is re-initialized to the full averaging period.
Output
I AVG = Instantaneous calculation of the current average.
P AVG = previous calculated average value.
134 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CAVG Continuous Average Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 37 Continuous average configuration parameters
Set Avg. Period Averaging 0 Time period in which the Continuous 0.1 to 1440.0 in
Period Average will be calculated. minutes
When the averaging period elapses,
the last valid value will be set equal to
the instantaneous value.
The internal accumulators and sample
counters will be cleared and the time
remaining will be re-initialize to the full
average period.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 135
June 2015
Function Blocks
CAVG Continuous Average Function Block
Example
Figure 23 shows a Function Block Diagram using a CAVG function block.
136 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
CMPR Comparison Calculation Function Block
Function
Compares value of X input to value of Y input and turns ON one of three outputs based on this comparison.
• If X input is greater than Y input, then: XGY = ON.
• If X input equals Y input, then: XEY = ON.
• If X input is less than Y input, then: XLY = ON.
Input
X = First analog value.
Y = Second analog value
Output
XGY = Digital signal state based on calculation.
XEY = Digital signal state based on calculation.
XLY = Digital signal state based on calculation.
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 24 shows a Function Block Diagram using a CMPR function block to open a vent if input 1 is
higher than input 2.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 137
June 2015
Function Blocks
DC Device Control Function Block
Function
The Device Control function block is normally used to control pumps. Based on certain events listed in
Table 38 the device will be placed into one of six states: READY, PRESTART, STARTING, RUNNING,
STOPPING, DISABLED, or FAILED. The READY (off state) is the initial state of the function block.
Each configuration is limited to a maximum of 16 Device Control function blocks.
Forcing of outputs is NOT permitted within this block.
Inputs
REQ = (run request) when ON [Logic 1], puts the device in the Starting / Running state. When OFF, puts
the device in Stopping / Ready state.
FDBK = feedback from the controlled device; ON = device has started, OFF = device has not started.
ERR = (in) – ON when the controlled device reports a failure, causes the device control to transition to the
FAILED state.
OFF = No device failure.
^RST = an OFF to ON transition will manually reset the control when it is in the FAILED state and return
to the READY state.
DIS = (disable) When OFF, the device control operates normally. When ON, immediately transitions to
the DISABLED state, it prevents the device from starting if in the ready state or immediately shuts-down
the device if it is currently starting up or running state.
138 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DC Device Control Function Block
Outputs
OUT = Primary block output – the output is ON in the RUNNING and STOPPING states, else OFF.
RDY = (ready) ON when the control is in the Ready State (the controlled device is off and waiting for a
request to run), otherwise OFF.
PRES = (prestart) ON while in the prestart state (a request to run the device has been received and the start
delay timer is >0, otherwise OFF.
STRT = (starting) ON while in the start state (start timer has expired and there is a request to start the
device. The device feedback timer is started. The device is being monitored for failures),
RUN= (running) ON while in the Running state (the controlled device has completed start up (Device
Feedback) and is now running; occurs after the start delay timer expires; device is being monitored for
failures and feedback that it started) otherwise OFF.
STOP = (stopping) ON while in the Stopping state (the controlled device is requested to turn off; stop
delay timer is running; device is being monitored for failures, interlocking and returning to the run state),
otherwise OFF.
FAIL = (failed) ON when the control is in the Failed state (the controlled device reported a failure or did
not start up in time; device is being monitored for a manual or automatic reset), otherwise OFF.
DIS = (disabled) ON while in the Disabled state (the controlled device is locked-out; it cannot start running
until the disable input signal turns OFF), otherwise OFF.
STI = An enumeration representing the different states of the control.
Where: 0 = NOT USED, 1 = READY, 2 = PRESTART, 3 = STARTING, 4 = RUNNING,
5 = STOPPING, 6 = DISABLE, 7 = FAIL.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 139
June 2015
Function Blocks
DC Device Control Function Block
Disable (ON) X X X X X
Disable (OFF) X
Feedback Timer X X
Expires (edge)
Notes:
1. If a device fails while in the state of READY or DISABLE, the device failure is not recognized until the
control goes into the PRESTART state.
2. There are restrictions when the control goes into the Disable state from the Running State. The device is
immediately turned OFF without a Stop Delay. When the disable turns OFF, the control changes to the
Ready state.
3. ERR Off (device fail) is monitored in Failed state, only if:
a) Failed input caused the failure, and
b) Auto Reset is enabled.
140 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DC Device Control Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 39 Device control function block parameters
Revision 19 HC900 Process Control Designer Function Block Reference Guide 141
June 2015
Function Blocks
DC Device Control Function Block
Example
Figure 25 shows a Function Block Diagram using a Device Control function block to control a pump to fill
a tank.
142 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DCMP Deviation Compare Function Block
.
This block is part of the Calculations category
Function
Compares up to 6 analog inputs to a + or – user-entered deviation setpoint to a 7th input reference value and
sets the output true if any input exceeds the deviation value from the reference value. Output is off if all
inputs are less than the deviation.
Plus Dev Compare Value = Reference input + User entered Plus Deviation value
Minus Dev Compare Value = Reference input - User entered Minus Deviation value (Minus Deviation
value should be a positive number)
If any IN (1-6)> the Plus Dev Compare value, Out = ON
If any IN (1-6) < the Minus Dev Compare value, Out = ON
ATTENTION
When the reference input is the average of the 6 inputs, the block performs deviation from
average.
Input
IN1 = Input 1
IN2 = Input 2
IN3 = Input 3
IN4 = Input 4
IN5 = Input 5
IN6 = Input 6
Y =Reference Input
Revision 19 HC900 Process Control Designer Function Block Reference Guide 143
June 2015
Function Blocks
DCMP Deviation Compare Function Block
ATTENTION
All inputs should be used or a single value should be connected to multiple inputs. Unused
inputs will default to 0.
Output
OUT = Hi (1) when any input exceeds the specified deviation from the reference value.
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 40 DCMP configuration parameters
Set Plus 0 Plus value deviation from Within the range of the inputs
Properties Deviation reference point
144 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DCMP Deviation Compare Function Block
Example
Figure 26 shows a Function Block Diagram using a DCMP function block to hold a setpoint program if any
of 6 work thermocouples deviate from the setpoint by more than the ± Deviation Limits.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 145
June 2015
Function Blocks
DDEC Digital Decoder Function Block
Function
The Digital Decoder function converts an analog value from the Value Input to the binary equivalent value
on the 16 digital outputs 1 through 16. The Value Input accepts whole numbers between 0 and 65535.
Fractional values are ignored. The output value OCNT (bottom of block) indicates the total number of
digital outputs that are ON as an analog value.
For example, a value of 285 would be represented by binary 0000000100011101, where OUT 1 is LSB and
OUT 16 is MSB. OCNT = 5 (OUT 1, 3, 4, 5, 9 are ON).
All 16 outputs and the OCNT signal pin are monitored.
Forcing of the outputs is not permitted.
Inputs
VALUE = Whole number analog input value between 0 and 65535.
Outputs
Sixteen digital outputs, OUT 1 through OUT 16, with OUT 1 = LSB and OUT 16 = MSB.
OCNT = Analog value representing the number of digital outputs (OUT 1 through OUT 16) that are set to
ON.
146 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DDEC Digital Decoder Function Block
Example
Figure 28 shows a Function Block Diagram using a DDEC function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 147
June 2015
Function Blocks
DENC Digital Encoder Function Block
Function
This block’s main function is to totalize the number of ON states from up to 16 digital signals. The block
digitally encodes up to 16 digital inputs to a single floating point output value.
Forcing of the output is not permitted.
Inputs
Sixteen digital inputs: Example: ON causes the input to be included in the total output. Unconnected pins
default to OFF.
148 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DENC Digital Encoder Function Block
Outputs
ICNT = Sum of the Inputs set to ON.
DENC = Bit encoded value representing the state of the Input pins (IN1 - IN16); where IN1 is the LSB and
IN16 is the MSB.
NOTE: This pin is typically connected to an Alternator block's "DRDYS" input pin.
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 28 shows a Function Block Diagram using a DENC function block using multiple digital status to
select an appropriate setpoint for a flow loop.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 149
June 2015
Function Blocks
DEWP Function Block
Function
Monitors Dewpoint or Carbon Potential, or uses a Zirconia Probe sensor input to supply a Dewpoint PV to
a PID function block for Dewpoint control. Use in conjunction with other blocks including a PID to
generate more elaborate control strategies than that provided by the Carbon potential (CARB) function
block.
Inputs
Probe = Oxygen Sensor Input from AI (0-2 mV)
TEMP = Temperature Input (°F or °C) from AI Input
%CO = Percent Carbon Monoxide Input 1 - 100 %
Outputs
DEWPT = Calculated Dewpoint Output
%C = Calculated Percent Carbon Output
SPHLIM = Control Setpoint High Limit for Anti-soot.
WRLIM = Command to write the setpoint high limit.
LOTEMP = ON when TEMP is <= calculated low temperature dropoff.
150 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DEWP Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 41 Dewpoint function block parameters
continued
Revision 19 HC900 Process Control Designer Function Block Reference Guide 151
June 2015
Function Blocks
DEWP Function Block
Use Actual % 1 Function block will use the Click on block to select.
CO actual % Carbon Monoxide
that is defined through an
analog input.
O2 Probe Carbon N/A Select from Drop Down List of • Advanced Atmosphere
Manufacturer Probe Manufacturers. Control Corp.
Manufacturer • Furnace Control Corp.
• Marathon Monitors
• Super Systems Inc.
Example
Figure 29 shows a Function Block Diagram using a DEWP function block. This application uses the Dew
Point function block to calculate dew point based on using a carbon probe. A typical example might be for
control of an endothermic atmosphere generator. Alternatively, a Honeywell dew point transmitter could
be used for a more direct measurement.
152 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DI Function Block
DI Function Block
Description
The DI label stands for Discrete Input.
Function
Discrete input blocks are used to process the digital status of a specific channel of a discrete input module.
Each block requires a module and channel number during configuration. The Input status may be inverted.
If Digital Point is ON, then OUT = ON.
Output
OUT = Digital Signal
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 153
June 2015
Function Blocks
DI Function Block
Configuration parameters
Table 42 Digital input configuration parameters
Failsafe Failsafe ON N/A set the output of the block to OFF Click on radio button
when failure is detected to select
Failsafe OFF N/A set the output of the block to ON Click on radio button
when failure is detected to select
Failsafe N/A hold the output at the last value just Click on radio button
HOLD prior to the failure being detected to select
154 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DI Function Block
Example
Figure 30 shows a Function Block Diagram using DI function blocks in a basic Series Parallel Circuit.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 155
June 2015
Function Blocks
Digital Input Voting
Function
Provides the digital status of a digital input point and provides interface to other algorithms and
functions.
The output status may be inverted.
If Digital Point is ON, then OUT = ON
DI-V differs from the DI block in that multiple inputs (up to 3) may be specified, and the values of
the inputs (whose channel has not failed) must match for the input value to be considered good
overall. Otherwise the FAIL pin becomes ON and the Fail-safe value is used as output instead of
any input value. If there is only one input used, then the state of the single channel determines
the state of the FAIL pin.
If none of the inputs are used (i.e. all three are not enabled by user), the function block will use
the Fail-safe value as output.
Please refer to the descriptions of the FAIL, SFAIL, and VFAIL pins below to get a good
understanding of the block behavior.
Input
Digital value(s) from specified real I/O address(s).
Output
OUT = Digital signal.
FAIL = Failed – If ON, indicates that the block output is set to Fail-safe. Possible cause for this is:
156 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
Digital Input Voting
SFAIL = Source Failure – If ON, indicates a failure of one or more of the digital channel(s).
Possible cause for this is:
Power failure
One of the DI channels failed
VFAIL = Validation Failure – If ON, indicates that the values of the “good” channels disagree.
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Properties Parameter Index # Parameter Description Value or Selection
Group
Revision 19 HC900 Process Control Designer Function Block Reference Guide 157
June 2015
Function Blocks
Digital Input Voting
I/O Module (for N/A Address of selected I/O module Enter a value: from 1 to 12
each Input) (must match model selection
guide)
Channel (for N/A Channel on selected I/O Module Enter a value:1 to 16, depending on
each Input) module type.
Failsafe - Off N/A Sets the output of the block to Click on Radio button to select.
OFF when failure is detected.
This is the only failsafe option
available if the block is on a safety
worksheet.
Failsafe
Failsafe - On N/A Sets the output of the block to ON Click on Radio button to select.
when failure is detected.
Failsafe - Hold N/A Holds the output at the last value Click on Radio button to select.
just prior to the failure being
detected.
Example
Figure 01 below shows a function block diagram using a DI-V function block. The AI block reads
in analog input values from real I/O addresses, and then passes the calculated value to the PID
block, for it to control the value, to be then output to real I/O addresses by the AO block. The DI-V
block is used to read in the digital signal for the TRC pin on the PID block.
158 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
Digital Input Voting
Revision 19 HC900 Process Control Designer Function Block Reference Guide 159
June 2015
Function Blocks
8DI Function Block
Function
Provides read access for up to 8 physical digital inputs.
It minimizes the number of blocks required to configure all of the Digital I/O required in a system.
Digital input blocks are used to process the digital status of specific channels of a digital input module.
Each block input requires a module and channel number during configuration.
The Input status may be inverted.
If Digital Point is ON, then OUT = ON.
Output
OUT D1= Digital Signal
OUT D2= Digital Signal
OUT D3= Digital Signal
OUT D4= Digital Signal
OUT D5= Digital Signal
OUT D6= Digital Signal
OUT D7= Digital Signal
OUT D8= Digital Signal
160 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
8DI Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 43 Eight Digital input configuration parameters
Revision 19 HC900 Process Control Designer Function Block Reference Guide 161
June 2015
Function Blocks
8DI Function Block
Failsafe Failsafe ON N/A set the output of the block to OFF Select from drop-
when failure is detected. down menu
Failsafe OFF N/A set the output of the block to ON for each input.
when failure is detected.
Example
Figure 31 shows a Function Block Diagram using 8 point DI function blocks.
162 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DIV Function Block
Function
Divides one input (X) by another (Y)
• If Y = 0, then OUT = 0 and block status is set to error; otherwise, OUT = X ÷ Y.
Input
X = First analog value
Y = Second analog value
Output
OUT = Calculated Value
Block properties
Double click on the function block to access the function block properties dialog box.
To change Execution Order for the Block, Select on the Function Block Diagram tool bar.
Select ”Execution Order” then select and drag blocks up or down the list and put them in the order that
suits your control strategy.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 163
June 2015
Function Blocks
DIV Function Block
Example
Figure 32 shows a Function Block Diagram using a DIV function block.
164 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DLAY Function Block
Function
Block is configurable as On Delay or Off Delay.
For On Delay, output turns ON when timer expires.
Input
TSPI - Delay time set point in seconds.
INPUT - Edge detection starts the timer. ON delay timer is triggered by rising edge of input. OFF delay
timer is triggered by falling edge of input.
Output
TSPO - Timer set point in seconds. Based on the TSPI pin at the point when the timer started. If TSPI
changes after the timer starts, TSPI is ignored and TSPO maintains the current timer set point.
TREM - Remaining time in seconds; counts from TSPI down to 0.
TELPS - Elapsed time in seconds; counts from 0 to TSPI.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 165
June 2015
Function Blocks
DLAY Function Block
OUT - For On Delay, output turns ON when timer expires. For Off Delay, output turns OFF when timer
expires.
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 44 On Delay/Off Delay configuration parameters
166 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DO Function Block
DO Function Block
Description
The DO label stands for Digital Output.
Function
Provides a digital status from the algorithms and functions to physical logic output hardware. Each block
requires a module and channel number during configuration. The output status may be inverted.
Input
X = Input Status Signal
Output
FAIL = Failed Output Indication - Module Error
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 167
June 2015
Function Blocks
DO Function Block
Configuration parameters
Table 45 Digital output configuration parameters
Failsafe Failsafe ON N/A set the output of the block to OFF Click on radio button
when failure is detected. to select.
Failsafe OFF N/A set the output of the block to ON Click on radio button
when failure is detected. to select.
Failsafe N/A hold the output at the last value just Click on radio button
HOLD prior to the failure being detected. to select.
168 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DO Function Block
Example
Figure 33 shows a Function Block Diagram using a DO function block. A digital output signal from PID
block AL1 will turn the Digital Output block ON & OFF for remote alarming. This output could be OR’d
with other alarm outputs if going to a common alarm relay.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 169
June 2015
Function Blocks
Digital Output Validated
Function
Provides a digital status from the algorithms and functions to physical logic output hardware.
The digital status is fed back to DI feedback channel for validation. Each DO block and
feedback DI requires a module and channel number during configuration. The output status for
DO and feedback DI channel may be inverted.
Input
X = Input Status Signal
^RSTRT = Restart Signal – When used, a positive (rising) input pulse releases OUT from its
failsafe value and FAIL pin from its ON state. If ^RSTRT pin is left unconnected, the function
block’s OUT and FAIL pins will not latch the status. This allows for the replacement or repair of
the failed DO module or failure condition and operator controlled release.
DIS = Disable Signal – When used and made ON, disables the DO Channel and also results in
disabling of ^RSTRT functionality. If DIS pin left unconnected or made OFF, results in Normal
Operation i.e. it enables the function block.
Output
OUT = Physical output value of function block
FAIL = Failed Output Indication – DO module has an error. OUT is set to failsafe (OFF - for
safety worksheet and selectable for process worksheet).
FBFAIL = Feedback Fail – Feedback DI module fail. OUT continues to function without feedback
validation.
VFAIL = Validation Fail – Input does not match output status i.e. the value read does not equal
the value written. If DI module has an error, VFAIL will stay OFF. OUT continues to function
without feedback validation.
170 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
Digital Output Validated
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Properties Parameter Index # Parameter Description Value or Selection
Group
Failsafe ON N/A Set the output of the block to ON when Click on radio
failure is detected button to select
(Applicable to
process worksheet
Revision 19 HC900 Process Control Designer Function Block Reference Guide 171
June 2015
Function Blocks
Digital Output Validated
only)
OFF N/A Set the output of the block to OFF when OFF (for safety
failure is detected worksheet)
Click on radio
button to select
(for process
worksheet only)
HOLD N/A Hold the output at the last value just prior Click on radio
to the failure being detected button to select
(Applicable to
process worksheet
only)
Invert Invert 1 If invert is selected, invert IN before writing to output. The slash
will be present in the COIL symbol only when the invert box is
selected on the dialog.
Example
Figure 01 below shows a function block diagram using a DO-V function block. A digital output
signal (AL1) will turn the digital output for DO-V block ON and OFF for monitoring. The feedback
fail (FBFAIL) and validation fail (VFAIL) are also used for monitoring the statuses. The connection
to “RSTRT” pin ensures that the status on OUT and FAIL pins will remain latched, until a positive
(rising) edge is detected on “RSTRT” pin.
172 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
Digital Output Validated
Revision 19 HC900 Process Control Designer Function Block Reference Guide 173
June 2015
Function Blocks
8DO Function Block
Function
Provides write access to any physical digital output. (All read at the same time) It minimizes the number of
blocks required to configure all of the digital I/O required in the system. It provides a digital status from the
algorithms and functions to physical logic output hardware. Each block output requires a module and
channel number during configuration. The output status may be inverted.
Input
IN D1 = Input Status Signal
IN D2 = Input Status Signal
IN D3 = Input Status Signal
IN D4 = Input Status Signal
IN D5 = Input Status Signal
IN D6 = Input Status Signal
IN D7 = Input Status Signal
IN D8 = Input Status Signal
Output
FAIL = Failed Output Indication - Module Error
Note: Write Coil instructions are not supported for outputs configured in the 8 DO FB in controllers of
version 4.4xx or earlier. Use single DO FB when executing write coils to HC900 outputs.
174 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
8DO Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 46 Eight Digital output configuration parameters
Failsafe Failsafe ON N/A set the output of the block to OFF Select from drop-
when failure is detected down menu
Failsafe OFF N/A set the output of the block to ON for each Output.
when failure is detected
Revision 19 HC900 Process Control Designer Function Block Reference Guide 175
June 2015
Function Blocks
8DO Function Block
Example
Figure 34 shows a Function Block Diagram using a 8 Point DO function block.
176 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
DSW Digital Switch Function Block
Function
Sets the output of the block equal to either input A or Input B depending on the value of input SA. If input
SA (Select A) is ON, then OUT = Input A, otherwise OUT = Input B.
Input
A = 1st of two inputs to select from.
B = 2nd of two inputs to select from.
SA = Select A
Output
Out = If SA is ON, then A, else B.
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 35 shows an example of a DSW function block. The output is switched between two digital inputs
based on the ON or OFF state of the control input. Output = A input state when SA input is OFF and B
input state when SA input is ON.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 177
June 2015
Function Blocks
ENTH Humidity and Enthalpy Function Block
Function
This block calculates the Absolute Humidity and Enthalpy based on the input Air temperature (X1), Air
relative Humidity (X2) and Barometric Pressure (P3). This block does not have any configurable
parameters. ERR pin turns ON when any of the inputs (X1, X2, P3) or outputs (Y1, Y2) are out of range. In
case of ERR ON, outputs Y1 and Y2 are set to 0.0.
Inputs
X1 = Air temperature in degrees F. Range is -40 – 140 degrees F.
X2 = Air relative humidity in % RH. Range is 1.0 – 99.9% RH.
P3 = Barometric Pressure in psi. Range is 12.5 – 15.7 psi. When this is not connected the default value is
14.696 psi.
Outputs
Y1 = Enthalpy
Y2 = Absolute humidity
ERR = ON when any input or output is out of range. Outputs Y1 and Y2 are set to 0.0.
Configurable Parameters
This block has no configurable parameters.
178 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ENTH Humidity and Enthalpy Function Block
Example
Calculate enthalpy (0 – 100 btu/lb) and absolute humidity (0 to 100 lb/lb) as a function of air temperature,
relative air humidity, and air pressure.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 179
June 2015
Function Blocks
FGEN Function Generator Function Block
Function
Generate output characteristic curve based on up to 11 configurable “Breakpoints” for both input (X) and
Output (OUT) values.
OUT = interpolation of OUT (Yb) values for segment in which X falls.
• If X <= X (1), then OUT = OUT (1)
• If X >= X (11), then OUT = OUT (11)
ATTENTION
The X(n) value must be < X(n+1) value. Thus, if fewer than 11 breakpoints are needed, be
sure to configure any unneeded breakpoints with the same X and OUT values used for the
previous breakpoint.
Input
X = Analog Value
Output
OUT = Calculated Analog Value
180 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
FGEN Function Generator Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Revision 19 HC900 Process Control Designer Function Block Reference Guide 181
June 2015
Function Blocks
FGEN Function Generator Function Block
182 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
FGEN Function Generator Function Block
Examples
Figure 37 shows a function block diagram using a FGEN function block to characterize the PID control
loop output for control valve operation using 9 breakpoints.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 183
June 2015
Function Blocks
FI Frequency Input
FI Frequency Input
Description
The FI label stands for Frequency Input.
Function
The function is used for measuring speed and rate. It reads a single frequency channel from a
Pulse/Frequency/Quadrature input module. The signal is scaled from the selected frequency span to the
selected output range in engineering units, providing an output value in engineering units.
The input signal is rejected if it is below a selected pulse width. The frequency of pulses above this width
must be within the range specified by Pulse Width (Range); otherwise the output goes to failsafe and a
failure-to-convert error occurs.
Input
ENABL = Level input to enable block. Input is ignored if not connected and default state is enabled. If
block is disabled the output goes to zero.
Output
FAIL = A Boolean value that turns ON when the Pulse/Frequency/Quadrature input module reports a
failure.
OUT = The frequency input value scaled to engineering units (after filters, ranges, bias, or failsafe
conditions have been applied).
* (Output EU High - Output EU Low ) + Output EU Low + Bias
Frequency In - Frequency Span Low
OUT =
Frequency Span High - Frequency Span Low
The generic forcing of outputs is permitted.
184 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
FI Frequency Input
Example
Say you configure the block as follows.
Pulse Width (Range) = 500µsec (10Hz-500Hz)
Frequency Span Low = 50Hz
Frequency Span High = 450Hz
Output range in EU = 0 - 100
Bias = 8
Failsafe = Upscale (upper output range)
Assume the module is receiving a 255Hz signal, including noise. Assume 2% of pulses are noise, that is,
are less than the minimum pulse width 500 µsec. The block rejects this 2% and does not count them in the
frequency. The remaining 98% valid pulses are counted, which is an effective signal of 250Hz. From the
output equation above,
OUT = [(250–50) / (450-50)] * (100 – 0) + 0 + 8
= [200/400] * 100 + 8
= 0.5 * 100 + 8
= 50 + 8
= 58 EU
If the frequency of the effective signal (>500 µsec pulse width) changes to outside the specified range of
10-500Hz, a failure-to-convert error occurs and the output goes to failsafe, in this case upscale (100).
Revision 19 HC900 Process Control Designer Function Block Reference Guide 185
June 2015
Function Blocks
FI Frequency Input
Configurable Parameters
186 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
FI Frequency Input
Example
Revision 19 HC900 Process Control Designer Function Block Reference Guide 187
June 2015
Function Blocks
FMON Fault Monitor Function Block
Function
The reaction on detected faults is configurable depending on the applications for which the HC900 is used.
The FMON block has a fault clear input pin used for clearing all the faults generated and a fault output pin
to display the selected diagnostic fail status. Each FMON function block requires a rack number, module
number and a corresponding diagnostic to be selected during configuration, depending on the type of
diagnostic group selected.
The rack number is specified as:
1 = Rack#1 (Main Rack)
2 = Rack#2 (Expansion Rack)
3 = Rack#3 (Expansion Rack)
4 = Rack#4 (Expansion Rack)
5 = Rack #5 (Expansion Rack)
Inputs
CLRFLT - ON = Clears all the existing faults.
- OFF = Leaves the existing faults in the current status.
Outputs
DIAG FAIL = Fail status of the selected diagnostic.
Block Properties
188 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
FMON Fault Monitor Function Block
Double click on the function block to access the function block properties dialog box .
Configurable Parameters
Properties Index
Parameter Parameter Description Value or Selection
Group #
Controller
Controller diagnostics group
Diagnostics
Rack N/A
Rack diagnostics group
Diagnostics
Diagnostics Select one of the group
diagnostics
Module
Module diagnostics group
Diagnostics
Revision 19 HC900 Process Control Designer Function Block Reference Guide 189
June 2015
Function Blocks
FMON Fault Monitor Function Block
Any Module High Temperature one of the two CJs on the module is indicating a
temperature reading greater than 70 degrees C.
Bad Scanner Version The Main CPU determined that its software is not
compatible with the scanner module.
Wrong Module Installed The module does not agree with the module
required for the control scenario.
Module Diagnostics No Module Communication Main CPU is unable to communicate to the module
for one of the following reasons:
190 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
FMON Fault Monitor Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 191
June 2015
Function Blocks
FRCP Force Present Function Block
This block is part of the Alarm/Monitor category. It is available for Normal Scan only.
Function
Output indicates the presence of any forced blocks in the controller. Input can clear all forces and prevent
new forces.
Inputs
RST - When ON clears all existing forces and prevents any new force requests, notifying user that forcing
is disabled. Does not affect the Force Present block itself. When OFF, leaves forces in current state. No
connection to this pin is the same as OFF.
Outputs
192 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 49 Force Present configuration parameters
Revision 19 HC900 Process Control Designer Function Block Reference Guide 193
June 2015
Function Blocks
FSS Four Selector Switch Function Block
Function
Provides 16 digital outputs in groups of four. A dedicated display allows activating of only one output per
group while other outputs in the associated group are turned off.
Inputs
RESET = Off to ON requests a reset state. Reset Input turns on #1 output of all 4 groups.
Outputs
A1, A2, A3, A4 = Bank A Output 1 through Output 4
B1, B2, B3, B4 = Bank B Output 1 through Output 4
C1, C2, C3, C4 = Bank C Output 1 through Output 4
D1, D2, D3, D4 = Bank D Output 1 through Output 4
ATTENTION
If the Operator Interface makes a request and RESET occurs on the same cycle, RESET will
take precedence.
194 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
FSS Four Selector Switch Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 50 Four selector switch configuration parameters for operator interface display
Revision 19 HC900 Process Control Designer Function Block Reference Guide 195
June 2015
Function Blocks
FSS Four Selector Switch Function Block
Example
Figure 39 shows a FFS function block and its associated display.
ATTENTION
The Four Selector group display is directly associated with the Four Selector Function Block.
Pressing O/I Keys F1 through F4 call up a dialog box that allows changes to the output
selection for the associated block.
^RESET A1 OFF
SELECT MODE AUTO F1 A2 AUTO
F1 F1 A3
A4 PRGRM
RIGHT B1
SELECT DIRECTION RIGHT F2 B2
F2 F2 LEFT
UP B3
DOWN B4
196 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
FSYS Fast Logic System Monitor
Function
This function block provides read access to controller status values including those related to the Fast Scan
execution cycle. (To access status values relating to the Normal Scan execution cycle see the ASYS
function block.) The outputs may be connected to function block inputs. The outputs may also be
connected to signal tags for operator interface monitoring. The Fast Scan System Status block is assigned
block number 2.
Versions
The status information available to be monitored for the fast scan execution system depends on both the
controller type and the revision of software executing on the controller. As a result, there are different
versions of the FSYS block and when you drag and drop this block onto a configuration worksheet the
graphic may look a little different than the one shown above. The Process Control Designer will
automatically select the correct version of the block based on the controller type and software revision
selected for each configuration file.
The graphic shown above is for the most advanced version of the block and earlier versions may have
fewer outputs, different output types and/or different output ordering. Where applicable, the differences are
described in the table below for each output.
Restrictions
There can be only one instance of the FSYS function block within a configuration.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 197
June 2015
Function Blocks
FSYS Fast Logic System Monitor
Output Description
NEWSTART ON for one full cycle of control block execution, following a New start of the system. For
example: starting after a change from program to run.
RESTART ON for one full cycle of control block execution, following power up. [Warm Start]
HWOK Hardware OK is ON if there are no faults. HWOK is set to off when a Rack Monitor Block’s
RACK OK pin is off.
LOWBTRY Low Battery is ON if the battery is low, Off when battery is good.
BAD_BLOCK Provides an indication of whether or not there are any blocks in the fast scan execution that are
not operating properly. Any function block monitor window which indicates a block status other
than "OK" is considered a Bad Block. For example: forced outputs (analog or digital), math
errors (divide by zero), un-configured I/O blocks (rack/slot/channel) and PID blocks with a PV
over/under the configured range limits.
Revision 6.0:
This pin is an analog output which provides the block number of the first bad block in the fast
scan configuration, as per execution order. Refer also to the BBLK_CNT output below.
This pin is a digital output which provides simple ON/Off indication of at least one bad block in
the fast scan execution logic. The BBLK_CNT output below does not exist in these versions.
RSV AVAIL Available for C75 and C75S redundant CPU controllers only.
ON when the Reserve CPU is available for failover. OFF when the Reserve CPU is unavailable
for failover.
On other controllers this pin may be missing or may be labeled as "N/A" and serves only as a
placeholder, depending on the revision of the software.
The number of bad blocks present in the fast scan execution logic. Refer to the BAD_BLOCK
output above for the definition of a bad block.
198 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
HLLM High Low Limiter Function Block
Function
Provide high-low limit for an analog (X) value.
Turns ON H or L digital output if input exceeds or falls below set limits.
• If X < or = Low Limit value, then: OUT = LoLlM; L = ON; H = OFF.
• If X > or = High Limit value, then: OUT = HiLlM; L = OFF; H= ON.
• If X > Low Limit value and < high Limit value, then: OUT = X; L = OFF; H = OFF.
Input
X = Analog Value
Output
OUT = Analog value within limits
L = Low Limit digital indication
H= High Limit digital indication
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 199
June 2015
Function Blocks
HLLM High Low Limiter Function Block
Configuration parameters
Table 52 High low limit configuration parameters
Set Limits High Limit 0 High limit value for analog (X) value –99999 to 999999
Low Limit 1 Low limit value for analog (X) value –99999 to 999999
Example
Figure 40 shows a Function Block Diagram using an HLLM function block to provide a remote setpoint
signal within specified limits to a PID Control Loop.
X Input { XX LO
HI
X
HI*
Output { LO* OUT
200 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
HMON High Monitor Function Block
Function
Monitors two analog input values (X and Y) and turns ON a digital output if X exceeds Y.
A hysteresis adjustment is provided to prevent output cycling.
• If X > Y, then OUT = ON.
• If X < or = (Y – Hysteresis), then OUT = OFF.
• If (Y – Hysteresis) < X < Y, then OUT = Previous State.
Input
X = Analog value.
Y = Analog value
Output
OUT = Digital signal
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 201
June 2015
Function Blocks
HMON High Monitor Function Block
Configuration parameters
Table 53 High monitor function block configuration parameters
Example
Figure 41 shows a Function Block Diagram using an HMON function block. It shows a typical output
signal response provided by an HMON function block.
202 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
HOA Hand/Off/Auto Switch Function Block
Function
The Hand – Off – Auto (HOA) switch function block permits state change requests from a Local Operator
Interface or a Remote source. The block states are: BYPASS (external manual operation of a device),
HAND (manual operation from an operator interface), AUTO (default – requests are operated
automatically), or OFF (relay to be switched to Bypass, Hand, or Auto)
The HOA switch is also used with the Device Control (DC) function block to comprise a Pump Control
algorithm which is used to manipulate the state of a controlled device (pump).
Each configuration is limited to a maximum of 16 HOA function blocks.
Forcing of outputs is NOT permitted within this block.
Input
REQI = If the current state of the block is AUTO, then REQO output (on/off) equals the REQI input
(on/off).
BYPS = If ON, the REQO output is forced off and any state change requests are ignored. If OFF, the block
returns to its previous state (Hand, Off, Auto).
Output
HAND = ON when the block is in the HAND state, else OFF. Device is in manual operation from an
operator interface; prevents automatic operation; this state forces the REQO output ON.
AUTO = On when block is in AUTO state, else OFF. Requests are operated automatically.
REQO = This is ON when in the HAND state, or when in the AUTO state and the REQI input signal is
ON. OFF when in the OFF or BYPASS state.
Note. Both HAND and AUTO are OFF in the OFF and BYPASS states.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 203
June 2015
Function Blocks
HOA Hand/Off/Auto Switch Function Block
Block properties
The HAND/OFF/AUTO properties dialog box is divided into two tab cards:
GENERAL
FEEDBACK SIGNAL
Click on the tab to access the properties for that tab.
GENERAL tab
Settings HOA Source N/A Determines which devices Local (Local Operator Interface)
have permission to write
Hand-Off-Auto state change Remote (Serial Communications)
requests.
Local/Remote
Default = Local/Remote
204 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
HOA Hand/Off/Auto Switch Function Block
To select a Feedback signal and to define state text for the enumerated value of the feedback signal,
proceed with the sequence 1 through 3 below.
2 Click “Select” at
Select/Delete Signal the bottom of The selection is
the “Analog placed in the
Signal Tag List” Selected Signal field
to place on the dialog box.
highlighted Click on “Delete
signal tag into Signal” at the bottom
the “Selected of the “Analog Signal
Signal” field Tag List” to remove
a signal tag from
field.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 205
June 2015
Function Blocks
HOA Hand/Off/Auto Switch Function Block
PRESTART 2
STARTING 3
RUNNING 4
STOPPING 5
FAILED 6
DISABLED 7
STATE 8 8
206 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
HOA Hand/Off/Auto Switch Function Block
Example
Figure 43 shows a Function Block Diagram using an HOA function block in conjunction with a Device
Control (DC) block and an external HOA switch for pump control. The level signal input and Compare
(CMPR) function are used to determine pump On/Off demand.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 207
June 2015
Function Blocks
HSEL High Selector Function Block
Function
Selects higher of two analog input values (X and Y) for output.
Indicates when Y is higher than X.
• If X > or = Y, then: OUT = X; YHI = OFF.
• If X < Y, then: OUT = Y; YHI = ON.
Input
X = Analog value
Y = Analog value
Output
OUT = Higher analog value
YHI = Digital signal. (ON when Y>X.)
Block properties
Double click on the function block to access the function block properties dialog box.
208 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
HSEL High Selector Function Block
Example
Figure 43 shows a Function Block Diagram using an HSEL function block to monitor two analog inputs to
activate an alarm signal tag.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 209
June 2015
Function Blocks
LDLG Lead/Lag Function Block
Function
Modifies an analog input value (X) to include LEAD (T2) and LAG (T1) time constants of from 0 to 99
minutes, when a digital input (EN) is ON.
• If EN = ON, then:
1 + sT2
OUT = xX
1 + sT1
s = Laplace operator
If T1 = 0, then:
T2
OUT = last X + (X - last X)
t
Inputs
X = Analog value (Primary Input)
EN = Digital signal (Enable)
Output
OUT = Analog value as modified
210 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
LDLG Lead/Lag Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 56 Lead lag configuration parameters
Time Constants Lag Time (min) 0 T1 - Lag Time Constant 0.00 to 99.00 minutes
Revision 19 HC900 Process Control Designer Function Block Reference Guide 211
June 2015
Function Blocks
LDLG Lead/Lag Function Block
Example
Figure 44 shows a Function Block Diagram using an LDLG function block to modify the PV signal for the
remote setpoint input of the PID control loop.
212 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
LMON Low Monitor Function Block
Function
Monitors two analog input values (X and Y), and turns ON a digital output if X is less than Y.
A hysteresis adjustment is provided to prevent output cycling.
• If X < Y, then: OUT = ON.
• If X > or = (Y + Hysteresis), then: OUT = OFF.
• If (Y + Hysteresis) > X > Y, then: OUT = Previous State.
Input
X = Analog value.
Y = Analog value
Output
OUT = Digital signal
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 213
June 2015
Function Blocks
LMON Low Monitor Function Block
Configuration parameters
Table 57 Low monitor function block configuration parameters
Example
Figure 45 shows a Function Block Diagram using an LMON function block. It shows a typical output
response provided by a LMON function block.
214 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
LPSW Loop Switch Function Block
Function
Digital interface to control loops to initiate autotuning, change control action, force bumpless transfer,
select tuning set. It connects to a PID, TPSC, or CARB function block.
Inputs
^ATC = Autotune Command (OFF to ON initiates Autotuning)**
CACT = Change Control Action (ON changes Control Action)
^FBT = Force Bumpless Transfer (OFF to ON Forces Bumpless Transfer)** Performs the same function
that occurs when the loop changes from Manual to Automatic mode. The loop will re-calculate the integral
term to normalize the PID algorithm to the current PV and SP. You could use this input to correct for a
reset wind-up condition that might have occurred when an input sensor failed and was replaced/corrected.
^TUN1 = Tune Set 1 (OFF to ON switches to Tune Set 1*)**
^TUN2 = Tune Set 2 (OFF to ON switches to Tune Set 2)**
* Switch to Tune Set 1 overrides concurrent command to switch to Tune Set 2
** Not available for ON/OFF function Block
Output
SWO = The output of this block must connect to the SW1 input of a PID, CARB, and TPSC function
block.
Note: Transitions of the SWO output are not sensed when a PID loop is in Manual mode.
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 215
June 2015
Function Blocks
LPSW Loop Switch Function Block
Example
Figure 46 shows a Function Block Diagram using an LPSW function block
Function: Digital interface to initiate:
• Autotuning
• Change Control Action: Direct/Reverse Action
• Force Bumpless Transfer (rebalance the algorithm)
• Select Tuning Set #1
• Select Tuning Set #2
216 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
LSEL Low Selector Function Block
Function
Selects lower of two analog input values (X & Y) for output.
Indicates when Y is lower than X.
• If X < or = Y, then: OUT = X; YLO = OFF.
• If X > Y, then: OUT = Y; YLO = ON.
Input
X = Analog value
Y = Analog value
Output
OUT = Lower analog value
YLO = Digital signal (ON when Y<X)
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 47 shows a Function Block Diagram using an LSEL function block to monitor two analog inputs to
activate an alarm signal tag.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 217
June 2015
Function Blocks
LTCH Latch Function Block
Function
Latches output (OUT) ON when latch input (L) turns ON and maintain latched output until unlatch input
(U) turns ON. Note that latch input must be OFF for unlatch input to work.
• If U = ON, then: OUT = OFF.
• If L = ON, then: OUT = ON.
• Else, OUT = Previous State.
Input
L = Latch Command Digital signal.
U = Unlatch Command Digital signal.
Output
OUT = Digital signal
Block properties
Double click on the function block to access the function block properties dialog box.
218 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
LTCH Latch Function Block
Example
Figure 48 shows a Function Block Diagram using an LTCH function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 219
June 2015
Function Blocks
MATH Function Block
Function
Read inputs A through H and calculates the output based on specified general purpose calculation. OUT is
calculated from an equation entered here.
• Offers the following general purpose calculation functions:
− abs = addition,
− EXP = exponential (ln-1),
− Ln = natural log (log base e),
− Log 10 = log base 10,
− neg (Unary) - = negation,
− sqrt = Square Root,
− + = addition,
− – = subtraction,
− * = multiplication,
− / = division,
− ^ = raised to power of (xy)
− ( = left parenthesis,
− ) = right parenthesis, and
• A maximum of either 50 tokens (note 1) per equation or 100 characters per line is allowed, whichever is
first exceeded.
220 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MATH Function Block
ATTENTION
A token is an operation, variable, or pair of parenthesis; the end of an equation counts as one
token.
Inputs
IN A – block input 1
IN B – block input 2
IN C – block input 3
IN D – block input 4
IN E – block input 5
IN F – block input 6
IN G – block input 7
IN H – block input 8
Output
ERR = ON if block detects an error on any of the following operations:
• division by 0
• fractional root of a negative number (for example: -2**0.5)
• zero to the zero power
• LOG10 or LN of a negative number or 0
• result of x^y is greater than 1.7E + 308.
• result of EXP (x) is greater than 3.4E + 308 or less than 3.4E -308.
ATTENTION
• For the above rules, groups of constants will be combined and treated as one constant.
• Any number less than or equal to 3.4E -308 is considered 0.
ATTENTION
Revision 19 HC900 Process Control Designer Function Block Reference Guide 221
June 2015
Function Blocks
MATH Function Block
• Function operators: EXP, LOG10, Ln must have an operand to the right, and the operand
must be enclosed in parentheses.
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 58 Math function block configuration parameters
Functions Math N/A abs, exp, In, log, neg, sqrt Double Click on a function
Functions to select from the list box
222 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MATH Function Block
Example
Figure 49 shows a Function Block Diagram using a MATH function block to determine a general-purpose
calculation output.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 223
June 2015
Function Blocks
MBR Modbus Read Function Block
Function
A communication function block that expands the read capability of the Modbus Slave function block to 16
additional data points. Multiple blocks may be connected to the same Modbus Slave block.
The Modbus read block has no inputs and 16 outputs. Up to 16 registers can be configured as the source of
data for the outputs.
The configuration data for each point will consist of:
• the address of the source device on the Modbus link,
• the register address of the desired data,
• and the register type: Integer, Float, or Bit Packed.
The sixteen outputs can be connected or tagged in the same manner as any other function block output.
Inputs
ADDR = Slave address from associated MBS block. (Must be connected to a MBS block)
Outputs
RD1 through RD16 – Last read value from selected address
224 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MBR Modbus Read Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
You must configure the MBR function Block Output Pins as shown in the “Edit Selected Output Pin”
portion of the dialog box. Follow the numbered sequence shown above referring to Table 59.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 225
June 2015
Function Blocks
MBR Modbus Read Function Block
226 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MBR Modbus Read Function Block
Example
Figure 50 shows a Function Block Diagram using Modbus function blocks.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 227
June 2015
Function Blocks
MBS Modbus Slave Function Block
Function
A communication function block that is internally assigned to the configured S1 or S2 serial port that
allows the controller to act as a master device and communicate with slave devices using the Modbus RTU
protocol. Requires one block per slave device, up to 32 devices maximum. Only one block may be
assigned to each slave device. It supports 4 read and 4 write parameters plus provides digital indication of
communication integrity.
Inputs
ENABLE = [ON] Slave device is in scan -
If the Enable pin IS connected, then enabling/disabling follows the state of the Enable pin of the block and
the enable/disable function on the diagnostic page of the HC Designer is grayed out.
If the Enable pin is NOT connected, then the user must be in Monitor mode, Monitoring Serial Modbus
Diagnostics in the HC Designer, select the device to be enabled or disabled, and click the Enable (or
Disable) button.
EN1 through EN4 = [ON] Data value written once per scan
WR1 through WR4 = Values to be written to the selected register
ATTENTION
• This block does not support bit packing and single bit writing.
• If the register is an integer data type, the floating point input will be rounded up prior to
writing to the address register.
• Message Broadcasting is not supported on the UMC800.
228 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MBS Modbus Slave Function Block
Outputs
RD1 through RD4 = Last read value from the selected address
NO_SCAN = Scan Indication
ON = Device is “Out of Scan”
OFF = Device is “In Scan”.
BAD_COM = Communications Indication
ON = Bad quality or device not defined
OFF = Good Communications
ADDR = Slave Address for use with MBR and MBW function blocks
ATTENTION
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
The ON/OFF properties dialog box is divided into Three tab cards:
GENERAL
READ
WRITE
Click on the tab to access the properties for that tab.
GENERAL tab
It looks like this graphically.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 229
June 2015
Function Blocks
MBS Modbus Slave Function Block
230 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MBS Modbus Slave Function Block
Configure Modbus Slave Tag N/A Description of Slave 16-character tag name
Slave Name Device
Slave address and Tag Name
must be unique within a control
file.
Modbus N/A Address of Slave device Enter unique address between
Address on the Modbus link 1 and 247
Default MB address = 255
which means slave will NOT be
in scan
Modbus Double Each IEEE 32-bit floating point number requires two consecutive registers
Register Format (four bytes) starting with the register defined as the starting register for the
information. The stuffing order of the bytes into the two registers differs
among Modbus hosts. The selections are:
Selection Description Byte order
READ tab
It looks like this graphically.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 231
June 2015
Function Blocks
MBS Modbus Slave Function Block
232 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MBS Modbus Slave Function Block
Edit Output Pins Output Pin N/A Output pin designation Register request assigned to
RD1, RD2, RD3, or RD4 pin
Use Register N/A Register Request Click on the “Use Register” field
to assign a register to the
Output pin.
Register N/A Register data type From the drop down menu,
Data Type select the Register Data Type
• Float
• Unsigned 32
• Signed 32
• Unsigned 16
• Signed 16
• Bit Packed
• Single Bit
Revision 19 HC900 Process Control Designer Function Block Reference Guide 233
June 2015
Function Blocks
MBS Modbus Slave Function Block
Write tab
It looks like this graphically. Table 62 describes the parameters and the value or selection.
234 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MBS Modbus Slave Function Block
Edit Input Pins Input Pin N/A Input pin designation Register request assigned to
WR1,WR2,WR3, or WR4 pin
Use Register N/A Register Request Click on the “Use Register” field
to assign a register to the Input
pin.
Register N/A Register data type From the drop down menu,
Data Type select the Register Data Type
• Float
• Unsigned 32
• Signed 32
• Unsigned 16
• Signed 16
• Single bit
Revision 19 HC900 Process Control Designer Function Block Reference Guide 235
June 2015
Function Blocks
MBS Modbus Slave Function Block
236 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MBS Modbus Slave Function Block
Example
Figure 51 shows a Function Block Diagram using Modbus function blocks.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 237
June 2015
Function Blocks
MBW Modbus Write Function Block
Function
A communication function block that expands the write capability of the Modbus Slave function block to 8
additional data points. Multiple blocks may be connected to the same Modbus Slave block.
The Modbus write block has 8 inputs and no outputs. The Modbus destination for each of the eight inputs
can be configured. An enable pin lets the data value be written once per scan.
The configuration data for each point will consist of : the address of the destination device on the Modbus
link, the register address of the desired data, and the register type: Integer or Float.
Inputs
EN1 through EN8 = [ON] Data value is written once per scan
WR1 through WR8 = Value to be written to the selected register address.
ADDR = Slave address from associated MBS block. (Must be connected to MBS block)
Outputs
None
238 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MBW Modbus Write Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
You must configure the MBW function Block Input Pins as shown in the “Edit Selected Input Pin” portion
of the dialog box. Follow the numbered sequence shown above referring to Table 63.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 239
June 2015
Function Blocks
MBW Modbus Write Function Block
240 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MBW Modbus Write Function Block
Example
Figure 52 shows a Function Block Diagram using an Modbus function blocks.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 241
June 2015
Function Blocks
MDSW Mode Switch Function Block
Function
Digital interface to control loops to select automatic or manual modes and/or local or remote setpoint.
Connects to PID, ON/OFF, CARB, or TPSC mode block input.
Inputs
AUTO = Automatic Output mode (OFF to ON* sets MDRQO to Automatic control mode)
MAN = Manual Output mode (OFF to ON* sets MDRQO to Manual control mode)
LOCAL = Local Setpoint mode (OFF to ON* sets MDRQO to Local Setpoint mode)
REM = Remote Setpoint mode (OFF to ON* sets MDRQO to Remote Setpoint mode)
* for one control cycle
Output
MDRQO (Mode Request Output) = The output of this block must connect to the MDRQI input of a PID,
CARB, TPSC, or ON/OFF function block.
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 53 shows a Function Block Diagram using an MDSW function block.
Application: External mode switching of the PID Block - changing a loop to MAN, to AUTO, to LOCAL
SP, or REMOTE SP.
ATTENTION
Mode switching is also provided as an integral part of the Operator Panel, Loop Displays.
The MDSW (Mode Switch) Function Block is used exclusively with the MDRQI (Mode Request Input) of
the PID, ON/OFF, CARB< or TPSC Function Block. Its output provides encoded switch commands to the
PID Block.
242 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MDSW Mode Switch Function Block
All inputs are OFF to ON edge-triggered, requiring a separate input for each action. The example shows
digital inputs as the transfer inputs but any digital status could be used.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 243
June 2015
Function Blocks
MDFL Mode Flag Function Block
Function
Turns ON the output that corresponds to the current value of MODE.
Turns OFF all other outputs.
Input
MODE = The MODE input must connect to the MODE output of a PID, CARB, TPSC, or ONOFF
function block.
Output
REM = ON If MODE = Remote Setpoint
LOCAL = ON If MODE = Local Setpoint
AUTO = ON If MODE = Automatic Control
MAN = ON If MODE = Manual Control
IMAN = ON If MODE = Loop in Initialization Manual
LO = ON If MODE = Local Override
Block properties
Double click on the function block to access the function block properties dialog box.
244 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MDFL Mode Flag Function Block
Example
Figure 54 shows a Function Block Diagram using an MDFL function block. The mode output of the PID
Block is used exclusively with the MDFL (Mode Flags) Block.
Any of the status outputs may be referenced by a Signal Tag or may be transferred externally using a DO.
The output shown is ON when in Manual and OFF when in Automatic.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 245
June 2015
Function Blocks
MMA Min/Max/Avg Function Block
Function
Accepts inputs from up to six analog input values (X1 - X6) and calculates these values for output:
• MIN - Minimum input value
• MAX - Maximum input value
• AVG - Average of the 6 input values
• SUM - Sum of the 6 input values
• DEV - Standard deviation of the 6 input values
• ALM - Alarm output for deviations
Turns ON ALM when any input is outside the configured number of standard deviations when the
configuration parameter DEV > 0.
• If DEV configured < 0, then:
− no standard deviation is calculated;
− all inputs connected to the block are used to calculate the MIN, MAX, AVG, AND SUM outputs.
• If DEV configured = 0, then:
− the standard deviation is calculated for the number of inputs connected to the block, and
− all inputs connected to the block are used to calculate the MIN, MAX, AVG, and SUM outputs.
• If DEV configured > 0, then:
− the standard deviation is calculated for the number of inputs connected to the block, and SDEV =
result;
− any inputs that deviate more than the configured number (DEV) of standard deviations from the
average are not used to calculate the MIN, MAX, AVG, and SUM outputs;
− if any input deviates more than the configured number (DEV) of standard deviations, ALM turns ON;
246 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MMA Min/Max/Avg Function Block
− if all inputs deviate more than the configured number (DEV) of standard deviations, then the MIN,
MAX, AVG, and SUM outputs all equal zero (0), and ALM turns ON.
i=n 2
∑ (X i - X)
i=1
• Standard Deviation (SDEV) = n
where: X = AVG
n = the number of connected inputs.
Input
X1 = First analog value.
X2 = Second analog value.
X3 = Third analog value.
X4 = Fourth analog value.
X5 = Fifth analog value.
X6 = Sixth analog value.
Output
MIN = Calculated minimum analog value.
MAX = Calculated maximum analog value.
AVG = Calculated average of analog values.
SU = Calculated sum of analog values.
SDEV = Square root of Z divided by N, where Z = the sum of individual squared deviations from the
average of the first n inputs.
ALM = Digital signal for alarm indication.
Block properties
Revision 19 HC900 Process Control Designer Function Block Reference Guide 247
June 2015
Function Blocks
MMA Min/Max/Avg Function Block
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 64 Min/Max/Ave/Sum function block configuration parameters
=0 Standard Deviation
with no alarm
248 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MMA Min/Max/Avg Function Block
Example
Figure 55 shows a Function Block Diagram using an MMA function block. In this application, control is
determined by automatic selection of the lowest or highest sensor, such as a thermocouple. As shown the
MMA block is configured for highest (MAX).
Revision 19 HC900 Process Control Designer Function Block Reference Guide 249
June 2015
Function Blocks
MSF Mass Flow Calculation Function Block
Function
Calculates gas mass flow (OUT) from differential pressure input value (X) that represents a pressure drop
across an orifice plate (for example). It accepts two other inputs to include pressure (Y) and/or temperature
(Z) compensation in the calculation. The calculation includes square root extraction.
• OUT = Kq * sqrt [(dP * P) / T]
Kq = Orifice Constant
dP = Differential pressure which
= (Kx * X) + Bx; where:
Kx = Delta pressure scaled for desired engineering units
X = Analog input value
Bx = Delta pressure bias in desired engineering units
P = Absolute gas pressure which
250 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MSF Mass Flow Calculation Function Block
Input
X = Differential pressure analog value.
Y = Gas pressure analog value.
Z = Gas Temperature analog value.
Output
OUT = Calculated analog value
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Revision 19 HC900 Process Control Designer Function Block Reference Guide 251
June 2015
Function Blocks
MSF Mass Flow Calculation Function Block
Example
Figure 56 shows a MSF Function Block Diagram using inputs to calculate a mass flow output.
252 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
MUL Multiplier Function Block
Function
Multiplies one analog input value (X) by another (Y).
• OUT = X * Y
Input
X = First analog value
Y = Second analog value
Output
OUT = Calculated analog value
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 253
June 2015
Function Blocks
MUL Multiplier Function Block
Example
Figure 57 shows a Function Block Diagram using a MUL function block
254 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
4MUL Multiplier (4 input) Function Block
Function
Multiplies four inputs to get an output.
Input
X1 = First analog value
X2 = Second analog value
X3 = Third Analog value
Y = Fourth Analog value
ATTENTION
All four inputs must be connected. Unconnected inputs default to zero. If only three inputs are
needed, the fourth should be connected to a constant value of 1.
Output
OUT = Calculated analog value
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 255
June 2015
Function Blocks
4MUL Multiplier (4 input) Function Block
Example
Figure 58 shows correct and incorrect example of a 4MUL function block. Note that all unused inputs must
be connected to a constant value of one.
256 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
NEG Negate Function Block
Function
Convert a value to the opposite sign; i.e., +5 IN = –5 OUT, –6 IN = +6 OUT.
(Invert sign of an analog value.)
Input
X = positive or negative analog value
Output
Y = analog value of opposite sign from input
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 59 shows a Function Block Diagram using a NEG function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 257
June 2015
Function Blocks
NOT Function Block
Function
Reverse state of a digital input (X).
• OUT = Opposite state of X
If X = ON, then: OUT = OFF.
IF X = OFF, then: OUT = ON.
Input
X = Digital signal
Output
OUT = Complement of input signal
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 60 shows a Function Block Diagram using a NOT function block. Use a single input to place a loop
in manual when the input is ON (1) and return to Auto when OFF (0).
258 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ONDT On Delay Timer Function Block
Function
Provides an ON state logic output delayed by a user specified delay time after an OFF to ON transition of
the RUN input.
An ON to OFF transition of the RUN input before the delay time has elapsed causes the timer to reset.
Transitions from OFF to ON of the input are not delayed.
• If RUN is OFF, then OUT = OFF
• If previous RUN input is OFF and RUN is ON, then TIMER = DELAY, else if timer is not zero, then
TIMER = TIMER -1.
• If RUN is ON and TIMER is 0, then OUT = ON (delay time has timed out).
Timing Diagram
1
Run Input 0
1
On Delay
Output 0
Input
RUN = Logic Input
Output
OUT = Logic Output
Revision 19 HC900 Process Control Designer Function Block Reference Guide 259
June 2015
Function Blocks
ONDT On Delay Timer Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 66 On delay timer function block example
Time Delay Time delay 0 Delay Time - specifies the 0.1 sec, 0 to 99999.9
amount of time the ON state logic
output will occur after an OFF to Enter as 0.1 to 99999 in
ON transition of the RUN input. 0.1 increments
260 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ONDT On Delay Timer Function Block
Example
Figure 61 shows a Function Block Diagram using an ONDT function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 261
June 2015
Function Blocks
OFDT Off Delay Timer Function Block
Function
Provides an OFF state logic output delayed by a user specified delay time after an On to OFF transition of
the RESET input.
An OFF to ON transition of the RESET input before the delay time has elapsed causes the timer to reset.
Transitions from OFF to ON of the input are not delayed.
• IF RESET is ON, then OUT = ON.
• If previous RESET input is ON and RESET is OFF, then TIMER = DELAY.
• If RESET is OFF and TIMER is not 0, then time = TIMER – 1.
• If RESET is OFF and TIMER is 0, then OUT = OFF (delay time is reset).
Timing Diagram
1
Rst Input
0
1
Output Off Delay
0
Input
RST = Logic Input
Output
OUT = Logic Output
262 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
OFDT Off Delay Timer Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 67 Off delay timer configuration parameters
Time Delay Time delay 0 Delay Time - specifies the 0.1 sec, 0 to 99999.9
amount of time the OFF state
logic output will occur after an Enter as 0.1 to 99999 in
ON to OFF transition of the Reset 0.1 increments.
input.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 263
June 2015
Function Blocks
OFDT Off Delay Timer Function Block
Example
Figure 62 shows a Function Block Diagram using an OFDT function block.
Timing Diagram
AND4 output
TRIG1 output
Off delay
OFDT2 output
264 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ON/OFF Function Block
Function
Provide ON/OFF control. The output is either ON (100 %) or OFF (0 %).
Inputs
RSP = Remote Setpoint (% or EU per SP Units)
TRV = Track Value Output—1 = ON, 0 = OFF
TRC = Track Value Command—1 = enable, 0 = disable (Mode = Local Override)
SWI = Switch Inputs (from LPSW function block)
MDRQI = External Mode Request (connected to the MDRQO output of a MDSW function block) encoded
as follows:
0.0 = No Change
1.0 = Manual Mode Request
2.0 = Automatic Mode Request
4.0 = Local Setpoint Request
8.0 = Remote Setpoint Request
Revision 19 HC900 Process Control Designer Function Block Reference Guide 265
June 2015
Function Blocks
ON/OFF Function Block
Outputs
WSP = Working Setpoint in Engineering Units for monitoring
AL1 = Alarm 1
AL2 = Alarm 2
DIRECT = ON = Direct; OFF = Reverse
MODE = Actual Mode encoded as follows: (Connect to Mode Flags block [MDFL] to encode mode
status.)
0.0 RSP AUTO
1.0 RSP MAN
2.0 RSP Initialization Manual (See ATTENTION)
3.0 RSP Local Override (See ATTENTION)
4.0 LSP AUTO
5.0 LSP MAN
6.0 LSP Initialization Manual (See ATTENTION)
7.0 LSP Local Override (See ATTENTION)
BCO = Back Calculation Output (for blocks used as Cascade Secondary
ATTENTION
• the request comes from the operator Interface, the request is ignored.
• the request comes from the Mode Switch (MDSW) function block, the request is retained
and when leaving the Initialization Mode or Local Override Mode the loop will go to manual.
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
The ON/OFF properties dialog box is divided into 5 tab cards:
GENERAL
START/RESTART
RSP
RANGE/LIMIT
ALARMS
Click on the tab to access the properties for that tab.
266 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ON/OFF Function Block
GENERAL tab
Revision 19 HC900 Process Control Designer Function Block Reference Guide 267
June 2015
Function Blocks
ON/OFF Function Block
268 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ON/OFF Function Block
START/RESTART tab
Revision 19 HC900 Process Control Designer Function Block Reference Guide 269
June 2015
Function Blocks
ON/OFF Function Block
Select one
Select one
Power Up Power Up N/A Output at Power up LAST OUT - Same as at power down.
Out Out
FAILSAFE - Failsafe output value.
Initial Use initial 30 Use Initial Local Click on radio button to select.
Setpoint LSP Setpoint
Value
Initial LSP 31 Initial Local Setpoint Enter Initial Local Setpoint Value.
Value Value
270 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ON/OFF Function Block
RSP tab
Remote Setpoint Use RSP Input N/A Use Remote Setpoint in Click on radio button to select
Source and Units (EU) Engineering Units
Use RSP Input Use Remote Setpoint in Click on radio button to select
(%) Percent
Revision 19 HC900 Process Control Designer Function Block Reference Guide 271
June 2015
Function Blocks
ON/OFF Function Block
RANGE/LIMIT tab
272 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ON/OFF Function Block
SP Rate Down 15 Setpoint Rate Down value - when 0 (off) to 9999 (eu/min)
making a setpoint change, this is
the rate at which setpoint will
change from the original setpoint
down to the new one.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 273
June 2015
Function Blocks
ON/OFF Function Block
ALARMS tab
274 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ON/OFF Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 275
June 2015
Function Blocks
ON/OFF Function Block
Example
Figure 63 shows a Function Block Diagram using an ON/OFF function block.
276 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
2OR Function Block
Function
Monitors two digital input signals (X, Y) to set state of digital output signal (OUT).
• If X = OFF and Y = OFF, then OUT = OFF.
• If X = ON and/or Y = ON, then: OUT = ON.
Input
X = First digital signal.
Y= Second digital signal.
Output
OUT = Digital signal controlled by status of input signals
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 277
June 2015
Function Blocks
2OR Function Block
Input state
You can invert Input 1 or input 2 or both. If the input is inverted, an input line that is ON is seen as OFF.
(“N” appears on Icon next to the inverted input.)
Example
Figure 64 shows a Function Block Diagram using a 2OR function block.
278 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
4OR Function Block
Function
Turns digital output (OUT) OFF when inputs X1 through X4 are OFF. Thus,
• If input X1 or X2 or X3 or X4 is ON, then: OUT = ON.
• If all inputs are OFF, then: OUT = OFF.
Input
X1 = First digital signal
X2 = Second digital signal
X3 = Third digital signal
X4 = Fourth digital signal
Output
OUT = Digital signal controlled by status of input signals
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 279
June 2015
Function Blocks
4OR Function Block
Input state
You can invert Input 1, 2, 3, 4, or all. If the input is inverted, an input line that is ON is seen as OFF. (“N”
appears on the Icon next to the inverted input.)
ATTENTION
Example
Figure 65 shows a Function Block Diagram using a 4OR function block.
Output = X1 or X2 or X3 or X4
280 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
8OR Function Block
Function
Turns digital output (OUT) OFF when inputs X1 through X8 are off, thus:
• If input X1 or X2 or X3 or X4 or X5 or X6 or X7 or X8 is ON, then: OUT = ON.
• If all inputs are OFF, then: OUT = OFF.
Input
X1 = First digital signal
X2 = Second digital signal
X3 = Third digital signal
X4 = Fourth digital signal
X5 = Fifth digital signal
X6 = Sixth digital signal
X7 = Seventh digital signal
X8 = Eight digital signal.
Output
OUT = Digital signal controlled by status of input signals
Revision 19 HC900 Process Control Designer Function Block Reference Guide 281
June 2015
Function Blocks
8OR Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Input state
You can invert Input 1, 2, 3, 4, 5, 6, 7, 8 or all. If the input is inverted, an input line that is ON is seen as
OFF. (“N” appears on the ICON next to the inverted input.)
CAUTION
282 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
8OR Function Block
Example
Figure 66 shows a Function Block Diagram using an 8OR function block.
Output = X1 or X2 or X3 or X4 or X5 or X6 or X7 or X8
Revision 19 HC900 Process Control Designer Function Block Reference Guide 283
June 2015
Function Blocks
PB Pushbutton Function Block
Function
Provides the interface from the operator panel to the logic functions of the controller. Provides a one-shot
logic ON in response to pressing the corresponding function key on the operator interface.
This selection lets you configure the Pushbutton function display that will provide the interface to the four
logic operator keypad keys (F1 through F4). You can do this for up to four Pushbutton blocks giving you 4
groups (total 16 pushbuttons) that can be set up for selection on your display buttons (1-8).
When you select a pushbutton group on a display button (1-8), the operator interface will display the
pushbutton function group screen and buttons F1-F4 on the operator interface will display the information
that has been set up for that group.
Output
F1 = Provide 1 shot logic ON in response to pressing Pushbutton F1
F2 = Provide 1 shot logic ON in response to pressing Pushbutton F2
F3 = Provide 1 shot logic ON in response to pressing Pushbutton F3
F4 = Provide 1 shot logic ON in response to pressing Pushbutton F4
Configuration
Double click on the function block to access the “Pushbutton Display Configuration” dialog box.
284 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PB Pushbutton Function Block
Configuration procedure
Follow the procedure in Table 73 to configure the Pushbutton Function Groups.
You can assign just a label for the display using the
Output descriptor.
You can also select signal tags from the “Signal Tag
List” if you require a feedback signal to be shown on the
pushbutton display.
The “Signal Tag List” field shows all the Signal Tags that
have been configured on the Function Block Diagram.
Select “All Signals”, ”Analog Signals”, or “Digital
Signals”.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 285
June 2015
Function Blocks
PB Pushbutton Function Block
• Click “OK”.
Example
Figure 67 is an overview of a pushbutton configuration.
286 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PDE Peer Data Exchange Function Block
Function
A communications function block that allows interconnecting controllers with Ethernet media and
networking devices communicate with each other.
It requires one block per controller; up to 32 controllers maximum. It supports up to
8 Read and 4 Write parameters. By connecting PDR and PWD blocks, a PDE communication block can
support up to 70 peer exchanges with each peer controller, however there is a limit of 44 Writes supported.
The block does not support forcing, but will allow data writes to any of its inputs.
Inputs
EV1 through EV4 - [ON] - data value written per scan
WR1 through WR4 - Values to be written to the selected controller
Attention: The block does not support bit packing and single bit writing.
If the register is an integer type, the floating point input will be rounded up prior to the address register.
Outputs
RD1 through RD8 - last read value from the selected controller.
NO SCAN - ON = device is not receiving updates from peer
OFF = device is receiving updates from peer
NO CONN - ON = cannot connect to peer device
OFF = Good connection, Peer found.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 287
June 2015
Function Blocks
PDE Peer Data Exchange Function Block
Block Properties
Double click on the function block to access the function block properties.
Block properties
Double click on the function block to access the function block properties dialog box.
GENERAL tab
Peer N/A Name of the Peer Enter the peer controller name in the
Controller controller for this block active field. 12 characters max.
Name
288 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PDE Peer Data Exchange Function Block
READ tab
Read Signal N/A Activates the RD1 Click on selection box for the pin number.
through RD8 pins for
reads.
Signal N/A Signal Tag number that Enter a tag number from the report.
Number appears on the Tag
Information Report. You can also use the "Find a Signal
tag" procedure to find the Signal Tag
See "Tag Information number.
Example".
Use Last N/A Use the last known Click on selection box for the pin number.
Value value for when the
associated data
connection is invalid.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 289
June 2015
Function Blocks
PDE Peer Data Exchange Function Block
WRITE tab
Write N/A Activates the WR1 Click on selection box next to the pin
Variable through WR4 pins for number.
writes.
Variable N/A Variable number that Enter a variable number from the report.
Number appears on the Tag
Information Report. You can also use the "Find a Signal
tag" procedure to find the variable
See "Tag Information number.
Example".
290 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PDE Peer Data Exchange Function Block
Example
The problem that is being addressed is to control a PID in Unit 2 from a recipe and OI located on unit 1.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 291
June 2015
Function Blocks
PDR Peer Data Read Function Block
Function
A Peer Data Exchange block that expands the Read capability of the PDE function block to 16 additional
points.
Multiple blocks may be connected to the same PDE function block.
The PDR Read block has 16 outputs. The Peer Data Exchange destination for each of the 16 input can be
configured.
Inputs
RD1 through RD16 - Values to be written to the selected peer controller
Outputs
None
Block Properties
Double click on the function block to access the function block properties.
292 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PDR Peer Data Read Function Block
Configuration Parameters
Read Signal N/A Activates the RD1 through Click on selection box next to the pin
RD16 pins for reads. number.
Signal N/A Signal Tag number that Enter a tag number from the report.
Number appears on the Tag
Information Report. You can also use the "Find a
Signal tag" procedure to find the
See "Tag Information Signal Tag number.
Example".
Use Last N/A Use the last known value for Click on selection box for the pin
Value when the associated data number.
connection is invalid.
Failsafe N/A Failsafe value for when the Enter a failsafe value.
Value associated data connection
is invalid.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 293
June 2015
Function Blocks
PDW Peer Data Write Function Block
Function
A Peer Data Exchange block that expands the Write capability of the PDE function block to 8 additional
points.
Multiple blocks may be connected to the same PDE function block, however there is a limit of 44 Writes
supported..
The PDW Write block has 8 outputs. The Peer Data Exchange destination for each of the 8 input can be
configured.
Inputs
^EV1 through EV8 - Event Inputs to trigger write on rising edge.
WR1 through WR8 - Values to be written to the selected peer controller
Outputs
None
Block Properties
Double click on the function block to access the function block properties.
294 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PDW Peer Data Write Function Block
Configuration Parameters
Write N/A Activates the WR1 through Click on selection box next to the pin
Variable WR8 pins for writes. number.
Variable N/A Variable number that Enter a variable number from the
Number appears on the Tag report.
Information Report.
You can also use the "Find a
See "Tag Information Signal tag" procedure to find the
Example". variable number.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 295
June 2015
Function Blocks
PI Pulse Input
PI Pulse Input
Description
The PI label stands for Pulse Input.
Function
This function block reads pulses from a single input channel on a Pulse/Frequency/Quadrature input
module. It measures quantity by scaling the number of pulses to engineering units (EU). It measures rate in
engineering units by dividing number of pulses by time. The preset values, reset, preset action, and hold
flags are sent to the module and the module responds with accumulated pulse counts, preset indicator
(PREI) (when preset value is reached), counter overflow indicator (OVFL), and FAIL. The block converts
the accumulated pulse count to EU
Inputs
HOLD = A Boolean value when set to ON holds the EU count (OUT) at its current value.
RPRES = Remote preset value (in EU). When OUT reaches this value (or the local preset value) PREI
turns ON.
^RST = An OFF to ON transition resets the module’s pulse counter and the block’s OUT to zero. It also
clears the FAIL, PREI and OVFL flags.
Outputs
FAIL = Failed Input Indication. A Boolean value that turns ON when the Pulse/Frequency/Quadrature
Input module reports a failure. This is cleared by the ^RST input.
PREI = Preset indicator. OFF [0] when OUT = less than the local or remote preset value, ON when the
count (OUT) reaches the local or remote preset value. The hardware module determines the state of the
PREI output. Note: due to the delay in messaging and the responsive time of the module, there can be a lag
between the PREI output of the function block versus the DO on the module. This lag can be as much as 1
scan cycle. PREI is cleared by the ^RST input. A preset value of 0 effectively turns off the Preset allowing
the counter to count continuously until held or reset.
OVFL = Overflow flag. This turns ON when the counter on the module is full. This is cleared by the
^RST input.
RATE = Rate in EU/Time Period. Input pulses are counted over a specified Sample Time and scaled to
EU/Second, EU/Minute or EU/Hour.
OUT = The accumulated Engineering Unit (EU) count. The forcing of OUT is permitted within this block.
296 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PI Pulse Input
Hints
If it is necessary to turn off a device when the pulse counter is placed in HOLD, it is recommended that you
also tie the source of the input HOLD signal to a DO block. The DO block would then control the On/off
State of the device.
Configuration Parameters
Table 77 Pulse Input Configuration Parameters
Rate Sample Time 5 The output RATE is Enter 0-60 seconds using
calculated by 0.5 sec. intervals.
counting number of
pulses per Sample
Time and scaling it to
EU/Time Period.
Sample Time is a
rolling window of
time (updated each
scan cycle) used to
count pulses. The
longer the Sample
Time the smoother
the rate output and
the longer it will take
to change; the
smaller the Sample
Time the noisier the
rate output but the
quicker the
response.
EU per Second, or
Revision 19 HC900 Process Control Designer Function Block Reference Guide 297
June 2015
Function Blocks
PI Pulse Input
EU per Minute, or
EU per Hour
Example
298 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
POUT Pulse Output
Function
This function block generates a pulse train of a specified number of pulses following a start instruction. The
pulse frequency is selectable. The output controls an output transistor on a Pulse/Frequency/Quadrature
module. The number of pulses remaining following a start instruction is provided on the output pin.
Inputs
ENABL = Boolean value when ON enables the block, OFF disables the block. No connection defaults to
enabled.
^START #PLS = Start # of pulses. An OFF to ON transition starts the pulse train output specified by
#PULSES. (Unless START CONT. = ON)
#PULSES = Number of pulses in the pulse train triggered by ^START #PLS.
START CONT. = Start Continuous Pulse Train. When START CONT. = OFF the output pin value is
number of pulses remaining. When START CONT. = ON the module’s output is a continuous pulse train
and output pin value is zero. START CONT. = ON gets priority over a counted pulse train triggered by
^START #PLS.
Outputs
FAIL = Failed Input Indication. A Boolean value that turns ON when the Pulse/ Frequency/ Quadrature
Input module reports a failure.
OUT = When START CONT. = OFF, output pin value is number of pulses remaining and the module
outputs the number of pulses. When START CONT. = ON, output pin value is zero and the module outputs
a continuous pulse train.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 299
June 2015
Function Blocks
POUT Pulse Output
Configuration Parameters
Table 78 Pulse Output Configuration Parameters
Range: 0.05ms –
20ms
300 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
POUT Pulse Output
Example
Revision 19 HC900 Process Control Designer Function Block Reference Guide 301
June 2015
Function Blocks
PID Function Block
Function
Provides Proportional (P), Integral (I) and Derivative (D), (3-mode) control action based on the deviation or
error signal created by the difference between the setpoint (SP) and the Process variable analog input value
(PV).
It provides two digital output signals for alarms based on configured parameters.
The PID function block provides for Feedforward, Cascade, and Ratio control.
Automatic tuning with Fuzzy Logic Overshoot Suppression can be configured.
Digital inputs may be used to set control mode, select the setpoint source, change control action plus other
discrete actions.
For examples of PID Control, refer to:
Basic PID Configuration
Duplex Control
Cascade Control
Ratio Control
Cascade Control of Boiler Drum Level
Cascade Control of a Boiler Drum Level - 3 Element Feedwater Control
Inputs
PV = Process Variable Analog Input value in Engineering Units to be controlled
RSP = Remote Setpoint Analog Input value in Engineering Units or Percent to provide external setpoint
FFV = Feedforward value in percent. The Feedforward value is multiplied by the Feedforward Gain, then
directly summed into the output of the PID block.
302 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
TRV = Output Track value in Percentage (PID Output = TRV Input when TRC = ON.)
TRC = Output Track Command [ON, OFF] (On -Enables TRV.) (Mode = Local Override)
BIAS = Remote Bias value for Ratio PID
SWI = Switch Inputs (from SWO on LPSW function block)
0 = No Change
1 = Initiate Autotuning
2 = Change Control Action
4 = Force Bumpless Transfer
8 = Switch to Tune Set 1
16 = Switch to Tune Set 2
MDRQI = External Mode request (typically connected to the MDRQO output of a MDSW function block
that encoded discrete switch inputs).
0 = No Change
1 = Manual Mode Request
2 = Auto Mode Request
4 = Local Mode Request
8 = Remote Mode Request
BCI = Back Calculation Input (for blocks used as Cascade Primary)—See ATTENTION 2.
Outputs
OUT = Control Output
WSP = Working Setpoint in Engineering Units for monitoring
AL1 = Alarm 1 - Digital Signal
AL2 = Alarm 2 - Digital Signal
DIRECT = ON = Direct; OFF = Reverse
ATI = Autotune Indicator (ON = Autotune in Progress)
MODE = Loop mode status (typically connected to the Mode Flags block for encoding). Value indicates
modes as follows:
0.0 RSP AUTO
1.0 RSP MAN
2.0 RSP Initialization Manual (See ATTENTION 1)
3.0 RSP Local Override (See ATTENTION 1)
4.0 LSP AUTO
5.0 LSP MAN
6.0 LSP Initialization Manual (See ATTENTION 1)
7.0 LSP Local Override (See ATTENTION 1)
BCO - Back Calculation Output (for blocks used as Cascade Secondary)—See ATTENTION 2.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 303
June 2015
Function Blocks
PID Function Block
ATTENTION
− the request comes from the Mode Switch (MDSW) function block, the request is retained
and when leaving the Initialization Mode or Local Override Mode the loop will go to
manual.
2. BCO output is provided for applications where the block is used as a cascade secondary.
BCI input is provided for applications where the block is used as a cascade primary. When
the BCO output of a secondary loop is connected to the BCI input of a primary loop,
bumpless transfer is achieved when the secondary is switched into remote setpoint (i.e.,
cascade) mode. In addition, the primary loop is prevented from reset windup when the
secondary is de-coupled from the process. The secondary is de-coupled from the process
when it is in local setpoint mode or manual output mode or has reached a setpoint or
output limit or is integral limiting because of its BCI input. For example, see Figure 73.
Operation details
The PV Hi/Lo range values configured in the PID-Range/Limit Tab determine the points at which the block
status changes to a fail condition, driving the output to the configured failsafe value. There is no dead band
for these PID block limits. To prevent the loop from going to failsafe, the user can adjust the PV Hi/Lo
settings to allow for slight variations of the PV value from an AI channel that operates at or near these
limits. Additionally, if the PV value exceeds the configured limits, the PID block will indicate a PV out of
range status and will cause the bad block pin of the system monitor block to energize.
When the control mode is switched from Manual to Automatic, the mode switchover is bumpless and the
PID loop's integration time is set to zero. Control Action is then determined by the control loop
configuration and tuning.
In version 4.X controller firmware, the system default is set to cause a manual mode to override the Track
command; the user has the option to change this setting in HC Designer to allow the Track command to
override the Manual mode output. This action is a master setting and cannot be configured per loop.
When the output of a PID loop is driven to the Hi or Lo Output limit, the integral value is clamped to
prevent reset wind up.
Block properties
Double click on the function block to access the function block properties dialog box.
304 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
GENERAL tab
Revision 19 HC900 Process Control Designer Function Block Reference Guide 305
June 2015
Function Blocks
PID Function Block
Block Order N/A Execution Order Read Only. To change block order, right-
click on a Function Block and select
Execution Order.
Control Algorithm N/A Control Algorithm PID A - is normally used for 3 mode
control. The output can be adjusted
Note: In PID B, step somewhere between 100 % and 0 %. It
changes in setpoint applies all three control actions -
will not bump the Proportional (P), Integral (I), and
output; the output will Derivative (D) - to the error signal.
slew smoothly to the
new value. PID B - Unlike the PID-A equation, the
controller gives only an integral response
In PID A, a step to a setpoint change, with no effect on
change in setpoint will the output due to the Gain or Rate action,
result in a step change and gives full response to PV changes.
in output.
DUPA - like PID A but provides an
automatic method to switch tuning
constant sets for Heat/Cool applications.
306 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
START/RESTART tab
Revision 19 HC900 Process Control Designer Function Block Reference Guide 307
June 2015
Function Blocks
PID Function Block
Initial Use initial 49 Use Initial Local Click on radio button to select
Setpoint LSP Setpoint
Value
Initial LSP 50 Initial Local Setpoint Enter Initial Local Setpoint Value
Value Value
High Output Use Limit 51 High Limit Override Click radio button to select.
Limit Select Control -
Limit Value See NOTE 1
Delay Time 52 Delay Time for High Enter time in minutes to use TRV as the
Limit Output Select output high limit. See NOTE 1.
Ramp Rate 53 Ramp Rate for High Enter Rate in % per minute to ramp
Limit Output Select the default output high limit after
delay time expires.
308 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
Note 1. When ON, the HiLimOvr parameter causes the meaning of TRC and TRV to be redefined for process
startup rate control. In this case, TRC set ON causes the algorithm to calculate a value to override the default output
high limit.
The initial value of the limit override comes from TRV. This value is held until the configured delay time expires.
A delay time of zero means delay indefinitely. In this case, the output high limit will track the value on TRV until
such time that TRC returns to OFF.
When the delay time expires, the output limit will ramp to the default configured value and the configured ramp rate.
When the ramped output limit equals or exceeds the default configured value, the output limit override status is set
OFF and the default value is used. A ramp rate of zero will cause immediate termination of the high output limit
override.
A transition of the TRC input to OFF at any time will terminate the output limit override function and restore the
limit to the default configured value. The TRC input must transition to OFF before the output limit override
function can be started again.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 309
June 2015
Function Blocks
PID Function Block
RSP tab
Remote Setpoint Use RSP N/A Use Remote Setpoint in Click on radio button to select
Source and Units Input (EU) Engineering Units
Ratio/Bias No Ratio or N/A No ratio and bias applied Click on radio button to select
Bias to the function block
(RSP Input Only) Use Local Use Bias value selected Click on radio button to select
Bias on Tab Enter value at “Local Bias
Value” on tab.
Use Bias Use Bias value attached to Click on radio button to select
Input an input to the block
310 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
RANGE/LIMIT tab
Revision 19 HC900 Process Control Designer Function Block Reference Guide 311
June 2015
Function Blocks
PID Function Block
312 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
TUNING tab
ATTENTION
Use of Tune SET 1 or 2 can be selected via input (SWI) from the Loop Switch block output
(SWO) or, in the case of DUP_A or DUP_B, automatically depending on the value of the
previous output (≥ 50 % or < 50 %).
Revision 19 HC900 Process Control Designer Function Block Reference Guide 313
June 2015
Function Blocks
PID Function Block
Tuning Constants Prop Band 0 Proportional Band (PB) - is the 0.1 to 1000
PB1 or percentage of the range of the
Gain1 measured variable for which a
proportional controller will produce
a 100 % change in its output.
or
Gain 36 Gain - is the ratio of output change 0.1 % to 1000 %
PB2 or (%) over the measured variable
Gain2 change (%) that caused it. ATTENTION: Enter
values for tuning set 1
and tuning set 2 in
100 % specified fields.
G=
PB %
314 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
ACCUTUNEIII tab
Revision 19 HC900 Process Control Designer Function Block Reference Guide 315
June 2015
Function Blocks
PID Function Block
316 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
ATTENTION
Accutune III is an On-demand tune only. You must provide a 0 to 1 transition to start another
tuning cycle. The tuning will disturb the output to evaluate the tuning constants required.
Note 1: CYCLE TUNING - This tuning method uses the measured ultimate gain and period to produce
tuning parameter values. Cycle tuning does not distinguish between process lags and always results in gain
based on PV amplitude and calculates values of Reset and Rate based on time of the SP crossings (The
Reset value is always 4x the Rate value.) This method does not require a stable process initially and the
process may be moving. Cycle tuning is applicable to Three Position Step control and can be used for
integrating processes (level control).
Note 2: SP TUNING - When initiated the control loop is put into an initial temporary manual state until
the process characteristics are identified. This period may last up to a minute. During this time the Tune
status shows Not Ready, then an initial output step is made using the preconfigured size and direction
parameters along with the preset output value. The resultant process action is used to determine the tuning
parameters and once the process identification has completed, the loop is returned to automatic control.
Note 3: PV ADAPTIVE TUNING - This method adapts a tuned process to changing system
characteristics over time. When the PV deviates from the SP by a certain amount for any reason, the
adaptive tuning algorithm becomes active and begins to observe the resulting PV action. If the process
becomes unstable and oscillates, PV Adaptive Tuning eventually brings the process into control by retuning
parameter values (as needed) using a systematic approach defined by an expert based method of tuning
rules. Should the process not oscillate but be observed as too fast or sluggish, a different expert rules set is
applied to result in the slowing down or speeding up of the process by adjusting certain tuning parameter
values. This method continuously learns the process as PV deviations are observed and adapts the tuning
parameters to the process response.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 317
June 2015
Function Blocks
PID Function Block
ALARMS tab
318 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 319
June 2015
Function Blocks
PID Function Block
320 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 321
June 2015
Function Blocks
PID Function Block
322 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
External Bias
Input
Revision 19 HC900 Process Control Designer Function Block Reference Guide 323
June 2015
Function Blocks
PID Function Block
FAIL FAIL
Steam Drum
LT 1
M FT 2
Feedwater Flow
324 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PID Function Block
Steam
Note: All physical
connections are by
LT 2
I/O cards
Steam Drum
LT 1
M FT 2
Feedwater Flow
Revision 19 HC900 Process Control Designer Function Block Reference Guide 325
June 2015
Function Blocks
PPO Position Proportional Output Function Block
Function
Allows the control of a valve or other actuator having an electric motor driven by two digital output
channels; one to move the motor upscale, the other to move it downscale, with a feedback signal
to indicate motor position. Supports motor speeds from 12 -300 seconds.
Note: PPO block requires calibration to the specific motor used. The calibration data is stored
within the configuration file, so it is important to save the controller configuration after a calibration
is performed. Reference PPO calibration in the Designer User Guide, 51-52-25-100.”
Input
PSP = Position Setpoint – Scaled or %(default)
Output
POS = Position Feedback Value from Feedback Signal (%)
MFAIL = Motor failure Indication. ON = Motor Failure (not moving)
FFAIL = Failed Feedback Input Indicator – AI Error
326 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PPO Position Proportional Output Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 327
June 2015
Function Blocks
PPO Position Proportional Output Function Block
Configurable Parameters
328 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PPO Position Proportional Output Function Block
Table
continued
FEEDBACK INPUT
*For HC900 controller’s 32 Channel DO Module, outputs 17 through 32 may not be used for TPO
(Time Proportioning Output), PPO (Position Proportioning Output) or TPSC (Three Position Step
Output) output types.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 329
June 2015
Function Blocks
PPO Position Proportional Output Function Block
Example
Analog Input Module AC Output Module
Actuator
F
330 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PSYC Psychrometric Calculations Function Block
Function
This block calculates the Humidity Ratio, Enthalpy, Dew point temperature, Wet bulb temperature and
Absolute Moisture based on the input Dry bulb temperature (DRY), Relative Humidity (RH) and
Atmospheric Pressure (ATMP). A single configurable parameter specifies if inputs and outputs use metric
system units.
ATTENTION
The wet bulb temperature output is updated only once for every three executions of the block.
Inputs
DRY = Dry bulb air temperature – Range: -40 – 140 degrees F or -40 – 60 degrees C
RH = Air relative humidity – Range: 1.0 – 99.9% RH.
ATMP = Barometric Pressure – Range: 12.5 – 15.7 psi. or 861.84 – 1082.47 millibars. When this pin is
not connected the calculations use a default value of 14.696 psi. or 1,013.25 millibars.
Note: If any of the above inputs are outside of the specified ranges, they are set to the upper or lower range
as appropriate.
Outputs
HRATIO = Humidity Ratio – lb/lb or kg/kg
ENTH = Enthalpy – btu/lb or kJ/kg
DEWPT = Dew point temperature – degrees F or degrees C
WET = Wet bulb temperature – degrees F or degrees C
ABSM = Absolute moisture – gr/lb or gr/kg
Revision 19 HC900 Process Control Designer Function Block Reference Guide 331
June 2015
Function Blocks
PSYC Psychrometric Calculations Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 87 PSYC function block configuration parameters
Input/Output Metric N/A Selects if the metric system is Click on the check box
System used for inputs and outputs when the metric
system is being used.
Example
Calculate humidity ratio, enthalpy, dew point temperature, wet bulb temperature and absolute moisture
content of air as a function of air temperature, relative air humidity, and atmospheric pressure.
332 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PTMR Periodic Timer Function Block
Function (1 or 2)
4. Time/Cycle: Generates a discrete output pulse at a specified start time based on the real-time clock and at
specified time periods thereafter.
Start Times = Month, Day, Hour, Minute, Second
Cycle Periods = Monthly, Weekly, Daily
Time Cycle Periods Within a Day = Hours (0-23) Minutes (0-59) Seconds (0-59)
NOTE: Once started, period repeats until reset.
5. Reset Cycle: Generates a digital output based on a digital input and at regular intervals thereafter.
Time Start = ON to OFF transition of reset input.
Cycle Time Period = Hours (0-23) Minutes (0-59) Seconds (0-59)
Input
RST = Reset/Enable (ON = Output disable, OFF = Output enable)
Output
EVENT= OUT Logic State. Output turns ON for one scan cycle when elapsed time matches setpoint time
(One-shot).
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 333
June 2015
Function Blocks
PTMR Periodic Timer Function Block
Configuration parameters
Table 88 PT function block configuration parameters
Period Monthly N/A Output turns ON once a month for Enter START -
one scan cycle. Day (Days >31 = 31),
If the current month’s last day is Hour, Minute,
less than 31 it will turn ON on the Seconds
last day of the month.
Reset/Enable:
ON = Hold off output
OFF = Run
Reset Input:
ON = stops cycle and holds off
start
OFF = Output turns ON for one
scan cycle at ON to OFF transition
and cycle begins.
334 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
PTMR Periodic Timer Function Block
Weekly -Monday
through Sunday
Example
Figure 79 shows a Function Block Diagram using a PT function block.
An OFF delay timer block output is ON as long as the RST input is logic HI (ON). It can be used for time
duration but must be triggered by an ON to OFF transition on the Reset input. This can be accomplished
using Trigger blocks (TRIG) to create one-shot pulses which last one scan cycle. The fast logic trigger
pulse will last 100 ms. while the normal logic trigger pulse will last the complete scan cycle for analog
blocks. Use according to application need. A Periodic Timer (PT) output pulse may also be used to start
the timer for the OFF delay for time duration.
Timing Diagram
AND4 output
TRIG1 output
Off delay
OFDT2 output
Revision 19 HC900 Process Control Designer Function Block Reference Guide 335
June 2015
Function Blocks
QDT Quadrature Function Block
Function
This function block measures/controls movement of an actuated device. A digital encoder connected to the
actuated device produces two channels (A and B) of square waves, offset 90 degrees. Quadrature refers to
the 4 logic states between these two waves. The rising edge to rising edge (cycle) on channel A or B
indicates that one set of bars on the encoder have passed by its optical sensor. By counting these passing
rising edges the Quadrature block measures
1) distance (or whatever engineering units are being controlled by the device),
2) position (that is, distance from a marker designated as zero),
3) direction (indicated by the sequence between the two channels; A leads B or B leads A).
More precise measurement/control is done by counting more logic states determined by the two waves. For
example, the quadrature state of channels A and B create four unique logic states. When these four unique
logic states are decoded, the resolution obtained is 4 times (4X) the resolution of the encoder. So with this
in mind 250 cycles would yield 1000 quadrature states.
Inputs
BIAS = Value added to the output in EU.
ENBIAS = Enable Bias. When ON the bias is added to the output. Input is ignored if not connected and
default state is enabled.
ICLR = Index Clear Enable. When this is ON it enables the module’s Index input so that the first OFF to
ON transition of Index input resets the output to zero (plus bias, if enabled).
^RST = OFF to ON transition resets the output to zero (plus bias, if enabled).
^CLFG = OFF to ON transition clears the CNTERR and RNGERR flags to zero.
336 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
QDT Quadrature Function Block
Outputs
INC = ON when count is incrementing; OFF when count is stopped or decrementing.
DEC = ON when count is decrementing; OFF when count is stopped or incrementing.
INDEX = ON when index pulse is detected and ICLR are asserted.
CNTERR = ON when the count on the module overflows or underflows.
RNGERR = ON when the count on the module surpasses the range limits.
CDIS = ON when the PFQ module detects a cable disconnect.
FAIL = ON when module is failed. Caused by INC and DEC both ON.
OUT = Count in EUs.
Notes
To ensure correct counting, the block counts only pulses of a certain wavelength (>2.25 uS); smaller pulses
caused by noise are rejected. Additionally only a single transition of Channel A (Input 1) and Channel B
(Input 2) may occur; a transition on both channels simultaneously cases an invalid count.
Configuration Parameters
Table 89 QDT parameters
Input A Address Rack 0 This is the address of the selected Enter a value:
Rack. from 1 to 5.
Input B Address Rack 0 This is the address of the selected Automatically set to
Rack. same as Input A.
Encoder Range Pulses per 1 Number of pulses per EU of the Enter a value.
EU variable being measured/counted. Be
sure to factor in your Quadrature
Mode setting (X1, X2, X4).
Revision 19 HC900 Process Control Designer Function Block Reference Guide 337
June 2015
Function Blocks
QDT Quadrature Function Block
Control Quadrature 2 Resolution of counter. The quadrature X1: One pulse per
Configuration Mode code produced by encoders has 4 cycle
state changes (edges) per quadrature
cycle (one per ¼ cycle). A 250 CPR X2: Two pulses per
encoder has 250 cycles, (1000 cycle
pulses) per revolution. X1 decoding
X4: Four pulses per
means that the external electronics
cycle
pulses once per full cycle. X2 pulses
twice per cycle. X4 pulses every
quadrature state.
Failsafe Use Value 5 When FAIL is ON output is set to this Click to select,
value. enter a value.
Example
Quadrature Function used to measure the output of an encoder
to determine the position of a traversing process.
338 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RAI Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 339
June 2015
Function Blocks
RAI Function Block
Configuration parameters
340 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RAI Function Block
Failsafe rules
If the controller is unable to access the physical channel or the sensor is faulty, and:
Revision 19 HC900 Process Control Designer Function Block Reference Guide 341
June 2015
Function Blocks
RAI Function Block
Table 91 HC900 Input Types and Ranges for RAI Function Block
B 0 3300 F
E -270 1000 C
E -454 1832 F
E -129 593 C
E -200 1100 F
J -18 871 C
J 0 1600 F
J -7 410 C
J 20 770 F
K -18 1316 C
K 0 2400 F
K -18 982 C
K 0 1800 F
K -29 538 C
K -20 1000 F
Ni-NiMo 0 1371 C
Ni-NiMo 32 2500 F
Ni-NiMo 0 682 C
Ni-NiMo 32 1260 F
NiMo-NiCo 0 1371 C
NiMo-NiCo 32 2500 F
NiMo-NiCo 0 682 C
NiMo-NiCo 32 1260 F
NiCroSil-NiSil 0 2372 F
NiCroSil-NiSil 0 1472 F
R -18 1704 C
342 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RAI Function Block
R 0 3100 F
S -18 1704 C
S 0 3100 F
T -184 371 C
T -300 700 F
T -129 260 C
T -200 500 F
W_W26 -4 4200 F
W5W26 0 4200 F
W5W26 0 2240 F
Example
Figure 81 shows a Function Block Diagram configuration using an RAI function block.
RAI used for work temperature monitoring. Tag descriptors are used to identify
the input. A digital tag connected to the fail output can alarm on an open
sensor.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 343
June 2015
Function Blocks
RACK Function Block
Function
The rack monitor block is a repository for controller/expansion rack I/O module information, including
diagnostics.
The Rack function block provides Read/Write access to I/O Rack values. This block is always stored in the
reserved block area (96 thru 100), are always in the configuration whether visible in the FBD or not. The
total number is dependent on the controller type.
Each Rack monitor block has a unique identification number that is fixed for all configurations. The Rack
number appears on the function block. The Number is specified as:
1 = Rack #1 (Main Rack)
2 = Rack #2 (Expansion Rack)
3 = Rack #3 (Expansion Rack)
4 = Rack #4 (Expansion Rack)
5 = Rack #5 (Expansion Rack)
344 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RACK Function Block
Outputs
RACK FAIL = On indicates Rack other than Good
(Refer to Rack Diagnostics - Controller Diagnostics Status Indications in the Process Control Designer
User Guide for Fault diagnostics)
HITEMP = On indicates High RJ Temperature detected on AI board
(Refer to Expansion I/O Comm Diagnostics - Expansion I/O Comm Diagnostics Status Indications in the
Process Control Designer User Guide for Fault diagnostics)
MODxx FAIL = On indicates Module other than Good.
(I/O Module Diagnostics - I/O Module Diagnostics Status Indications in the Process Control Designer
User Guide for Fault diagnostics)
The Status Indications will list the Error Status, possible causes of failure, controller actions, and User
action to remove failure.
Example
Revision 19 HC900 Process Control Designer Function Block Reference Guide 345
June 2015
Function Blocks
RAMP Function Block
Function
The RAMP function block is typically used for variable speed, valve position, and chemical feed control
applications to reduce the output value as more external devices are enabled.
For example: If one pump is running at 100 % and a second pump is enabled, the output value may be
rescaled to 50 % by the pump 2 enable signal.
The ramp block references an analog signal, and using four separate scales multiplexed together, provides a
single analog output over a programmed range.
A configurable signal lag [LAG TIME] is applied to the referenced analog input (PV). The highest enabled
scale [EN1-EN4] is applied to the lagged PV value. The output of the selected scale is then the output of
the function block [OUT].
A bumpless analog transfer over time is applied when switching between the selected scales. If no scales
are selected, then the default input value [DFLT] is written to the output.
If the block is disabled, the user configured [Off Value] is written to the output.
Turning ON an override input [OV1-OV4] sets its output (prior to multiplexing) high or low depending on
the state of the override input high [OV HI – On or Off].
The general forcing of outputs is permitted within this block. Ramping and Clamping will not apply to the
output if it is forced.
346 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RAMP Function Block
Inputs
IN = PV Input (Analog input signal).
DFLT = The Output is set to this value if no ramps are enabled. It typically comes from another Ramp
block, thus allowing ramps to be stacked together.
EN [1-4] = Enables or disables the associated scale.
OV [1-4] = When ON, overrides the output of the associated scale to the high or low limit value depending
on the state of OV HI.
OV HI = determines the limit value of the selected scale when it is overridden. ON=override high,
OFF=override low
DIS = Normally OFF. If ON, then OUT = the configured Off-Value
Output
OUT = Enabled = the scale/ramp output, Disabled = the user configured Off-Value
Scale Limits
PV input values that are outside of the input low limit and input high limit settings are not processed. The
output value is clamped based on the input limits. The input low and high limits may be inverted,
(for example: input low limit > input high limit) to reverse scale the output.
Block properties
The Ramp properties dialog box is divided into FIVE tab cards:
GENERAL
RAMP 1
RAMP 2
RAMP 3
RAMP 4
Click on the tab to access the properties for that tab.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 347
June 2015
Function Blocks
RAMP Function Block
GENERAL tab
It looks like this graphically. Table 92 describes the parameters and the value or selection.
348 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RAMP Function Block
OUT Engr. N/A Output Engineering Units for Four characters maximum
Units Operator Interface. Also applies
to Output Scale Limit Enter characters in field
parameters.
Settings Off Value 16 Value written to OUT when the Within the Output Limits
scale is disabled. If no scales
are selected, then the default
Input value [DFLT] is the output.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 349
June 2015
Function Blocks
RAMP Function Block
RAMP tabs
It looks like this graphically. There are four ramp tabs, each with the same entry fields. Select the tab for
each ramp at the top of the dialog box.
Table 93 describes the parameters and the value or selection for each ramp.
IN High Limit 8 Input HIGH Limit value applied to Within the PV range
through the PV after signal lag. limits
11
IN Low Limit 12 Input LOW Limit value applied to Within the PV range
through the PV after signal lag. limits
15
OUT Scale 0 High output limit after rescale. Within the PV range
High Value through limits
3
OUT Scale 4 Low output limit after rescale. Within the PV range
Low Value through limits
7
350 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RAMP Function Block
Example
Figure 83 shows a function block diagram using RAMP function blocks. In the example, if Stage 3 is ON
and all others are OFF, the output to the device will equal to the third scale of Ramp 1. If Stages 3 and 8 are
ON, then the output to the device will equal the fourth scale of Ramp #2.
Analog
Input
PV
RAMP #1
Constant = 0 default
Request from Stage 1 enable#1
Request from Stage 2 enable#2
Request from Stage 3 enable#3
Request from Stage 4 enable#4
forcing logic force#1
forcing logic force#2
forcing logic force#3
forcing logic force#4
Constant (1 = high, 0 = low) force_hi
disable
OUT PV
RAMP #2
default
Request from Stage 5 enable#1
Request from Stage 6 enable#2
Request from Stage 7 enable#3
Request from Stage 8 enable#4
forcing logic force#1
forcing logic force#2
forcing logic force#3
forcing logic force#4
Constant (1 = high, 0 = low) force_hi
disable
OUT
Analog Output
AO to Variable
Speed Drive
Revision 19 HC900 Process Control Designer Function Block Reference Guide 351
June 2015
Function Blocks
RCON Read Constant Function Block
Function
Reads the numerical value of selected configuration parameter in a given function block.
Select the index number of the required parameter from the specific function block reference data and
enter it in the appropriate field in the “Read Constant Properties” dialog box.
The Block (B: ) number and the Index (I: ) number will appear on the block icon.
Output
OUT = Analog value of parameter
Block properties
Double click on the function block to access the function block properties dialog box.
352 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RCON Read Constant Function Block
Configuration parameters
Table 94 Read constant configuration data
Read Parameters Block N/A Number of control block that 101 to 500(Model C30)
Number contains desired configuration 101 to 2100(Model C50)
parameter. Note: In the SIL 101 to 5100 (Model
configuration, if the RCON C70/C75)
block is on the Safety
worksheet, only the block
number is valid for entry for
such blocks.
The block number and parameter index# will appear on the front of the RCON function Block.
Example - B:223 I:3
TIP
The main purpose of this control block is to make a block configuration parameter (constant)
available for display. To do this, you must enter the corresponding parameter index number for
the selected configuration parameter. Select the index number of the required parameter
from the specific function block reference data and enter it in the appropriate field in
the “Read Constant Properties” dialog box.
RCON Example
Figure 84 shows a Function Block Diagram using the RCON function block.
ATTENTION
The process variable High Range Value for a PID block (Index #4) may be displayed at the
Operator Panel with the Analog Signal Tag name TC1 PV HI, and/or the process variable may
be used as an input to another control block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 353
June 2015
Function Blocks
RCP Recipe Selector Function Block
Function
Used to initiate loading of recipe values into a chosen set of controller variables. Inputs include recipe number and load
command. Loads numbered RECIPE (NUM) when digital signal (LD) is ON into the various blocks of the
controller.
• If LD = OFF to ON, then: Recipe numbered (NUM) is loaded in place of the current set of variable
values.
Input
NUM = Recipe number (1-50).
LD = Load recipe - OFF to ON will load the recipe.
TIP
The recipe is loaded at the time of block execution. If using multiple RECIPE blocks, they may
counteract. Also, use the lowest execution numbers.
Block properties
Double click on the function block to access the function block properties dialog box.
ATTENTION
The recipe is loaded while the LD signal is on. It is not a one time load, it is a continuous load
while the LD signal is on.
If the OI operator attempts to change a variable value (done by means of the Variable Edit
display on the OI), the operator’s changes will immediately be overwritten by the loading
recipe since it also contains the variable.
To correct this problem, configure a one-shot trigger signal between LD and its signal. This will
cause LD to go on for one scan cycle instead of staying on.
354 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RCP Recipe Selector Function Block
Example
Figure 85 shows a Function Block Diagram using an RCP function block. The BCD block selects a recipe
number and the RCP block loads the recipe in place of the current set of recipe variables.
Up to 50 Analog/Digital
Variables
PROFNUM
GAIN-LP2
Recipe
Number
SP-OUT2
SP-OUT3
SP-OUT4
Recipe Table
Revision 19 HC900 Process Control Designer Function Block Reference Guide 355
June 2015
Function Blocks
RH Relative Humidity Function Block
Function
Calculates RH as a function of wet bulb temperature, dry bulb temperature and atmospheric pressure.
0-100 % RH is output as a floating point number between 0 and 100.
Input
DRY = Dry Bulb Temperature (°F, metric = °C)
WET = Wet Bulb Temperature (°F, metric = °C)
PRES = Atmospheric Pressure (psi, metric = Pa)
Output
RH = Relative Humidity (0-100)
Block properties
Double click on the function block to access the function block properties dialog box.
356 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RH Relative Humidity Function Block
Metric system
Table 95 Metric units
Metric ON OFF
DRY °C °F
WET °C °F
PRES Pa PSI
TIP
It is physically impossible for the wet bulb to be warmer than the dry bulb. If this appears to be
the case, it implies a problem with the sensors, and will result in a RH greater than 100 %.
Downstream blocks should detect that situation and react promptly.
Example
Figure 86 shows an RH function block example.
A setup parameter allows inputs to be in Degrees F or Degrees C. When Degrees F is selected, pressure is
assumed to be in PSIA. When Degrees C is selected, pressure is assumed to be in Pa. (101325 Pa = 1 std.
Atmosphere.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 357
June 2015
Function Blocks
ROC Rate of Change Function Block
Function
Provides:
• an analog output representing units per minute change of the analog input.
• compare setpoints for high and low rate of change.
• compare selections for increasing, decreasing or both directions of change.
• a logic 1(ON) output when input rate exceeds high rate setpoint
• a logic 1(ON) output when input rate is less than the low rate setpoint.
Inputs
IN = Analog Input
Outputs
HI_RC = ON if input rate exceeds High Rate setpoint
LO_RC = ON if input rate is less than the Low Rate setpoint
RATE = Analog Output representing Engineering Units per minute of change of the Analog Input
358 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
ROC Rate of Change Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 96 ROC configuration parameters
Setpoint Limits High Rate 1 High Rate of Change setpoint 0 (off) to 99999.9 eu/min
• Increasing only
• Decreasing only
• Increasing only
• Decreasing only
Revision 19 HC900 Process Control Designer Function Block Reference Guide 359
June 2015
Function Blocks
ROC Rate of Change Function Block
Example
Figure 87 illustrates various responses for the Rate Of Change Function Block. You can also use the ROC
block to alarm if Rate exceeds the Preset Setpoint Limit.
HI RC = OFF LO RC = ON
360 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RSTAT Redundancy Status Function Block
The RSTAT label stands for Redundancy Status. This block is part of the Alarms/Monitors category.
Function
Used with redundant CPUs only, such as C75. The output pins indicate the lead/reserve status of CPU A
and CPU B. The input can force a failover between CPUs.
Inputs
^FOVER – OFF-to-ON transition causes a manual failover between CPUs if a Reserve CPU is online and
available.
Outputs
A LEAD – ON when CPU A is the Lead, else OFF.
B LEAD – ON when CPU B is the Lead, else OFF.
A RSRV – ON when CPU A is the Reserve, else OFF.
B RSRV – ON when CPU B is the Reserve, else OFF.
Configurable Parameters
Revision 19 HC900 Process Control Designer Function Block Reference Guide 361
June 2015
Function Blocks
RSW Rotary Switch Function Block
Function
The single output value is selected from up to 8 analog inputs by a number of from 1 to 8.
ATTENTION
Numbers less than one select input one as the output. Numbers greater than eight select Input
8 as the output.
Input
IN1 = Input 1
IN2 = Input 2
IN3 = Input 3
IN4 = Input 4
IN5 = Input 5
IN6 = Input 6
IN7 = Input 7
IN8 = Input 8
SEL = Selects Input # to Output
Output
OUT = Output Value
Block properties
Double click on the function block to access the function block properties dialog box.
362 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RSW Rotary Switch Function Block
Example
Figure 89 shows how a RSW function block works. It selects an output value from up to 8 analog values or
number inputs.
Inputs
Select Input
Revision 19 HC900 Process Control Designer Function Block Reference Guide 363
June 2015
Function Blocks
RTC Real Time Clock Function Block
Function
The Real Time Clock block provides outputs pins that you can access in your configuration to make
decisions based on the value of the controller’s Real Time Clock value.
The RTC function block has the following dynamic outputs based on the value of the real time clock of the
controller:
Seconds, Minutes, Hours, Day of Week, Day of Month, Day of Year, Month, Year.
Example
Figure 90 shows a function block diagram using a RTC function block.
364 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RTMR Resettable Timer Function Block
Function
The Resettable Timer block has the following attributes:
• Provides increasing or decreasing timing base on an enable input.
• Increasing time from 0 or preload value.
• Decreasing time from preset or preload value.
• Increasing time provides digital output upon reaching Preset
• Decreasing time provides digital output upon reaching zero
• Reset input sets increasing timer to zero.
• Reset input sets decreasing timer to preset value.
• Preset value may be internal, or remote via a dedicated input
• Inc./Dec. selection is via digital input.
• Toggling the reset (RST) pin resets the current elapsed time and loads the new preset value; therefore,
if changing the preset value (remote or local), the user must enter the new preset value, then reset the
timer for the new preset to be used during the next time cycle. If the timer is reset prior to entering the
new preset value, the timer will use its previous preset for its compare condition.
Inputs
RST = Off to On transition, Reset. Toggling RST resets the current elapsed time and loads the new preset
value; therefore, if changing the preset value (remote or local), the user must enter the new preset value,
then reset the timer for the new preset to be used during the next time cycle. If the timer is reset prior to
entering the new preset value, the timer will use its previous preset for its compare condition.
EN = ENABLE ON = run; timer is counting
OFF = Timer is stopped; output (TIMER) held at last value
TIM_DN = ON (time down); OFF (time up)
Revision 19 HC900 Process Control Designer Function Block Reference Guide 365
June 2015
Function Blocks
RTMR Resettable Timer Function Block
Outputs
TIME = Elapsed time (for TIM_DN input =OFF), Time Remaining (for TIM_DN input = ON)
OUT = Output (Digital) turned ON when Preset value is reached or time reaches 0, depending on TIMDN
input status
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 98 RTMR configuration parameters
366 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
RTMR Resettable Timer Function Block
Timing diagram
Reset or
Newstart
Enable
Timer
(If Count-Up)
Timer
(If Count-Down)
Out
Revision 19 HC900 Process Control Designer Function Block Reference Guide 367
June 2015
Function Blocks
SCB Scale and Bias Function Block
Function
Multiplies an analog input value (X) by a scaling constant (K) and adds Bias to it.
• OUT = (K * X) + BIAS
Input
X = Analog Value
Output
OUT = Modified Analog Value
Block properties
Double click on the function block to access the function block properties dialog box.
368 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SCB Scale and Bias Function Block
Configuration parameters
Table 99 SCB configuration parameters
Example
Figure 92 shows function block diagrams using a SCB function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 369
June 2015
Function Blocks
SEQ Sequencer Function Block
Function
Each sequencer supports up to 16 digital outputs that may be either on or off in each of 50 states e.g.
PURGE, FILL, HEAT, etc, per block The sequencer may have up to 64 sequential steps that activate
within the states of the process.
Steps of the sequencer may be configured to advance based on time, on digital event (2 per step), or a
manual advance. A separate jog function is also provided.
The function can also configure an analog output on a step basis. The operational sequence for the steps is
retained in a separate sequence file in the memory of the controller that may be selected on-demand
through a user interface or via a recipe.
Up to 20 sequences may be stored.
Inputs
ENA = Level input to enable the block - only checked in Ready State; input is ignored if not
connected.
NSEQ = Sequence Number. See ATTENTION below.
NSTEP = Starting Step Number. See ATTENTION below.
^SET = Pulse input to load NSEQ and NSTEP numbers. See ATTENTION below.
^JOG = Pulse input to jog to step number
370 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SEQ Sequencer Function Block
ATTENTION
If either or both NSEQ and NSTEP are connected directly to analog variables, when that
analog variable changes (for example: via a recipe load), then the Sequencer block will
immediately use the new value internally.
If NSEQ or NSTEP is connected to any other function type then their values are loaded into
the Sequencer only when ^SET goes through a positive transition.
Outputs
OUT1 thru OUT16 = State Output values
STMR = Time remaining in current step (minutes)
MODE = Sequence Mode [N/A, RESET, RUN, HOLD, STOP]
STATE = Current State number (Output states as configured by the user)
AUX = Auxiliary Output corresponding to the current step
STEP = Current Step number
Configurable Parameters
The Sequencer properties dialog box is divided into 3 tab cards
General tab
Parameter Index # Parameter Description Value or Selection
Labels tab
Parameter Index # Parameter Description Value or Selection
Revision 19 HC900 Process Control Designer Function Block Reference Guide 371
June 2015
Function Blocks
SEQ Sequencer Function Block
372 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SEQ Sequencer Function Block
States tab
Parameter Index # Parameter Description Value or Selection
Example
The process controlled in this example is representative of many sequential batch operations. See Figure 93.
The Sequencer function block’s digital outputs are connected to the controller digital output function blocks
to control the operation of the various field devices such as pumps, valves, solenoids and other equipment
needed to execute the batch process function. The digital outputs may also be connected to other function
blocks in the control strategy as needed.
In the example the auxiliary analog output (AUX) is connected to an analog output block to set the speed of
an external device such as a variable speed drive.
The Sequencer function block can be started, held, advanced or reset from a Honeywell operator Interface or
from digital signals as indicated in the example. The status of the Sequencer block may be monitored using
block outputs such as current state number, current step number and mode from signals available on the
block, or from the Honeywell operator interface.
The actual sequence to be executed is made up of two data sets. The first data set defines which digital
outputs will be ON or OFF for each State of the function block, See Figure 94. Up to 50 States may be
defined for the block. Each state also has a 12 character state label that is used by the Honeywell operator
interface to indicate the active state. This data set also provides input fields to define two digital signals that
may be used to cause the sequencer to exit the current state. The Tag names in the columns for Event Signal
#1 and Event Signal #2 represent the digital signals of the control strategy that will be used to exit the
associated state.
The second data set needed to execute a sequential control strategy is the actual sequence, See Figure 95.
This data set has a series of steps, 1 through 64. Each step is setup to activate a specific State (set of digital
outputs) from the function block. The sequencer will remain in the Step until a user specified time has
elapsed or until either of the events for the specific State transitions from OFF to ON, causing the step to
advance.
The next step in the sequence can be different depending on the action that causes the sequencer to exit the
step. Time, event 1, event 2 and advance step each allow the user to specify a unique next step value.
Depending on the item that occurs first, elapsed time, event 1, event 2, or advance, the sequencer will
advance to the specified next step. This provides the flexibility to take alternate action if the expected action
does not occur on schedule.
Sequences can be stored in the controller (data specified in Figure 95) and be selected as part of a recipe or
manually through a Honeywell operator interface.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 373
June 2015
Function Blocks
SEQ Sequencer Function Block
374 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SEQ Sequencer Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 375
June 2015
Function Blocks
SPEV Setpoint Programming Event Decoder Function Block
This block is part of the Setpoint Program and Setpoint Scheduler categories.
Function
Sets up to sixteen digital event outputs that may be ON or OFF on a per segment basis. Inputs include
program number, segment number, and program state (READY, RUN, HOLD, GHOLD, STOP) from
setpoint program block or setpoint scheduler block.
• If Program Number (PGM) = 0, Segment Number (SEG) = 0, or Program State (STA) is RESET; then:
E1 to E16 = OFF.
• Otherwise, E1 to E16 = as specified in program (PGM), segment (SEG).
Inputs
PGM = Profile number
For SP Programmer - 99
For SP Scheduler - 20
SEG = Segment number (1 to 50).
STA = Program/schedule State (Ready, Run, Hold, Ghold, Stop).
376 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPEV Setpoint Programming Event Decoder Function Block
ATTENTION
SPEV inputs must be connected directly to corresponding outputs of SPP (Setpoint Program)
or SPS (Setpoint Scheduler) block.
In Stop state, events stay in the state defined in the last segment.
Outputs
E1 = Digital signal - segment event 1
E2 = Digital signal - segment event 2
E3 = Digital signal - segment event 3
E4 = Digital signal - segment event 4
E5 = Digital signal - segment event 5
E6 = Digital signal - segment event 6
E7 = Digital signal - segment event 7
E8 = Digital signal - segment event 8
E9 = Digital signal - segment event 9
E10 = Digital signal - segment event 10
E11 = Digital signal - segment event 11
E12 = Digital signal - segment event 12
E13 = Digital signal - segment event 13
E14 = Digital signal - segment event 14
E15 = Digital signal - segment event 15
E16 = Digital signal - segment event 16
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 377
June 2015
Function Blocks
SPEV Setpoint Programming Event Decoder Function Block
Example
Figure 96 shows a function block diagram using a SPEV function block to provide event outputs for a
setpoint programmer.
378 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPP Function Block
Function
Runs a setpoint ramp/soak program that produces a setpoint output on a time-based profile that is loaded
into the block. A single profile may be from 2 to 50 segments in length. Up to 70 profiles are stored in the
controller’s memory. Each segment of the profile may be a ramp or soak except the last segment must be a
soak.
In addition to the main ramp and soak output value, a second (AUX) analog value is available for each step
of the program. This output is a fixed soak value that may be used to provide a setpoint value for a
secondary control loop in the process. [For example, see Example 4 - Using the setpoint programmer AUX
output (page 387).]
A Setpoint guarantee function is provided that holds the program if a process variable exceeds a predefined
deviation from setpoint. Selections allow setpoint guarantee to be active for the entire program, for soak
segments only, or for user specified segments, or for no segments. [For example, see Example 1 - PID with
setpoint programmer and guaranteed soak (page 384).]
Up to 3 Process Variables may be configured as inputs to the block for setpoint guarantee.
Input
PV1 = Process Variable #1 value in engineering units, for deviation check.
PV2 = Process Variable #2 value in engineering units, for deviation check.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 379
June 2015
Function Blocks
SPP Function Block
ATTENTION
If either or both NPGM and NSEG are connected directly to analog variables, when that
analog variable changes (for example: via a recipe load), then the Setpoint Programmer block
will immediately use the new value internally.
If NPGM or NSEG is connected to any other function type then their values are loaded into the
SP Programmer only when ^SET goes through a positive transition.
Output
SP = Programmed setpoint value in engineering units
AUX = Second non-ramping auxiliary setpoint output in engineering units. [For example, see
Example 4 - Using the setpoint programmer AUX output (page 387).]
STMR = Time Remaining in current segment - in minutes.
STME = Time Elapsed in current segment - in minutes.
PTME = Time Elapsed in program - in minutes
GHOLDI = Guaranteed soak hold indication - turns on if PV is outside guaranteed soak band and
Guaranteed Soak is enabled.
READY = Program Reset state indication
380 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPP Function Block
ATTENTION
TIP
• If the first step of a profile is a ramp, the program will start the ramp from the value of PV
Input 1. If the first step of a profile is a soak, the program will start from the soak value. If
consistent starting values are required, begin all profiles with a soak.
• The PV inputs are used to determine PV–SP deviation for guaranteed soak segments.
• Valid program numbers begin with 1. Valid segment numbers begin with 1.
• The GHOLD output is not affected by the status of the GHOLD input.
• The RST, HLD, RUN, JOG, ADV, SET, RESTART inputs are activated only when the
respective input changes from OFF to ON. A maintained ON input has no different affect
than a pulsed ON input (that is, it has no effect until it turns OFF and then back ON again).
• The program may be changed (with some exceptions) from the current state to a new state
by the operator as well as by inputs to the SPP block. Table 100 lists the resulting states.
• Concerning changing program state, if more than one function block input is on in the same
execution cycle, RESET has priority over HOLD and RUN, and GHOLD has priority over
RUN.
• Also, function block inputs will override inputs from the Operator Panel that occur during the
same execution cycle. And finally, state changes from the Operator Panel are processed on
the basis of the “last change wins.”
• At the beginning of a segment, STME will be 0 for one execution cycle to permit start of
segment detection by other blocks.
• At the end of a segment, STMR will be 0 for one execution cycle to permit end of segment
detection by other blocks.
• If RESTART is On, the block will use PV1 as a starting value and ramp at Restart Rate back
to the last SP value, then complete the remaining portion of the segment. Restart Rate is a
property of the profile (program)
• “Fastforward” (i.e. Verify) is initiated through the operator interface. It is not an input pin.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 381
June 2015
Function Blocks
SPP Function Block
Fastforward is a way to check for proper functioning of the profile’s events and outputs,
without having to wait for the profile to execute at its normal speed. When FASTFORWARD
is ON, the program will run at a speed 60 times faster. When FASTFORWARD is OFF, the
program will run at normal speed.
1 No Action taken Program will start at the point where it was prior to power
down.
2 Use the Restart feature of the Setpoint This feature will use the PV (connected to PV1) as the initial
Programmer with a configurable Ramp starting point for the Setpoint and will use a configurable
Rate. ramp rate for the profile. When the temperature gets to the
original Setpoint prior to power down, the program will
continue. See Figure 101, Scenario A.
3 Use the Restart feature of the Setpoint You may gate this Restart input to the programmer to only
Programmer with a configurable Ramp apply after a certain time off and/or a certain segment if
Rate and use a compare function so that desired using Compare function blocks. See Figure 101,
the restart will apply only after a certain Scenario B.
time.
ATTENTION
Be sure to configure the Restart Ramp Rate when a controlled restart is being configured. If
not the default value of 0 will cause the programmer to freeze.
382 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPP Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 102 SPP configuration parameters
Revision 19 HC900 Process Control Designer Function Block Reference Guide 383
June 2015
Function Blocks
SPP Function Block
384 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPP Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 385
June 2015
Function Blocks
SPP Function Block
FAIL
386 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPP Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 387
June 2015
Function Blocks
SPP Function Block
SCENARIO B
388 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPS Setpoint Scheduler Function Block
Overview
The objective of the Setpoint scheduler is to provide a sequence of multiple setpoint outputs (both analog
and digital) which are referenced to a common time base. Five setpoint schedule block types will be
implemented:
Master Setpoint Scheduler Block (SPS)
Auxiliary Setpoint Block (SPSA)
Digital Event Block (SPEV)
State Switch Block (STSW)
State Flags Block (STFL)
A suite of Setpoint Scheduler blocks is comprised of one master Setpoint Block (required) and optionally,
one Digital Event, one Auxiliary Setpoint, one State Switch, and/or one State Flags block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 389
June 2015
Function Blocks
SPS Setpoint Scheduler Function Block
Inputs
ENABL=Level input to enable the block. Only checked in ready state.
Input is ignored if not connected.
NPGM = Program Number (when SET is ON). See ATTENTION below.
NSEG = Starting Segment Number (when SET is ON). See ATTENTION below.
^SET = Pulse Input to load NPGM and SEG numbers. See ATTENTION below.
PV1 = 1st Process Variable
PV2 = 2nd Process Variable
PV3 = 3rd Process Variable
PV4 = 4th Process Variable
PV5 = 5th Process Variable
PV6 = 6th Process Variable
PV7 = 7th Process Variable
PV8 = 8th Process Variable
STRQ = for connection to the STQR output of the STSW function block. (See Figure 102.) The STSW
block encodes discrete inputs to a form that will convey change mode requests from the STSW block:
0.0 No Change
1.0 Jog State
2.0 Guaranteed Hold State
4.0 Reset State
8.0 Hold State
16.0 Run State
32.0 Advance state
ATTENTION
If either or both NPGM and NSEG are connected directly to analog variables, when that
analog variable changes (for example: via a recipe load), then the Setpoint Scheduler block
will immediately use the new value internally.
If NPGM or NSEG is connected to any other function type then their values are loaded into the
SP Scheduler only when ^SET goes through a positive transition.
Outputs
PGM = Current Program Number
SEG = Current Segment number
STA = Program State (Reset, Run, Hold, Ghold, Stop).
SP1 = Setpoint #1 Output (EU)
SP2 = Setpoint #2 Output (EU)
SP3 = Setpoint #3 Output (EU)
SP4 = Setpoint #4 Output (EU)
SP5 = Setpoint #5 Output (EU)
SP6 = Setpoint #6 Output (EU)
SP7 = Setpoint #7 Output (EU)
SP8 = Setpoint #8 Output (EU)
390 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPS Setpoint Scheduler Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
TAG/FAILSAFE tab
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 391
June 2015
Function Blocks
SPS Setpoint Scheduler Function Block
Double click on the function block to access the function block properties dialog box.
392 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPS Setpoint Scheduler Function Block
AUX Label N/A Label name for Operator Interface 8 characters max.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 393
June 2015
Function Blocks
SPS Setpoint Scheduler Function Block
EVENT Label N/A Label name for Operator Interface 8 characters max.
EVENT1 thru
EVENT 8
394 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPS Setpoint Scheduler Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 395
June 2015
Function Blocks
SPSA Setpoint Scheduler Auxiliary Setpoint Function Block
Function
The eight setpoint outputs of the Auxiliary Setpoint block are set to the current step value. The current step
is an input to the block and must be connected to the step output of a Master Scheduler block. At the end of
a step, the outputs of the slave block go directly to the next step value. That is, Ramps are not supported.
Inputs
PGM = Current Program Number
SEG = Current Segment number
STA = Program State (Reset, Run, Hold, Ghold, Stop).
APV1 = 1st Auxiliary Process Variable (EU)
APV2 = 2nd Auxiliary Process Variable (EU)
APV3 = 3rd Auxiliary Process Variable (EU)
APV4 = 4th Auxiliary Process Variable (EU)
APV5 = 5th Auxiliary Process Variable (EU)
APV6 = 6th Auxiliary Process Variable (EU)
APV7 = 7th Auxiliary Process Variable (EU)
APV8 = 8th Auxiliary Process Variable (EU)
Outputs
AUX 1 = Auxiliary Output #1
AUX 2 = Auxiliary Output #2
AUX 3 = Auxiliary Output #3
AUX 4 = Auxiliary Output #4
AUX 5 = Auxiliary Output #5
AUX 6 = Auxiliary Output #6
AUX 7 = Auxiliary Output #7
AUX 8 = Auxiliary Output #8
396 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SPSA Setpoint Scheduler Auxiliary Setpoint Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 102 shows a Function Block Diagram (Setpoint Scheduler Suite) using a SPSA function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 397
June 2015
Function Blocks
SQRT Function Block
Function
Extracts the square root of the analog input (X) as long as the input is greater than the configured
DROPOFF value.
• If X > DROPOFF, then: OUT = square root of X.
• Otherwise, OUT = 0.
Input
X = Analog value for square root extraction
Output
OUT = Square Root value
Block properties
Double click on the function block to access the function block properties dialog box.
398 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SQRT Function Block
Configuration parameters
Table 107 SQRT configuration parameters
Example
Figure 103 shows a Function Block Diagram using a SQRT function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 399
June 2015
Function Blocks
STG Stage Function Block
Function
The Stage (STG) function block provides differential On/Off control and is typically used to monitor
pressure and flow for controlling pumps and operating valves.
There are four individual stages grouped together in the function block. The block monitors from one to
two analog inputs (PV1, PV2) which are common to all four stages, compares them for each stage by a
configurable comparator, and provides On/Off control outputs for the four stages based on configurable
setpoints for each stage. Each stage can be individually enabled and forced ON or OFF (OVON/OVOFF)
Interlocking
Previous interlocking prevents a stage’s output from turning ON until the previous stage has
turned ON. Next interlocking prevents a stage’s output from turning OFF until the output of the next
stage in sequence has turned OFF.
Interlocking is provided for stages where the output of the stage is dependent on the state of the
previous and next stage. It also works across sequentially connected function blocks.
In order for interlocking between function blocks to operate, the interlocking Input/Output pin of a
STAGE function block must be directly connected (or with a signal tag) to another STAGE function
block interlocking Input/Output pin. An improper connection, such as inserting another function block
type between two successive Stage blocks, invalidates the interlock signal.
Each configuration is limited to 8 stage function blocks.
The general forcing of outputs is not permitted within this block.
400 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
STG Stage Function Block
Inputs
PV1 = Analog Input #1 - can be pressure or flow – common to all four stages.
PV2 = Analog Input #2 - can be pressure or flow – common to all four stages.
EN1 – EN4 = ON enables the associated stage. OFF causes the associated request output [OUT1-OUT4] to
turn OFF. This condition overrides the OVON/OVOFF inputs. When EN [1-4] turns ON the stage
algorithm is reevaluated to determine the state of OUT (request).
OVON1 – OVON4 = Overrides the output of the associated stage [1-4]
ON = override signal to ON
OFF = no override
OVOFF1 – OVOFF4 =. Overrides the output of the associated stage [1-4]
ON = override signal to OFF
OFF = no override
If both OVON and OVOFF are ON, OVOFF takes precedence.
INTRLK IN = Interlocking signal from previous attached stage function block. (note 1)
Outputs
OUT1 – OUT4 = ON = Stage [1-4] request is ON
INTRLK OUT = Interlocking signal to interlock the 4th Stage of this block to the first Stage of the next
block in sequence. (note 1)
Note 1. In cases where two or more stage blocks are tied together, the sequence order should be
programmed in an ascending sequence to match the desired order of operation. Failure to maintain
sequence could cause multiple scans to be required for sequential operations.
Block properties
The Stage properties dialog box is divided into FIVE tab cards:
GENERAL
STAGE 1
STAGE 2
STAGE 3
STAGE 4
Click on the tab to access the properties for that tab.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 401
June 2015
Function Blocks
STG Stage Function Block
GENERAL tab
It looks like this graphically.
Table 108 describes the parameters and the value or selection.
* Also defines the number of decimal places for the associated SP ON/SP OFF parameter
402 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
STG Stage Function Block
STAGE tabs
It looks like this graphically. There are four stage tabs, each with the same entry fields. Select the tab for
each stage at the top of the dialog box.
Table 110 describes the parameters and the value or selection for each stage.
Label
An 8 character label used to identify the specific stage output on the operate displays of the operator
interface.
Stage Types
There are four stage types from which to choose:
Pressure/Flow The stage block activates its output as the PV1 pressure input increases above the
ON setpoint and deactivates the output as the PV2 flow input increases above its
setpoint.
Pump Down The stage block activates its output as the PV1 input rises (activate on rise) above
the ON setpoint.
Pump Up The stage block activates its output as the PV1 input falls (activate on fall) below the
ON setpoint
User Configured The user can select either PV for ON and OFF compare as well as the compare type
for their particular application (no restrictions).
Revision 19 HC900 Process Control Designer Function Block Reference Guide 403
June 2015
Function Blocks
STG Stage Function Block
Presets
The Stage type selection pre-assigns inputs and Hi/Lo setpoint comparisons as indicated in Table 109.
These cannot be altered. The User-configurable type may be used to custom assign PV inputs and setpoint
comparison types.
User Configurable PV1 or PV2 PV1 or PV2 Select from: Select from:
PV ON > SP ON PV OFF > SP OFF
PV ON ≥ SP ON PV OFF ≥ SP OFF
PV ON < SP ON PV OFF < SP OFF
PV ON ≤ SP ON PV OFF ≤ SP OFF
PV ON = SP ON PV OFF = SP OFF
404 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
STG Stage Function Block
Default =
Pressure/Flow
Default = OFF
Default = OFF
On Compare PV N/A Defines PV1 or PV2 as the source See Table 109 for
for the comparison to SP ON. defaults.
Off Compare PV N/A Defines PV1 or PV2 as the source See Table 109 for
for the comparison to SP OFF. defaults.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 405
June 2015
Function Blocks
STG Stage Function Block
Example
Figure 104 shows a function block diagram using a STG function block to control tank level by sequencing
multiple pumps.
406 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
STFL Setpoint Scheduler Stage Flags Function Block
Function
Connects to Master block (SPS) via dedicated connection and provides logic 1(ON) state digital outputs for
Scheduler modes. The State Flags block accepts the encoded master block state as an input and produces
digital outputs corresponding to the current value of STFL.
Inputs
STFL = this input is connected to the STFL output of the SPS function block. (See Figure 102.)
Outputs
GHOLD = ON if state = 1.0, else OFF
READY = ON if state = 2.0, else OFF
HOLD = ON if state = 4.0, else OFF
RUN = ON if state = 8.0, else OFF
STOP = ON if state = 16.0, else OFF
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 102 shows a Function Block Diagram (Setpoint Scheduler Suite) using a STFL function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 407
June 2015
Function Blocks
STRIG Selectable Trigger Function Block
Function
This block allows you to select one of the following input conditions for triggering the digital output.
- The input state changes from OFF to ON.
- The input state changes from ON to OFF.
- Both of the above.
When this block is "triggered" its output will be ON for one cycle.
This block will also allow you to select one of the following initial scan behaviors:
- No trigger action following a Cold Start or Warm Start.
- Trigger the output on the initial scan following a Cold Start; takes precedence over the input pin
conditions.
- Trigger the output on the initial scan following a Warm Start; takes precedence over the input pin
conditions.
- Trigger the output on the initial scan following a Cold Start or Warm Start; takes precedence over the
input pin conditions.
Output of the block can be forced.
Inputs
IN = Input signal
Outputs
OUT = Output signal
408 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
STRIG Selectable Trigger Function Block
Configurable Parameters
Parameter Index # Parameter Description Value or Selection
Block Order Execution Order for Block Read Only. To change block order,
right-click on a Function Block and
select Execution Order.
Example
Use the Selectable Trigger function block in combination with an UP/DN Counter function block to count
the number of time a process input changed state from Off to ON or ON to OFF or both.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 409
June 2015
Function Blocks
STSW Setpoint Scheduler State Switch Function Block
Function
Connects to Master block (SPS) via dedicated connection and accepts digital inputs to cause scheduler
mode changes. The State Switch block accepts state request digital inputs and produces an encoded output
for input to the master (SPS) block.
Inputs
^JOG = OFF to ON requests JOG state
GHOLD = ON = guaranteed Hold State; ON to OFF and previous state was RUN, then return to RUN
mode.
^RESET = OFF to ON requests RESET state
^RUN = OFF to ON requests RUN state
^ADV = OFF to ON requests ADVANCE state
Outputs
STRQ = for connection to the STQR input of the SPS function block. This block encodes discrete inputs to
a form that will convey change mode requests to the SPS block:
0.0 No Change
1.0 Jog State
2.0 Guaranteed Hold State
4.0 Reset State
8.0 Hold State
16.0 Run State
32.0 Advance state
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 102 shows a Function Block Diagram (Setpoint Scheduler Suite) using a STSW function block.
410 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SUB Subtraction Function Block
Function
Subtracts one input (X) from another (Y) to obtain an output.
• OUT = X–Y
Input
X = First analog value
Y = Second analog value
Output
OUT = Calculated Value
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 106 shows a Function Block Diagram using a SUB function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 411
June 2015
Function Blocks
4SUB Function Block
Function
Subtracts three analog inputs (X1, X2, X3) from Y input to get an output.
Input
X1 = First analog input
X2 = Second analog input
X3 = Third analog input
Y = Fourth analog input (number to subtract from)
ATTENTION
Output
OUT = Calculated Value
Block properties
Double click on the function block to access the function block properties dialog box.
412 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
4SUB Function Block
Example
Figure 107 shows a Function Block Diagram using a 4SUB function block.
Y – X1 – X2 – X3 = OUT
Revision 19 HC900 Process Control Designer Function Block Reference Guide 413
June 2015
Function Blocks
SW Analog Switch Function Block
Function
Selects input Y for output when digital input signal (SY) is ON.
• If SY = ON, then; OUT = Y
• Otherwise, OUT = X
Input
X = First analog value
Y = Second analog value
SY = Where ON selects Y command digital signal.
Output
OUT = Selected value
Block properties
Double click on the function block to access the function block properties dialog box.
414 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SW Analog Switch Function Block
Example
Figure 108 shows a Function Block Diagram using an SW function block to select control signal for output.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 415
June 2015
Function Blocks
SYNC Function Block
Function
Used to synchronize the operation of two setpoint programs given the run. Hold and reset signals from each
program.
Output
The status of each programmer connected to the output pins of the block are monitored. A change in state
of any of the programmers is transferred to the other programmers. This occurs regardless of input pin
connections. Use of block inputs is optional.
ATTENTION
Block properties
Double click on the function block to access the function block properties dialog box.
416 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
SYNC Function Block
Example
Figure 109 shows a Function Block Diagram using a SYNC function block.
Function: Synchronizes changes in setpoint program state for multiple SPP function blocks when the state
of any connected SPP is changed from the Operators Panel or via a remote connection. (Analog and digital
I/O blocks required to complete this function are not shown.)
Revision 19 HC900 Process Control Designer Function Block Reference Guide 417
June 2015
Function Blocks
TAHD Track and Hold Function Block
Function
Provides an output that tracks the value of the input (X), when a digital input signal (TC) is On; or when
TC is OFF, holds output at last value of X.
• If TC = ON, then: OUT = X (TRACK)
• If TC = OFF, then: OUT = Last value of X (HOLD)
Input
TC = Track command signal, when turned ON.
X = Value to be tracked.
Output
OUT = track and hold value of X
Block properties
Double click on the function block to access the function block properties dialog box.
418 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TAHD Track and Hold Function Block
Example
Figure 110 shows a function block diagram using a TAHD function block to track the Input signal for a
PID control loop in conjunction with a digital input.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 419
June 2015
Function Blocks
TCPR Function Block
Function
A communication function block that expands the read capability of the Modbus/TCP Slave function block
to 16 additional data points. Multiple blocks may be connected to the same Modbus/TCP Slave block.
The Modbus/TCP read block has no inputs and 16 outputs. Up to 16 registers can be configured as the
source of data for the outputs.
The configuration data for each point will consist of:
• the address of the source device on the Modbus link,
• the register address of the desired data,
• and the register type: Integer, Float, or Bit Packed.
The sixteen outputs can be connected or tagged in the same manner as any other function block output.
Inputs
ADDR = Slave address from associated TCPS block. (Must be connected to a TCPS block)
Outputs
RD1 through RD16 – Last read value from selected address
420 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TCPR Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
You must configure the TCPR function Block Output Pins as shown in the “Edit Selected Output Pin”
portion of the dialog box. Follow the numbered sequence shown above referring to Table 111.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 421
June 2015
Function Blocks
TCPR Function Block
422 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TCPR Function Block
Example
Figure 111 shows a Function Block Diagram using Modbus/TCP function blocks.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 423
June 2015
Function Blocks
TCPS Function Block
Function
A communication function block allows the controller to act as a master device and communicate with
slave devices via the Ethernet port of the controller. Requires one block per slave device, up to 32 devices
maximum. Only one block may be assigned to each slave device. It supports 4 read and 4 write parameters
plus provides digital indication of communication integrity.
Inputs
ENABLE = [ON] Slave device is in scan -
If the Enable pin IS connected, then enabling/disabling follows the state of the Enable pin of the block and
the enable/disable function on the diagnostic page in the HC Designer is grayed out.
If the Enable pin is NOT connected, then the user must be in Monitor mode, Monitoring TCP Modbus
Diagnostics in the HC Designer, select the device to be enabled or disabled, and click the Enable (or
Disable) button.
EN1 through EN4 = [ON] Data value written once per scan
WR1 through WR4 = Values to be written to the selected register
ATTENTION
• This block does not support bit packing and single bit writing.
• If the register is an integer data type, the floating point input will be rounded up prior to
writing to the address register.
424 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TCPS Function Block
Outputs
RD1 through RD4 = Last read value from the selected address
NO_SCAN = Scan Indication
ON = Device is “Out of Scan”
OFF = Device is “In Scan”.
BAD_COM = Communications Indication
ON = Bad quality or device not defined
OFF = Good Communications
IP_ADDR = IP Slave Address for use with TCPR and TCPW function blocks
ATTENTION
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
The ON/OFF properties dialog box is divided into Three tab cards:
GENERAL
READ
WRITE
Click on the tab to access the properties for that tab.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 425
June 2015
Function Blocks
TCPS Function Block
GENERAL tab
It looks like this graphically. Table 112 describes the parameters and the value or selection.
Configure Modbus Slave Tag N/A Description of Slave 16-character tag name
Slave Name Device
Slave address and Tag Name
must be unique within a control
file.
Modbus Double Each IEEE 32-bit floating point number requires two consecutive registers (four bytes)
Register Format starting with the register defined as the starting register for the information. The stuffing
order of the bytes into the two registers differs among Modbus hosts. The selections are:
426 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TCPS Function Block
READ tab
It looks like this graphically. Table 113 describes the parameters and the value or selection.
Edit Output Pins Output Pin N/A Output pin designation Register request assigned to
RD1, RD2, RD3, or RD4 pin
Use Register N/A Register Request Click on the “Use Register” field
to assign a register to the
Output pin.
Register N/A Register data type From the drop down menu,
Data Type select the Register Data Type
• Float
• Unsigned 32
• Signed 32
• Unsigned 16
• Signed 16
• Bit Packed
• Single Bit
Revision 19 HC900 Process Control Designer Function Block Reference Guide 427
June 2015
Function Blocks
TCPS Function Block
428 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TCPS Function Block
Write tab
It looks like this graphically.
Table 114 describes the parameters and the value or selection.
Edit Input Pins Input Pin N/A Input pin designation Register request assigned to
WR1,WR2,WR3, or WR4 pin
Use Register N/A Register Request Click on the “Use Register” field
to assign a register to the Input
pin.
Register N/A Register data type From the drop down menu,
Data Type select the Register Data Type
• Float
• Unsigned 32
• Signed 32
• Unsigned 16
• Signed 16
• Single bit
Revision 19 HC900 Process Control Designer Function Block Reference Guide 429
June 2015
Function Blocks
TCPS Function Block
430 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TCPS Function Block
Example
Figure 112 shows a Function Block Diagram using Modbus/TCP function blocks.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 431
June 2015
Function Blocks
TCPW Function Block
Function
This is a communication function block that expands the write capability of the Modbus/TCP Slave
function block to 8 additional data points. Multiple blocks may be connected to the same Modbus Slave
block.
The Modbus write block has 8 inputs and no outputs. The Modbus destination for each of the eight inputs
can be configured. An enable pin lets the data value be written once per scan.
The configuration data for each point will consist of: the address of the destination device on the Modbus
link, the register address of the desired data, and the register type: Integer or Float.
Inputs
EN1 through EN8 = [ON] Data value is written once per scan
WR1 through WR8 = Value to be written to the selected register address.
ADDR = Slave address from associated TCPS block. (Must be connected to TCPS block)
Outputs
None
432 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TCPW Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
You must configure the TCPW function Block Input Pins as shown in the “Edit Selected Input Pin” portion
of the dialog box. Follow the numbered sequence shown above referring to Table 115.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 433
June 2015
Function Blocks
TCPW Function Block
434 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TCPW Function Block
Example
Figure 113 shows a Function Block Diagram using Modbus/TCP function blocks.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 435
June 2015
Function Blocks
TGFF Toggle Flip Flop Function Block
Function
Provides an ON state output when a digital input goes from OFF to ON and the previous state of the output
was OFF, and an OFF state output when the digital input goes from OFF to ON and the previous state of
the output was ON.
• OUT = ON when ^TOG changes from OFF to ON and the previous state of OUT was OFF.
• OUT = OFF when ^TOG changes from OFF to ON and the previous state of OUT was ON.
• Reset sets output to OFF, regardless of current state.
Input
^TOG = Digital Input
RESET = Digital input ON Input = OFF output
Output
OUT = Digital Output
Block properties
Double click on the function block to access the function block properties dialog box.
436 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TGFF Toggle Flip Flop Function Block
Example
Figure 114 shows a Function Block Diagram using a TGFF function block and how to tag the output.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 437
June 2015
Function Blocks
TMDT Time and Date Function Block
The TMDT label stands for Time and Date. This block is part of the Counters/Timers category.
Function
Controls change between Daylight Saving and Standard time. Indicates when controller time is in Daylight
Saving. If the controller is using a network time server, indicates if the connection to server has failed.
Inputs
DSTI – When ON the controller will be in Daylight Saving time. When OFF the controller will be in
Standard time. Use of this pin requires configuring the controller time to use DSTI.
Outputs
DSTO – ON when controller is in Daylight Saving time. OFF when controller is in Standard time. To set
up Daylight Saving time, see Set Controller Time in HC Designer configuration software.
NTFAIL – ON when connection to network time server has failed. Note: controller’s time is synchronized
to the time server every few hours, therefore this pin can take a few hours to detect the failure.
Block Properties
Configurable Parameters
438 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TOT Totalizer Function Block
Function
Integrates an Analog variable using a specified rate. Rate may be in units per second, minute, hour, or day.
A preset is provided to reset the value when a specific quantity has been accumulated and provide a digital
status output.
Separate digital enable and reset inputs are provided.
Accumulated value may increment from 0 to preset for increasing totals or decrement from the preset to 0
for decreasing totals.
Inputs
RPRE = Remote Preset Value in Engineering Units
EN = When the enable input is ON, the input value is integrated to a preset value. (Value HOLD when EN
= OFF.)
RST = ON resets the output to zero. (Accumulated value set to 0.)
Output
PREI = Digital output, ON when the output = Preset Value. Upon reaching the preset value the digital
output is enabled for one scan and the totalizer restarts from 0.
OUT = Accumulated value in engineering units.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 439
June 2015
Function Blocks
TOT Totalizer Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 117 TOT configuration parameters
Use Preset Use Local N/A Local Preset Click on Radio Button to
select and enter value in
Local Preset field
Preset Trigger Decreasing N/A Select this to decrement from Click on Radio Button to
preset down to zero select
440 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TOT Totalizer Function Block
Example
Figure 115 shows Function Block Diagrams using a TOT function block.
EXAMPLE 1
Revision 19 HC900 Process Control Designer Function Block Reference Guide 441
June 2015
Function Blocks
TPO Time Proportional Output Function Block
Function
Proportions the amount of ON time and OFF time of a Digital Output over a user defined cycle time.
• On Time = [cycle time * (IN - range lo)] / (range hi - range lo)
• OFF Time = cycle time - On Time
• If On Time < minimum ON time, then On Time = 0.0
• If OFF Time < minimum OFF time, then OFF Time = 0.0.
Input
Analog Input value in Percent (%)
Block properties
Double click on the function block to access the function block properties dialog box.
442 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TPO Time Proportional Output Function Block
Configuration parameters
Table 118 TPO configuration parameters
Cycle Settings Cycle Time N/A Output Cycle Time 1 to 120 seconds Default = 20
Min Off Time 4 Minimum OFF time to 15.0 seconds Default = 0.0
*For HC900 controller’s 32 Channel DO Module, outputs 17 through 32 may not be used for TPO
(Time Proportioning Output), PPO (Position Proportioning Output) or TPSC (Three Position Step
Output) output types.
Example
Figure 116 shows a Function Block Diagram using a TPO function block. Time Proportioning outputs are
commonly used for electrically heated applications where regulating the amount of ON time vs. OFF time
of a heater is used to control temperature. In the example the TPO output is used to activate a relay output
to control a heater.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 443
June 2015
Function Blocks
TPSC (3POS) Function Block
Function
This block combines a PID controller with 3 position step control output functions to provide motor
position control without position sensing. Allows the control of a valve or other actuator having an electric
motor driven by two digital output channels; one to move the motor upscale, the other to move it
downscale, without a feedback slidewire linked to the motor shaft.
Inputs
PV = Process Variable Analog Input value in Engineering Units
RSP = Remote Setpoint Analog Input value in Engineering Units or Percent
TRV = Output Track value in Percentage (PID Output = TRV Input when TRC = ON.)
TRC = Output Track Command [ON, OFF] (On -Enables TRV) (Mode = Local Override)
BIAS = Remote Bias value for Ratio PID
SWI = Switch Inputs (from SWO on LPSW function block)
0 = No Change
1 = Initiate Autotuning
2 = Change Control Action
4 = Force Bumpless Transfer
8 = Switch to Tune Set 1
16 = Switch to Tune Set 2
MDRQI = External Mode request (typically connected to the MDRQO output of a MDSW function block.
0 = No Change
1 = Manual Mode Request
2 = Auto Mode Request
4 = Local Mode Request
8 = Remote Mode Request
444 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TPSC (3POS) Function Block
Outputs
WSP = Working Setpoint in Engineering Units for monitoring
AL1 = Alarm 1 - Digital Signal
AL2 = Alarm 2 - Digital Signal
DIRECT = ON = Direct; OFF = Reverse
ATI = Autotune Indicator (ON = Autotune in Progress)
MODE = Loop mode status (typically connected to the Mode Flags block for encoding). Value indicates
modes as follows:
0.0 RSP AUTO
1.0 RSP MAN
2.0 RSP Initialization Manual (See ATTENTION)
3.0 RSP Local Override (See ATTENTION)
4.0 LSP AUTO
5.0 LSP MAN
6.0 LSP Initialization Manual (See ATTENTION)
7.0 LSP Local Override (See ATTENTION)
BCO - Back Calculation Output (for blocks used as Cascade Secondary). This block can only be used as a
cascade secondary; therefore, no BCI input is provided.
FAIL = Failed Output Indicator - Module Error
ATTENTION
• the request comes from the Mode Switch (MDSW) function block, the request is retained
and when leaving the Initialization Mode or Local Override Mode the loop will go to manual.
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 445
June 2015
Function Blocks
TPSC (3POS) Function Block
GENERAL tab
Block Order N/A Execution Order Read Only. To change block order,
right-click on a Function Block and
select Execution Order.
Tag Name N/A 16 character tag
name
Descriptor N/A Block descriptor
Control Direction N/A Control Action DIRECT - Proportional action causes
output to increase as process
variable increases.
REVERSE - Proportional action
causes output to decrease as
process variable increases.
SP Tracking N/A Setpoint Tracking None
Track PV - When control mode is
“manual”, local setpoint tracks
process variable.
Track RSP - When setpoint is
“remote setpoint”, local setpoint
tracks remote setpoint.
446 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TPSC (3POS) Function Block
START/RESTART tab
Revision 19 HC900 Process Control Designer Function Block Reference Guide 447
June 2015
Function Blocks
TPSC (3POS) Function Block
Select one
Select one
Power Up Power Up N/A Output at Power up LAST OUT - Same as at power down.
Out Out
FAILSAFE - Failsafe output value.
Initial Use initial 15 Use Initial Local Click on radio button to select
Setpoint LSP Setpoint
Value
Initial LSP 16 Initial Local Setpoint Enter Initial Local Setpoint Value
Value Value
448 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TPSC (3POS) Function Block
RSP tab
Remote Setpoint Use RSP N/A Use Remote Setpoint in Click on radio button to select
Source and Units Input (EU) Engineering Units
Use RSP N/A Use Remote Setpoint in Click on radio button to select
Input (%) Percent
Use LSP2 N/A Use Local Setpoint #2 in Click on radio button to select
(EU) Engineering Units
Ratio/Bias No Ratio or N/A No ratio and bias applied Click on radio button to select
Bias to the function block
(RSP Input Only)
Use Local N/A Use Bias value selected Click on radio button to select
Bias on Tab Enter value at “Local Bias
Value” on tab.
Use Bias N/A Use Bias value attached to Click on radio button to select
Input an input to the block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 449
June 2015
Function Blocks
TPSC (3POS) Function Block
RANGE/LIMIT tab
450 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TPSC (3POS) Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 451
June 2015
Function Blocks
TPSC (3POS) Function Block
TUNING tab
452 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TPSC (3POS) Function Block
Tuning Constants Prop Band 0 Proportional Band (PB) - is the 0.1 to 1000
PB1 or percentage of the range of the
Gain1 measured variable for which a
proportional controller will produce
a 100 % change in its output.
or
Gain 37 Gain - is the ratio of output change 0.1 % to 1000 %
PB2 or (%) over the measured variable
Gain2 change (%) that caused it. ATTENTION: Enter
values for tuning set
1 and tuning set 2 in
100 % specified fields.
G=
PB %
Revision 19 HC900 Process Control Designer Function Block Reference Guide 453
June 2015
Function Blocks
TPSC (3POS) Function Block
ACCUTUNE tab
On Demand N/A When initiated, the controller will Click on radio button to
start controlling to the setpoint while select
it identifies the process, calculates
the tuning constants, and begins
TPSC control with the correct
tuning parameters.
454 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TPSC (3POS) Function Block
ALARMS tab
Revision 19 HC900 Process Control Designer Function Block Reference Guide 455
June 2015
Function Blocks
TPSC (3POS) Function Block
456 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TPSC (3POS) Function Block
MOTOR tab
Three Position Step control is accomplished by assigning the motor control relays physical address under
this tab.
Example
ATTENTION
TPSC output addresses are not checked for redundant assignment or mismatch with controller
hardware; therefore, use caution to insure unique address and correct I/O module.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 457
June 2015
Function Blocks
TPSC (3POS) Function Block
Example
Figure 117 shows a Function Block Diagram using a TPSC function block.
458 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TRIG Trigger Function Block
Function
Turns a Logic output (OUT) ON for one logic scan cycle, when a logic input (X) goes from OFF to ON.
• If X = ON and previous value of X was OFF, then: OUT = ON (one scan)
• Otherwise, OUT = OFF
Input
X = Trigger command signal
Output
OUT = triggered pulse
ATTENTION
The duration of the logic pulse output is one function block execution cycle. The duration of
the fast logic pulse output is 100 ms, or the fast logic cycle time.
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 459
June 2015
Function Blocks
TRIG Trigger Function Block
Example
Figure 118 shows a Function Block Diagram using a TRIG function block. An OFF delay timer block
output is ON as long as the RST input is logic HI (ON). It can be used for time duration but must be
triggered by an ON to OFF transition on the Reset input. This can be accomplished using Trigger blocks
(TRIG) to create one-shot pulses which last one scan cycle. The fast logic trigger pulse will last 100 ms.
while the normal logic trigger pulse will last the complete scan cycle for analog blocks. Use according to
application need. A Periodic timer output pulse may also be used to start the timer for the OFF delay.
Timing Diagram
AND4 output
TRIG1 output
Off delay
OFDT2 output
460 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TRND Trend Rate Function Block
Function
The trend block is used to configure up to three storage rates for the HC900 trend backfill (historical data
collection) feature.
Only one trend block is allowed in a configuration.
Inputs
None.
Outputs
CAP = storage capacity in hours
RATE1 = time in seconds of the first data storarge sample rate
RATE2 = time in seconds of the second data storarge sample rate
RATE3 = time in seconds of the third data storarge sample rate
Configuration parameters
Double clicking the block will open the diaglog to confire the three data storage rates.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 461
June 2015
Function Blocks
TRND Trend Rate Function Block
For each of the Log Rates click on the change button. This will open another diaglog that will enable
setting the rate.
Selectable rates are sample every 10 – 59 seconds, or every 1 – 59 minutes, or every 1 – 23 hours or once
per day.
462 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TRPT Trend Point Function Block
Function
The trend point block is used to configure the data points to be stored by the HC900 trend backfill
(historical data collection) feature.
The data collection rate for the points configured in the block is determined by the output pin of the TRND
block that it is connected to.
Inputs
X= time in seconds of the data storage rage for point in this block.
Outputs
None
Configuration parameters
There is a global parameter found under the HC Designer Edit menu to select whether trend points are to be
configured by Modbus address or by Signal Tag. Depending on this choice double clicking the block will
open one of the two following dialogs will open to configure the points to be trended by this block.
In either case, points are added by selecting the line and clicking on “Add to list”. Each trend point block
can support up to 50 points. The trend function will support up to 250 points.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 463
June 2015
Function Blocks
TRPT Trend Point Function Block
464 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
TRPT Trend Point Function Block
Example
This example shows how multiple trend point blocks are attached to a single trend block to create different
trend groups at the three rates.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 465
June 2015
Function Blocks
UPDN Up/Down Function Block
Function
The output counts the number of rising edge logic transactions on the input to the block up to a preset value
(RPRE or LPRE). When the preset value is reached, a logic output (PREI) is enabled until a Reset input
(RST) resets the block. Value may be set to increase to the preset value or decrease from the preset value.
Inputs
^X = Positive Edge Detect Count Input
RPRE = Remote Preset
RST = ON resets the count
CNTDN = ON counts down
Outputs
OUT = Output
PREI = Preset Indicator
Block properties
Double click on the function block to access the function block properties dialog box.
466 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
UPDN Up/Down Function Block
Configuration parameters
Table 128 Up/down configuration parameters
Example
Figure 122 shows a Function Block Diagram using a UPDN function block. This example uses a Totalizer
function block as a retentive timer. If a fixed input of 1 is provided to the block using a Numeric Constant,
the totalizer will time up to 1 at the input rate selected (per sec, per min., per hr, or per day). For example,
if the “per hr” rate were selected, the output would be 1.0 after 1 hour, 2.0 after 2 hours, etc, up to the
Preset value.
A counter is shown to count the number of pump cycles (On to OFF transitions).
The P4-RESET Digital Variable is used to reset the timer and counter
Revision 19 HC900 Process Control Designer Function Block Reference Guide 467
June 2015
Function Blocks
VLIM Velocity Limiter Function Block
Function
Limits the rate at which an analog input value (X) can change, when a digital input signal (EN) is ON.
Individual rate of change limits are configured for an increasing and a decreasing X, respectively.
Separate digital status outputs indicate when High (H) or Low (L) rate limits are active.
• If EN = OFF or system state = NEWSTART*, then:
OUT = X,
L = OFF,
H = OFF.
• If EN = ON and OUT < X, then:
OUT moves toward X at Increasing RATE limit,
L = OFF,
H = ON until OUT = X.
• If EN = ON and OUT > X, then:
OUT moves toward X at Decreasing RATE,
L = ON until OUT = X,
H = OFF.
* Newstart is the first scan cycle following the cold start of the controller.
Input
X = Analog Value (Primary Input)
EN = Enable Input command
Output
OUT = Rate Limited Input Value
H = High Rate alarm indication
L = Low Rate alarm indication
468 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
VLIM Velocity Limiter Function Block
Block properties
Double click on the function block to access the function block properties dialog box.
Configuration parameters
Table 129 VLIM Configuration Parameters
Set Limits Increase 0 Limits the increasing rate at which 0 to 99999 (eu/min)
Rate Limit the analog input value can change
Example
Figure 123 shows a VLIM function block that limits the increasing or decreasing rate at which the output
can change based on user specified limits when the Enable input is ON (1).
Revision 19 HC900 Process Control Designer Function Block Reference Guide 469
June 2015
Function Blocks
WCON Write Constant Function Block
Function
Writes the numerical value of selected configuration parameter to a given control block. If EN is ON, the
selected parameter is changed to the value of X.
ATTENTION
Not valid for all blocks. Also, for SIL-compliant controllers the Write Constant function block
may be used on both Process and Safety worksheets, but the selected function block to write
to must be located on a Process worksheet. Writing to blocks located on a Safety worksheet is
not allowed, unless the Write Constant function block itself is on a Safety worksheet.
Input
X = Value to be written (invalid for parameters of type other than BOOL or REAL)
EN = Enable command
Configuration parameters
Parameter Index # N/A Index number Select the index number of the required
of configuration parameter from the specific function block
parameter to reference data
be modified
1. Double-click on the function block to access the "Write Constant" dialog shown below:
470 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
WCON Write Constant Function Block
2. Select the Block Number of the Target Block from the pull-down list. Note that function blocks located on
a Safety worksheet in an SIL-compliant configuration will not be listed, unless the Write Constant block is
on a Safety worksheet itself.
3. Enter the Index number of the desired configuration parameter of the Target Block. Check the block’s
properties page for details.
4. Click on the OK button to complete the configuration.
The block number and parameter index will appear on the front of the WCON function Block; B:105 I:5 in
the above example.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 471
June 2015
Function Blocks
WTUN Write Tuning Constants Function Block
Function
Writes the numerical value of Gain, Rate, and Reset to a Target PID, TPSC, or CARB block without any
operator interaction.
Select the target block number from the specific function block diagram and enter it in the appropriate
field in the “Write Tune Constants” dialog box.
• If EN is ON, then the tuning constants are set to the Gain, Rate, and Reset input values..
ATTENTION
Invalid for block number whose type is other than PID, CARB, or TPSC.
If the target block is in AUTO mode, tuning parameter change will cause a bump in the output.
Input
GAIN = Value for GAIN tuning constant
RSET = Value for RESET tuning constant (Integration time)
RATE = Value for RATE tuning constant (Derivative time)
EN = Enable command
ATTENTION
The three analog inputs can originate as recipe items or be calculated for adaptive control.
472 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
WTUN Write Tuning Constants Function Block
Double click on the function block to access the “Target Block Number” dialog box.
Enter the Target Block number in the appropriate field. Selections are from 101 to 500(Model C30), 101
to 2100 (Model C50), 101 to 5100 (Model C70/C75).
Example
Figure 124 shows a Function Block Diagram using a WTUN function block to write Tuning Parameters to
a PID function block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 473
June 2015
Function Blocks
WVAR Write Variable Function Block
Function
Writes a new value to a selected Variable number.
If EN is ON, then the Variable selected is set to the value of X. (For example: X = a constant value)
For SIL-compliant controllers the Write Variable function block may be used on both Process and Safety
worksheets. Writing to Variables located on a Safety worksheet is not allowed, unless the Write Variable
function block itself is on a Safety worksheet .
Designer software V6.005 and above provides connections from the process to safety worksheet variables
for NON-critical safety functions. The safety variable must be enabled for non-critical safety functions; this
variable attribute places the variable into the Select variables list on process worksheets.
Inputs
X = Value to be written to the selected variable
EN = Enable command
Configurable Parameter
Target write variable number
1. Double-click on the function block to access the "Write Variable Number" dialog shown below:
474 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
WVAR Write Variable Function Block
2. Click on the Select Variable button to access the “Select Variable” dialog shown below:
Once a variable is assigned the "Find Variable" button will change the worksheet focus to the associated
variable.
> Selecting the OK button keeps new worksheets focus.
> Selecting the "Cancel" button returns the worksheet focus to the WVAR worksheet.
This functionality allows the configurator designer to verify the associated variable connection.
Note: If the WVAR's variable is deleted from the configuration the WVAR association will be lost/ unassigned.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 475
June 2015
Function Blocks
WVAR Write Variable Function Block
The Target block number will appear on the front of the WVAR function Block.
476 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
XFR Bumpless Analog Transfer Switch Function Block
Function
Provide “bumpless” switching between two analog input values (X, Y) that is triggered by a digital input
signal (*SY). When switched, the output ramps to the new value at a specified rate.
The rate at which the output (OUT) changes to a switched value (Y or X) is set by YRATE and XRATE
configuration values, respectively.
• If SY is switched to ON, then: OUT changes to Y value at YRATE.
• If SY is switched to OFF, then: OUT changes to X value at XRATE.
• When OUT reaches the selected target input, OUT tracks the selected input (until SY changes).
Input
X = First analog value.
Y = Second analog value.
SY = Switch to Y command digital signal
Output
OUT = Selected Value
Block properties
Double click on the function block to access the function block properties dialog box.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 477
June 2015
Function Blocks
XFR Bumpless Analog Transfer Switch Function Block
Configuration parameters
Table 130 XFR switch configuration data
Example
Figure 125 shows a Function Block Diagram using a XFR function block. It shows a typical switch action
for a XFR function block.
478 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
XOR Function Block
Function
Turns a digital output signal (OUT) ON if only one of two digital input signals (X, Y) is ON. Otherwise,
the output is OFF.
• If X = OFF and Y = ON, then: OUT = ON.
• If X = ON and Y = OFF, then: OUT = ON.
• If X = ON and Y = ON, or X = OFF and Y = OFF, then OUT = OFF.
Input
X = First Digital Signal
Y = Second Digital Signal
Output
OUT = resultant digital signal
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 126 shows a Function Block Diagram using a XOR function block. In the example, if pressure input
1 or 2 is high or low, flow is disabled. If only one pressure input is ON, flow is enabled.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 479
June 2015
Function Blocks
5XYRB Function Block
Function
This block allows the HC900 controller to act as a Modbus master device and communicate with XYR5000
base radios via the serial port of the controller. Configuration of the HC900 master requires one block per
base radio, up to 32 base radios or 1024 parameters maximum. Only one block may be assigned to each
XYR5000 base radio slave device.
The block supports 10 read parameters from the XYR5000 plus it provides digital indication of
communication integrity. For attached transmitters there is a separate 5XYRT block which is connected to
5XYRB via the address (ADDR) output of the 5XYRB block. Since all the parameters of 5XYRB block
have fixed Modbus register addresses, there is no configuration data associated with addressing of the
parameters. All outputs can be tagged in the same manner to any other function block output.
NOTE 1: To read proper values of all transmitter parameters when connecting an HC900 to the XYR5000
system, the XYR5000 base radio must be set to "Register Mapping Mode."
If a XYR5000 base radio slave device does not respond to a request, the last output value will be
maintained.
NOTE 2: The output values of the 5XYRB block may be added to the Custom Modbus Map without the
need to assign tags to the output pins.
480 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
5XYRB Function Block
Input
ENABLE = Digital input ON when XYR5000 base station is in scan. Digital input OFF when XYR5000
base station is out of scan.
Output
DEV STAT = Last read value of XYR5000 base radio device status. (O = offline, 1 = online)
EXP CNT = Number of Expected Transmitters communicating to the base station.
TX CNT = Number of Transmitters actually communicating with the base radio.
TxS1-16 = Online/Offline status of transmitters 1-16. Connect to Digital Decoder block for transmitter
status.
TxS17-32 = Online/Offline status of transmitters 17-32. Connect to Digital Decoder block for transmitter
status.
TxS33-48 = Online/Offline status of transmitters 33-48. Connect to Digital Decoder block for transmitter
status.
TxS49-64 = Online/Offline status of transmitters 49-64. Connect to Digital Decoder block for transmitter
status.
TxS65-80 = Online/Offline status of transmitters 65-80. Connect to Digital Decoder block for transmitter
status.
TxS81-96 = Online/Offline status of transmitters 81-96. Connect to Digital Decoder block for transmitter
status.
TxS97-100 = Online/Offline status of transmitters 97-100. Connect to Digital Decoder block for transmitter
status.
NO_SCAN = Scan Indication. ON = Device is "Out of Scan". OFF = Device is "In Scan".
BAD_COM = Communications Indication. ON = Bad quality or device not defined. OFF = Good
Communications.
ADDR = Connection pin used to connect the 5XYRB base radio block to the 5XYRT transmitter block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 481
June 2015
Function Blocks
5XYRB Function Block
Configuration parameters
Double click on the function block to access the function block properties dialog box.
Properties Group Parameter Index # Parameter Description Value or Selection
Configure Modbus Slave Tag 0 Description of XYR5000 device 16 character tag name.
Slave Name
Slave address and Tag
Name must be unique
within a control file.
Modbus 1 Address of XYR5000 base radio Enter unique address.
address on the link. address, range 1 to 247.
Modbus Double Each IEEE 32-bit floating point number requires two consecutive registers (four bytes)
Register Format starting with the register defined as the starting register for the information. The stuffing
order of the bytes into the two registers differs among Modbus hosts. The selections are:
Example
Figure 127 shows a Function Block Diagram using a 5XYRB function block.
482 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
5XYRB Function Block
Revision 19 HC900 Process Control Designer Function Block Reference Guide 483
June 2015
Function Blocks
5XYRT Function Block
Function
This communication function block expands the read capability of the 5XYRB Slave function block to
access parameters of XYR5000 Transmitters. 5XYRB block’s ADDR output is connected to the ADDR
input of this block to access all the parameters. The 5XYRT block has 12 output parameters which are
supplied by 5XYRB block. Since these parameters have fixed Modbus register addresses, there is no
configuration data associated with this block. All outputs can be connected or tagged in the same manner as
any other function block output.
If communication between the HC900 and the XYR5000 base radio is lost, the last read values will be
supplied on the 5XYRT outputs.
Input
ADDR = Input pin used to connect the 5XYR transmitter block to the 5XYRB base radio block. Must be
connected to 5XYRB block’s ADDR output pin.
484 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
5XYRT Function Block
Output
PR SENS = Primary Sensor Value.
SC SENS = Secondary Sensor Value.
TR SENS = Tertiary Sensor Value.
ONLINE = Transmitter online status. 1 = online, 0 = offline.
LOW BAT = Low Battery condition. 1 = low battery, 0 = battery ok.
ALARM = Alarm condition. 1 = alarm, 0 = no alarm.
SENS ERR = Sensor error condition. 1 = error, 0 = ok.
SENS OVR = Sensor over range condition. 1 = over range, 0 = ok.
SYS ERR = System error condition. 1 = system error, 0 = ok.
INP1 CLSD = switch input 1 closed. 1 = closed, 0 = open.
INP2 CLSD = switch input 2 closed. 1 = closed, 0 = open.
SQRT FN = square root function. Square root of primary Differential Transmitter output.
Configurable Parameters
Parameter Index # Parameter Description Value or Selection
Transmitter 0 Description of XYR5000 16 character name.
Reference transmitter
Name Slave address and Tag
Name must be unique
within a control file.
Node ID 1 ID of transmitter Enter node ID. (Valid
Range is 1 to 100).
Default ID = 0 which
means data will NOT be
read.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 485
June 2015
Function Blocks
5XYRT Function Block
Example
486 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
6XYRT Function Block
Function
Use this block to read the process variables and device status of any XYR6000 transmitter. To access
XYR6000 parameters, connect this block’s ADDR input to the ADDR output of the XYR6000 Gateway
(6XYRWG) block.
Five parameters—PV1, PV2, PV3, PV4 and DEV_STAT—are read from the XYR6000 transmitter.
DEV_STAT value contains several statuses of the transmitter, and each status from DEV_STAT is
assigned its own output pin of this block.
If a 6XYRWG gateway does not respond to a request from the HC900, the last read values will be
maintained on the 6XYRT outputs.
Input
ADDR = Slave IP Address from associated 6XYRWG block (must be connected to IP address output pin
of a 6XYRWG block).
Revision 19 HC900 Process Control Designer Function Block Reference Guide 487
June 2015
Function Blocks
6XYRT Function Block
Output
PV1 = Last read value of process variable 1 from the specified address of PV1 register
PV2 = Last read value of process variable 2 from the specified address of PV2 register
PV3 = Last read value of process variable 3 from the specified address of PV3 register
PV4 = Last read value of process variable 4 from the specified address of PV4 register
ELEC_FAIL = Electronics failure status flag (Decoded bit 0 of DEV_STAT)
MECH_FAIL = Mechanical failure (Decoded bit 1 of DEV_STAT)
IN_FAIL = Input failure (Decoded bit 2 of DEV_STAT)
OUT_FAIL = Output failure (Decoded bit 3 of DEV_STAT)
LOW_BAT = Low battery (Decoded bit 4 of DEV_STAT)
EXT_PWR = External power (Decoded bit 5 of DEV_STAT)
CFG_ERR = Configuration Error (Decoded bit 6 of DEV_STAT)
CAL_ERR = Calibration error (Decoded bit 7 of DEV_STAT)
RADIO_ERR = Radio communication error (Decoded bit 8 of DEV_STAT)
MEM_ERR = Heap memory error (Decoded bit 9 of DEV_STAT)
DFW_ERR = Device firmware error (Decoded bit 10 of DEV_STAT)
WT_ERR = Watchdog timer error (Decoded bit 11 of DEV_STAT)
DIAG = Diagnostics (ON when any of the above status pins are ON)
DEV_STAT = Device Status from the specified address of Device status register. This value is further
decoded and individual status bits are displayed as remaining outputs of the block (ELEC_FAIL through
DIAG).
Configurable parameters
Step 1: Select Load Wireless Data File. This is a file containing the transmitter’s parameters and addresses.
This file must first be created and exported from the Wireless Builder application. For details, see How to
create an XYR6000 Transmitter export file.
Step 2: Add or remove the DEV-STAT and up to 4 PVs.
Parameter/ Description
Button
Filename Path and name of the XYR6000’s exported .csv file
containing the device parameters to be accessed by this
block.
Time Stamp Time the .csv file was created.
Load Wireless Data File Lets you select and load the .csv file containing the XYR6000
parameter addresses. This file must first be exported from
Wireless Builder application.
488 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
6XYRT Function Block
Parameter/ Description
Button
Transmitter Reference Name Name of the XYR6000 transmitter.
XYR Device Name of the device whose parameters you will add or
remove to the block.
Register Type of register being accessed (Status or PV).
Address Address of the parameter that was added. This field is blank if
you remove the parameter.
Add Click this to list the available parameters in the Wireless Data
File loaded above. Highlight the desired parameter and click
OK to add it.
Remove Removes the parameter from the block.
Revision 19 HC900 Process Control Designer Function Block Reference Guide 489
June 2015
Function Blocks
6XYRT Function Block
3. Click on the Modbus TCP Analog data tab to begin assigning Modbus addresses to transmitter data.
4. Scroll down to access the Input Register Entries field for Input Registers (Read FC4) table and specify the
quantity of parameters to be read by the HC900 controller. In the figure below, a quantity of 14 has been
entered (see circle), thus creating 14 entries with register numbers 0 to 27. (Parameters are floating point
and occupy 2 registers each.) Note a minimum of two parameters will be needed for each transmitter, one
for the process value and one for the transmitter status. If the specific transmitter has more than one
process variable, addition parameter fields will be needed.
5. To add a transmitter parameter, click on a register under the Block column. Next, click on the gray block
that appears at the right of the selected cell. (See circle in figure above.) This brings up a list of
configured transmitters, each with a Device Status parameter and one to four PVs.
6. Select a parameter to add to the register. Device Status parameters are blank under the Block Names
column; PV parameters have block names.
7. Repeat for each parameter you’d like to add.
8. Close the Main Gateway dialog.
490 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
6XYRT Function Block
9. Access the File menu of Wireless Builder and select Export Modbus Config. See figure below. Select
conversion to Generic File Format. Assign a file name, select file type “Delimited Text (.csv)” and save
the file. Export a database .csv file. This .csv file contains the transmitter’s parameters and addresses and
is required for configuration of the 6XYRT function block.
Example
Revision 19 HC900 Process Control Designer Function Block Reference Guide 491
June 2015
Function Blocks
6XYRWG
6XYRWG
The 6XYRWG label stands for XYR6000 Wireless Gateway slave status block.
Function
This block allows the HC900 controller to act as a master device and communicate with an XYR6000
wireless gateway via the Ethernet port of the controller. Configuration in HC900 master requires one block
per gateway, up to 32 gateways or 1024 parameters maximum. Only one block may be assigned to each
XYR6000 gateway slave device. Even if it does not read or write parameters, it provides a means of
connecting XYR6000 wireless transmitter blocks to it by way of ADDR output pin. The block outputs
provide digital indication of communication integrity.
For transmitter parameters that are readable, there is separate 6XYRT block which is connected to
6XYRWG via the ADDR output pin at the bottom of this block. If more parameters of any of the
transmitters are to be read, then TCPR block can be used with 6XYRWG block similar to TCPS and TCPR
combination. All outputs of the block can be connected or tagged in the same manner as any other function
block output.
If XYR6000 gateway slave device does not respond to a request, the last output value will be maintained.
Input
ENBL = Enable. When the digital input pin is ON the 6XYRWG Slave device is in scan.
If the Enable pin is not connected, then the user must be in Monitor mode, Monitoring TCP Modbus
Diagnostics in the HC Designer, select the 6XYRWG device to be enabled or disabled, and click the
Enable (or Disable) button.
Output
NO_SCAN = Scan Indication. ON = Device is "Out of Scan". OFF = Device is "In Scan".
BAD_COM = Communications Indication. ON = Bad quality or device not defined. OFF = Good
Communications.
ADDR = Used to connect 6XYRT transmitter function blocks to the 6XYRG gateway block.
492 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Function Blocks
6XYRWG
Configurable Parameters
Properties Group Parameter Index # Parameter Description Value or Selection
Configure Modbus Slave Tag 0 Description of 6XYRWG slave 16 character tag name.
Name device
Slave address and Tag
Name must be unique
within a control file.
Modbus/TCP 1 IP Address of XYR6000 Enter unique address.
address Wireless gateway device on the (Cannot be 0.0.0.0 or
link. 255.255.255.255)
Default IP address =
0.0.0.0 which means
6XYRWG slave will NOT
be in scan.
Modbus Double Each IEEE 32-bit floating point number requires two consecutive registers (four bytes)
Register Format starting with the register defined as the starting register for the information. The stuffing
order of the bytes into the two registers differs among Modbus hosts. The selections are:
Revision 19 HC900 Process Control Designer Function Block Reference Guide 493
June 2015
Function Blocks
6XYRWG
Example
494 HC900 Process Control Designer Function Block Reference Guide Revision 19
June 2015
Sales and Service
For application assistance, current specifications, pricing, or name of the nearest Authorized Distributor, contact one
of the offices below.
Singapore
Honeywell Pte Ltd.
Phone: +(65) 6580 3278
Fax: +(65) 6445-3033
South Korea
Honeywell Korea Co Ltd
Phone: +(822) 799 6114
Fax: +(822) 792 9015
.
Process Solutions
Honeywell
1250 W Sam Houston Pkwy S
Houston, TX 77042