Function Block Reference Guide

IAC

ControlEdge HC900 Controller Designer, 51-52-25-109

Function Block Reference Guide. Doc. ... ControlEdge HC900 Control Designer User Guide ... Table 52 Fast logic system status block outputs .

HC900 Process Control Designer

instructions could result in death or serious injury. ATTENTION, Electrostatic Discharge (ESD) hazards. Observe precautions for handling electrostatic sensitive devices . Protective Earth (PE) terminal. Provided for connection of the protective earth (green or green/yellow) supply system conductor.

51-52-25-109
HC900 Process Control Designer
Function Block Reference Guide
Doc. No.51-52-25-109 Revision: 27
Revision Date: November 2020
Honeywell Process Solutions

Notices and Trademarks
Copyright 2020 by Honeywell Revision 27, November 2020
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.

Honeywell Process Solutions 1250 W Sam Houston Pkwy S
Houston, TX 77042
ControlEdge HC900 is a U.S. trademark of Honeywell Other brand or product names are trademarks of their respective owners.

ii

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

About This Document
Abstract
The "Process Control Designer" configuration software program is used for ControlEdge HC900 Controller and Operator Interface configuration and operates on a PC with WindowsTM 7, 8 and 10. 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.

Document Title ControlEdge HC900 Controller Technical Overview Legacy ControlEdge HC900 Controller Installation and User Guide ControlEdge HC900 Operator Interface User Guide ControlEdge HC900 Control Designer User Guide ControlEdge HC900 Control Communications User Guide 900 Control Station For use with ControlEdge HC900

Doc ID 51-52-03-31 51-52-25-107
51-52-25-108 51-52-25- 110 51-52-25-111 51-52-25-148

Revision History

The following list provides notes concerning all revisions of this document.

51-52-25-109 (this document)

Revision details

April 2018, Rev. 23

R650 updates including Universal IO and name change

December 2018, Rev 24

Addition of Eight Min-Max-Average-Sum block (8MMA)

March 2019, Rev 25

Updated Analog Input Voting section

May 2019, Rev 25

Added `Warning' under "TPSC (3POS) Function Block" section

Added "(ASCII characters only)" in the place of "16 character length".

November 2019, Rev 26

Added Redundant Universal IO Function Blocks.

November 2020, Rev 27

Added HARTCmd3 and Cmd48 Function Blocks.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

iii

November 2020

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:

Honeywell Organization Corporate Honeywell Process Solutions HPS Technical tips

WWW Address (URL) http://www.honeywell.com http://hpsweb.honeywell.com/ps http://content.honeywell.com/ipc/faq

Telephone and Email Contacts

Area

Organization

United States and

Canada

Honeywell Inc.

Global Email Support

Honeywell Process Solutions

Phone Number

1-800-343-0228

Customer Service

1-800-423-9883 Global Technical Support

Email: (Sales)

FP-Sales-Apps@Honeywell.com

or (TAC)

hfs-tac-support@honeywell.com

iv

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Symbol Definitions
The following table lists those symbols that may be used in this document to denote certain conditions.

Symbol

Definition
This DANGER symbol indicates an imminently hazardous situation, which, if not avoided, will result in death or serious injury.
This WARNING symbol indicates a potentially hazardous situation, which, if not avoided, could result in death or serious injury.
This CAUTION symbol may be present on Control Product instrumentation and literature. If present on a product, the user must consult the appropriate part of the accompanying product literature for more information.
This CAUTION symbol indicates a potentially hazardous situation, which, if not avoided, may result in property damage.
WARNING PERSONAL INJURY: Risk of electrical shock. This symbol warns the user of a potential shock hazard where HAZARDOUS LIVE voltages greater than 30 Vrms, 42.4 Vpeak, or 60 Vdc may be accessible. Failure to comply with these instructions could result in death or serious injury.

ATTENTION, Electrostatic Discharge (ESD) hazards. Observe precautions for handling electrostatic sensitive devices

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.
Chassis Ground. Identifies a connection to the chassis or frame of the equipment shall be bonded to Protective Earth at the source of supply in accordance with national and local electrical code requirements.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

v

November 2020

Table of Contents

Notices and Trademarks ..................................................................................................ii
About This Document......................................................................................................iii
Abstract.................................................................................................................................................................... iii References ............................................................................................................................................................... iii Revision History ...................................................................................................................................................... iii Contact Information..................................................................................................................................................iv Symbol Definitions....................................................................................................................................................v
Table of Contents ............................................................................................................vi
Tables ..................................................................................................................................................................... xii Figures .....................................................................................................................................................................xv
Introduction ..................................................................................................................... 1
Overview ...................................................................................................................................................................1 Accessing function block properties..........................................................................................................................1 Normal Scan vs. Fast Scan Function Blocks .............................................................................................................2 Block Order ...............................................................................................................................................................2
Function Blocks ............................................................................................................... 3
Introduction ...............................................................................................................................................................3 Function block listings...............................................................................................................................................3 ABS Absolute Value Function Block ......................................................................................................................13 ADD Function Block...............................................................................................................................................15 4ADD Function Block.............................................................................................................................................16 AGA8DL Function Block........................................................................................................................................17 AGA8GS Function Block........................................................................................................................................26 AGA3O Function Block ..........................................................................................................................................32 AGA7TM Function Block .......................................................................................................................................37 AGA9UM Function Block ......................................................................................................................................41 AI Function Block ...................................................................................................................................................45

vi

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Analog Input Voting ................................................................................................................................................51 ALMGR Alarm Group Function Block...................................................................................................................61 ALT Alternator Function Block ..............................................................................................................................63 AMB Auto/Manual Bias Function Block ................................................................................................................72 ANAIMP Safety Analog Import Function Block ....................................................................................................78 2AND Function Block.............................................................................................................................................83 4ALM Function Block.............................................................................................................................................85 4AND Function Block.............................................................................................................................................87 8AND Function Block.............................................................................................................................................89 AO Function Block..................................................................................................................................................91 Analog Output Validated .........................................................................................................................................94 ASYS Analog System Status Function Block .........................................................................................................99 BCD Function Block .............................................................................................................................................102 BOOL Boolean Logic Function Block ..................................................................................................................104 CASTA Configuration Access Status....................................................................................................................107 CALEVT Calendar Event Function Block ............................................................................................................110 CARB Carbon Potential Function Block...............................................................................................................118 CAVG Continuous Average Function Block ........................................................................................................136 CMPR Comparison Calculation Function Block...................................................................................................139 DC Device Control Function Block.......................................................................................................................140 DCMP Deviation Compare Function Block ..........................................................................................................145 DDEC Digital Decoder Function Block ................................................................................................................147 DENC Digital Encoder Function Block ................................................................................................................149 DEWP Function Block ..........................................................................................................................................151 DI Function Block .................................................................................................................................................154 DIGIMP Safety Digital Import Function Block ....................................................................................................157 Digital Input Voting...............................................................................................................................................161 8DI Function Block ...............................................................................................................................................165 DIV Function Block ..............................................................................................................................................168 DLAY Function Block ..........................................................................................................................................170 DO Function Block................................................................................................................................................172 Digital Output Validated........................................................................................................................................175 DSW Digital Switch Function Block.....................................................................................................................182

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

vii

June 2019

ENTH Humidity and Enthalpy Function Block.....................................................................................................183 FGEN Function Generator Function Block ...........................................................................................................185 FI Frequency Input ................................................................................................................................................189 FMON Fault Monitor Function Block...................................................................................................................193 FRCP Force Present Function Block .....................................................................................................................196 FSS Four Selector Switch Function Block ............................................................................................................198 FSYS Fast Logic System Monitor .........................................................................................................................201 HART Command3 - Read Dynamic Variables And Loop Current .......................................................................203 HART Command48 - Read Additional Device Status ..........................................................................................206 HLLM High Low Limiter Function Block ............................................................................................................209 HMON High Monitor Function Block ..................................................................................................................211 HOA Hand/Off/Auto Switch Function Block........................................................................................................213 HSEL High Selector Function Block.....................................................................................................................218 IMM - IO Module Monitor Block .........................................................................................................................220 LDLG Lead/Lag Function Block...........................................................................................................................222 LMON Low Monitor Function Block ...................................................................................................................225 LPSW Loop Switch Function Block .....................................................................................................................227 LSEL Low Selector Function Block......................................................................................................................229 LTCH Latch Function Block .................................................................................................................................230 MATH Function Block..........................................................................................................................................232 Multiple Alarm with Hysteresis.............................................................................................................................236 STK Stack light .....................................................................................................................................................240 MBR Modbus Read Function Block .....................................................................................................................242 MBS Modbus Slave Function Block .....................................................................................................................246 MBW Modbus Write Function Block ...................................................................................................................256 MDSW Mode Switch Function Block...................................................................................................................260 MDFL Mode Flag Function Block ........................................................................................................................262 MMA Min/Max/Avg Function Block....................................................................................................................264 ALarM output for deviations .................................................................................................................................267 Turns ON ALM when any input is outside the configured number of standard deviations when the configuration parameter DEV > 0................................................................................................................................................267 MUL Multiplier Function Block............................................................................................................................273 4MUL Multiplier (4 input) Function Block...........................................................................................................275

viii

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

NEG Negate Function Block .................................................................................................................................277 NOT Function Block .............................................................................................................................................278 ONDT On Delay Timer Function Block ...............................................................................................................279 OFDT Off Delay Timer Function Block ...............................................................................................................282 ON/OFF Function Block .......................................................................................................................................284 2OR Function Block ..............................................................................................................................................293 4OR Function Block ..............................................................................................................................................295 8OR Function Block ..............................................................................................................................................297 PB Pushbutton Function Block..............................................................................................................................300 PDE Peer Data Exchange Function Block.............................................................................................................303 PDR Peer Data Read Function Block ....................................................................................................................308 PDW Peer Data Write Function Block ..................................................................................................................310 PI Pulse Input.........................................................................................................................................................312 POUT Pulse Output ...............................................................................................................................................315 PID Function Block ...............................................................................................................................................318 PPO Position Proportional Output Function Block ...............................................................................................341 PSYC Psychrometric Calculations Function Block...............................................................................................346 PTMR Periodic Timer Function Block..................................................................................................................348 QDT Quadrature Function Block ..........................................................................................................................351 RAI Function Block...............................................................................................................................................354 RACK Function Block ..........................................................................................................................................359 RAMP Function Block ..........................................................................................................................................361 RCON Read Constant Function Block ..................................................................................................................368 RCP Recipe Selector Function Block ....................................................................................................................370 RH Relative Humidity Function Block..................................................................................................................372 ROC Rate of Change Function Block....................................................................................................................374 RSTAT Redundancy Status Function Block .........................................................................................................377 RSW Rotary Switch Function Block .....................................................................................................................378 RTC Real Time Clock Function Block..................................................................................................................380 RTMR Resettable Timer Function Block ..............................................................................................................381 RUIO-AI Function Block ......................................................................................................................................384 RUIO-AO Function Block.....................................................................................................................................388 RUIO-DI Function Block ......................................................................................................................................392

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

ix

June 2019

RUIO-DO Function Block.....................................................................................................................................393 SAFPDE Safety Peer Monitor Function Block .....................................................................................................397 SCB Scale and Bias Function Block......................................................................................................................401 SEQ Sequencer Function Block ............................................................................................................................403 SPEV Setpoint Programming Event Decoder Function Block ..............................................................................410 SPP Function Block...............................................................................................................................................413 SPS Setpoint Scheduler Function Block................................................................................................................423 SPSA Setpoint Scheduler Auxiliary Setpoint Function Block ..............................................................................430 SQRT Function Block ...........................................................................................................................................431 STG Stage Function Block ....................................................................................................................................433 STFL Setpoint Scheduler Stage Flags Function Block..........................................................................................440 STRIG Selectable Trigger Function Block............................................................................................................441 STSW Setpoint Scheduler State Switch Function Block .......................................................................................443 SUB Subtraction Function Block ..........................................................................................................................444 4SUB Function Block............................................................................................................................................445 SW Analog Switch Function Block.......................................................................................................................446 SYNC Function Block...........................................................................................................................................448 TAHD Track and Hold Function Block.................................................................................................................450 TCPR Function Block ...........................................................................................................................................452 TCPS Function Block ............................................................................................................................................456 TCPW Function Block ..........................................................................................................................................464 TGFF Toggle Flip Flop Function Block................................................................................................................468 TMDT Time and Date Function Block..................................................................................................................470 TOT Totalizer Function Block ..............................................................................................................................471 TPO Time Proportional Output Function Block....................................................................................................474 TPSC (3POS) Function Block ...............................................................................................................................477 TRIG Trigger Function Block ...............................................................................................................................492 TRND Trend Rate Function Block........................................................................................................................494 TRPT Trend Point Function Block ........................................................................................................................496 UIO-AI Function Block .........................................................................................................................................499 UIO-AO Function Block .......................................................................................................................................503 UIO-DI Function Block .........................................................................................................................................507 UIO-DO Function Block .......................................................................................................................................509

x

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

UPDN Up/Down Function Block ..........................................................................................................................512 VLIM Velocity Limiter Function Block................................................................................................................514 WCON Write Constant Function Block ................................................................................................................516 WTUN Write Tuning Constants Function Block ..................................................................................................518 WVAR Write Variable Function Block.................................................................................................................520 XFR Bumpless Analog Transfer Switch Function Block ......................................................................................522 XOR Function Block .............................................................................................................................................524 5XYRB Function Block ........................................................................................................................................525 5XYRT Function Block.........................................................................................................................................529 6XYRT Function Block.........................................................................................................................................532 6XYRWG ..............................................................................................................................................................537

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

xi

June 2019

Tables
Table 1 Function blocks by category............................................................................................................................3 Table 2 Function blocks alphabetically .........................................................................................................................8 Table 3 AGA8DL General tab configuration parameters ........................................................................................... 19 Table 4 AGA8DL Detail tab configuration parameters .............................................................................................. 20 Table 5 AGA Error Codes .......................................................................................................................................... 22 Table 6 AGA8GS General tab configuration parameters ........................................................................................... 27 Table 7 AGA8GS Detail tab configuration parameters .............................................................................................. 28 Table 8 AGA3O Orifice tab configuration parameters...............................................................................................33 Table 9 AGA3O Flow Rates tab configuration parameters ........................................................................................ 35 Table 10 AGA7TM Turbine tab configuration parameters ........................................................................................ 38 Table 11 AGA7TM Flow Rates tab configuration parameters ...................................................................................39 Table 12 AGA9UM Ultrasonic tab configuration parameters .................................................................................... 42 Table 13 AGA9UM Flow Rates tab configuration parameters ..................................................................................43 Table 14 Analog Input configuration parameters ....................................................................................................... 46 Table 15 ControlEdge HC900 Input Types and Ranges ............................................................................................. 48 Table 16 Analog alarm configuration parameters ......................................................................................................59 Table 17 ALT general tab parameters ........................................................................................................................ 67 Table 18 ALT sequence tab parameters ..................................................................................................................... 70 Table 19 AMB General tab configuration parameters ................................................................................................ 73 Table 20 AMB Start Restart tab configuration parameters..........................................................................................74 Table 21 AMB Range/limit tab configuration parameters...........................................................................................75 Table 22 AMB Alarm tab configuration parameters ................................................................................................... 76 Table 23 Analog output configuration parameters ..................................................................................................... 92 Table 24 Analog system status block outputs ........................................................................................................... 100 Table 25 BOOL function block configuration parameters .......................................................................................106 Table 26 Pin details of CASTA function block ......................................................................................................... 108 Table 27 Calendar Event Details tab configuration parameters................................................................................112 Table 28 Calendar Event Special Days tab configuration parameters ...................................................................... 114 Table 29 Calendar Event Setpoint tab configuration parameters..............................................................................116 Table 30 CARB General tab configuration parameters ............................................................................................ 121 Table 31 CARB Start/Restart tab configuration parameter ....................................................................................... 122 Table 32 CARB RSP tab configuration parameters...................................................................................................124 Table 33 CARB Range/limit tab configuration parameters ....................................................................................... 126 Table 34 CARB Tuning tab configuration parameters .............................................................................................. 127 Table 35 CARB Accutune III tab configuration parameters ..................................................................................... 129 Table 36 CARB Alarms tab configuration parameters .............................................................................................. 132 Table 37 Carbon Potential tab configuration parameters..........................................................................................133 Table 38 Continuous average configuration parameters...........................................................................................137 Table 39 Monitored events and device states ........................................................................................................... 142 Table 40 Device control function block parameters ................................................................................................. 143 Table 41 DCMP configuration parameters ............................................................................................................... 146 Table 42 Dewpoint function block parameters .........................................................................................................152 Table 43 Digital input configuration parameters ...................................................................................................... 155 Table 44 Eight Digital input configuration parameters ............................................................................................ 166 Table 45 On Delay/Off Delay configuration parameters .......................................................................................... 171 Table 46 Digital output configuration parameters .................................................................................................... 173 Table 47 Eight Digital output configuration parameters .......................................................................................... 180 Table 48 Function generator configuration parameters ............................................................................................ 186 Table 49 Frequency Input configuration parameters ................................................................................................191 Table 50 Force Present configuration parameters .................................................................................................... 197 Table 51 Four Selector Switch (FSS) configuration parameters for operator interface display ............................... 199 Table 52 Fast logic system status block outputs ....................................................................................................... 202 Table 53 High low limit configuration parameters...................................................................................................210

xii

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 54 High monitor function block configuration parameters.............................................................................212 Table 55 HOA general tab parameters ..................................................................................................................... 214 Table 56 HOA feedback signal tab parameters ........................................................................................................ 215 Table 57 Lead lag configuration parameters ............................................................................................................ 223 Table 58 Low monitor function block configuration parameters ............................................................................. 226 Table 59 Math function block configuration parameters .......................................................................................... 234 Table 60 MALM function block configuration parameters ...................................................................................... 239 Table 61 MBR function block configuration parameters ......................................................................................... 243 Table 62 MBS Block General tab configuration parameters .................................................................................... 249 Table 63 MBS Block Read tab configuration parameters ......................................................................................... 251 Table 64 MBS Block Write tab configuration parameters ........................................................................................ 253 Table 65 MBW function block configuration parameters ........................................................................................ 257 Table 66 Min/Max/Ave/Sum function block configuration parameters ................................................................... 266 Table 67 Mass flow function block configuration parameters..................................................................................271 Table 68 On delay timer function block example.....................................................................................................280 Table 69 Off delay timer configuration parameters .................................................................................................. 283 Table 70 ON/OFF General tab configuration parameters..........................................................................................286 Table 71 ON/OFF Start/Restart tab configuration parameter .................................................................................... 288 Table 72 ON/OFF RSP tab configuration parameters ............................................................................................... 289 Table 73 ON/OFF Range/limit tab configuration parameters....................................................................................290 Table 74 ON/OFF Alarm tab configuration parameters ........................................................................................... 291 Table 75 Pushbutton function group configuration .................................................................................................. 301 Table 76 PDE General tab configuration parameters ............................................................................................... 305 Table 77 PDE Read tab configuration parameters....................................................................................................305 Table 78 PDE Write tab configuration parameters ................................................................................................... 306 Table 79 Pulse Input Configuration Parameters ........................................................................................................ 313 Table 80 Pulse Output Configuration Parameters ..................................................................................................... 316 Table 81 PID General tab configuration parameters ................................................................................................ 322 Table 82 PID Start/Restart tab configuration parameter...........................................................................................323 Table 83 PID RSP tab configuration parameters ...................................................................................................... 325 Table 84 PID Range/limit tab configuration parameters .......................................................................................... 327 Table 85 PID Tuning tab configuration parameters.................................................................................................. 329 Table 86 PID Accutune III tab configuration parameters ......................................................................................... 330 Table 87 PID Alarms tab configuration parameters .................................................................................................334 Table 88 Position Proportional Motor Control .......................................................................................................... 343 Table 89 PSYC function block configuration parameters ........................................................................................ 347 Table 90 PT function block configuration parameters..............................................................................................349 Table 91 QDT parameters ........................................................................................................................................ 352 Table 92 Analog Input with Remote C/J configuration parameters ......................................................................... 355 Table 93 ControlEdge HC900 Input Types and Ranges for RAI Function Block .................................................... 357 Table 94 RAMP general tab parameters ................................................................................................................... 365 Table 95 RAMP tabs parameters .............................................................................................................................. 366 Table 96 Read constant configuration data...............................................................................................................369 Table 97 Metric units................................................................................................................................................373 Table 98 ROC configuration parameters ..................................................................................................................375 Table 99 Redundancy Status configuration parameters............................................................................................377 Table 100 RTMR configuration parameters ............................................................................................................. 382 Table 101 RUIO-AI configuration parameters ......................................................................................................... 385 Table 102 Analog output configuration parameters .................................................................................................390 Table 103 RUIO Digital input configuration parameters ......................................................................................... 393 Table 104: Configurable Parameters RUIO DO ........................................................................................................ 395 Table 105 SCB configuration parameters.................................................................................................................402 Table 106 SPP inputs and current state .................................................................................................................... 416 Table 107 Restart scenario options ........................................................................................................................... 416 Table 108 SPP configuration parameters..................................................................................................................417

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

xiii

June 2019

Table 109 Tag/Failsafe configuration parameters .................................................................................................... 425 Table 110 Main Output labels configuration parameters..........................................................................................426 Table 111 Auxiliary Output labels configuration parameters...................................................................................427 Table 112 Event labels configuration parameters.....................................................................................................428 Table 113 SQRT configuration parameters .............................................................................................................. 432 Table 114 STG general tab parameters.....................................................................................................................435 Table 115 Default PV sources and compare type operators .....................................................................................437 Table 116 STG Stage Tabs parameters.....................................................................................................................438 Table 117 TCPR function block configuration parameters ...................................................................................... 453 Table 118 TCPS Block General tab configuration parameters .................................................................................457 Table 119 TCPS Block Read tab configuration parameters ...................................................................................... 459 Table 120 TCPS Block Write tab configuration parameters ..................................................................................... 462 Table 121 TCPW function block configuration parameters .....................................................................................465 Table 122 Time and Date configuration parameters.................................................................................................470 Table 123 TOT configuration parameters.................................................................................................................472 Table 124 TPO configuration parameters ................................................................................................................. 476 Table 125 TPSC General tab configuration parameters ...........................................................................................479 Table 126 TPSC Start/Restart tab configuration parameter.......................................................................................481 Table 127 TPSC RSP tab configuration parameters..................................................................................................482 Table 128 TPSC Range/limit tab configuration parameters ...................................................................................... 484 Table 129 TPSC Tuning tab configuration parameters ............................................................................................. 486 Table 130 TPSC Accutune tab configuration parameters..........................................................................................487 Table 131 TPSC Alarms tab configuration parameters ............................................................................................. 489 Table 132 TPSC Motor tab configuration parameters ............................................................................................... 491 Table 133 TRND block configuration parameters....................................................................................................495 Table 134 UIO-AI configuration parameters............................................................................................................500 Table 135 Analog output configuration parameters .................................................................................................505 Table 136 UIO Digital input configuration parameters ............................................................................................ 508 Table 137: Configurable Parameters UIO DO...........................................................................................................510 Table 138 Up/down configuration parameters .........................................................................................................513 Table 139 VLIM Configuration Parameters ............................................................................................................. 515 Table 140 XFR switch configuration data ................................................................................................................ 523

xiv

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Figures
Figure 1 ABS function block example ....................................................................................................................... 14 Figure 2 ADD function block example.......................................................................................................................15 Figure 3 4ADD function block example.....................................................................................................................16 Figure 4 AGA8DL function block example ............................................................................................................... 25 Figure 5 AGA8GS function block example ............................................................................................................... 31 Figure 6 AGA3O function block example .................................................................................................................. 36 Figure 7 AGA7TM function block example...............................................................................................................40 Figure 8 AGA9UM function block example .............................................................................................................. 44 Figure 9 AI function block example ........................................................................................................................... 50 Figure 10 - ALM Alarm Function Block.....................................................................................................................56 Figure 11 ALM function block example .................................................................................................................... 60 Figure 12 ALMGR Function Block Example..............................................................................................................62 Figure 13 ALT function block example ..................................................................................................................... 71 Figure 14 AMB function block example .................................................................................................................... 77 Figure 15 2AND function block example...................................................................................................................84 Figure 16 4ALM function block example ................................................................................................................... 86 Figure 17 4AND function block example...................................................................................................................88 Figure 18 8AND function block example...................................................................................................................90 Figure 19 AO function block example ....................................................................................................................... 93 Figure 20 BCD function block example ................................................................................................................... 103 Figure 21 BOOL function block example ................................................................................................................ 106 Figure 22 CALEVT function block example............................................................................................................117 Figure 23 CARB function block examples ............................................................................................................... 135 Figure 24 CAVG function block example ................................................................................................................ 138 Figure 25 CMPR function block example ................................................................................................................ 139 Figure 26 DC function block example......................................................................................................................144 Figure 27 DCMP function block example ................................................................................................................ 146 Figure 28 DDEC function block example ................................................................................................................ 148 Figure 29 DENC function block example ................................................................................................................ 150 Figure 30 DEWP function block example ................................................................................................................ 153 Figure 31 Digital input function block example ....................................................................................................... 156 Figure 32 8Point DI function block example............................................................................................................167 Figure 33 DIV function block example .................................................................................................................... 169 Figure 34 DO function block example ..................................................................................................................... 174 Figure 35 DO-V function block 8DO Function Block .............................................................................................. 178 Figure 36 8 Point DO function block example ......................................................................................................... 181 Figure 37 DSW function block example .................................................................................................................. 182 Figure 38 ENTH function block example..................................................................................................................184 Figure 39 FGEN function block example ................................................................................................................. 188 Figure 40 FI function block example........................................................................................................................192 Figure 41 FSS function block example.....................................................................................................................200 Figure 42 HLLM function block example ................................................................................................................ 210 Figure 43 HMON function block example ............................................................................................................... 212 Figure 44 HOA function block example...................................................................................................................217 Figure 45 HSEL Function Block Example ............................................................................................................... 219 Figure 46 IMM function block .................................................................................................................................. 221 Figure 47 LDLG function block example.................................................................................................................224 Figure 48 LMON function block example................................................................................................................226 Figure 49 LPSW function block example.................................................................................................................228 Figure 50 LSEL function block example..................................................................................................................229 Figure 51 LTCH function block example ................................................................................................................. 231 Figure 52 MATH function block example................................................................................................................235

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

xv

November 2020

Table of Contents Figures

Figure 53 MBR function block example .................................................................................................................. 245 Figure 54 MBS function block example ................................................................................................................... 255 Figure 55 MBW function block example ................................................................................................................. 259 Figure 56 MDSW function block example ............................................................................................................... 261 Figure 57 MDFL function block example ................................................................................................................ 263 Figure 58 MMA function block example ................................................................................................................. 266 Figure 59 MSF function block example ................................................................................................................... 272 Figure 60 MUL function block example .................................................................................................................. 274 Figure 61 4MUL function block example ................................................................................................................276 Figure 62 NEG function block example ................................................................................................................... 277 Figure 63 NOT function block example ................................................................................................................... 278 Figure 64 ONDT function block example ................................................................................................................ 281 Figure 65 OFDT function block example ................................................................................................................. 284 Figure 66 ON/OFF function block example ............................................................................................................. 292 Figure 67 2OR function block example....................................................................................................................294 Figure 68 4OR function block example....................................................................................................................296 Figure 69 8OR function block example....................................................................................................................299 Figure 70 PB function block example ...................................................................................................................... 302 Figure 71 PDE Function Block Example ................................................................................................................. 307 Figure 72 PI function block example........................................................................................................................314 Figure 73 POUT function block example ................................................................................................................. 317 Figure 74 PID function block example ..................................................................................................................... 335 Figure 75 Duplex control example ........................................................................................................................... 336 Figure 76 Cascade control example .......................................................................................................................... 337 Figure 77 Ratio control example .............................................................................................................................. 338 Figure 78 Cascade control of a boiler drum level - basic ......................................................................................... 339 Figure 79 Cascade control of a boiler drum level - 3 element feedwater control ..................................................... 340 Figure 80 Position Proportional Motor Control........................................................................................................345 Figure 81 PSYC function block example .................................................................................................................. 347 Figure 82 PT function block example.......................................................................................................................350 Figure 83 Quadrature function block example ......................................................................................................... 353 Figure 84 RAI function block example .................................................................................................................... 358 Figure 85 Rack Monitor function block example ..................................................................................................... 360 Figure 86 RAMP function block example ................................................................................................................ 367 Figure 87 RCON function block example ................................................................................................................ 369 Figure 88 RCP function block example....................................................................................................................371 Figure 89 RH function block example......................................................................................................................373 Figure 90 ROC function block responses ................................................................................................................. 376 Figure 91 ROC function block example ................................................................................................................... 376 Figure 92 RSW function block example...................................................................................................................379 Figure 93 RTC function block example ................................................................................................................... 380 Figure 94 Timing diagram for resettable timer.........................................................................................................383 Figure 95 SAFPDE function block examples ........................................................................................................... 400 Figure 96 SCB function block examples .................................................................................................................. 402 Figure 97 Sequencer function block example - Part 1 .............................................................................................. 408 Figure 98 Sequencer function block example - Part 2 .............................................................................................. 408 Figure 99 Sequencer function block example - Part 3 .............................................................................................. 409 Figure 100 SPEV function block example................................................................................................................412 Figure 101 PID with setpoint programmer and guaranteed soak..............................................................................418 Figure 102 PID with setpoint programmer and event outputs ..................................................................................419 Figure 103 Alternate methods for actuating SP programmer START/HOLD/RESET functions.............................420 Figure 104 Using the setpoint programmer AUX output ......................................................................................... 421 Figure 105 Controlled restart after power loss ......................................................................................................... 422 Figure 106 Setpoint scheduler function block suite..................................................................................................429

xvi

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table of Contents Figures
Figure 107 SQRT function block example ............................................................................................................... 432 Figure 108 STG function block example..................................................................................................................439 Figure 109 STRIG function block example ............................................................................................................... 442 Figure 110 SUB function block example ................................................................................................................. 444 Figure 111 4SUB function block example................................................................................................................445 Figure 112 SW function block example ................................................................................................................... 447 Figure 113 SYNC function block example...............................................................................................................449 Figure 114 TAHD function block example ..............................................................................................................451 Figure 115 TCPR function block example ............................................................................................................... 455 Figure 116 TCPS function block example................................................................................................................463 Figure 117 TCPW function block example .............................................................................................................. 467 Figure 118 TGFF function block example................................................................................................................469 Figure 119 TOT function block examples ................................................................................................................ 473 Figure 120 TPO function block example..................................................................................................................476 Figure 121 TPSC function block example................................................................................................................491 Figure 122 TRIG function block example ................................................................................................................ 493 Figure 123 TRPT Dialog to configure points by signal tag ....................................................................................... 497 Figure 124 TRPT Dialog to configure points by Modbus Address ........................................................................... 497 Figure 125 TRND and TRPT function block example ............................................................................................. 498 Figure 126 UIOAI function block example .............................................................................................................. 502 Figure 127 UIO-AO function block example ........................................................................................................... 506 Figure 128 UIODI function block example .............................................................................................................. 508 Figure 129 UIODO function block example ............................................................................................................ 511 Figure 130 UPDN function block example .............................................................................................................. 513 Figure 131 VLIM function block example ............................................................................................................... 515 Figure 132 WTUN function block example ............................................................................................................. 519 Figure 133 XFR function block example ................................................................................................................. 523 Figure 134 XOR function block example ................................................................................................................. 524 Figure 135 5XYRB function block example ............................................................................................................ 528 Figure 136 5XYRT function block example ............................................................................................................. 531 Figure 137 6XYRT function block example ............................................................................................................. 536 Figure 138 6XYRWG function block example ......................................................................................................... 539

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

xvii

November 2020

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 ControlEdge HC900 Control Designer and its help or its manual, ControlEdge HC900 Control Designer User's Guide (51-52-25-110).
Accessing function block properties
Double click on the function block to access the function block properties dialog box.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

1

November 2020

Introduction Normal Scan vs. Fast Scan Function Blocks
Normal Scan vs. Fast Scan Function Blocks
The Worksheet Toolbox in the HC Designer is a dockable window listing all function blocks. The name of the active configuration appears at the top of the window. Function blocks are categorized under Normal Scan and Fast Scan shown at tabs at bottom of window.
Click on either tab to display its available function blocks.
All function blocks are available under the Normal Scan tab. Normal Scan blocks are processed every 500 ms. Fast Scan blocks are indicated by and are processed up to every 10 ms depending on CPU model and number of function blocks.
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.
Block Properties Dialog Boxes
Some blocks contain dialog boxes that contain active fields that contain configurable parameters and some properties dialog boxes are divided into tabs. You must configure these block parameters to the desired values or selections that match your operating requirements.
The PID properties dialog box is an example of dialog box divided into seven tab cards
GENERAL START/RESTART RSP RANGE/LIMIT TUNING ACCUTUNE III ALARMS
Click on the tab to access the properties for that tab.
Parameter Tables
Parameter tables accompany the dialog box graphic and describe the parameters and the value or selection available for the active fields.

2

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Introduction

Function Blocks

While you can determine the function of many blocks just from their labels and Input/output abbreviations, the purpose of others may not be apparent. This section is designed to familiarize you with function blocks in general and provide detailed reference data for each block.
Function block listings

Function blocks are listed by category and alphabetically in Table 1 and Table 2.

Table 1 Function blocks by category

Category IO Blocks
Loop Blocks

Block Type
AI AI-V AO AO-V DI DI-V 8DI DO DO-V 8DO FI PI POUT QDT TPO UIO-AI UIO-AO UIO-DI UIO-DO

Analog Input Analog Input Voting Analog Output Analog Output Validated Digital Inputs Digital Input Voting 8 Digital Inputs Digital Output Digital Output Validated 8 Digital Outputs Frequency Input Pulse Input Pulse Output Quadrature Time Proportional Output UIO Analog Input UIO Analog Output UIO Digital Input UIO Digital Output

PID ON CARB LPSW

PID ON/OFF Function Block Carbon Potential Loop Switch

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

3

November 2020

SP Program Setpoint Scheduler Logic

MDSW MDFL TPSC WTUN AMB
SPP RCP SPEV SYNC
SPS STSW STFL SPSA
2AND 4AND 8AND 2OR 4OR 8OR XOR NOT DSW TRIG STRIG LTCH TGFF BOOL PB FSS HOA SEQ

Mode Switch Mode Flag 3 position step Write Tuning Constants Auto/Manual Bias Function Block
Programmer Recipe Selector Setpoint Programming Event Decoder Synchronize
Setpoint Scheduler Setpoint Scheduler State Switch Setpoint Scheduler Stage Flags Setpoint Scheduler Auxiliary Setpoint
AND ­ 2 Inputs AND ­ 4 Inputs AND ­ 8 Inputs 2 ­ Input OR 4 - Input OR 8 ­ Input OR Exclusive OR NOT Digital Switch Trigger Selectable Trigger Latch Toggle Flip Flop Boolean Logic Pushbutton Four Selector Switch Hand/Off/Auto Switch Sequencer

4

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Counters/Timers Math Calculations

RTMR PTMR UPDN OFDT ONDT DLAY CALEVT TMDT RTC
SCB ADD 4ADD SUB 4SUB MUL 4MUL MATH
CMPR DCMP ABS SQRT MSF MMA NEG DEWP TOT CAVG AGA3O AGA8DL AGA8GS AGA7TM

Resettable Timer Periodic Timer Up/Down Off Delay Timer Function Block On Delay Timer On Delay/Off Delay Timer Calendar Event Time and Date Real Time Clock
Scale and Bias Addition 2 Input Addition 4 Input Subtraction 4 ­ Input Subtract Multiplier Multiplier (4 input) MATH
Comparison Calculation Deviation Compare Absolute Value Square Root Mass Flow Calculation Min/Max/Avg Negate Dewpoint Totalizer Continuous Average Orifice Meter Calc Gas Compressibility Detail Calc Gas Compressibility Gross Method Calc Turbine Meter Calc

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

5

November 2020

Alarm Monitor
Signal Selector Auxiliary

HMON LMON ASYS FSYS RACK ALM ALMGR FRCP RSTAT FMON CASTA MALM STK IMM
HSEL LSEL SW RSW XFR
FGEN LDLG HLLM VLIM ROC RCON WCON WVAR TAHD BCD STG RAMP

High Monitor Low Monitor Analog System Status Fast Logic System Monitor I/O Rack Monitor Analog Alarm Alarm Group Force Present Redundancy Status Fault Monitor Configuration Access Status Multiple Alarm with Hysteresis Stack light IO Module Monitor
High Selector Low Selector Analog Switch Rotary Switch Bumpless Analog Transfer Switch
Function Generator Lead/Lag High Low Limiter Velocity Limiter Rate of Change Read Constant Write Constant Write Variable Track and Hold Binary Coded Decimal Translator Stage RAMP

6

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Communications HVAC

ALT DENC DDEC DC TRND TRPT
PDE PDR PDW MBR MBS MBW TCPR TCPS TCPW 5XYRB 5XYRT 6XYRT 6XYRWG SAFPDE ANAIMP DIGIMP
RH ENTH PSYC

Alternator Digital Encoder Digital Decoder Device Control Trend Rate Trend Point
Peer Data Exchange Peer Data Read Peer Data Write Modbus Read Modbus Slave Modbus Write Modbus/TCP Read Modbus/TCP Slave Modbus/TCP Write 5000 Transmitter Base Radio XYR 5000 Transmitter XYR 6000 Transmitter XYR 6000 Wireless Gateway Safety Peer Monitor Safety Analog Import Safety Digital Import
Relative Humidity Humidity and Enthalpy Psychrometric Calculations

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

7

November 2020

Table 2 Function blocks alphabetically

FUNCTION BLOCK IDENTIFICATION LABEL
ABS ADD 4ADD AGA8DL AGA8GS AGA3O AGA7TM AGA9UM AI AI-V ALM ALMGR 4ALM ALT AMB 2AND 4AND 8AND AO AO-V ASYS 4MUL 4OR 4SUB 5XYRB 5XYRT 6XYRT 6XYRWG

BLOCK DESCRIPTION
Absolute Value Function Block Addition 2 Input Addition 4 Input Gas Compressibility Detail Calc Gas Compressibility Gross Method Calc Orifice Meter Calc Turbine Meter Calc Ultrasonic Meter Calc Analog Input Analog Input Voting Analog Alarm Alarm Group 4 Alarm with Hysteresis Alternator Auto/Manual Bias Function Block AND ­ 2 Inputs AND ­ 4 Inputs AND ­ 8 Inputs Analog Output Analog Output Validated Analog System Status Multiplier (4 input) 4 - Input OR 4 ­ Input Subtract 5000 Transmitter Base Radio XYR 5000 Transmitter XYR 6000 Transmitter XYR 6000 Wireless Gateway

8

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

8DI 8DO
8OR AGA7TM ANAIMP BCD BOOL CALEVT CARB CASTA CAVG CMPR DC DCMP DDEC DENC DEWP DI DI-V DIGIMP DO-V DLAY DO DSW ENTH FGEN FI FMON FRCP FSS FSYS HLLM HMON HOA

8 Digital Inputs 8 Digital Outputs
8 ­ Input OR Turbine Meter Calc Safety Analog Import Binary Coded Decimal Translator Boolean Logic Calendar Event Carbon Potential Configuration Access Status Continuous Average Comparison Calculation Device Control Deviation Compare Digital Decoder Digital Encoder Dewpoint Digital Inputs 2 Digital Input Voting Safety Digital Import Digital Output Validated On Delay/Off Delay Timer Digital Output Digital Switch Humidity and Enthalpy Function Generator Frequency Input Fault Monitor Force Present Four Selector Switch Fast Logic System Monitor High Low Limiter High Monitor Hand/Off/Auto Switch

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

9

November 2020

HSEL IMM LDLG LMON LPSW LSEL LTCH MATH MALM MBR MBS MBW MDFL MDSW MMA MSF MUL NEG NOT OFDT ON ONDT 2OR PB PDE PDR PDW PI PID POUT PSYC PTMR QDT RACK
10

High Selector IO Module Monitor Lead/Lag Low Monitor Loop Switch Low Selector Latch MATH Multiple Alarm with Hysteresis Modbus Read Modbus Slave Modbus Write Mode Flag Mode Switch Min/Max/Avg Mass Flow Calculation Multiplier Negate NOT Off Delay Timer ON/OFF On Delay Timer 2 ­ Input OR Pushbutton Peer Data Exchange Peer Data Read Peer Data Write Pulse Input PID Pulse Output Psychrometric Calculations Periodic Timer Quadrature I/O Rack Monitor

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27 November 2020

RAMP RCON RCP RH ROC RSTAT RSW RTC RTMR SAFPDE SCB SEQ SPEV SPEV SPS SPSA SQRT STFL STG STK STRIG STSW SUB SW SYNC TAHD TCPR TCPS TCPW TGFF TMDT TOT TPO TPSC

RAMP Read Constant Recipe Selector Relative Humidity Rate of Change Redundancy Status Rotary Switch Real Time Clock Resettable Timer Safety Peer Monitor Scale and Bias Sequencer Setpoint Programming Event Decoder Setpoint Programming Event Decoder Setpoint Scheduler Setpoint Scheduler Auxiliary Setpoint Square Root Setpoint Scheduler Stage Flags Stage Stack Light Selectable Trigger Setpoint Scheduler State Switch Subtraction Analog Switch Synchronize Track and Hold Modbus/TCP Read Modbus/TCP Slave Modbus/TCP Write Toggle Flip Flop Time and Date Totalizer Time Proportional Output Three Position Step Control

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

11

November 2020

TRIG TRND TRPT UPDN UIO-AI UIO-AO UIO-DI UIO-DO VLIM WCON WTUN WVAR XFR XOR

Trigger Trend Rate Trend Point Up/Down UIO Analog Input UIO Analog Output UIO Digital Input UIO Digital Output Velocity Limiter Write Constant Write Tuning Constants Write Variable Bumpless Analog Transfer Switch Exclusive OR

12

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ABS Absolute Value Function Block
Description The ABS label stands for Absolute Value.
This block is part of the Calculations category 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

13

November 2020

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.

Figure 1 ABS function block example

14

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ADD Function Block
Description The ADD label stands for Addition Mathematical Operation (2 Inputs).
This block is part of the Math category. 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.

Figure 2 ADD function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

15

November 2020

4ADD Function Block
Description The 4ADD label stands for Addition Mathematical Operation (4 Inputs).
This block is part of the Math category. Function
Add FOUR inputs (Y, X1, X2, and X3) to get an output.  OUT = Y+ X1+ X2 + X3 Input Y =First Analog Input X1 = Second Analog Input X2 = Third Analog Input X3 = Fourth Analog Input
ATTENTION All 4 inputs must be connected or unused inputs inverted. If only 3 inputs are used, the 4th 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.

Figure 3 4ADD function block example

16

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

AGA8DL Function Block
Description The AGA8DL label stands for Gas Compressibility Detail AGA8 Calculation.

METER BLOCK CONNECT
This block is part of the Calculations category.
Function The Detail method (AGA8DL) uses the gas analysis of up to 21 components. From the gas analysis, the super-compressibility factor, gas density at flowing and standard conditions, and gas relative density at standard conditions are calculated for input into the AGA calculation for the meter type chosen.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

17

November 2020

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.

18

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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

Properties Group Block

Table 3 AGA8DL General tab configuration parameters

Parameter Block Order
Tag Name Descriptor

Index #
N/A N/A

Parameter Description
Execution Order for Block
Execution Order of this block must be set to be less than meter block (AGA3, 7, or 9) Execution Order for correct calculation sequence.
16-character tag name (ASCII characters only)
Block description

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

19

November 2020

AGA8 - Detail tab

Properties Group Contract Conditions
Units

Table 4 AGA8DL Detail tab configuration parameters

Parameter TB
PB
U.S Metric

Index #

Parameter Description
Defines the Base or Contract Temperature to calculate volume flow rate at contract conditions in the units selected by the UNITS configuration parameter.
Defines the Base or Contract Pressure to calculate volume flow rate at contract conditions in the units selected by the UNITS configuration parameter.
Type of units for all block inputs, outputs, and configuration parameters: This selection must agree with the UNITS selection in the meter block. If they don't agree, no error will be indicated on the error/calc status pins. The Meter block will detect the error, and will alert the user.

Value or Selection ºF for U.S Units ºC for Metric Units
psia for U.S Units bar for Metric Units
Click Radio Button to select. Ensure that units and gauge pressure settings are consistent with the meter block.

20

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Properties Group Flowing Pressure Measurement
Gas Analysis

Parameter Use Gauge Pressure
Atmospheric Pressure Override Expanded Range Error
Use Remote Gas Component Values

Index #

Parameter Description
Sets whether pressure measurements are absolute or gauge pressure. If you are using gauge pressure, a value of atmospheric pressure is required in the pressure units chosen.
Under certain situations, the gas component values 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.
If using this setting, the gas component parameter pins X [1..21] are always visible whether or not this is selected. Unused 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.

Value or Selection Click on Radio Button to select. Ensure that units and gauge pressure settings are consistent with the meter block. Enter an Atmospheric pressure value in units selected by the UNITS configuration parameter Check this box to Override the expanded Range Error
Check this box to use the block's input pin values from an online analyzer. Uncheck this box to use Local Gas Component Values.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

21

November 2020

Properties Group
Local Gas Component Values

Parameter
METH NITRO CO2 ETH PROP H2O H2S HYDRO CO OXYGEN I-BUT N-BUT I-PENT N-PENT HEX HEPT OCT NON DEC HEL ARG
SUM

Index #

Parameter Description
Each of the 21 gas component fractions can be configured with either a constant fraction value derived from a lab report or from an on-line gas chromatograph.

Value or Selection
< 1.0 and >= 0.0
The sum of the gas components should equal 1. HCDesigner will show the sum of the gas components to aid the user.

Sum of the 21 gas entered (not active) values.

Read Only

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.

Table 5 AGA Error Codes

Status number
0 1 2

Block type
ALL AGA 8 - DETAIL AGA 8 - DETAIL

Severity
Good Error Warning

3

AGA 8 - DETAIL

Error

4

AGA 8 - DETAIL

Error

5

AGA 8 - GROSS Error

6

AGA 8 - GROSS Error

7

AGA 8 - GROSS Error

8

AGA 8 - GROSS Error

9

AGA 8 - GROSS Error

12

AGA 8 - GROSS Error

13

AGA 8 - GROSS Error

14

AGA 8 - GROSS Error

Description
OK ­ NO ERRORS OR WARNINGS ENCOUNTERED PRESSURE HAS A NEGATIVE DERIVATIVE DENSITY IN BRAKET EXCEEDS MAXIMUM DEFAULT PROCEDURE USED MAXIMUM ITERATIONS EXCEEDED IN BRAKET MAXIMUM ITERATIONS IN DDETAIL EXCEEDED THE ROOT WAS NOT BOUNDED IN DGROSS NO CONVERGENCE IN DGROSS VIRGS SQUARE ROOT NEGATIVE COMBINED VALUES OF GRGR, X[2] AND HV NOT CONSISTENT INVALID TERM IN VIRGS FLOWING PRESSURE (PF) <= 0.0 PR > 1740.0 PSIA FLOWING TEMPERATURE (TF) < 14.0 OR > 149.0 DEG F HEATING VALUE (HV) < 477.0 OR > 1211.0 BTU/FT^3

22

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Status number
15 16

Block type
AGA 8 - GROSS AGA 8 - GROSS

Severity
Error Error

17

AGA 8 - GROSS Error

18

AGA 8 - GROSS Error

22

AGA 8 - GROSS Warning

23

AGA 8 - GROSS Warning

24

AGA 8 - GROSS Warning

25

AGA 8 - GROSS Warning

26

AGA 8 - GROSS Warning

32

AGA 8 - DETAIL

Error

33

AGA 8 - DETAIL

Error

36

AGA 8 - DETAIL

Error

37

AGA 8 - DETAIL

Error

38

AGA 8 - DETAIL

Error

39

AGA 8 - DETAIL

Error

42

AGA 8 - DETAIL

Warning

43

AGA 8 - DETAIL

Warning

46

AGA 8 - DETAIL

Warning

Description
GAS RELATIVE DENSITY (GRGR) < 0.55 OR > 0.870 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 REFERENCE TEMPERATURE < 32.0 OR > 77.O DEG F REFERENCE PRESSURE < 13.0 OR > 16.0 PSIA FLOWING PRESSURE (PF) <=0.0 OR > 1200.0 PSIA FLOWING TEMPERATURE (TF) < 32.0 OR > 130.0 DEG F HEATING VALUE (HV) < 805.0 OR > 1208.0 BTU/FT^3 GAS RELATIVE DENSITY (GRGR) < 0.55 OR > 0.800 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 FLOWING PRESSURE (PF) < 0.0 OR > 40,000. PSIA FLOWING TEMPERATURE (TF) < -200 OR > 760 DEG F 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 REFERENCE TEMPERATURE < 32.0 OR > 77.0 DEG F REFERENCE PRESSURE < 13.0 OR > 16.0 PSIA SUM OF MOLE FRACTIONS < 0.98 OR > 1.020 FLOWING PRESSURE (PF) < 0.0 OR > 1750. PSIA FLOWING TEMPERATURE (TF) < 17 OR > 143 DEG F MOLE FRACTION FOR METHANE < 0.45 OR > 1.0

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

23

November 2020

Status Block type number

Severity

49

AGA 8 - DETAIL

Warning

52

AGA 3 - ORIFICE Error

53

AGA 3 - ORIFICE Error

55

AGA 3 - ORIFICE Error

56

AGA 3 - ORIFICE Error

57

AGA 3 - ORIFICE Error

58

AGA 3 - ORIFICE Error

65

AGA 3 ­ ORIFICE Error

66

AGA 3 ­ ORIFICE Error

68

AGA 3 ­ ORIFICE Error

69

AGA 3 ­ ORIFICE Error

75

AGA 3 ­ ORIFICE Warning

76

AGA 3 ­ ORIFICE Warning

77

GENERAL

CONFIG

Error

78

GENERAL

CONFIG

Error

79

AGA 3 - ORIFICE Warning

99

GENERAL

N/A

OPERATION

Description

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

SUM OF MOLE FRACTIONS < 0.9999 OR > 1.0001

FLOWING PRESSURE WAS <= 0.0 OR > 40000. PSIA

FLOWING TEMPERATURE < -200. OR > 760. DEG F

ORIFICE DIAMETER WAS >= 100.0 INCHES

PIPE DIAMETER WAS >= 100.0 INCHES

FLOWING OR STANDARD DENSITY WAS <= 0.0 LBM/FT^3

DIFFERENTIAL PRESSURE WAS <= 0.0 INCHES H2O

SUPERCOMPRESSIBILITY FACTOR WAS <= 0.0

RELATIVE DENSITY AT STANDARD CONDITIONS WAS < 0.07 OR > 1.52

COMPRESSIBILITY FACTOR AT STANDARD CONDITIONS <= 0.0

BETA RATIO (DO/DM) <= 0.0 OR => 1.0

ORIFICE DIAMETER WAS < = 0.45 INCHES

PIPE DIAMETER WAS <= 2.0 INCHES

ERROR

INVALID COMPANION BLOCK

INTERCONNECTION

METER/COMPRESSIBLITY BLOCK UNITS ARE INCONSISTENT

BETA RATIO (DO/DM) WAS < 0.1 OR > 0.75

Block is disabled ­ process value outputs are set to 0 and error/warning pins are turned off.

24

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example

Figure 4 AGA8DL function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

25

November 2020

AGA8GS Function Block
Description The AGA8GS label stands for Gas Compressibility Gross Method AGA8 Calculation

METER BLK CONNECT
This block is part of the Calculations category.
Function
The Gross method is used to approximate natural gas by treating it as a mixture of three components, equivalent hydrocarbon component, Nitrogen and Carbon Dioxide. It is typically used for dry, sweet (no H2S) natural gas. There are two methods used:
Gross Method 1 calculates the super-compressibility and gas density from knowledge of the relative density, heating value and carbon dioxide, hydrogen and carbon monoxide components.
Gross Method 2 calculates the super-compressibility and gas density from knowledge of the relative density, Nitrogen, carbon dioxide, hydrogen and carbon monoxide components.
The Gross Method only works over a limited range of conditions but requires less instrumentation to implement.
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

26

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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

Properties Group Block

Table 6 AGA8GS General tab configuration parameters

Parameter Block Order
Tag Name Descriptor

Index #
N/A N/A

Parameter Description
Execution Order for Block
Execution Order of this block must be set to be less than meter block (AGA3, 7, or 9) Execution Order for correct calculation sequence.
16-character tag name (ASCII characters only)
Block description

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

27

November 2020

AGA8 ­ Gross tab

Table 7 AGA8GS Detail tab configuration parameters

Properties Group
Gross Method Used

Parameter Method 1

Index #

Method 2

Parameter Description
Gross Method 1 calculates the super-compressibility and gas density from knowledge of the relative density, heating value and carbon dioxide, hydrogen and carbon monoxide components.
Gross Method 2 calculates the super-compressibility and gas density from knowledge of the relative density, Nitrogen, carbon dioxide, hydrogen and carbon monoxide components.

Value or Selection Click on Radio Button to select
Click on Radio Button to select

28

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Contract

TB

Conditions

PB

Flowing Pressure Measurement

Use Gauge Pressure

Gas Analysis

Atmospheric Pressure
Override Expanded Range Error

Local/Remote Gas Component Values

Units

U.S Metric

Defines the Base or Contract Temperature to calculate volume flow rate at contract conditions in the units selected by the UNITS configuration parameter.
Defines the Base or Contract Pressure to calculate volume flow rate at contract conditions in the units selected by the UNITS configuration parameter.
Sets whether pressure measurements are absolute or gauge pressure. If you are using gauge pressure, a value of atmospheric pressure is required in the pressure units chosen.
Under certain situations, the gas component values 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.
If using this setting, the gas component parameter pins are always visible whether or not this is selected. Unused 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.
Type of units for all block inputs, outputs, and configuration parameters: This selection must agree with the UNITS selection in the meter block. If they don't agree, no error will be indicated on the error/calc status pins. The Meter block will detect the error, and will alert the user.

ºF for U.S Units ºC for Metric Units
psia for U.S Units bar for Metric Units
Click on Radio Button to select. Ensure that units and gauge pressure settings are consistent with the meter block. Enter an Atmospheric pressure value in units selected by the UNITS configuration parameter Check this box to Override the expanded Range Error. Expanded Range Override only required if entered gas values cause expanded range errors.
Check this box if using an online analyzer.
Click Radio Button to select. Ensure that units and gauge pressure settings are consistent with the meter block.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

29

November 2020

Setup for Method 1 & 2

Gas Relative Density
Rel Density Ref Temp

Rel Density Ref Pres

Setup for Method 1 only

Heating Value

Calorimeter Ref Temp

Calorimeter Ref Pres
Combustion Ref Temp

Gas Components

CO2 HYDROGEN CO NITROGEN

Gas Relative Density

Enter a positive number >0

Relative density reference temperature in units selected by the UNITS configuration parameter.
Relative density reference pressure in units selected by the UNITS configuration parameter.
Heating value in units selected by the UNITS configuration parameter.
Calorimeter reference temperature in units selected by the UNITS configuration parameter.
Calorimeter reference pressure in units selected by the UNITS configuration parameter.
Combustion reference temperature in units selected by the UNITS configuration parameter.
Each of the 4 gas component fractions can be configured with either a constant fraction value derived from a lab report or from an on-line gas chromatograph.

Enter a positive number >0
Enter a positive number >0
Enter a value from -99999 to 99999 Enter a value from -99999 to 99999
Enter a value from -99999 to 99999 Enter a value from -99999 to 99999
< 1.0 and >= 0.0 The sum of the gas components should equal 1.

30

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example

Figure 5 AGA8GS function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

31

November 2020

AGA3O Function Block
Description The AGA3O label stands for Orifice AGA3 Meter Calculation.
AGA8 BLK CONNECT

This block is part of the Calculations category.
Function
Calculations for Orifice Metering - When connected to an AGA8 block, the input value and multiple related parameters will be obtained from the AGA8 block. The meter block will use this information to inherit the AGA8 block data for use in the calculations.
Inputs
AGA8 BLK CONNECT = When connected to an AGA8 block, the input value will equal the block number of the AGA8 block. The meter block will use this information to inherit the AGA8 block data for use in the calculations. If the input pin is not connected to an AGA8 block, then ERR and STATUS output pins are updated accordingly.
DISABLE = When this pin is ON, the block is disabled, the process value outputs are set to 0, the ERR/WARN pins are OFF, and the STATUS pin is set to 99 (See Table 5 AGA Error Codes).
Output
QV = Corrected volume flow rate at flowing conditions (Tf, Pf) in the units selected by the UNITS configuration parameter. Output units are ft3/hr for U.S.; 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. The base or contract conditions are specified by TB and PB in the companion compressibility block. Output units are ft3/hr for U.S.; 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. 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.
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.

32

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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

Properties Group
Plate and Pipe Parameters

Table 8 AGA3O Orifice tab configuration parameters

Parameter Orifice Diameter
Pipe Diameter
Calibration Factor

Index #

Parameter Description
Orifice diameter in the units selected by the UNITS configuration parameter.
Pipe diameter in the units selected by the UNITS configuration parameter.
Combined calibration factor of Orifice meter. If not specified use a value of 1.0. { > 0.0}

Value or Selection
Enter a value >0 Default = 1.0. U.S = in Metric = mm
Enter a value >0 Default = 1.0. U.S = in Metric = mm
Enter a value Default = 1.0

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

33

November 2020

Properties Group Material
Reference Temperature
Transport Parameters
Pipe Tap Location
Tap Point Units Type

Parameter Orifice Material Pipe Material
Orifice
Pipe
Gas Viscosity
Isentropic Exponent
Upstream Downstream
Flange Pipe U.S Metric

Index #

Parameter Description
Orifice material (Mandatory); Stainless Steel, Monel, Carbon Steel
Pipe material (Mandatory); Stainless Steel, Monel, Carbon Steel
Temperature at which the Orifice diameter was measured. If this is not specified, use a typical ambient temperature of 68°F (20°C).
Temperature at which the Pipe diameter was measured. If this is not specified, use a typical ambient temperature of 68°F (20°C).
Gas Viscosity ­ Absolute viscosity of flowing fluid. In the absence of this information, use the recommended default of 0.010268 cP (Refer to AGA 3 Report- Part 4)
Isentropic Exponent - In the absence of this information, use the recommended default of 1.3 (Refer to AGA 3 Report- Part 4)
Indicates the position of the Orifice meter's pipe pressure tap. Note: - If downstream tap is chosen, the differential pressure (HW) must be fed to the AGA8 block for correct results.
Flowing pressure tap point

Value or Selection Select from Drop Down menu
Select from Drop Down menu
Enter a value Default = 68°F
Enter a value Default = 68°F
Enter a value Range 0.005 to 0.5 Default = 0.010268
Enter a value Range 1.0 to 2.0 Default = 1.3
Select a location of either upstream, or downstream Click Radio Button to select
Click Radio Button to select

Type of units for all block inputs, outputs, and configuration parameters: This selection must agree with the UNITS selection in the compressibility block. If the units do not agree, the error and status output pins will indicate the error and the calculated outputs will be set to 0.0

Click Radio Button to select

34

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Flow Rates tab

Table 9 AGA3O Flow Rates tab configuration parameters

Properties Group QV Flow Rate QV Multiplier
QB Flow Rate QB Multiplier
QM Flow Rate

Parameter

Per Hour Per Day

Units Type (see "UNITS" on Orifice tab) =

US FT3/hr Ft3/day

Metric M3/ hr M3/day

Per Hour Per Day

Units Type (see "UNITS" on Orifice tab) =

US FT3/hr Ft3/day

Metric M3/ hr M3/day

Per Hour Per Day

Index #

Parameter Description
Defines the rate of time for QV output flow.
Provides a time period other than "per hour" or "per day".

Value or Selection
Click Radio Button to select.
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.

Defines the rate of time for QB output flow.
Provides a time period other than "per hour" or "per day".

Click Radio Button to select.
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.

Defines the rate of time for Qm output flow.

Click Radio Button to select.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

35

November 2020

Properties Group QM Multiplier
QH Flow Rate QH Multiplier

Parameter

Index #

Units Type (see "UNITS" on Orifice tab) =

US lbm/hr lbm/day

Metric Kg/hr Kg/day

Per Hour Per Day

Units Type (see "UNITS" on Orifice tab) =

US MBTU/hr MBTU/day

Metric MJ/ hr MJ/ day

Parameter Description Provides a time period other than "per hour" or "per day".
Defines the rate of time for QH output flow. Provides a time period other than "per hour" or "per day".

Example

Value or Selection
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.
Click Radio Button to select.
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.

Figure 6 AGA3O function block example

36

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

AGA7TM Function Block
Description
The AGA7TM label stands for Turbine AGA7 Meter Calculation and also applies to Rotary, Diaphragm, UltraSonic and Fluidic Oscillation Gas Meters.
AGA8 BLK CONNECT

This block is part of the Calculations category.
Function
Calculations for gas measurement by Turbine Meters - When connected to an AGA8 block, the input value and multiple related parameters will be obtained from the AGA8 block. The meter block will use this information to inherit the AGA8 block data for use in the calculations.
Inputs
QR = Raw Flow Rate in the units selected by the UNITS configuration parameter. U.S. is ft3/hr and Metric is m3/hr.
AGA8 BLK CONNECT = When connected to an AGA8 block, the input value will equal the block number of the AGA8 block. The meter block will use this information to inherit the AGA8 block data for use in the calculations. If the input pin is not connected to an AGA8 block, then ERR and STATUS output pins are updated accordingly.
DISABLE = When this pin is ON, the block is disabled, the process value outputs are set to 0, the ERR pin is OFF, and the STATUS pin is set to 99 (See Table 5 AGA Error Codes).
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

37

November 2020

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

Properties Group Turbine Meter Setup
Units

Table 10 AGA7TM Turbine tab configuration parameters

Parameter Meter Factor
U.S. Metric

Index #

Parameter Description
A meter factor is a dimensionless term obtained by dividing the actual volume of gas passed through the meter by the corresponding meter indicated volume.
Type of units for all block inputs, outputs, and configuration parameters: This selection must agree with the UNITS selection in the meter block. If they don't agree, no error will be indicated on the error/calc status pins. The Meter block will detect the error, and will alert the user.

Value or Selection Value should default to 1 and be limited to >0.
Click Radio Button to select

38

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Flow Rates tab

Table 11 AGA7TM Flow Rates tab configuration parameters

Properties Group QV Flow Rate QV Multiplier
QB Flow Rate QB Multiplier
QM Flow Rate QM Multiplier
QH Flow Rate

Parameter

Per Hour Per Day

Units Type (see "UNITS" on Turbine tab) =

US FT3/hr Ft3/day

Metric M3/ hr M3/day

Per Hour Per Day

Units Type (see "UNITS" on Turbine tab) =

US FT3/hr Ft3/day

Metric M3/ hr M3/day

Per Hour Per Day

Units Type (see "UNITS" on Turbine tab) =

US lbm/hr lbm/day

Metric Kg/hr Kg/day

Per Hour Per Day

Index #

Parameter Description Defines the rate of time for QV output flow. Provides a time period other than "per hour" or "per day".
Defines the rate of time for QB output flow. Provides a time period other than "per hour" or "per day".
Defines the rate of time for Qm output flow. Provides a time period other than "per hour" or "per day".
Defines the rate of time for QH output flow.

Value or Selection Click Radio Button to select.
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.
Click Radio Button to select.
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.
Click Radio Button to select.
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.
Click Radio Button to select.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

39

November 2020

Properties Group QH Multiplier

Parameter

Units Type (see "UNITS" on Turbine tab) =

US MBTU/hr MBTU/day

Metric MJ/ hr MJ/ day

Index #

Parameter Description
Provides a time period other than "per hour" or "per day".

Example

Value or Selection
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.

Figure 7 AGA7TM function block example

40

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

AGA9UM Function Block
Description The AGA9UM label stands for Ultrasonic AGA9 Meter Calculation.
AGA8 BLK CONNECT

This block is part of the Calculations category.
Function
Calculations for gas flow measurements from multi-path Ultrasonic Meters - When connected to an AGA8 block, the input value and multiple related parameters will be obtained from the AGA8 block. The meter block will use this information to inherit the AGA8 block data for use in the calculations.
Inputs
QR = Raw Flow Rate in the units selected by the UNITS configuration parameter. U.S. is ft3/hr and Metric is m3/hr.
AGA8 BLK CONNECT = When connected to an AGA8 block, the input value will equal the block number of the AGA8 block. The meter block will use this information to inherit the AGA8 block data for use in the calculations. If the input pin is not connected to an AGA8 block, then ERR and STATUS output pins are updated accordingly.
DISABLE = When this pin is ON, the block is disabled, the process value outputs are set to 0, the ERR pin is OFF, and the STATUS pin is set to 99 (See Table 5 AGA Error Codes).

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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

41

November 2020

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

Properties Group Ultrasonic Meter Setup
Units

Table 12 AGA9UM Ultrasonic tab configuration parameters

Parameter Meter Factor
U.S. Metric

Index #

Parameter Description
A meter factor is a dimensionless term obtained by dividing the actual volume of gas passed through the meter by the corresponding meter indicated volume.
Type of units for all block inputs, outputs, and configuration parameters: This selection must agree with the UNITS selection in the meter block. If they don't agree, no error will be indicated on the error/calc status pins. The Meter block will detect the error, and will alert the user.

Value or Selection Value should default to 1 and be limited to >0.
Click Radio Button to select

42

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Flow Rates tab

Table 13 AGA9UM Flow Rates tab configuration parameters

Properties Group QV Flow Rate QV Multiplier
QB Flow Rate QB Multiplier
QM Flow Rate QM Multiplier
QH Flow Rate

Parameter

Per Hour Per Day

Units Type (see "UNITS" on Ultrasonic tab) =

US FT3/hr Ft3/day

Metric M3/ hr M3/day

Per Hour Per Day

Units Type (see "UNITS" on Ultrasonic tab) =

US FT3/hr Ft3/day

Metric M3/ hr M3/day

Per Hour Per Day

Units Type (see "UNITS" on Ultrasonic tab) =

US lbm/hr lbm/day

Metric Kg/hr Kg/day

Per Hour Per Day

Index #

Parameter Description Defines the rate of time for QV output flow. Provides a time period other than "per hour" or "per day".
Defines the rate of time for QB output flow. Provides a time period other than "per hour" or "per day".
Defines the rate of time for Qm output flow. Provides a time period other than "per hour" or "per day"
Defines the rate of time for QH output flow.

Value or Selection Click Radio Button to select.
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.
Click Radio Button to select.
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.
Click Radio Button to select.
Enter Value For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.
Click Radio Button to select.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

43

November 2020

Properties Group QH Multiplier

Parameter

Units Type (see "UNITS" on Ultrasonic tab) =

US
MBTU/hr MBTU/ day

Metric MJ/ hr MJ/ day

Index #

Parameter Description
Provides a time period other than "per hour" or "per day"

Example

Value or Selection
Enter Value. For example, if "per minute" is desired, set the unit to "per hour" and the multiplier to 1/60. Default = 1.0.

Figure 8 AGA9UM function block example

44

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

AI Function Block
Description The AI label stands for Analog Input.

This block is part of the I/O Blocks category.
Function
Reads value of an Analog Input from a specified real I/O address. Convert analog input value to corresponding output (OUT) in engineering units based on the necessary scaling and conversions performed.
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 +/-10% over range.
OUT = Scale x Input value + Bias where:
High range value - Low range value Scale =
100

Input value = Analog Value in percent
T/C or RTD - Converts analog input value in engineering units using the range of Input Type. +/-1% over range.

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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

45

November 2020

Configuration parameters

Table 14 Analog Input configuration parameters

Parameter Block Order

Index # N/A

Parameter Description Execution Order for Block

Rack Address

I/O Module Address

Channel Address

Input Type

N/A

and Range

This is the address of the selected Rack. Address of selected I/O module
Channel on selected I/O Module
Thermocouple Input types RTD Input types Linear Input types Special Input Types - Carbon or Oxygen

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
Enter a value from 1 to 12.
Enter a value: from 1 to 12
Enter a value: from 1 to 8 or 16.
Click on the "Input Type and Range" group button and select an input from list box.
See
Table 15 for Input Type and Range

46

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Parameter
High Range Value

Index # 6

Low Range

7

Value

Disable

8

Channel

Output Value

Filter Time

2

(sec)

Bias

3

Failsafe Use N/A Value
Failsafe Use 4 Value field

Downscale

N/A

Upscale

Burnout

N/A

Check

Bad Channel N/A Detection

Parameter Description
For Linear Inputs Only - output value that corresponds to 100% input value.
For example: Actuation Input = 4-20mA Process variable = Flow Range of Flow = 0 to 250 gal/min High Range Display Value = 250 Low range Display Value = 0 Then 20mA = 250, 4mA = 0
For Linear Inputs Only - output value that corresponds to 0 % input value For example: See "High Range Value".
The output value when the AI channel is disabled. Disable = ON
A software digital filter is provided for the input designated to smooth the input. You can configure the first order lag time constant from 1 to 120 seconds. 0=no filter
Bias is used to compensate the input for drift of an input value due to deterioration of a sensor, or some other cause.
Use the User value entered in the appropriate field.
The output value to which the output will go to protect against the effects of failure of the equipment, such as, fuel shut-off if there is loss of flame in a furnace, or a sensor break.
LINEAR OUT = Value set at "Low range value" field.
T/C or RTD OUT = Value of Low range implied by input type.
LINEAR OUT = Value set at "High range value" field.
T/C or RTD OUT = Value of High range implied by input type.
Burnout check enable (Thermocouples only)
Check this to generate a hardware failure diagnostic if a bad AI channel is detected. If unchecked, a diagnostic will not be generated, which may be desirable for inputs used for monitoring only.

Value or Selection Enter a value: - 99999 to 99999
Enter a value: - 99999 to 99999
Enter a value Default = 0 Enter a value: 0 to 120 seconds
Enter a value: -9999 to 99999
Click on Radio button to select Enter a value in Engineering Units -9999 to 99999
Click on Radio button to select
Click on Radio button to select
Click on block to select or deselect Click on block to select or deselect

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

47

November 2020

Failsafe rules If the controller is unable to access the physical channel or the sensor is faulty, and:

 If Failsafe is "Use Value"  If Failsafe is enabled and downscale
 If Failsafe is enabled and upscale

Then OUT = Configured Failsafe value Then OUT = Range Lo (linear) Low Range Value of input type (T/C and RTD) Then OUT = Range Hi (linear) High Range Value of input type (T/C and RTD)

Table 15 ControlEdge HC900 Input Types and Ranges

Type B B E E E E J J J J J J K K K K K K K K Ni-NiMo Ni-NiMo Ni-NiMo Ni-NiMo NiMo-NiCo NiMo-NiCo NiMo-NiCo NiMo-NiCo N N N N N N R R S S T T T T

Range Low -18 0 -270 -454 -129 -200 -18 0 -7 20 -180 -292 -18 0 -18 0 -29 20 0 32 0 32 0 32 0 32 0 32 -18 0 -18 0 0 32 -18 0 -18 0 -184 -300 -129 -200

Range High EU

1815

C

3300

F

1000

C

1832

F

593

C

1100

F

871

C

1600

F

410

C

770

F

0

C

32

F

1316

C

2400

F

982

C

1800

F

538

C

1000

F

1200

C

2192

F

1371

C

2500

F

682

C

1260

F

1371

C

2500

F

682

C

1260

F

1300

C

2372

F

800

C

1472

F

1200

C

2192

F

1704

C

3100

F

1704

C

3100

F

371

C

700

F

260

C

500

F

48

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

W_W26 W_W26 W5W26 W5W26 W5W26 W5W26 Platinel Platinel Platinel Platinel Pt100 Pt100 Pt500 Pt500 Pt1000 Pt1000 JIS100 JIS100 JIS100 JIS100 Cu10 Cu10 YSI405 YSI405 Ohms Ohms Ohms Ohms Ohms mA mA mV mV mV mV mV mV mV V V V V V V V V V Carbon Oxygen

-20 -4 -18 0 -18 0 0 32 0 32 -184 -300 -184 -300 -40 -40 -200 -328 -200 -328 -20 -4 10 50 0 0 0 0 0 4 0 0 0 0 -10 -50 -100 -500 0 0 0 0 1 -1 -2 -5 -10 0 -30

2320

C

4200

F

2316

C

4200

F

1227

C

2240

F

1380

C

2516

F

750

C

1382

F

316

C

600

F

649

C

1200

F

260

C

500

F

500

C

932

F

260

C

500

F

250

C

482

F

37.8

100

200

500

1000

2000

4000

20

20

10

50

100

10

50

100

500

1

2

5

10

5

1

2

5

10

1250

mV

510

mV

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

49

November 2020

Example Figure 9 shows a Function Block Diagram configuration using an AI function block.
Figure 9 AI function block example 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.

50

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Analog Input Voting
Description The AI-V label stands for Analog Input Voting . This block is part of the I/O Blocks category.

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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

51

November 2020

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. The percent deviation allowed from input to input is +/- 3% i.e. if the input to input is outside of +/- 3 %, VFAIL will be ON.

52

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box
Configuration parameters Analog Input Voting configuration parameters.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

53

November 2020

Properties Group
Block

Parameter Order

Index # N/A

Use Input A

4

Use Input B

5

Address

Use Input C

6

Rack (for each

N/A

Input)

I/O Module (for N/A each Input)

Channel (for each N/A Input)

Input Type and

N/A

Range

Input Type and Range

High Range Value N/A

Range

Low Range Value N/A

Disable Channel
Settings

Output Value

13

Filter Time (sec) 7

Parameter Description

Value or Selection

Execution Order for Block

Read Only.

To change, See "Execution Order".

Enable or Disable Input A

Click on checkbox to select or deselect

Enable or Disable Input B

Click on checkbox to select or deselect

Enable or Disable Input C

Click on checkbox to select or deselect

This is the address of the selected Rack.

Enter a value: from 1 to 5.

Address of selected I/O module

Enter a value: from 1 to 12

Channel on selected I/O Module

Enter a value: 1 to 16, depending on module type.

Thermocouple, RTD, Linear Input types or Special Input Types - Carbon or Oxygen

Click on the "Input Type and Range" group button and select an input from list box.

Click Here for Input Types and Ranges

For Linear Inputs Only - output value Enter a value: that corresponds to 100 % input value
- 99999 to 99999 For example: Actuation Input = 4-20mA

Process variable = Flow

Range of Flow = 0 to 250 gal/min

High Range Display Value = 250

Low range Display Value = 0

Then 20mA = 250, 4mA = 0

For Linear Inputs Only - output value that corresponds to 0 % input value
For example: See "High Range Value"

Enter a value: -99999 to 99999

The output value when the AI channel Enter a value

is disabled. Disable = ON

Default = 0

A software digital filter is provided for the input designated to smooth the input. You can configure the first order lag time constant from 1 to 120 seconds.

Enter a value: 0 to 120 seconds

0=no filter

54

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Bias

8

Use Value field

N/A

Failsafe

Use Value

N/A

Downscale

N/A

Upscale

N/A

Bad Channel Detection

Generate

N/A

Hardware Failure

on Bad Channel

Detection

Bias is used to compensate the input for drift of an input value due to deterioration of a sensor, or some other cause.

Enter a value: -9999 to 99999

The output value to which the output will go to protect against the effects of failure of the equipment, such as, fuel shut-off if there is loss of flame in a furnace, or a sensor break.

Enter a value in Engineering Units
-9999 to 99999

Use the value entered in the appropriate field.

Click on Radio button to select

LINEAR
OUT = Value set at "Low range value" field.

Click on Radio button to select

T/C or RTD

OUT = Value of Low range implied by input type.

LINEAR

Click on Radio button

to select OUT = Value set at "High range value"

field.

T/C or RTD

OUT = Value of High range implied by input type.

Check this to generate a hardware failure diagnostic if a bad AI channel is detected. If unchecked, a diagnostic will not be generated, which may be desirable for inputs used for monitoring only.

Click on checkbox to select or deselect

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

55

November 2020

Example
Figure 10 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.

Figure 10 - ALM Alarm Function Block

56

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Description The ALM label stands for the Analog Alarm function.

This block is part of the Alarms/Monitor category.

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.
Note: If the alarm configured on output of this block and block is in safety sheet, alarm can't be acknowledged in controller Run-Lock mode.

Alarm type function

(PV>SP)

High Process Variable/Local Setpoint

 OUT = ON If the PV is greater than the local Setpoint

 OUT = OFF If the PV is less than the Local Setpoint minus Hysteresis

(PV>CV)

High Process Variable/Compare Value

 OUT = ON If the PV is greater than the Compare Value (CV) i.e. Alarm Setpoint

 OUT = OFF If the PV is less than the Compare Value minus Hysteresis

(PV<SP)

Low Process Variable/Local Setpoint

 OUT = ON If the PV is less than the Local Setpoint

 OUT = OFF If the PV is greater than the Local Setpoint + Hysteresis

(PV<CV)

Low Process Variable/Compare Value

 OUT = ON If the PV is less than the Compare Value (CV)

 OUT = OFF If the PV is greater than the Compare Value + Hysteresis

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

57

November 2020

[(PV-CV)>SP] High Deviation Alarm  OUT = ON If the PV input minus the CV input is greater than the Local Setpoint  OUT = OFF If the PV input minus the CV input is less than the Local Setpoint minus Hysteresis [(CV-PV)>SP] Low Deviation Alarm  OUT = ON If the CV input minus the PV input is greater than the local Setpoint  OUT = OFF If the CV input minus the PV input is less than the Local Setpoint minus Hysteresis PV-CV>SP Band Deviation Alarm  OUT = ON If the absolute value of (PV­CV) is greater than the Local Setpoint  OUT = OFF If the absolute value of (PV­CV) is less than the Local Setpoint minus Hysteresis
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.

58

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 16 Analog alarm configuration parameters

Parameter Block Order

Index #
N/A

Alarm

N/A

Setpoint

Type

Hysteresis

4

Local

0

Setpoint

Use RSP Input 1 Output Latch 3

On Delay

6

Parameter Description
Execution Order for Block
Alarm Action Type
Hysteresis in engineering units can be set from 0 to the input span monitored variable. Local Setpoint value in engineering units or a calculation from another function block via RSP (see "Use RSP Input"). Remote Setpoint selection
ON latches the alarm output until 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. Number of seconds the alarm is active before activating OUT.

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order. PV>SP = High Process Variable/Local Setpoint PV>CV = High Process Variable /Compare Value PV<SP = Low Process Variable/Local Setpoint PV<CV = Low Process Variable /Compare Value (PV-CV)>SP = High Deviation Alarm (CV-PV)>SP= Low Deviation Alarm IPV-CVI>SP = Band Absolute Deviation Alarm 0 to 99999.9 in Engineering Units
0 to 99999.9 in Engineering Units
Click on box to use Remote Setpoint (RSP). Click on Box to select.
0 to 240 seconds

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

59

November 2020

Examples
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

Alarm Alarm State CV + RSP Value
CV CV - RSP Value
Alarm State

Accessed using Variable Edit Screen

RSP Value

Alarm State

PV

Hysteresis Out of Alarm

Figure 11 ALM function block example

60

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ALMGR Alarm Group Function Block
Description The ALMGR label stands for the Alarm Group function.

This block is part of the Alarms/Monitor category.

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.

Assign an Alarm Group
When you drag and drop an Alarm Group function block onto the worksheet, the "Assign Alarm Group" dialog box opens.
Select an Alarm Group (1 - 20) from the drop down menu, then click "OK". The function block will appear on the Function Block Diagram.

Configure an Alarm Group
1. Double-click on the Alarm Group function block. The Alarm Group Configuration dialog box will appear. The Group Number appears on the dialog box.
2. Digital signals will be displayed in the "Selected Tags" field.
3. Enter the group title. Use any mix of numbers, letters, and spaces.
4. Click on a Signal Tag name, then click on ADD. The selected signal tag will be placed in the next available position in the "Selected Tags" field, OR Select a position in the "Selected Tags" field, then click on INSERT. The selected signal tag will be placed in the position chosen in the "Selected Tags" field and the other signal tags will reorder as required.
5. Repeat the selection for up to 12 tags for each group.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

61

November 2020

6. Select a signal in the "Selected Tags" field and click on ALARM DETAILS, and enter Alarm details in the Dialog Box.
7. Click OK.
You can also select "Alarms" from: - the EDIT menu on the Process Control Designer Main Menus - The O/I Worksheet Toolbar button (when you have an O/I) - the FBD Worksheet toolbar button (when you do not have an O/I and do not need to use Alarm Group logic in the control strategy)
Example

Figure 12 ALMGR Function Block Example

62

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ALT Alternator Function Block
Description The ALT label stands for Alternator Function.

This block is part of the Auxiliary category.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

63

November 2020

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
ON = Status of block is OFF - function processes disabled, no input/output evaluation - all On and Off delay timers are reset - block's style setting maintained - all outputs turned off - the STI output pin set to OFF.
^ADV = used with all styles except Direct. If "Activate Advance" selected in configuration, an OFF to ON transition will rotate the output order selection.
DRDYS = digital encoded device-ready signal, usually the bit encoded output of the Digital Encoder Block (DENC) representing 16 digital states. No signal = 0 Bit 1 = OUT 1, Bit 16 = OUT 16 Example: If bit 3 is ON, "OUT 3" is enabled and its state can turn On/Off based on the Alternator Sequence. If bit 3 is OFF, "OUT 3" is disabled. Out 3's state will change to OFF.
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
Click on the tab to access the properties for that tab.

64

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

65

November 2020

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.

Make before break
This feature works on input demand and with the Advance input, it is available for Fixed, Rotary and FOFO styles.
When the ALT function block receives an Advance input (^ADV pin) and Make before Break is selected (click on box on General tab to select) the next output in the sequence is activated before deactivating an output. When the selection box on the General tab is not selected (Break before Make) the output is removed before advancing the sequence and activating the next output. The ON and OFF Delay Timers are used with this feature. See next figure.

ON
OUTPUT 1
OFF
ON
OUTPUT 2
OFF
ON
OUTPUT 3
OFF
ON
OUTPUT 4
OFF

ON Delay

ON Delay

ON Delay

OFF Delay

initially no outputs requested

2 outputs requested

Advance occurs and MBB* is set

Advance occurs and BBM** is set

2 outputs requested and one of
them is disabled (or fails)***

3 outputs requestd with #3 output still disabled

OFF Delay

ON Delay

OFF Delay

ON Delay

ON Delay

* MBB - Make before Break ** BBM - Break before Make *** When an output is in use and it becomes disabled or fails, the
BBM feature is used to turn on the next available output

66

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ON/OFF delay timers
There is an On-delay timer and Off-delay timer value that applies to all 16 outputs. These timers are the same times used with the Make/Break feature. There is one period for all On-delay times and one period for all Off-delay times.
If an output is waiting in an On-delay timer and new input conditions the output state to turn OFF, then the delay timer is reset, the output does not change state. If an output is waiting in an Off-delay timer and new input conditions the output state to turn ON, then the delay timer is reset, the output does not change state.
The timers operate in a cascade style. Example: If three outputs are requested, output #1 Turns On, then #2 which is followed by #3.
Table 17 ALT general tab parameters

Properties Group General
Time Delay

Parameter Tag Name
Descriptor
On-Time Delay (seconds)

Off-Time Delay (seconds)

Styles

Direct Rotary FOFO Fixed

Make before Break

Activate Advance Used with all styles except Direct

Index # N/A N/A 1
2
N/A
3
0

Parameter Description
16-character tag name (ASCII characters only) Block description
Delay time used before turning ON the next output in the sequence. Used with "Make/Break" feature See "ON/OFF Delay Timers"
Delay time used before turning OFF the next output in the sequence. Used with "Make/Break" feature See "ON/OFF Delay Timers"
See "Style Selections" for definitions
Determines how an OUT is toggled ON and OFF. Used with "Rotary" and "FOFO" styles See "Make before Break" for definition.
Activates the "Advance" feature. This allows an OFF to ON transition of the ^ADV Input pin to rotate the output order sequence. See "Activate Advance" for definition.

Value or Selection
Range: 0 ­ 99999 sec Default = 0
Value can be changed from the Operator Interface
Range: 0 ­ 99999 sec Default = 0
Value can be changed from the Operator Interface
DIRECT ROTARY FOFO FIXED The parameter selected here can be altered from an operator interface.
ON = Make before Break OFF = Break before Make
Default = Make before Break
Click on box to turn ON Activate Advance
The parameter selected here cannot be altered from an operator interface

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

67

November 2020

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)

68

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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)

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

69

November 2020

Direct Style selected

Rotary, FOFO, or Fixed Style selected

Table 18 ALT sequence tab parameters

Sequence Number
1

Parameter Field
Maximum Outputs used

Action
Use the scroll buttons in the active field and select the number of outputs to be used.

Selections 1 to16

2

Click on the "Edit

Sequence Order

Edit Sequence Order

Sequence Order" button Default =

to activate the

OUT1,

Sequence Order dialog OUT2,

box.

OUT3

Click, Drag, and release any output to any order, as shown to the left, to select the sequence in which the outputs will be

:
:
OUT15, OUT16.

turned on.

Click "OK".

Comments
Selecting less than 16 Outputs will make the unused Outputs in the "Output Selection" column = 0 after "OK" is selected.
May be changed by a special message.

70

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 13 shows a function block diagram using an ALT function block.
To HOA and DC blocks for Outputs 2 & 3

Pump Available
Inputs
Figure 13 ALT function block example

Output #1

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

71

November 2020

AMB Auto/Manual Bias Function Block
Description The AMB label stands for Auto/Manual Bias Function.

This block is part of the Loops category.

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 =
AL1 =
AL2 =
MODE = mode status.)
4.0 5.0 7.0

Control Output (­5 % to 105 %)
Alarm 1 Alarm 2
Actual Mode encoded as follows: (Connect to Mode Flags block [MDFL] to encode
LSP AUTO LSP MAN 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.

72

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

GENERAL tab

Parameter
Block Tag Name
Block Descriptor

Table 19 AMB General tab configuration parameters

Index # N/A
N/A

Parameter Description
16-character tag name (ASCII characters only)
Block description

Value or Selection

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

73

November 2020

Start/Restart tab

Parameter
Permitted Mode

Table 20 AMB Start Restart tab configuration parameters

Index # Parameter Description

Value or Selection

N/A

Mode permitted for the

MAN Manual

initial start and power up mode.

AUTO Automatic

Initial Mode N/A

Power up

N/A

Mode

Mode at NEWSTART
Newstart is the first scan cycle following the cold start of the controller
Mode at power up

MAN Manual AUTO Automatic

MAN

Manual

PREVIOUS Same mode (auto or manual)

Power Up

N/A

Out

Failsafe Out 9

Output at Power up Failsafe Output Value

FAILSAFE Failsafe output value. LAST OUT Same as at power down. ­5 to 105 (default 0)

74

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

RANGE/LIMIT tab

Table 21 AMB Range/limit tab configuration parameters

Parameter PV High Range PV Low Range Display Decimal Places

Index # 0 1 N/A

Out High Limit

7

Out Low Limit

8

Parameter Description
PV High Range Value
PV Low Range Value
Number of digits to display after decimal point.
Output High Limit Value - prevents the Output from going above the value set here.
Output Low Limit Value - prevents the Output from going below the value set here.

Value or Selection ­5 % to 105 % ­5 % to 105 % 0 to 5 ­5 % to 105 %
­5 % to 105 %

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

75

November 2020

ALARMS tab

Table 22 AMB Alarm tab configuration parameters

Parameter Alarm 1 Setpoint 1
Alarm 1 Type
Alarm 1 Setpoint 2 Alarm 1 Type
Alarm 2 Setpoint 1 Alarm 2 Type
Alarm 2 Setpoint 2 Alarm 2Type
Alarm Hysteresis %

Index # 10 N/A
11 N/A 12 N/A 13 N/A 18

Parameter Description Alarm 1 Setpoint 1 Value - this is the value at which you want the alarm type chose below to activate Alarm 1 Setpoint 1 Type - select what you want Alarm 1 Setpoint 1 to represent.
Alarm 1 Setpoint 2 Value
Alarm 1 Setpoint 2 Type
Alarm 2 Setpoint 1 Value
Alarm 2 Setpoint 1 Type
Alarm 2 Setpoint 2 Value
Alarm 2 Setpoint 2 Type
Alarm Hysteresis in %

Value or Selection
­5 % to +105 %
(default 0)
Selections: NO ALARM AL_PV_HI AL_PV_LO AL_OUT_HI AL_OUT_LO
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
0 % to 5 %

76

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 14 shows an function block diagram using an AMB function block. PT MAIN STEAM
HEADER PRESSURE
PLANT MASTER PRESSURE CONTROLLER (PID)

OUT

-5 TO 105

IN

IN

BOILER 1

SUBMASTER

BOILER 2 SUBMASTER

BOILER

OUT -5 TO 105
TO AIR/FUEL CONTROL (SP)

OUT -5 TO 105
TO AIR/FUEL CONTROL (SP)

Figure 14 AMB function block example
AMB Block (Boiler Submaster): Operators place AMB Block to "MAN" mode to adjust fuel setpoints up or down independent of each boiler. AMB: OUT = IN + BIAS MAN MODE Bias is automatically calculated as operator increment or decrement out value. Bias = OUT ­ IN
AUTO MODE Bias is a fixed value from the man mode calculation. Above OUT = IN + Bias

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

77

November 2020

ANAIMP Safety Analog Import Function Block
Description The ANAIMP label is short-hand for the Safety Analog Import block.

This block belongs to the Communications category and is only available on SIL devices, such as C30S, C50S, C70S, and C75S from version 6.300 or above.
Function
The Safety Analog Import block is a communication block that allows a configuration to import selected analog signals from other configurations. These signals are exported within an XML file generated by selecting the "Safety Peer Export Enable" option within the Signal Dialog, and then saving the configuration. The XML is saved with the configuration filename, with the `.xml' file extension. With this block, a user is able to share analog signals between multiple configurations. The Safety Analog Import has two outputs; FAIL and WARN, that are used to share whether or not the imported signals are still valid and to tell if they are within range. The Safety Analog Import block allows the user to set a URV and an LRV, as well as a Failsafe Option for "Use Value" or to "HOLD" current value.
Similar to how a `Connector' functions, the user cannot import a `Process' signal (non-highlighted signal) into `Safety' worksheet. The user is able to import a `Safety' signal (yellow highlighted) into a `Process' sheet however.
Inputs
DIS ­ DIS is the Disable pin that disables the analog signal import updates between the two controllers. Attaching a `high' signal to disable sends all signals imported from that controller into failsafe. Attaching the NO_SCAN pin of the corresponding SAFPDE block will associates the failsafe timeout action configured in the SAFPDE block to the ANAIMP block.
Outputs
FAIL ­ Failsafe pin to signal that the data has reached its stale limit
WARN ­ this pin indicates when the value is out of range (Safety Analog Import only)
Block Properties
After adding a Safety Analog Import block, opening the properties will prompt the user to select a `.xml' file from a previously saved configuration with which to import an analog signal from.

78

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

The above image shows several XML files that are automatically generated after saving a configuration.
After selecting the `.xml' file, the following screen is shown to allow the user to select the analog signal to import:

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

79

November 2020

The Safety Analog Import have a `Signal Tag', `Description', `Type', external signal `Number', `Units' and `Decimals'.
Once a signal is selected, and `OK' is pressed, the block will hold the information from the previous dialog, as shown below:

80

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

The Analog Import block now configured.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

81

November 2020

Configuration Parameters
In the properties page, the user is able to configure the URV and LRV for the block, as well as the Failsafe option. The Safety Analog Import block allows either the last known good value to be held, or will output a pre-selected value if `Use Value->' is chosen.

Parameter URV LRV Failsafe

Index # N/A N/A N/A

Parameter Description

Value Or Selection

Upper range value

-99999 to 99999

Lower range value

-99999 to 99999

Action to be taken when the block goes to fail.
Hold ­ output will hold to last good value

Click on radio button to select

Use Value ­ output will go to this specified value

Any float 32 bit value

Default 9999.99 -9999.99
Use Value = 0

Related Function Blocks SAFPDE ­ Safety Peer Monitor block

82

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

2AND Function Block
Description The 2AND label stands for the AND Boolean function (2 Inputs).
This block is part of the Logic and Fast Logic categories. 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

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

83

November 2020

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 15 shows an AND function block being used to monitor two input signals for an alarm condition.
Figure 15 2AND function block example

84

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

4ALM Function Block
Description The 4ALM label stands for the 4 Alarm with Hysteresis.

This block is part of the Alarm/Monitor Blocks category.
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

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

85

November 2020

Configurable parameters Parameter Index # Block Order N/A

Tag Name

n/a

Descriptor

n/a

Alarm type

0-3

Hysteresis

4-7

Parameter Description Execution Order for Block
16-character tag name (ASCII characters only) Block description Alarm type Adjustable overlap of the on/off states of the output.

Value or Selection Read Only. To change block order, right-click on a Function Block and select Execution Order.
Disabled, Low, High 0 to the span of the input 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.

Figure 16 4ALM function block example

86

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

4AND Function Block
Description The 4AND label stands for the AND Boolean function (4 Inputs).
This block is part of the Logic and Fast Logic categories. 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 Unused values must be set to 1 or inverted.
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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

87

November 2020

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 Unused values must be set to 1 or inverted. Example Figure 17 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.
Figure 17 4AND function block example

88

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

8AND Function Block
Description The 8AND label stands for the AND Boolean function (8 Inputs).

This block is part of the Logic and Fast Logic categories.
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 Unused values must be set to 1 or inverted.
Output OUT = Digital signal controlled by status of input signals.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

89

November 2020

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 18 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.

Figure 18 8AND function block example

90

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

AO Function Block
Description The AO label stands for a milliamp Analog Output.
This block is part of the I/O Blocks category. 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

91

November 2020

Configuration parameters AO's Address starts at Module 4. Table 23 Analog output configuration parameters

Properties Group Block Address Range Output Output Limits Failsafe
Slew Rate

Parameter Order

Index # N/A

Rack

I/O Module

Channel

Range Hi

1

Range Low 2

mA at range 3 High

mA at Low

4

Range

mA at range N/A High Limit

mA at Low

N/A

Range Limit

Failsafe

N/A

Value

Failsafe

8

Type

Slew Time in 9 seconds

Parameter Description Execution Order for Block
This is the address of the selected Rack. Address of selected I/O module
Channel on selected I/O Module
High Range Value Engineering Unit value of input that corresponds to 100 % output value Low Range Value Engineering Unit value of input that corresponds to 0 % output value Value of mA output that corresponds to 100 % output signal (for example: 20 mA) Value of mA output that corresponds to 0 % output signal (for example: 4 mA) Value of mA that you want to set the High Range Limit Value of mA that you want to set the Low Range Limit Failsafe Value
Type of Failsafe
Slew Rate is the maximum rate of change required to drive the output from full OFF (0% - typically 4 mA) to full ON (100% - typically 20mA). The block will convert this to a maximum change of the milliamp output per execution cycle of the block.

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
Enter a value from 1 to 5.
Enter a value: from 1 to 12
Enter a value: from 1 to 16
-99999 to 999999 Default = 100
-99999 to 999999 Default = 0.0
0 to 20 Default = 20
0 to 20 Default = 4
0 to 21 Default = 21
0 to 21 Default = 0
0 to 21 mA Default = 0
High - sets the output of the block to High Output Range limit when failure is detected Low - sets the output of the block to Low Output Range Limit when failure is detected Hold - hold the output at the last value just prior to the failure being detected
Enter a value of from 0.0 to 99

92

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 19 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 Reverse scaling is required for duplex control outputs.
Figure 19 AO function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

93

November 2020

Analog Output Validated

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.

94

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

95

November 2020

Configuration parameters

Analog output validated configuration parameters

Properties Group

Parameter

Index #

Parameter Description

Value or Selection

Rack

Rack address of selected DO module

From 1 to 12

Address

I/O Module N/A
Channel

Address of selected DO module
Channel number on selected DO module

From 1 to 12
From 1 to 32, depending on the physical module type ­ DC or AC or Relay

Range High

1

Input Range

Range Low

2

High Range Value Engineering Unit - value of input that corresponds to 100 % output value

99999 to 999999 Default = 100

Low Range Value Engineering Unit - value of input that corresponds to 0 % output value

99999 to 999999 Default = 0.0

mA at range High 3

Output Range

mA at Range Low 4

Value of mA output that corresponds to 100 % output signal (for example: 20 mA)

0 to 20 Default = 20

Value of mA output that corresponds to 0 % output signal (for example: 4 mA)

0 to 21 Default = 21

mA at High Limit N/A

Output Limits

mA at Low Limit N/A

Value of mA that you want to set the High Range Limit

0 to 20 Default = 20

Value of mA that you want to set the Low Range Limit

0 to 21 Default = 21

96

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Value

N/A

Failsafe

Failsafe Type

N/A

Slew Rate

Slew Rate in Seconds

9

Rack

Address

I/O Module

N/A

Channel

Input Shunt

Input Shunt in Ohms

N/A

USE VALUE sets the output to the programmed value when failure is detected.

0 to 21 mA Default = 0

High - sets the output of the block to the High Output Range Value when failure is detected

Type of Failsafe

Low - sets the output of the block to the Low Output Range Value when failure is detected

Hold - maintains the last value of the block just prior to the failure being detected

Slew Rate is the maximum rate of change required to drive the output from full OFF (0% typically 4 mA) to full ON (100% - typically 20mA). The block will convert this to a maximum change of the milliamp output per execution cycle of the block.

0.0 to 99

Rack address of selected feedback AI module

From 1 to 12

Address of the selected feedback AI module Channel number on the selected feedback AI module
Value of input shunt

From 1 to 12
From 1 to 32 62.5  100  250  500 

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

97

November 2020

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.

98

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ASYS Analog System Status Function Block
Description The ASYS label stands for Analog System Status. This block is part of the Alarm/Monitor Blocks category.

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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

99

November 2020

Output

Table 24 Analog system status block outputs

Output CYCTIME CYCMINS NEWSTART RESTART ALM_ACTIV ALM_UNACK HWOK LOWBTRY HITEMP MSTR_FAIL BAD_BLOCK
LOCKED TIME OFF RSV AVAIL
BBLK_CNT
DS LIMIT

Description
Control Block Cycle Time in seconds.
Control Block Cycle Time in minutes.
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.
ON for one full cycle of control block execution, following power up. [Warm Start]
Alarm Active is ON if any operator panel alarm is ON.
Alarm unacknowledged is ON if any operator panel's alarm is unacknowledged.
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.
Low Battery is ON if the battery is low, Off when battery is good.
High CJ Temperature is ON if the CJ temperature is high on any rack.
Communications Failure is ON when Modbus master diagnostic is not good.
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.
The level of indication provided depends on the software revision:
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.
Revision 4.402 and earlier: 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.
Controller locked in current mode by switch position.
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.
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.
Available in software revision 6.0 and higher.
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.
ON when the configured storage warning limit is exceeded. OFF when the storage capacity falls below the warning limit.

100

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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.
Power Supply Diagnostic For the C75 and C75S redundant CPU controllers only, when monitoring the ASYS block the "Monitor - ASYS1" window will contain a Power Supply Diagnostic variable in addition to the above outputs, as shown below. This variable indicates which rack, if any, has a power supply problem. See Rack Diagnostics Power Supply Diagnostics for more info.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

101

November 2020

BCD Function Block
Description The BCD label stands for Binary Coded Decimal Translator.

This block is part of the Auxiliary category.
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)))

102

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties Double click on the function block to access the function block properties dialog box.
Example Figure 20 shows a Function Block Diagram configuration using a BCD function block to select a Recipe.

Figure 20 BCD function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

103

November 2020

BOOL Boolean Logic Function Block
Description The BOOL label stands for Free Form Logic.
This block is part of the Logic category.
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.

104

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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:  AND - logical AND,  OR - logical OR,  NOT - unary NOT,  XOR - exclusive OR, or  "( )", "[ ]", and "{ }" parentheses - three types.  A left parenthesis must have a matching right parenthesis.  The matching parenthesis must be the same type, that is, "( )", "[ ]", or "{ }".  Parentheses may be nested to any depth.  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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

105

November 2020

Configuration parameters Table 25 BOOL function block configuration parameters

Properties Group Equations
Functions

Parameter
Equation Field
Logic Functions

Index # N/A

Parameter Description Equation Field

N/A

NOT

Operators Errors

Logic

N/A

Operations

Error list

N/A

* (AND) + (OR) ^ (XOR)
List of equation errors

Value or Selection
Enter the desired equation in this field
Double Click on a function to select from the list box
Double Click on an operation from the list box

Example

Figure 21 BOOL function block example

106

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

CASTA Configuration Access Status
Description The CASTA label stands for Configuration Access Status Monitor. This block is part of the Alarm/Monitor Blocks category.

Function This function block provides read access to configuration access status values including the configuration file CRC (Cyclic Redundancy Check).
Versions The image shown above is for the first version of the block.
Restrictions There can be only one instance of the CASTA function block within a configuration.
Output

Serial No.

Output

1

CFGCRC

2

CFGCNT

3

TCP-WR

Description

Remarks

This pin generates the CRC (Configuration Cyclic Redundancy Check) value of the downloaded configuration.

This value is zero for empty and invalid configuration

This pin generates the number of times the configuration is downloaded to controller.

The maximum value is 4294967295. The value neither increments nor rolls back to zero after the maximum limit is reached.

This pin generates the number of times the unauthorized (Not in TCPMODBUS access control list) TCP write is requested.

The maximum value is 4294967295. The value neither increments nor rolls back to zero after the maximum limit is reached.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

107

November 2020

Serial No.

Output

4

PEER-WR

5

PWD-R

6

PWD-F

7

PWD-S

8

PWD-D

Description

Remarks

This pin generates the number of times the unauthorized (Not in PEER access control list) PEER write is requested.

The maximum value is 4294967295. The value neither increments nor rolls back to zero after the maximum limit is reached.

This pin generates the number of times the controller password is changed.

The maximum value is 4294967295. The value neither increments nor rolls back to zero after the maximum limit is reached.

This pin generates the number of times the controller password entries failed.

The maximum value is 4294967295. The value neither increments nor rolls back to zero after the maximum limit is reached.

This pin generates the number of times the controller password entries succeeded.

This pin represents the password status (ON: Password enabled; OFF: Password disabled)

Input Input

Description

Remarks

RESET

This will reset all parameters of the function block when changed from logic "OFF" to "ON"

HOT Start

Table 26 Pin details of CASTA function block

Cold Start

Power Cycle (With Battery)

Power Cycle (W/O Battery)

Firmware download

CFGCNT HOLD

HOLD

HOLD

RESET

RESET

TCP-WR HOLD

RESET RESET

PEERWR

HOLD

RESET RESET

RESET RESET

RESET RESET

108

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

HOT Start

Cold Start

Power Cycle (With Battery)

Power Cycle (W/O Battery)

Firmware download

PWD-R

HOLD

HOLD

HOLD

RESET

RESET

PWD-F

HOLD

HOLD

HOLD

RESET

RESET

PWD-S

HOLD HOLD

HOLD

Monitor of CASTA function block

RESET

RESET

Block Properties

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

109

November 2020

CALEVT Calendar Event Function Block
Description The CALEVT label stands for Calendar Event.

This block is part of the Counters/Timers category.
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 timesynchronized 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

110

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

^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.
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
Click on the tab to access the properties for that tab.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

111

November 2020

EVENT DETAILS tab

Table 27 Calendar Event Details tab configuration parameters

Properties Group Block

Parameter Order

Index # N/A

Parameter Description Execution Order

Tag Name

Descriptor

Event Names

Event 1

N/A

thru

Event 8

Feedback Signals Feedback

N/A

Signal Tags

16 character tag name (ASCII characters only) Block Descriptor Event Name
Feedback Signal tags for Event 1 thru Event 8

Value or Selection Read Only. To change block order, right-click on a Function Block and select Execution Order.
16 Characters Max (ASCII characters only).
Press Select a signal tag from the list in the "Signal Tag "dialog Box.

112

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

SPECIAL DAYS tab
The Calendar Event Block can be configured to override its normal Event processing when any of the 16 Special Days occurs. This override will remain in effect for the 24-hour period associated with the Special Day. This feature can be used to force selected Event outputs to remain off on designated holidays, for example.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

113

November 2020

Table 28 Calendar Event Special Days tab configuration parameters

Properties Group Mode Selected Outputs
Special Days

Parameter Disable Outputs for the whole day Use Alternate Event Time Event Name Time
Name
Month Day

Index # N/A
N/A N/A N/A

Parameter Description
Disables the output from midnight to midnight and allows "Special Days" to be configured
Allows alternate Daily setpoint (hour/minute)for designated outputs (1-8)
Name of event entered on the "Event Details" tab.
Special Day - Alternate Hour of event

N/A

Special Day - Alternate

Minute of event

N/A

Up to 16 special days are

available per block with a

common set of unique

conditions for these days.

(same conditions for all

special days) User

selections for special days

shall include:

Disable outputs for the whole day

Use alternate Daily setpoint for outputs (1-8)

N/A

Special Day - Month of the

year; enumeration

N/A

Special Day - Day of the

Month; range is 1 to 31.

Value or Selection Click Radio Button to select.
Click Radio Button to select.
Click Box to select
Active only if "Use Alternate Event Times" radio button is selected. Use Up/Down buttons to select hour Range 0 - 23 Active only if "Use Alternate Event Times" radio button is selected. Use Up/Down buttons to select minute Range 0 - 59 Enter Name of the special Day 16 Characters Max (ASCII characters only).
Select Month from drop-down menu Select Day from drop-down menu

114

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

EVENT SETPOINT 1 thru 5 tab

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

115

November 2020

Table 29 Calendar Event Setpoint tab configuration parameters

Properties Group Setpoint Name

Parameter

Type

Type of Event

Month Day

Month Day

Hour Minute

Hour Minute

Index # N/A N/A
N/A N/A
N/A N/A

Parameter Description Event Setpoint Name Type of event can be configured for different periods, where the event repeats at every occurrence
User is only prompted for "Month" when the event_type is set to "Yearly" User is only prompted for "Day" when the event_type is set to "Yearly" or "Day_of_week" or "Monthly"
Use up/down arrows to select hour of event Use up/down arrows to select minute of event

Value or Selection
16 Characters (ASCII characters only)
DISABLE ­ Selected Event is Disabled
5 day week ­ The configured event will occur at the same time Monday through Friday
7 day week ­ The configured event will occur at the same time Sunday through Saturday
Day of week ­ The configured event will occur once a week at the configured time
Monthly ­ The configured event will occur once every month at configured date and time
Yearly ­ The configured event will occur at the specific date and time
Months of the year
Day of the Month or Week
When Event Type = YEARLY, or MONTHLY, range is 1 to 31 (based on max # of days for calendar month) When Event Type = Monthly, 31 means last day of month even for months with less than 31 days When Event Type = Day_of_Week, range is Sunday to Saturday.
Hour of event; range 0 to 23
Minute of event; range 0 to 59

116

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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.

Figure 22 CALEVT function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

117

November 2020

CARB Carbon Potential Function Block
Description The CARB label stands for Carbon Potential...

This block is part of the Loops category
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

118

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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
1. When a request to change from Auto to manual is received and:
 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.
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 76.
3. If Anti-Sooting is checked Working SetPoint (WSP) could be less than desired SetPoint (SP).

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

119

November 2020

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

120

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 30 CARB General tab configuration parameters

Properties Group Block
Control

Parameter Order Tag Name Descriptor Algorithm
Direction SP Tracking

Index # N/A N/A
N/A N/A

Parameter Description Execution Order
16 character tag name (ASCII characters only) Block Descriptor Control Algorithm Note: In PID B, step changes in setpoint will not bump the output; the output will slew smoothly to the new value. In PID A, a step change in setpoint will result in a step change in output.
Control Action
Setpoint Tracking

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
PID A - is normally used for 3 mode control. The output can be adjusted somewhere between 100 % and 0 %. It applies all three control actions Proportional (P), Integral (I), and Derivative (D) - to the error signal.
PID B - Unlike the PID-A equation, the controller gives only an integral response to a setpoint change, with no effect on the output due to the Gain or Rate action, and gives full response to PV changes.
DUPA - like PIDA but provides an automatic method to switch tuning constant sets for Heat/Cool applications.
DUPB - like PIDB but provides an automatic method to switch tuning constant sets for Heat/Cool applications.
NOTE: With PID B or DUPB selection, you will not be allowed to set RESET or RPM to 0.00 (OFF). Reset must be enabled.
DIRECT - PID action causes output to increase as process variable increases.
REVERSE - PID action causes output to decrease as process variable increases.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

121

November 2020

START/RESTART tab

Modes and Setpoints

Table 31 CARB Start/Restart tab configuration parameter

Permitted Mode
Permitted Setpoint
Initial Mode
Setpoint for Initial Mode

MAN 8 AUTO 9 LSP 10 RSP 11 N/A
N/A

Mode permitted for the initial start and power up mode.
Setpoint permitted for the initial start and power up mode.
Mode at NEWSTART
Newstart is the first scan cycle following the cold start of the controller
Setpoint at NEWSTART
Newstart is the first scan cycle following the cold start of the controller

Manual Automatic May select both, must select one. Local Setpoint Remote Setpoint May select both, must select one. Manual Automatic Select one
Local Setpoint Remote Setpoint Select one

122

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Power up

N/A

Mode

Power up

N/A

Setpoint

Power Up

Power Up

N/A

Out

Out

Failsafe Out 16

Initial Setpoint Value

Use initial

49

LSP

Initial LSP

50

Value

High Output Use Limit

51

Limit Select Control -

Limit Value

Delay Time 52

Ramp Rate 53

Mode at power up
Setpoint at power up
Output at Power up
Failsafe Output Value Use Initial Local Setpoint
Initial Local Setpoint Value High Limit Override See NOTE 1 Delay Time for High Limit Output Select Ramp Rate for High Limit Output Select

Manual Retain Last Mode Same mode (auto or manual) Select one Local Setpoint Retain Last LSP/RSP Same Setpoint (LSP or RSP) Select one LAST OUT - Same as at power down. FAILSAFE - Failsafe output value. ­5 % to 105 % Click on radio button to select
Enter Initial Local Setpoint Value
Click radio button to select.
Enter time in minutes to use TRV as the output high limit. See NOTE 1. Enter Rate in % per minute to ramp 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.
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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

123

November 2020

RSP tab

Table 32 CARB RSP tab configuration parameters

Properties Group Remote Setpoint Source and Units
Ratio/Bias (RSP Input Only)

Parameter
Use RSP Input (EU)
Use RSP Input (%)
Use LSP2 (EU)
No Ratio or Bias
Use Local Bias

Use Bias Input
Local Bias Value (EU)
Ratio

Index # N/A N/A N/A N/A
46 45

Parameter Description
Use Remote Setpoint in Engineering Units
Use Remote Setpoint in Percent
Use Local Setpoint #2 in Engineering Units
No ratio and bias applied to the function block
Use Bias value selected on Tab
Use Bias value attached to an input to the block
Local bias value in engineering units
Gain value for Ratio PID

Value or Selection Click on radio button to select.
Click on radio button to select.
Click on radio button to select.
Click on radio button to select.
Click on radio button to select Enter value at "Local Bias Value" on tab. Click on radio button to select.
Enter local bias value.
­20 to +20

124

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

RANGE/LIMIT tab

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

125

November 2020

Table 33 CARB Range/limit tab configuration parameters

Properties Group Ranging Display
Limiting

Parameter PV High range PV Low Range Decimal Places Units DEV Bar Range (EU) SP High Limit
SP Low limit
Out High Limit
Out Low Limit
SP Rate Down
SP Rate Up

Index # 4 5 N/A N/A N/A 17
18
20
21
41
42

Parameter Description PV High Range Value

Value or Selection ­99999 to 99999

PV Low Range Value

­99999 to 99999

Number of digits to display after decimal point.
Text to display for EU
Deviation Bar Range on Operator Interface
Setpoint High Limit Value prevents the local and remote setpoints from going above the value set here.
Setpoint Low Limit Value prevents the local and remote setpoints from going below the value set here.
Output High Limit Value - is the highest value of output beyond which you do not want the automatic output to exceed
Output Low Limit Value - is the lowest value of output beyond which you do not want the automatic output to exceed
Setpoint Rate Down value when making a setpoint change, this is the rate at which setpoint will change from the original setpoint down to the new one.
Setpoint Rate Up value when making a setpoint change, this is the rate at which setpoint will change from the original setpoint up to the new one.

0 to 5 6 characters ­99999 to 99999 0 to 2.0 Used for anti-soot 0 to 2.0
­5 % to 105 %
­5 % to 105 %
0 (off) to 9999 (eu/min)
0 (off) to 9999 (eu/min)

126

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

TUNING tab

Table 34 CARB Tuning tab configuration parameters

Properties Group Tuning Constants

Parameter Prop Band

Index #
0 PB1 or Gain 1

or Gain

36 PB2 or gain 2

Parameter Description
Proportional Band (PB) - is the percentage of the range of the measured variable for which a proportional controller will produce a 100 % change in its output.
Gain - is the ratio of output change (%) over the measured variable change (%) that caused it.

Value or Selection 0.1 to 1000 0.1% to 1000 %

100 % G =
PB %

where PB is the proportional Band (in %)

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

127

November 2020

Properties Group

Parameter
Reset Minutes or Repeats/ Minute

Index #
2 Reset 1
38 Reset 2

Rate Minutes

Feedforward Gain

FeedForward Gain

Manual Reset

Manual Reset

1 Rate 1 37 Rate 2
43
32

Parameter Description
RESET (Integral Time) adjusts the controller's output according to both the size of the deviation (SP-PV) and the time it lasts. The amount of corrective action depends on the value of Gain.
The reset adjustment is measured as how many times proportional action is repeated per minute (Repeats/minute) or how many minutes before one repeat of the proportional action occurs (Minutes/repeat).
RATE action, in minutes affects the controller's output whenever the deviation is changing; and affects it more when the deviation is changing faster.
Applies Gain to the Feedforward value (FFV). Feedforward Input is multiplied by this value.
MANUAL RESET- is only applicable if you do not use RESET (Integral Time).

Value or Selection 0.02 to 50.00 Must be enabled for PID-B or DUP-B algorithm selections.
0 or 0.1 to 10.00 minutes 0 = OFF
0.0 to 10.0
­100 to 100 (in % of Output)

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.

128

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ACCUTUNEIII tab

Table 35 CARB Accutune III tab configuration parameters

Properties Group Accutune III Type
SP Tuning Direction (For SP Tuning selection) SP Process (For SP Tuning selection)

Parameter Disabled Cycle Tuning
SP Tuning
UP Down
Process Gain
SPTune Change

Index # N/A
N/A 16 57

Parameter Description
Disables Accutune III
Tuning parameter values are derived from the process response to the resultant action of causing the PV to oscillate about the SP value. See note 1.
Tuning based on the process response to a SP change. See note 2
The selection of either UP or DOWN results in the SP Change value added or subtracted from the present SP value.
Gain identification value for the process. This value is used to estimate the size of the initial output step for a SP Tune.
This defines the value of the initial output step change that is used as the target for process identification.

Value or Selection Click on radio button to select. Click on radio button to select.
Click on radio button to select.
Click on radio button to select.
Range is 0.10 to 10.0 Normal value is 1.
Range is: 5 to 15 percent.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

129

November 2020

PV Adaptive

Disable

N/A

Tuning

Enable

N/A

Tuning Criteria

Normal

N/A

Fast

N/A

Duplex Tuning

Disable

N/A

(Active for Algorithm DUPA or DUPB on General Tab with Cycle Tuning)

Manual

Automatic

Disables PV Adaptive tune
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. See note 3
Very conservative tuning designed to calculate critically damped tuning parameter values that produce minimal overshoot.
More aggressive tuning than Norma. Designed to calculate under damped parameter values providing faster control to the setpoint but may have some overshot.
Disable -Duplex type tuning is disabled and simplex type tuning is used instead.
Manual - Tuning must be initiated manually for each side. The current LSP or RSP value is used as the target SP for the desired heat or cool side tuning. For the heat side, the output cycles between 50 percent and the high output limit and for the cool side the output cycles between 50 percent and the low output limit. Tuning values are calculated and stored only for the side tuned.

Click on radio button to select. Click on radio button to select.
Click on radio button to select.
Click on radio button to select.

Heat and Cool tuning are sequentially performed automatically. During the operation of this tuning the target SP used is the midpoint between the high output limit and 50 percent for the heat side and the low output limit and 50 percent for the cool side. During tuning for each side the cycling of the output results in the PV oscillating around the target SP value. From the data gathered during the oscillations, tuning values are calculated and stored for each side. After tuning on both sides is completed, the process SP is returned to the value of the last SP used prior to the initiation of the tuning procedure.

130

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Enable Fuzzy Overshoot Suppression

34

Fuzzy Overshoot Suppression minimizes overshoot after a setpoint change or a process disturbance.

The fuzzy logic observes the speed and direction of the PV

Click on block to select

signal as it approaches the setpoint and temporarily modifies the internal controller response action as necessary to avoid

an overshoot.

There is no change to the PID algorithm, and the fuzzy logic does not alter the PID tuning parameters.

This feature can be independently Enabled or Disabled as required by the application to work with "TUNE" On-Demand tuning.

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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

131

November 2020

ALARMS tab

Table 36 CARB Alarms tab configuration parameters

Properties Group Alarm 1
Alarm 2 Alarm Hysteresis

Parameter Setpoint 1
Type
Setpoint 2 Type Setpoint 1 Type Setpoint 2 Type Hysteresis

Index # 23
N/A
24 N/A 25 N/A 26 N/A 31

Parameter Description Alarm 1 Setpoint 1 Value this is the value at which you want the alarm type chosen below to activate Alarm 1 Setpoint 1 Type select what you want Alarm 1 Setpoint 1 to represent.
Alarm 1 Setpoint 2 Value Alarm 1 Setpoint 2 Type Alarm 2 Setpoint 1 Value Alarm 2 Setpoint 1 Type Alarm 2 Setpoint 2 Value Alarm 2 Setpoint 2 Type Alarm Hysteresis in %

Value or Selection
­99999 to 99999 in Engineering Units
Selections: NO ALARM PV_HIGH PV_LOW DEV_HIGH DEV_LOW SP_HIGH SP_LOW OUT_HIGH OUT_LOW
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
Same as Alarm 1 Setpoint 1
0 % to 5 %

132

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

CARBON POTENTIAL tab

Table 37 Carbon Potential tab configuration parameters

Properties Group

Parameter

Index #
Rev. 4.0 and higher/
Rev. 3.x and lower

Parameter Description

Furnace Properties

Furnace Factor

68/57

Allows you to adjust the % Carbon as measured by the controller to agree with the results of actual shim stock tests. This adjustment may be needed to correct for specific furnace characteristics such as atmosphere differences, probe location, and furnace leaks.

Use Anti soot constant

69/58

Activates anti-sooting feature that limits the working setpoint of the carbon control loop to a value that prevents sooting in the furnace.

Low Temperatu re Limit

71/60

Holds controller output to 0 % until limit is exceeded.

Temperatu 70/59 re Units

Probe temperature units for display.

Percent Hydrogen

73/62

Percent Hydrogen

Value or Selection
­0.5 %C to +0.5 %C
Click on block to select SP HLIM is used for anti-soot. 0 to 2500 degrees F (1400° recommended) Unit should match C/F selection Click on radio button to select Fahrenheit or Centigrade 1 to 100 default = 40

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

133

November 2020

CO Properties

%CO

66/55

O2 Probe Manufacturer

Use Actual % CO
Carbon Probe Vendor

67/56 N/A

Allows you to adjust % Carbon measurement to compensate for variations in the amount of CO in the carrier gas.
Function block will use the actual % Carbon Monoxide that is defined through an analog input.

2.0 to 35.0 default = 20
Click on block to select

Select from Drop Down List of Manufacturers.

 Advanced Atmosphere Control Corp.
 Furnace Control Corp.
 Marathon Monitors
 Super Systems Inc.

134

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 23 shows Function Block Diagrams using a CARB function block.

Carbon Potential Probe Burn-off
Application:
To clean a carbon probe periodically by blowing air across it for a specific time.
In this configuration, a periodic timer generates a pulse a designated time interval which suspends automatic control and energizes a relay output to cause air flow for a probe burn off cycle. Timers determine the probe burn-off period and allow time for the probe recovery before returning the loop to automatic control.

Configuration Notes:
Select probe Mfg.. type O2 probe input: 0 to 2 V. (0 to 2000 range) Select T/C type J or K etc..

Timing Diagram

PTMR Output

MDSW Output Burnoff Time
Time Delay to AUTO

Auto

Manual Off delay #1

Auto

Off delay #2

Figure 23 CARB function block examples

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

135

November 2020

CAVG Continuous Average Function Block
Description The CAVG label stands for Continuous Average.

This block is part of the Calculations category.
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.

136

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box. Configuration parameters
Table 38 Continuous average configuration parameters

Properties Group Set Avg. Period

Parameter
Averaging Period

Index # 0

Parameter Description
Time period in which the Continuous Average will be calculated. 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.

Value or Selection
0.1 to 1440.0 in minutes

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

137

November 2020

Example Figure 24 shows a Function Block Diagram using a CAVG function block.

Figure 24 CAVG function block example

138

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

CMPR Comparison Calculation Function Block
Description The CMPR label stands for Comparison Calculation.
This block is part of the Calculations category. 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 25 shows a Function Block Diagram using a CMPR function block to open a vent if input 1 is higher than input 2.

Figure 25 CMPR function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

139

November 2020

DC Device Control Function Block
Description The DC label stands for Device Control.

This block is part of the Auxiliary category.
Function
The Device Control function block is normally used to control pumps. Based on certain events listed in Table 39 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.

140

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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.
Conditions for transition from FAIL to READY state
One of the following conditions must occur to transition from the FAIL state to the READY state:
a) If a Feedback error is the initial reason for the failure, then a manual reset is the only method for returning to the Ready state.
b) If Automatic-Reset is selected, then you return to the Ready state when Device Failure input turns OFF.
c) If Automatic-Reset is not selected, then you return to the Ready state when Device Failure input is OFF and the Reset input transitions OFF to ON.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

141

November 2020

Monitored events and device states Table 39 shows which events are monitored in each state. Table 39 Monitored events and device states

MONITORED EVENTS
Run Request turns ON Run Request turns OFF Disable (ON) Disable (OFF) Feedback from Device Device (ERR) Fail ON Device (ERR) Fail OFF

READY (Note 1)
X
X
X

Reset (Rising Edge)
Start Delay Timer Expires (edge)
Feedback Timer Expires (edge)
Stop Delay Timer Expires (edge)

PRESTART
X X
X

DEVICE STATES
STARTING RUNNING DISABLED (Notes 1,2)

X

X

X

X

X

X

X

X

X

STOPPING FAILED X
X
X X
Note 3 X

X

X

X

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.

142

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box. Configuration parameters
Table 40 Device control function block parameters

Properties Group Display

Parameter Tag Name
Descriptor

Settings

On Delay Time (sec)

Off Delay Time (sec)

Index # N/A N/A 1
2

Parameter Description
16-character tag name (ASCII characters only) Block description

Value or Selection
16 characters maximum (ASCII characters only)

Starting Time ­ time delay between RUN request and Output ON.

Range: 0 ­ 99999 seconds (default 0)

This parameter is configurable from the Operator Interface.

Stopping Time ­ time delay before the Output turns OFF after and OFF request.

Range: 0 ­ 99999 seconds (default 0)

This parameter is configurable from the Operator Interface.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

143

November 2020

Properties Group

Parameter Feedback Delay Time (sec)
Automatic Reset (Click on Box to turn ON)

Index # 3
0

Parameter Description
Feedback-Fail-Delay: if during this time-period there is no feedback from a device confirming the control is in the Running state, then the block enters the FAIL state and Out is turned OFF.
If a device sends feedback during this time-period, then this timer is reset.
This parameter is configurable from the Operator Interface.
if set to AUTO, then the block will reset itself after the failure (Fail input) turns off. If set to MANUAL, a Reset (signal input or from the Operator Interface station) is required to remove the failure condition. This parameter is determined when the block is configured.

Value or Selection Range: 0 ­ 99999 seconds (default 0)
ON = Automatic Reset (box selected) OFF = Manual Reset (box deselected)

Example Figure 26 shows a Function Block Diagram using a Device Control function block to control a pump to fill a tank.
Tank Level Input

Tank Level SP

Pump Output Control

OO
Reset
Tank Overflow

Pump Overheat Signal Pump Running Signal
Figure 26 DC function block example

144

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

DCMP Deviation Compare Function Block
Description The DCMP label stands for Deviation Compare.

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
ATTENTION
All inputs should be used or a single value should be connected to multiple inputs. Unused inputs will default to 0.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

145

November 2020

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 41 DCMP configuration parameters

Properties Group Set Properties

Parameter
Plus Deviation
Minus Deviation

Index # 0
1

Parameter Description
Plus value deviation from reference point
Minus value deviation from reference point

Value or Selection Within the range of the inputs
Within the range of the inputs

Example
Figure 27 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.

Figure 27 DCMP function block example

146

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

DDEC Digital Decoder Function Block
Description The DDEC label stands for Digital Decoder.

This block is part of the Auxiliary category.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

147

November 2020

Example Figure 29 shows a Function Block Diagram using a DDEC function block.
Figure 28 DDEC function block example

148

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

DENC Digital Encoder Function Block
Description The DENC label stands for Digital Encoder.

This block is part of the Auxiliary category.

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.

IN 1

= Digital Input 1

IN 2

= Digital Input 2

IN 3

= Digital Input 3

IN 4

= Digital Input 4

IN 5

= Digital Input 5

IN 6

= Digital Input 6

IN 7

= Digital Input 7

IN 8

= Digital Input 8

IN 9 IN 10 IN 11 IN 12 IN 13 IN 14 IN 15 IN 16

= Digital Input 9 = Digital Input 10 = Digital Input 11 = Digital Input 12 = Digital Input 13 = Digital Input 14 = Digital Input 15 = Digital Input 16

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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

149

November 2020

Block properties Double click on the function block to access the function block properties dialog box.
Example Figure 29 shows a Function Block Diagram using a DENC function block using multiple digital status to select an appropriate setpoint for a flow loop.
Flow

Temp 1 Temp 2 Pressure 1

Setpoint 1 Setpoint 2 Setpoint 3 Setpoint 4 Setpoint 5 Setpoint 6

To Flow Regulator

Pressure 2

Figure 29 DENC function block example

150

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

DEWP Function Block
Description The DEWP label stands for Dewpoint Calculation.
This block is part of the Calculations category. 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

151

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Configuration parameters

Table 42 Dewpoint function block parameters

Properties Group
Furnace Properties

Parameter
Furnace Factor

Index # 2

Use Anti-

3

Soot

Constant

Low

5

Temperature

Limit

Temperature 4 Units

Percent

7

Hydrogen

Parameter Description
Allows you to adjust the % Carbon as measured by the controller to agree with the results of actual shim stock tests. This adjustment may be needed to correct for specific furnace characteristics such as atmosphere differences, probe location, and furnace leaks.
Activates anti-sooting feature that limits the working setpoint of the carbon control loop to a value that prevents sooting in the furnace.
Holds controller output to 0 % until limit is exceeded.
Probe temperature units for display.
Percent Hydrogen

Value or Selection ­0.5 %C to +0.5 %C
Click on block to select SP HLIM is used for antisoot.
0 to 2500 degrees F (1400° recommended) Unit should match C/F selection. Click on radio button to select. Fahrenheit or Celsius 1 to 100 default = 40

152

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

CO Properties
O2 Probe Manufacturer

%CO

0

Use Actual % 1 CO

Carbon

N/A

Probe

Manufacturer

Allows you to adjust % Carbon measurement to compensate for variations in the amount of CO in the carrier gas.
Function block will use the actual % Carbon Monoxide that is defined through an analog input.
Select from Drop Down List of Manufacturers.

2.0 to 35.0 default = 20
Click on block to select.
 Advanced Atmosphere Control Corp.
 Furnace Control Corp.  Marathon Monitors  Super Systems Inc.

Example
Figure 30 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.

Figure 30 DEWP function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

153

November 2020

DI Function Block
Description The DI label stands for Discrete Input.
This block is part of the I/O Blocks categories. 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.

154

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters

Table 43 Digital input configuration parameters

Properties Group Address

Parameter Rack I/O Module Channel

Index #

Parameter Description

Value or Selection

0 Rack on selected I/O Module

From 1 to 5

Address of select I/O Module

From 1 to 12

Channel on selected I/O Module

From 1 to 16 or 32.

1

If INVERT is selected, OUT = inverse of physical input.

The slash will be present in the CONTACT symbol only when

the invert box is selected on the dialog box. (See below.)

Failsafe

Failsafe ON N/A

Failsafe OFF N/A

Failsafe

N/A

HOLD

set the output of the block to OFF when failure is detected
set the output of the block to ON when failure is detected
hold the output at the last value just prior to the failure being detected

Click on radio button to select
Click on radio button to select
Click on radio button to select

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

155

November 2020

Example Figure 31 shows a Function Block Diagram using DI function blocks in a basic Series Parallel Circuit.

This is a basic series-parallel circuit. If Limit Switch 1 (LS1) is ON and Limit Switch 2 (LS2) is ON, or if pushbutton PB1 is ON, then Solenoid 1 is turned ON, otherwise it is OFF. Note "power flow" can be delivered in either of two paths to the solenoid.

LS 1 LS 2 SOL 1

PB1

Coil

Equivalent Boolean Logic Expression

A = LS1, B = LS2

A

AND Symbol OR Symbol

C = PB1, D = Output B

AND

OR D

(A * B) + C = D

C

HC900 Logic

This uses a basic 2 Input AND block and a 2 Input OR block.

6 Function blocks are used.

Figure 31 Digital input function block example

156

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

DIGIMP Safety Digital Import Function Block
Description The DIGIMP label is short-hand for the Safety Digital Import block.
This block belongs to the Communications category and is only available on SIL certified devices, such as the C30S, C50S, C70S, and C75S using version 6.3x or above. Function
The Safety Digital Import block is a communication block that allows a configuration to import selected digital signals from other external configurations. These signals are exported within an XML file generated by selecting the "Safety Peer Export Enable" option within the Signal Dialog, and then saving the configuration. The XML is saved with the configuration filename, with the `.xml' file extension. With this block, a user is able to share signals between multiple configurations. The Safety Digital Import block has one output for FAIL. The Safety Digital Import block allows the user to set a Failsafe Option for "Off" or "On" or to "Hold" current value. Similar to how a `Connector' functions, the user cannot import a `Process' signal (non-highlighted signal) into `Safety' worksheet. The user is able to import a `Safety' signal (yellow highlighted) into a `Process' sheet however. Inputs
DIS ­ DIS is the Disable pin that disables the digital signal import updates between the two controllers. Attaching a `high' signal to disable sends all signals imported from that controller into failsafe. Attaching the NO_SCAN pin of the corresponding SAFPDE block will associates the failsafe timeout action configured in the SAFPDE block to the DIGIMP block. Outputs
FAIL ­ Failsafe pin to signal that the data has reached its stale limit Block Properties
After adding a Safety Digital Import block, opening the properties will prompt the user to select a `.xml' file from a previously saved configuration with which to import a digital signal from.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

157

November 2020

The above image shows several XML files that are automatically generated after saving a configuration.
After selecting the `.xml' file, the following screen is shown to allow the user to select the digital signal to import:

158

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

The Safety Digital Import have a `Signal Tag', `Description', `Type', external signal `Number', `On Label' and an `Off Label'.
Once a signal is selected, and `OK' is pressed, the block will hold the information from the previous dialog, as shown below:

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

159

November 2020

The Digital Import block now configured.

Configuration Parameters

In the properties page, the user is able to configure the failsafe options for the block only. The user can choose Failsafe to be `Off', `On', or `Hold', which continues to output the last known good value.

Parameter

Index #

Parameter Description

Value Or Selection Default

Failsafe

N/A

Action to be taken when

the block goes to fail. OFF

Hold ­ output will hold to last good state

Click on radio button to select

OFF ­ output will go to

OFF state

ON ­ output will go to ON state

Related Function Blocks SAFPDE ­ Safety Peer Monitor block

160

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Digital Input Voting
Description The DI-V label stands for Digital Input Voting.

This block is part of the I/O Blocks category.
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 Failsafe 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:

In cases 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 cases where two inputs are used: Two inputs have good channels and a validation failure.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

161

November 2020

OR Both inputs have failed channels.
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.

162

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters

Properties Parameter Index # Group

Parameter Description

Value or Selection

Block

Order

N/A Execution Order for Block
To change, See "Execution Order".

Read Only.

Use Input A 4

Enable or Disable Input A

Click on checkbox to select or deselect

Use Input B 5

Enable or Disable Input B

Click on checkbox to select or deselect

Use Input C 6

Enable or Disable Input C

Click on checkbox to select or deselect

Rack

N/A

(for each Input)

Digital Input I/O Module (for N/A

Address

each Input)

This is the address of the selected Enter a value: from 1 to 5. Rack.
Address of selected I/O module Enter a value: from 1 to 12

Channel (for N/A each Input)

Channel on selected I/O Module Enter a value:1 to 16, depending on module type.

Invert

N/A If INVERT is selected, OUT = inverse of physical input.

Click on checkbox to select or deselect

The slash will be present in the CONTACT symbol only when the invert box is selected on the dialog box.

Failsafe

Failsafe - Off N/A Failsafe - On 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.

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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

163

November 2020

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.

164

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

8DI Function Block
Description The 8DI label stands for Eight Point Digital Inputs.

This block is part of the I/O Blocks categories.
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

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

165

November 2020

Block properties

Double click on the function block to access the function block properties dialog box. Configuration parameters
Table 44 Eight Digital input configuration parameters

Properties Group
Input 1 through Input 8

Parameter Rack
I/O Module Channel

Index # 0
1

Parameter Description

Value or Selection

Rack Address of selected I/O Module

From 1 to 12

Address of selected I/O Module

From 1 to 12

Channel on selected I/O Module

1 to 8, 9 to 16, 17 to 24, 25 to 32

If INVERT is selected, OUT = inverse of physical input. The slash will be present in the CONTACT symbol only when the invert box is selected on the dialog box. (See below.)

166

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Failsafe

Failsafe ON N/A

Failsafe OFF N/A

Failsafe

N/A

HOLD

set the output of the block to OFF when failure is detected.
set the output of the block to ON when failure is detected.
hold the output at the last value just prior to the failure being detected.

Select from dropdown menu
for each input.

Example Figure 32 shows a Function Block Diagram using 8 point DI function blocks.

Figure 32 8Point DI function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

167

November 2020

DIV Function Block
Description The DIV label stands for Division Mathematical operation.
This block is part of the Math category. 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. Block Order (Read Only) 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.

168

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 33 shows a Function Block Diagram using a DIV function block.
Figure 33 DIV function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

169

November 2020

DLAY Function Block
Description The DLAY label stands for On Delay/Off Delay Timer.

This block is part of the Counters and Timers categories.
Function Block is configurable as On Delay or Off Delay. For On Delay, output turns ON when timer expires.

For Off Delay, output turns OFF 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.
OUT - For On Delay, output turns ON when timer expires. For Off Delay, output turns OFF when timer expires.

170

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box. Configuration parameters
Table 45 On Delay/Off Delay configuration parameters

Properties Group Timer Mode

Parameter
On Delay Off Delay

Index # N/A

Parameter Description
On Delay: output turns ON after countdown from TSPI value.
Off Delay: output turns OFF after countdown from TSPI value.
The block's graphic indicates the type of delay. See figures above.

Value or Selection
Click Radio Button to select.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

171

November 2020

DO Function Block
Description The DO label stands for Digital Output.
This block is part of the I/O Blocks categories. 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.

172

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters Table 46 Digital output configuration parameters

Properties Group Address
Failsafe

Parameter Rack

Index # N/A

I/O Module Channel

Failsafe ON N/A

Failsafe OFF N/A

Failsafe

N/A

HOLD

1

Parameter Description

Value or Selection

Rack Address of selected I/O Module

From 1 to 12

Address of select I/O Module

From 1 to 12

Channel on selected I/O Module

From 1 to 32 depending on the physical module type DC = 16 or 32 AC = 8 Relay = 4

set the output of the block to OFF when failure is detected.

Click on radio button to select.

set the output of the block to ON when failure is detected.

Click on radio button to select.

hold the output at the last value just prior to the failure being detected.

Click on radio button to select.

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 box. (See below.)

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

173

November 2020

Example
Figure 34 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.

Figure 34 DO function block example

174

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Digital Output Validated
Description The DO-V label stands for Digital Output Validated.

This block is part of the I/O Blocks category.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

175

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

176

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters

Properties Group

Parameter

Address

Rack

I/O Module

Channel

Index # N/A

Failsafe

ON

N/A

OFF

N/A

HOLD

N/A

Invert

Invert

1

Address FB Invert

Rack

N/A

I/O Module

Channel

FB Invert

4

Parameter Description

Value or Selection

Rack address of selected DO module

From 1 to 12

Address of selected DO module

From 1 to 12

Channel number on selected DO module

From 1 to 32, depending on the physical module type ­ DC or AC or Relay

Set the output of the block to ON when failure is detected

Click on radio button to select (Applicable to process worksheet only)

Set the output of the block to OFF when failure is detected

OFF (for safety worksheet)
Click on radio button to select (for process worksheet only)

Hold the output at the last value just prior to the failure being detected

Click on radio button to select (Applicable to process worksheet only)

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.

Rack address of selected feedback DI module

From 1 to 12

Address of the selected feedback DI module

From 1 to 12

Channel number on the selected feedback From 1 to 32 DI module

If FB invert is selected, feedback value is an inverse of applied value.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

177

November 2020

Example
Figure 35 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.

Figure 35 DO-V function block

178

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

8DO Function Block
Description The 8DO label stands for Eight Point Digital Outputs.

This block is part of the I/O Blocks categories.
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 ControlEdge HC900 outputs.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

179

November 2020

Block properties

Double click on the function block to access the function block properties dialog box. Configuration parameters
Table 47 Eight Digital output configuration parameters

Properties Group Output 1 through 8

Parameter Rack

I/O Module Channel

Failsafe

Failsafe ON
Failsafe OFF
Failsafe HOLD

Index # N/A
N/A N/A N/A 1

Parameter Description

Value or Selection

Rack address of selected I/O Module

From 1 to 12

Address of select I/O Module

From 1 to 12

Channel on selected I/O Module

1 to 8, 9 to 16, 17 to 24, 25 to 32

NOTE: If you don't want to use an output pin, leave the Module # and Channel # at 0.

set the output of the block to OFF when failure is detected

Select from dropdown menu

set the output of the block to ON when failure is detected

for each Output.

hold the output at the last value just prior to the failure being detected

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 box. (See below.)

180

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 36 shows a Function Block Diagram using a 8 Point DO function block.
Figure 36 8 Point DO function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

181

November 2020

DSW Digital Switch Function Block
Description The DSW label stands for Digital Switch.

This block is part of the Logic and Fast Logic categories.
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 37 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.

Figure 37 DSW function block example

182

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ENTH Humidity and Enthalpy Function Block
Description The ENTH label stands for Humidity and Enthalpy. This block is part of the HVAC category.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

183

November 2020

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.
Figure 38 ENTH function block example

184

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

FGEN Function Generator Function Block
Description The FGEN label stands for Function Generator - 10 Segment.
This block is part of the Auxiliary category.
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

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

185

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Configuration parameters

Table 48 Function generator configuration parameters

Properties Group Block

Parameter Block Order

Index #

Parameter Description Execution order of the block.

Breakpoints

X1

X2

X3

X4

X5

X6

X7

X8

X9

X10

0

X-value at Input Breakpoint 1

1

X-value at Input Breakpoint 2

2

X-value at Input Breakpoint 3

3

X-value at Input Breakpoint 4

4

X-value at Input Breakpoint 5

5

X-value at Input Breakpoint 6

6

X-value at Input Breakpoint 7

7

X-value at Input Breakpoint 8

8

X-value at Input Breakpoint 9

9

X-value at Input Breakpoint 10

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
­99999 to 999999
­99999 to 999999
­99999 to 999999
­99999 to 999999
­99999 to 999999
­99999 to 999999
­99999 to 999999
­99999 to 999999
­99999 to 999999
­99999 to 999999

186

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Properties Group Clear All Button

Parameter X11 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 Y11

Index #

Parameter Description

10

X-value at Input Breakpoint 11

11

Y-value at Output Breakpoint 1

12

Y-value at Output Breakpoint 2

13

Y-value at Output Breakpoint 3

14

Y-value at Output Breakpoint 4

15

Y-value at Output Breakpoint 5

16

Y-value at Output Breakpoint 6

17

Y-value at Output Breakpoint 7

18

Y-value at Output Breakpoint 8

19

Y-value at Output Breakpoint 9

20

Y-value at Output Breakpoint 10

21

Y-value at Output Breakpoint 11

Click on button to clear all breakpoint values.

Value or Selection ­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

187

November 2020

Examples
Figure 39 shows a function block diagram using a FGEN function block to characterize the PID control loop output for control valve operation using 9 breakpoints.

100%

Compensating for control valve characteristic OUT9

FGEN OUTPUT
0%

OUT8 OUT7

OUT6 OUT5

OUT4

OUT3

OUT2

OUT1

X1 X2 X3 X4 X5 X6

X7

PID OUTPUT 0%

X8 100%

Figure 39 FGEN function block example

188

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

FI Frequency Input
Description The FI label stands for Frequency Input.
This block is part of the I/O Blocks category.
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).
  OUT   Frequency In - Frequency Span Low  * Output EU High - Output EU Low  Output EU Low  Bias
 Frequency Span High - Frequency Span Low 
The generic forcing of outputs is permitted.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

189

November 2020

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).

190

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configurable Parameters

Properties Group Block Address
Frequency Span
Output Range in EU Settings
Failsafe

Table 49 Frequency Input configuration parameters

Parameter Index #

Parameter Description

Order

N/A

Execution Order for Block

Rack

0

Module

0

Channel

0

Set High

7

Input (Hz)

Set Low

8

Input (Hz)

High (EU)

5

Low (EU)

6

Bias

2

Pulse Width 9 (Range)

Filter Time

1

(sec)

Use Value

3

Up scale

4

Down scale 4

HOLD

4

This is the rack address of the PFQ module.
Module address of the PFQ module.
Channel on selected Module.
High frequency value of the input device. Exceeding this limit causes an over-range error.
Low frequency value of the input device. Exceeding this limit causes an under -range error. High range value. Frequency span in Hz is scaled to the output range in EU. Low range value. Frequency span in Hz is scaled to the output range in EU. Bias value added to the output.
The input signal is rejected if it is below this pulse width. The frequency of pulses above this width must be in this frequency range; otherwise the output goes to failsafe and a failureto-convert error occurs. Filter time constant in seconds.
When FAIL is ON output is set to this value.
When FAIL is ON output is set to Upper Range Limit.
When FAIL is ON output is set to Lower Range Limit.
When FAIL is ON output is held.

Value or Selection Read Only. To change block order, right-click on a Function Block and select Execution Order. Enter a value: from 1 to 12. Enter a value: from 1 to 12. Enter a value: from 1 to 4 Enter value in Hz.
Enter value in Hz.
Enter value in EU.
Enter value in EU.
Enter value in EU. 500µsec (10Hz500Hz) 50µsec (10Hz-5KHz) 2.5µsec (10Hz100KHz)
Enter value in seconds. Click to select, enter a value. Click to select.
Click to select.
Click to select.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

191

November 2020

Example Figure 40 FI function block example

192

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

FMON Fault Monitor Function Block
Description The FMON label stands for Fault Monitor.
This block is part of the Alarm/Monitory category. Function
The reaction on detected faults is configurable depending on the applications for which the ControlEdge 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

193

November 2020

Block Properties

Double click on the function block to access the function block properties dialog box .

Configurable Parameters

Properties Group

Parameter

Address

Rack I/O Module

Controller Diagnostics

Index #
N/A

Parameter Description Rack address of selected DO module Address of selected module
Controller diagnostics group

Value or Selection
Enter a value: from 1 to 12
Enter a value: from 1 to 12

Diagnostics

Rack Diagnostics

Module Diagnostics

N/A Rack diagnostics group Module diagnostics group

Select one of the group diagnostics

Set Diagnostics

Select Diagnostic

N/A

Holds the diagnostic of the selected diagnostics group

Select one of the group diagnostic from the drop down list

194

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Fault Monitor Block ­Diagnostics List

Diagnostics Type

Diagnostics

Controller

E1 Port E2 Port IO Port Serial1 Serial2 R-Link

Watchdog Battery1 Battery2 Mode Switch RTC Fail Any Module Error

Rack Diagnostics

Any Module High Temperature No IO Communication
Bad Scanner Version
Power Supply

AI High CJ Temperature
Wrong Module Installed
No Module Communication Module Diagnostics

Bad Channel Bad Module

Possible Cause
E1 port failure.
E2 port failure.
IO port failure.
Serial port1 failure
Serial port2 failure
Failure of the redundancy link between the lead CPU and the redundant CPU
Watchdog reset resulting from software failure.
Controller's battery1 Low
Controller's battery2 Low
Failure in the switch reading
Real Time Clock failed
One of the module diagnostics in the associated rack is set to WRONG MODULE, MODULE NO COMM (if the communications is failing due to the module not installed), BAD MODULE, or BAD CHANNEL.
one of the two CJs on the module is indicating a temperature reading greater than 70 degrees C.
The Main CPU is unable to successfully communicate to an expansion rack that is in its configuration.
The Main CPU determined that its software is not compatible with the scanner module.
The rack diagnostics within Fault monitor block indicates status of redundant power supplies in case of failure or faults. The output of this block can be sent as a input to a HMI for operator intervention or other input block
AI module's one of the two CJs on the module is indicating a temperature reading greater than 70 degrees C.
The module does not agree with the module required for the control scenario.
Main CPU is unable to communicate to the module for one of the following reasons:
Module is not installed
The module cannot communicate with the controller CPU or the expansion rack CPU because of a backplane problem. Module is on an expansion rack and the expansion rack communications are failing
One or more channels in the module are bad.
Module is bad. Module LED flashes to indicate the problem.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

195

November 2020

FRCP Force Present Function Block
Description The FRCP label stands for Force Present. . There are two versions of the block. For SIL certified devices, the block has two output pins, whereas non SIL certified devices have single output pin. The block dimensions also vary for SIL and non SIL devices. This block is part of the Alarms/Monitors category. It is available for Normal Scan only.
Function block for C30S, C50S, C70S, C75S device types.
Function block for C30, C50, C70, C75 device types.
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 FORCED - ON = One or more forces exist in the controller. OFF = No forces exist in the controller. PROCESS - ON = One or more forces exist in the controller on Process Worksheets. OFF = No forces exist in the controller on Process Worksheets. SAFETY - ON = One or more forces exist in the controller on Safety Worksheets. OFF = No forces exist in the controller on Safety Worksheets.

196

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box. Configuration parameters
Table 50 Force Present configuration parameters

Properties Group Block

Parameter Order

Index # N/A

Parameter Description Execution Order for Block

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

197

November 2020

FSS Four Selector Switch Function Block
Description The FSS label stands for Four-Selector Switch.

This block is part of the Logic category.
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 Only one output ON per group, A, B, C, D. If the Operator Interface makes a request and RESET occurs on the same cycle, RESET will take precedence.

198

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.
Configuration parameters Table 51 Four Selector Switch (FSS) configuration parameters for operator interface display

Properties Group Name

Parameter

Index #

Title Bank x Labels X = A, B, C, or D

Descriptor
Bank x Label 1 Bank x Label 2 Bank x Label 3 Bank x Label 4

Parameter Description Enter a Tag Name for the block
Enter a Title for the block Enter a Descriptor for Bank x Labels
Enter a label name for display Enter a label name for display Enter a label name for display Enter a label name for display

Value or Selection 16 Characters (ASCII characters only) 24 characters 16 characters (ASCII characters only) 6 characters 6 characters 6 characters 6 characters

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

199

November 2020

Example Figure 41 shows a Four Selector Switch (FSS) 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.
Figure 41 FSS function block example

200

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

FSYS Fast Logic System Monitor
Description The FSYS label stands for Fast Scan System Status. This block is part of the Alarm/Monitor Blocks category.

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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

201

November 2020

Output NEWSTART RESTART ALM_ACTIV ALM_UNACK HWOK LOWBTRY HITEMP MSTR_FAIL BAD_BLOCK
LOCKED RSV AVAIL
BBLK_CNT

Table 52 Fast logic system status block outputs
Description 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.
ON for one full cycle of control block execution, following power up. [Warm Start]
Alarm Active is ON if any operator panel alarm is ON.
Alarm unacknowledged is ON if any operator panel's alarm is unacknowledged.
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.
Low Battery is ON if the battery is low, Off when battery is good.
High CJ Temperature is ON if the CJ temperature is high on any rack.
Communications Failure is ON when Modbus master diagnostic is not good.
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.
The level of indication provided depends on the software revision:
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.
Revision 4.402 and earlier:
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.
Controller locked in current mode by switch position.
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.
Available in software revision 6.0 and higher.
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.

202

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

HART Command3 - Read Dynamic Variables And Loop Current
Description The HART 3HCMD label stands for HART Command 3. This command gets the loop current and four (predefined) dynamic Variables.

Function Reads the Loop Current and up to four predefined Dynamic Variables. The Loop Current always matches the current that can be measured by a milli-ammeter in series with the field device; this includes alarm conditions and set values.
The Response Data is truncated after the last Dynamic Variable supported by each Device Type. For a given Device Type the number of Response Data bytes must be fixed. In other words, a Device type may not return PV, SV, and TV in one operating mode and later (in a different operating) only return PV and SV.
Input Analog value from specified real I/O address.
^TRICMD = Trigger Command ­
DIS = disable the HART Command3

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

203

November 2020

Output Output
PVLOOPCUR PV_UC PV SV_UC SV TV_UC TV QV_UC QV ERR Pin
DEV_STAT
MSG_STAT Pin
DEV_AVAIL

Format Float Enum Float Enum Float Enum Float Enum Float

Description Primary Variable Loop Current (units of milli-amperes) Primary Variable Units Code Primary Variable Secondary Variable Units Code Secondary Variable Tertiary Variable Units Code Tertiary Variable Quaternary Variable Units Code Quaternary Variable 1 ­ No Comm 2 ­ Bad Channel 3 ­ Dev Info Changed 0 - Primary variable out of limits 1 ­ Non-Primary variable out of limits 2 ­ Analog output #1 saturated 3 ­ Analog output #1 fixed 4 - More status available 5 ­ Cold Start 6 ­ Configuration changed 7 ­ Field device malfunction 0 - No Trigger 1 ­ Triggered 2 ­ Inprogress 3 ­ Updated ON/OFF

204

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block Properties

Configuration Parameters

Properties Group
Block

Parameter Number

Table 53 Command 3 Configuration Parameters

Index Parameter Description #

Value or Selection

N/A Execution Number for Block

Read Only

Address

Order Rack I/O Module Channel

N/A Execution Order for Block

Read Only

This is the address of the selected HART Channel.

Enter a value: from 1 to 16

Address of selected HART Channel.

Enter a value: from 1 to 16

Channel on selected HART Channel.

Enter a value: 3 to 16.

Note: CH-B is Read Only. CH-B value is same as CH-A.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

205

November 2020

HART Command48 - Read Additional Device Status
Description This command read the additional device status bytes. There are 9 additional status bytes but there is only a bit used that is the bit 0 of the Byte 0. When this bit is set to 1 the converter is in excitation fail status and the bit "Device malfunction" is on.

Function This command must be implemented by all devices.
Returns device status information not included in the Response Code or Device Status Byte. This command also returns the results of Command 41, Perform Self Test. Response Bytes 0-5 and 14-24 may contain Device-Specific Status information. Extended Device Status, Device Operating Mode, and Standardized Status 0-3 contain commonly used status information.
Input Analog value from specified real I/O address.
^TRICMD = Trigger Command ­
DIS = disable the HART Command48

206

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Output Output
ERR DEV_STAT
MSG_STAT
DEV_AVAIL Block Properties

Format

Description 1 ­ No Comm 2 ­ Bad Channel 3 ­ Dev Info Changed 0 - Primary variable out of limits 1 ­ Non-Primary variable out of limits 2 ­ Analog output #1 saturated 3 ­ Analog output #1 fixed 4 - More status available 5 ­ Cold Start 6 ­ Configuration changed 7 ­ Field device malfunction 0 - No Trigger 1 ­ Triggered 2 ­ Inprogress 3 ­ Updated ON/OFF

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

207

November 2020

Configuration Parameters

Table 54 Command48 Configuration Parameters

Properties Parameter Group

Index Parameter Description #

Value or Selection

Block

Number

N/A Execution Number for Block

Read Only

Address

Order Rack I/O Module Channel

N/A Execution Order for Block

Read Only

This is the address of the selected HART Channel.

Enter a value: from 1 to 16

Address of selected HART Channel.

Enter a value: from 1 to 16

Channel on selected HART Channel.

Enter a value: 3 to 16.

Note: CH-B is Read Only. CH-B value is same as CH-A.

208

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

HLLM High Low Limiter Function Block
Description The HLLM label stands for High Low limiter.
This block is part of the Auxiliary category. 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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

209

November 2020

Configuration parameters Table 55 High low limit configuration parameters

Properties Group Set Limits

Parameter High Limit Low Limit

Index # 0 1

Parameter Description High limit value for analog (X) value Low limit value for analog (X) value

Value or Selection ­99999 to 999999 ­99999 to 999999

Example
Figure 42 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 HI
X Input X LO

X

HI*

{ Output LO*

OUT

Figure 42 HLLM function block example

210

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

HMON High Monitor Function Block
Description The HMON label stands for High Monitor.
This block is part of the Alarm/Monitor category. 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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

211

November 2020

Configuration parameters Table 56 High monitor function block configuration parameters

Properties Group Set Properties

Parameter Hysteresis

Index # 0

Parameter Description
An adjustable overlap of the On/Off states of the output.

Value or Selection
0 to the Span of Y input in Engineering units.

Example
Figure 43 shows a Function Block Diagram using an HMON function block. It shows a typical output signal response provided by an HMON function block.

Y
X OUT*

} Hysteresis
ON OFF

Figure 43 HMON function block example

212

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

HOA Hand/Off/Auto Switch Function Block
Description The HOA label stands for Hand/Off/Auto Switch.

This block is part of the Auxiliary category.
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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

213

November 2020

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

Table 57 HOA general tab parameters

Properties Group Display
Settings

Parameter Tag Name Descriptor HOA Source
Initial State

Index # N/A
N/A N/A

Parameter Description
16-character tag name (ASCII characters only)
Block description
Determines which devices have permission to write Hand-Off-Auto state change requests.

N/A Start-up state of the function block. User can change the current state from the operator interface if the HOA Source is Local or Both.

Value or Selection
Local (Local Operator Interface) Remote (Serial Communications) Local/Remote Default = Local/Remote OFF HAND AUTO

214

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

FEEDBACK SIGNAL tab
The feedback signal is used for display purposes.
When the HOA block is used in conjunction with a Device Control (DC) block, the feedback is typically referenced to the (STI) status output pin of the DC block. The sample text shown in Table 58 would correspond to the states of the DC 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.
Table 58 HOA feedback signal tab parameters

Sequence Number
1

Parameter Field
Analog Signal Tag List

2

Select/Delete Signal

Action

Selections

Click on a signal Select from all configured

tag in the list

Analog Signal tags listed

Click "Select" at the bottom of the "Analog Signal Tag List" to place highlighted signal tag into the "Selected Signal" field

Comments
The selection is placed in the Selected Signal field on the dialog box. Click on "Delete Signal" at the bottom of the "Analog Signal Tag List" to remove a signal tag from field.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

215

November 2020

Sequence Number
3

Parameter Field
States

Action

Selections

Comments

The state text will be selected for the display based on the numerical value (0 through 8) of the specified analog signal.

Default Text

Enumerated value of selected signal

????????

0

READY

1

PRESTART

2

STARTING

3

RUNNING

4

STOPPING

5

FAILED

6

DISABLED

7

STATE 8

8

You can highlight any state and change the text to whatever you desire for that state.
???????? = Block not used

216

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 44 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.
Level Signal
Feedback

Level Setpoint

Device Control Status

To Pump

AO

OO

O
To Pump

O
H

AO
OO
O
O
H External Hand/Off/Auto Switch

Figure 44 HOA function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

217

November 2020

HSEL High Selector Function Block
Description The HSEL label stands for High Selector.
This block is part of the Signal Selectors category. 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.

218

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 45 shows a Function Block Diagram using an HSEL function block to monitor two analog inputs to activate an alarm signal tag.
Figure 45 HSEL Function Block Example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

219

November 2020

IMM - IO Module Monitor Block
Description The IMM label stands for IO Module Monitor Block.

This block is part of the Alarm/Monitor category.
Function The IMM block has a fault clear input pin used for clearing all the faults of module it is configured for. Each IMM function block requires a rack number, module number. This block provides module diagnostics. This can be used in place of FM (Fault monitor) block also. Note: Field current shown on the block monitor window has an offset of 1-20mA.
Inputs CLRFLT ­ OFF to ON = Clears all the existing faults of module. - ON = Leaves the existing faults in the current status. - OFF = Leaves the existing faults in the current status.
Outputs AIHGCJTEMP = Analog input High CJ Temperature Fault (applies to only UAI module) MISMATCH = Module mismatch fault NOCOMM = No communication fault BADCHANNEL = Bad channel fault BADMODULE = Bad module fault OVERTEMP = Over temperature fault (applies to only UIO module) FLDOVERCRNT = Field Over Current Fault (applies to only UIO module) FLDVLTFLT= Field Volt Fault (applies to only UIO module) DIAGFAIL = Fail Status of diagnostics (applies to only UIO module)

220

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block Properties

Double click on the function block to access the function block properties dialog box. Configurable Parameters

Properties Group Parameter Index #

Parameter Description

Value or Selection

Address

Rack N/A
I/O Module

Rack address of selected DO module Address of selected module

Enter a value: from 1 to 12
Enter a value: from 1 to 12

Example Figure 46 IMM function blockshows a Function Block Diagram using an IMM function block

Figure 46 IMM function block

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

221

November 2020

LDLG Lead/Lag Function Block
Description The LDLG label stands for Lead/Lag.

This block is part of the Auxiliary category.

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:

OUT =

1 + sT2 1 + sT1

x X

s = Laplace operator If T1 = 0, then:

OUT = last X + T2 (X - last X) t

last X = Input value from execution cycle.

t

= Duration of previous cycle time in minutes.

If T2 = 0, then the block functions as a digital lag filter.

 If EN = OFF, or initial start, then: OUT = X.

Inputs X = Analog value (Primary Input) EN = Digital signal (Enable)

Output OUT = Analog value as modified

222

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Configuration parameters

Table 59 Lead lag configuration parameters

Properties Group Time Constants

Parameter
Lag Time (min)
Lead Time (min)

Index # 0 1

Parameter Description
T1 - Lag Time Constant
T2 - Lead Time Constant NOTE: If T2 is set to 0, function becomes a lag filter.

Value or Selection 0.00 to 99.00 minutes 0.00 to 99.00 minutes

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

223

November 2020

Example
Figure 47 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.

X OUT1

Input Lead only

OUT2

Lag only

Figure 47 LDLG function block example

224

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

LMON Low Monitor Function Block
Description The LMON label stands for Low Monitor.
This block is part of the Alarm/Monitor category. 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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

225

November 2020

Configuration parameters Table 60 Low monitor function block configuration parameters

Properties Group Set Properties

Parameter Hysteresis

Index # 0

Parameter Description
An adjustable overlap of the On/Off states of the output.

Value or Selection
0 to the Span of Y input in Engineering units.

Example
Figure 48 shows a Function Block Diagram using an LMON function block. It shows a typical output response provided by a LMON function block.

X Y OUT*

} Hysteresis
ON OFF

Figure 48 LMON function block example

226

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

LPSW Loop Switch Function Block
Description The LPSW label stands for Loop Switch.

This block is part of the Loops category.
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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

227

November 2020

Example Figure 49 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

Figure 49 LPSW function block example

228

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

LSEL Low Selector Function Block
Description The LSEL label stands for Low Selector.
This block is part of the Signal Selectors category.
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 50 shows a Function Block Diagram using an LSEL function block to monitor two analog inputs to activate an alarm signal tag.

Figure 50 LSEL function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

229

November 2020

LTCH Latch Function Block
Description The LTCH label stands for Latch.

This block is part of the Logic and Fast Logic categories.

Function
Latches output (OUT) ON when latch input (L) turns ON and maintain latched output until unlatch input (U) turns ON.

LATCH

INPUT UNLATCH

OUTPUT

ON

OFF

ON

ON

ON

OFF

OFF

ON

OFF

OFF

OFF

LAST 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.

230

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 51 shows a Function Block Diagram using an LTCH function block.

PLC Ladder Logic
An ON Delay timer is added to a basic Start/Stop circuit which activates the ON Lamp. In ladder logic, the DO1 contact status is used to activate the timer and latch in the start pushbutton action. After 20 sec., SOL4 (DO2) is turned ON which is held as long as DO1 is ON.
HC900 Logic
The Start/Stop latch circuit is used since no external confirmation is needed. In this example, the Operator Panel pushbutton switches (F1 and F2) are used to substitute for panel switches. The Push Button function block is used to assign Start to F1 and Stop to F2. The latch output turns on the ON Lamp and starts the timer. After 20 sec., Solenoid 4 is activated. Note: the ON and OFF Delay timers are reset after timeout or if the logic state to the input goes to logic 0 (or low).
5 Function Blocks

Start

Stop On Lamp

DO 1

Start/Stop Circuit

DO 1

DO1

On Timer 1
20 SEC

SOL 4
DO 2

PUMP 1

Figure 51 LTCH function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

231

November 2020

MATH Function Block
Description The MATH label stands for Free Form Math.

This block is part of the Math category.

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.

ATTENTION
A token is an operation, variable, or pair of parenthesis; the end of an equation counts as one token.

232

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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.

OUT = Calculated Output

ATTENTION

 Use only the following words and characters in equations

 +; -; *; /: ^; EXP; LOG10; Ln; Negative (Unary minus);

 ''

Blank space (ignored)

 'a' . . 'h' Variables (operand) either a constant or tag

 ( ), [ ], { } Parentheses - 3 types

 A left parenthesis must have a matching right parenthesis.

 The matching parenthesis must be the same type - e.g., ( ), [ ], or { }.

 Parentheses may be nested to any depth.

 Infix operators: +, -, *, /, ^ must have a left and right operand.

 If the '-' operator only has a right operand, it is interpreted as the Unary minus.

 Function operators: EXP, LOG10, Ln must have an operand to the right, and the operand must be enclosed in parentheses.

Examples: EXP(A), LOG10(b), LN(c), A*(sqrt(B+C))+D, (A+B*C)/D

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

233

November 2020

Block properties

Double click on the function block to access the function block properties dialog box. Configuration parameters
Table 61 Math function block configuration parameters

Properties Group Equations Functions Operators

Parameter
Equation Field
Math Functions
Math Operations

Errors

Error list

Index # N/A

Parameter Description OUT= [equation]

N/A

abs, exp, In, log, neg, sqrt

N/A

+ (add)

- (subtract)

* (multiply)

/ (divide)

^ (power)

N/A

List of equation errors

Value or Selection
Enter the desired equation in this field
Double Click on a function to select from the list box
Double Click on an operation from the list box

234

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example
Figure 52 shows a Function Block Diagram using a MATH function block to determine a general-purpose calculation output.

Figure 52 MATH function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

235

November 2020

Multiple Alarm with Hysteresis
Description The MALM label stands for the Multiple Alarm with Hysteresis. This block is part of the
Alarm/Monitor category. It looks like this graphically.

236

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Function
This block monitors five analog input values (SP1, SP2, SP3, SP4, SP5) and performs up to five alarm comparisons against the PV input. Alarm actions may be high, low or high deviation, low deviation or band deviation, In band deviation. For deviation alarming, a second analog signal provides the reference and set points represent deviation from the reference.
The associated output pins, ALARM1 through ALARM5, will turn ON if the configured alarm condition is present. The individual hysteresis settings for each alarm are used to prevent output cycling.
A user-specified hysteresis value in the engineering units of the process variable is provided.
An on-delay time value 0 to 99999.9 seconds is available to prevent momentary alarm actions. A digital Disable input is available to disable alarm actions.
The alarm output may be inverted to create normally active digital output. A user selection for latching until acknowledged reset is provided.
No Alarm pin is provided to indicate alarm state of this block. ON state indicates there is no alarm activated.
COUT pin is provided in the bottom to cascade high alarm code from the MALM block.

Alarm Type Function (PV>SP) - High Process Variable/Setpoint ALARMx - ON If the PV is greater than the Setpoint* ALARMx - OFF If the PV is less than the Setpoint* minus Hysteresis (PV>CV) High Process Variable/Compare Value ALARMx - ON If the PV is greater than the Compare Value (CV) i.e. Alarm Setpoint ALARMx - OFF If the PV is less than the Compare Value minus Hysteresis (PV<SP) Low Process Variable/Setpoint* ALARMx - ON If the PV is less than the Setpoint* ALARMx - OFF If the PV is greater than the Setpoint* + Hysteresis (PV<CV) Low Process Variable/Compare Value ALARMx - ON If the PV is less than the Compare Value (CV) ALARMx - OFF If the PV is greater than the Compare Value + Hysteresis [(PV-CV)>SP] High Deviation Alarm ALARMx - ON If the PV input minus the CV input is greater than the Setpoint* ALARMx - OFF If the PV input minus the CV input is less than the Setpoint* minus Hysteresis [(CV-PV)>SP] Low Deviation Alarm ALARMx - ON If the CV input minus the PV input is greater than the Setpoint* ALARMx - OFF If the CV input minus the PV input is less than the Setpoint* minus Hysteresis [(PV-CV)>SP] Band Deviation Alarm ALARMx = ON If the absolute value of (PV-CV) is greater than the Setpoint* ALARMx = OFF If the absolute value of (PV -V) is less than the Setpoint* minus Hysteresis [(PV-CV)<SP] In Band Deviation Alarm ALARMx = ON If the absolute value of (PV-CV) is less than the Setpoint* ALARMx = OFF If the absolute value of (PV-CV) is greater than the Setpoint* plus Hysteresis Where x = 1 to 5

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

237

November 2020

Inputs CIN - Input Alarm Code PV - Process Variable CV - Compare Variable DLYOVR - Delay Override DLYOVRVAL - Delay Override Value LATCHx - Latchable Alarm RESETx - Reset the Alarm ONDELAYx - On Dealy DISABLEx - Disable the Alarm Output ALARMx - Alarm status of each alarm No Alarmx - Alarm status of block COUT - Output Alarm code
Block properties Double click on the function block to access the function block properties dialog box.

238

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters Table 62 MALM function block configuration parameters

Parameter Index # Block Order N/A Tag Name N/A Descriptor N/A Alarm Type N/A
5-9 Hysteresis Alarm Code 10-14

Parameter Description Execution Order for Block
16-character tag name (ASCII characters only) Block description Alarm type
Adjustable overlap of the on/off state of the Alarm output Alarm code for each alarm to indicate priority of. High number indicates highest priority among all

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
PV>SP = High Process Variable/Local Setpoint PV>CV = High Process Variable /Compare Value PV<SP = Low Process Variable/Local Setpoint PV<CV = Low Process Variable /Compare Value (PV-CV)>SP = High Deviation Alarm (CV-PV)>SP= Low Deviation Alarm |PV-CV|>SP = Band Absolute Deviation Alarm |PV-CV|<SP = In Band Absolute Deviation Alarm Disabled
0 to the span of the input in engineering units. It is positive value.
It is in the range of 0-1000

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

239

November 2020

STK Stack light
Description The STK label stands for the Stack Light function.

This block is part of the Alarm/Monitor category.
Function
Stack replicates a single stack light function. The stack block drives outputs based on the configured alarm code and assigned action. The assigned actions are OFF, ON or Flash. The flash rate is configured with in the block by setting the ON and OFF times of the alarm code row. The Stack only activates on alarm priorities. The 8 Inputs are for 8 potential MALM FB's to input to the Stack FB.
Inputs IN x - Input Alarm Code from MALM block DISABLE - Disable the Alarm Priorities. [This pin when high overrides all other inputs and configuration conditions] TEST - Enable Test priority FAIL - Enable Fail Priority SILENCE - Silence the Alarm Sound (i.e. HORN = OFF) when silence pin is switched from OFF to ON Where x = {1-8}
Outputs OUT x - Output HORN - Horn/Hooter output Where x = {1-7

240

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties Double click on the function block to access the function block properties dialog box.

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.

Tag Name N/A

16-character tag name (ASCII characters only)

Descriptor N/A

Block description

Alarm Code 0-5 Low

Lower limit for alarm code range It is in the range of 1-1000 Alarm code 0 is used for priority 1.

Alarm Code 6-11 High

Upper limit for alarm code range It is in the range of 1-1000 Alarm code 0 is used for priority 1.

ON time

12-21 On time for flashing

It is in the range of 0-99999.9

OFF Time 22-31 Off Time for flashing

It is in the range of 0-99999.9

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

241

November 2020

MBR Modbus Read Function Block
Description The MBR label stands for Modbus Read. This block is part of the Communications category. It looks like this graphically.

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

242

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties Double click on the function block to access the function block properties dialog box.

1

2
3 4

7

5

6

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 63.
Table 63 MBR function block configuration parameters

Sequence Number
1

Parameter Field

Action

Selections

Click on an Output Pin from the list of pins in the upper portion of the dialog box.

RD1 through RD16

Comments
The selected Output Pin will appear in the Output Pin Field.

2

Click on the "Use

RD1 through

YES will be indicated in

Register" field to assign RD16

the "Register used"

a register to the Output

column when you

pin.

select "Apply

3

Type in the address of

the register (in Hex) on

the slave device

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

243

November 2020

Sequence Number
4

Parameter Field

5

Action

Selections

From the drop down menu, select the Register Data Type

 Float  Unsigned 32  Signed 32  Unsigned 16  Signed 16  Bit Packed  Single Bit

Select a function code for "Float, Unsigned, Signed, or Bit Packed" register data type
Select a function code for "Single Bit" Register data type.

 Read Holding Reg ­ Function Code 03
 Read Input Registers ­ Function Code 04
 Read Coil Status ­ Function Code 01
 Read Input Status ­ Function Code 02

6

Select which bit (0-15)

0 to 15

to read when Register

Data Type = Bit Packed

7

You must press [APPLY] to accept the register changes.

Comments
If read as an integer, the output is converted to a floating point.
Function code 03 or Function code 04 is used to read the contents of input registers in the slave.
Function code 01 is used to read a slave's coil's (discrete output's) ON/OFF status of the slave device in a binary data format.
Function code 02 is used to read a slave's input's (discrete input's) ON/OFF status of the slave device in a binary data format.
Output is floating point equivalent (0.0 or 1.0).
NOTE: Refer to the Communications manual for the function codes supported by the specific device.
If read as a bit packed number, you must select which bit to mask (0-15).
The output will be the floating-point equivalent (0.0 or 1.0) of the masked bit.

244

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 53 shows a Function Block Diagram using Modbus function blocks.

Figure 53 MBR function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

245

November 2020

MBS Modbus Slave Function Block
Description The MBS label stands for Modbus Slave Status. This block is part of the Communications category. It looks like this.

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 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 HC900.
 MBS expects field device to be online & ready for communications on power-up. If devices starting at the same time, it is common to insert time-delay main "Enable" pin on Start or Restart from ASYS. After ~ 10-Bad Attempts, "NO SCAN" pin goes high. Delay between each future interrogation incrementally increases with each check.

246

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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  Integer values are converted to floating point values prior to output.  If a Modbus slave device does not respond to a request, the last output value will be
maintained.
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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

247

November 2020

Table 64 describes the parameters and the value or selection.

248

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 64 MBS Block General tab configuration parameters

Properties Function Configure Modbus Slave
Modbus Double Register Format

Parameter Index # Parameter Description

Value or Selection

Slave Tag

N/A

Description of Slave

Name

Device

16-character tag name (ASCII characters only)

Slave address and Tag Name must be unique within a control file.

Modbus Address

N/A

Address of Slave device

Enter unique address between

on the Modbus link

1 and 247

Default MB address = 255 which means slave will NOT be in scan

Each IEEE 32-bit floating point number requires two consecutive registers (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

FP B

Floating Point Big Endian Format 4, 3, 2, 1

FP BB

Floating Point Big Endian with byte-swapped

3, 4, 1, 2

FP L

Floating Point Little Endian Format 1, 2, 3, 4

FP LB

Floating Point Little Endian with byte-swapped

2, 1, 4, 3

READ tab It looks like this graphically.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

249

November 2020

Table 65 describes the parameters and the value or selection.

250

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 65 MBS Block Read tab configuration parameters

Properties Function Edit Output Pins

Parameter Output Pin

Index # N/A

Parameter Description Output pin designation

Use Register N/A

Register Request

Address (hex)

N/A

Register Address

Register

N/A

Register data type

Data Type

Value or Selection
Register request assigned to RD1, RD2, RD3, or RD4 pin
Click on the "Use Register" field to assign a register to the Output pin.
Type in the address of the Read register (in Hex) on the slave device NOTE: A single configuration may contain up to 256 enabled registers.
From the drop down menu, select the Register Data Type
 Float
 Unsigned 32
 Signed 32
 Unsigned 16
 Signed 16
 Bit Packed
 Single Bit
If read as an integer, output is converted to floating point equivalent.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

251

November 2020

Properties Function

Parameter
Function Code

Select Bit

Index # N/A
N/A

Parameter Description Several standard Modbus RTU function codes are supported. These standard function codes provide basic support for IEEE 32-bit floating point numbers and 16-bit integer register representation of instrument's process data
Bit to read when Read register's data type = Bit Packed You must then select which bit to mask (0-15). The output will be the floating-point equivalent (0.0 or 1.0) of the masked bit.

Value or Selection
Function code 03 ­ Read Holding Registers or Function code 04 ­ Read Input Registers is used to read the contents of input registers in the slave.
Supported Data Types for Function Codes 03 and 04. From the drop down menu, select a function code for "Float, Unsigned, Signed, or Bit Packed" register data type
Function code 01 ­ Read Coil Status is used to read the coil's (discrete output's) ON/OFF status of the slave device in a binary data format.
Function code 02 ­ Read Input Status is used to read the input's (discrete input's) ON/OFF status of the slave device in a binary data format.
Supported Data Types for Function Codes 01 and 02. Select a function code for "Single Bit" Register data type.
NOTE: Refer to the Communications manual for the function codes supported by the specific device.
0-15

Write tab It looks like this graphically. Table 66 describes the parameters and the value or selection.

252

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 66 MBS Block Write tab configuration parameters

Properties Function Edit Input Pins

Parameter Input Pin

Index # N/A

Parameter Description Input pin designation

Use Register

N/A

Register Request

Address (hex)
Register Data Type

N/A Register Address N/A Register data type

Value or Selection
Register request assigned to WR1,WR2,WR3, or WR4 pin
Click on the "Use Register" field to assign a register to the Input pin.
Type in the address of the Write register (in Hex) on the slave device
From the drop down menu, select the Register Data Type
 Float
 Unsigned 32
 Signed 32
 Unsigned 16
 Signed 16
 Single bit

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

253

November 2020

Properties Function

Parameter
Function Code

Index # N/A

Parameter Description
Several standard Modbus RTU function codes are supported. These standard function codes provide basic support for IEEE 32-bit floating point numbers and 16-bit integer register and single bit representation of instrument's process data
Preset Single Registers ­ Function Code 06
Preset Multiple Registers ­ Function Code 10 hex

Value or Selection
The function code for "Unsigned 16 or Signed 16," register data type is 06 ­ Preset Single Registers* presets integer value into a single register..
The function code for "Float, Unsigned 32 or Signed 32," register data type is 10 hex ­ Preset Multiple Registers* presets values into holding registers.
*automatically selected when you select "Register Data Type"
NOTE: Refer to the Communications manual for the function codes supported by the specific device.

254

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 54 shows a Function Block Diagram using Modbus function blocks.

Figure 54 MBS function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

255

November 2020

MBW Modbus Write Function Block
Description The MBW label stands for Modbus Write. This block is part of the Communications category. It looks like this graphically.

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

256

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties Double click on the function block to access the function block properties dialog box.

1

2

3 4

6 5

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 67.
Table 67 MBW function block configuration parameters

Sequence Number
1

Parameter Field

2

Action

Selections

Click on an Input Pin from the list of pins in the upper portion of the dialog box.
The selected Input Pin will appear in the "Input Pin" Field.
Click on the "Use Register" field to assign a register to the Input pin.
YES will be indicated in the "Register Used" column when you select "Apply" .

WR1 through WR8 WR1 through WR8

Comments

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

257

November 2020

Sequence Number
3

Parameter Field

Action
Type in the address of the register (in Hex) on the slave device

Selections

Comments

4

From the drop down

 Float

Several standard

menu, select the Register Data Type

 Unsigned 32

Modbus RTU function codes are supported.

 Signed 32

These standard function codes provide

 Unsigned 16

basic support for IEEE 32-bit floating point

 Signed 16

numbers and 16-bit

integer register

 Single bit

representation of

instrument's process

data. (see Sequence

Number 5 below)

5

The function code for

 Preset Single

Function code 06

"Unsigned 16 or

Registers ­

presets integer value

Signed 16 register data

Function

into a single register.

type is (06)*

Code 06

Function Code 10 hex

 Preset Multiple presets values into

The function code for "Float, Unsigned 32 or Signed 32 register data

Registers ­ Function Code 10 hex

holding registers.
NOTE: Refer to the Communications

type is (10 hex)*

manual for the function

codes supported by the

specific device.

*automatically selected when you select "Register Data Type"

6

You must press [APPLY] to accept the register changes.

258

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 55 shows a Function Block Diagram using an Modbus function blocks.

Figure 55 MBW function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

259

November 2020

MDSW Mode Switch Function Block
Description The MDSW label stands for Mode Switch.
This block is part of the Loops category. 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.

260

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 56 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.
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.

Figure 56 MDSW function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

261

November 2020

MDFL Mode Flag Function Block
Description The MDFL label stands for Mode Flag.

This block is part of the Loops category.

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.

262

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 57 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.

Figure 57 MDFL function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

263

November 2020

MMA Min/Max/Avg Function Block
Description The MMA label stands for Min-Max-Average-Sum.

This block is part of the Calculations category.
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 [DEV *SDEV] i.e., the configured number (DEV) of standard deviations (SDEV), from the average are not used to calculate the MIN, MAX, AVG, and SUM outputs;  if any input deviates more than [DEV *SDEV] i.e., the configured number (DEV) of standard deviations ALM turns ON;

264

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

 if all inputs deviate more than [DEV *SDEV] i.e., the configured number (DEV) of standard deviations(SDEV), then the MIN, MAX, AVG, and SUM outputs all equal zero (0), and ALM turns ON.

 Standard Deviation (SDEV) =

i = n 

(Xi - X)2

i = 1

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

Double click on the function block to access the function block properties dialog box.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

265

November 2020

Configuration parameters Table 68 Min/Max/Ave/Sum function block configuration parameters

Properties Group
Set Calculation Parameters

Parameter Inputs Used
Standard Deviations

Index # N/A
1

Parameter Description
Number of inputs connected to block
(Connect inputs in numerical order; that is, unused inputs from the bottom up - X6, X5, etc.)
Unused inputs default to 0.
Number of standard deviations within which inputs are used for calculation

Value or Selection 1 to 6
­99999 to 99999 <0 No Standard
Deviation =0 Standard Deviation
with no alarm >0 Standard Deviation
with alarm

Example
Figure 58 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).

Figure 58 MMA function block example

266

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

8MMA ­ Similar to the original MMA with auto-pruning of input channel used in the calculation.

Description
The 8MMA label stands for Eight Min-Max-Average-Sum. This block is part of the Calculations category.
Function
Accepts inputs from up to eight analog input values (X1 ­ X8) with individual disables and calculates these values for output:
MINimum input value MAXimum input value AVeraGe of input values SUM of input values Standard DEViation value ALarM output for deviations

Turns ON ALM when any input is outside the configured number of standard deviations when the configuration parameter DEV > 0.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

267

November 2020

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, but ­ 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 [DEV * SDEV] i.e. the configured number (DEV) of standard deviations(SDEV), from the average are not used to calculate the MIN, MAX, AVG, and SUM outputs. ­ if any input deviates more than [DEV * SDEV] i.e. the configured number (DEV) of standard deviations (SDEV), ALM turns ON. ­ if all inputs deviate more than [DEV * SDEV] i.e. the configured number (DEV) of standard deviations(SDEV), then the MIN, MAX, AVG, and SUM outputs all equal zero (0), and ALM turns ON.

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. X7 = Seventh analog value. X8 = Eight analog value. Dis X1 = Disable X1 Input. Dis X2 = Disable X2 Input. Dis X3 = Disable X3 Input. Dis X4 = Disable X4 Input. Dis X5 = Disable X5 Input. Dis X6 = Disable X6 Input. Dis X7 = Disable X7 Input. Dis X8 = Disable X8 Input.

268

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27 November 2020

Output
MIN = Calculated minimum enabled analog value. MAX = Calculated maximum enabled analog value. AVG = Calculated average of enabled analog values. SU = Calculated sum of enabled 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.

Configurable Parameters

Parameter
Standard Deviations

Index# 1

Description

Value or Selection

Number of standard deviations within which inputs are used for calculation

­99999 to 99999 <0 No Standard Deviation =0 Standard Deviation with no alarm

>0 Standard Deviation with alarm

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

269

November 2020

MSF Mass Flow Calculation Function Block
Description The MSF label stands for Mass Flow Calculation.

This block is part of the Calculations category.

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

= (Ky * Y) + By; where:

Ky = Pressure scaler for desired engineering units Y = Gas pressure analog input value By = Pressure bias in desired engineering units

T

= Absolute gas temperature which

= (Kz * Z) + Bz; where:

Kz = Temperature scaler for desired engineering units Z = Gas temperature analog input value Bz = Temperature bias in desired engineering units

If (Kz* Z) + Bz = 0, then: OUT = 0

 If calculation is <= Dropoff, OUT = 0, else OUT = Calculation

270

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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 Table 69 Mass flow function block configuration parameters

Properties Group
Set Calculation Parameters

Parameter Kq
Kx Ky Kz By Bx Bz Low Cutoff

Index # 0

Parameter Description Orifice constant

1

Delta pressure scaler

2

Pressure scaler

3

Temperature scaler

4

Pressure bias

5

Delta pressure bias

6

Temperature bias

7

Low Dropoff Value sets the

output to zero when the

calculation is below this limit.

Value or Selection ­99999 to 999999
­99999 to 999999 ­99999 to 999999 ­99999 to 999999 ­99999 to 999999(EU) ­99999 to 999999(EU) ­99999 to 999999(EU) 0 to 99999 in Engineering Units

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

271

November 2020

Example Figure 59 shows a MSF Function Block Diagram using inputs to calculate a mass flow output.
Figure 59 MSF function block example

272

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

MUL Multiplier Function Block
Description The MUL label stands for Multiplication Mathematical operation (2 Inputs).
This block is part of the Math category.. 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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

273

November 2020

Example Figure 60 shows a Function Block Diagram using a MUL function block
Figure 60 MUL function block example

274

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

4MUL Multiplier (4 input) Function Block
Description The 4MUL label stands for Multiplication Mathematical Operation (4Inputs).

This block is part of the Math category.
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.
Example Figure 61 shows correct and incorrect example of a 4MUL function block. Note that all unused inputs must be connected to a constant value of one.

CORRECT

INCORRECT

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

275

November 2020

Figure 61 4MUL function block example

276

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

NEG Negate Function Block
Description The NEG label stands for Negate.

This block is part of the Calculations category.
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 62 shows a Function Block Diagram using a NEG function block.

Figure 62 NEG function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

277

November 2020

NOT Function Block
Description The NOT label stands for the NOT Boolean logic function or Logic Inverter.
This block is part of the Logic and Fast Logic categories.. 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 63 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).

Figure 63 NOT function block example

278

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ONDT On Delay Timer Function Block
Description The ONDT label stands for the On Delay Timer.

This block is part of the Fast Logic and Counters/Timers categories.

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 Output 0

On Delay

Input RUN = Logic Input
Output OUT = Logic Output

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

279

November 2020

Block properties

Double click on the function block to access the function block properties dialog box. Configuration parameters
Table 70 On delay timer function block example

Properties Group Time Delay

Parameter Time delay

Index # 0

Parameter Description
Delay Time - specifies the amount of time the ON state logic output will occur after an OFF to ON transition of the RUN input.

Value or Selection
0.1 sec, 0 to 99999.9
Enter as 0.1 to 99999 in 0.1 increments

280

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 64 shows a Function Block Diagram using an ONDT function block.

PLC Ladder Logic
The application requirement is to turn on a pump, a compressor, etc. for a fixed period of time - a common use for timers. This application, the turn on of Pump2 for 300 sec., requires two additional rungs of ladder logic. After SOL4 is turned ON, SOL 5 (Pump 2) is also turned ON since CR1 (NC) is OFF (logic true). When ON Delay Timer 2 times out after 300 sec., the CR1 coil is turned ON which turns off SOL 5.
HC900 Logic

Start

Stop On Lamp

DO 1
ON Timer 1
DO 1 20 SEC

DO 2 ON Timer 2
DO 2 300 SEC

CR1

DO 1
SOL 4
DO 2
SOL 5
DO 3
CR1

In HC900 logic, the output of ONDT4 timer activates tOhNeDT1 timer directly and is also an input for a 2-IN AND gate, whose output activates the DO for SOL5. After ONDT1 times for 300 sec., its output turns ON, disabling the AND gate output which de-energizes the DO. Three (3) additional function blocks are used.
Figure 64 ONDT function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

281

November 2020

OFDT Off Delay Timer Function Block
Description The OFDT label stands for the Off Delay Timer.

This block is part of the Fast Logic and Counters/Timers categories.

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
0

Off Delay

Input RST = Logic Input
Output OUT = Logic Output

282

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box. Configuration parameters
Table 71 Off delay timer configuration parameters

Properties Group Time Delay

Parameter Time delay

Index # 0

Parameter Description
Delay Time - specifies the amount of time the OFF state logic output will occur after an ON to OFF transition of the Reset input.

Value or Selection
0.1 sec, 0 to 99999.9
Enter as 0.1 to 99999 in 0.1 increments.

Example
Figure 65 shows a Function Block Diagram using an OFDT 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 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 OFDT2 output

Off delay

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

283

November 2020

Figure 65 OFDT function block example
ON/OFF Function Block
Description The ON/OFF label stands for the On/Off Control function.

This block is part of the Loops category.
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

284

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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
When a request to change from Auto to manual is received and:
 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

285

November 2020

GENERAL tab

Table 72 ON/OFF General tab configuration parameters

Properties Function Block

Parameter Order

Index # N/A

Parameter Description Execution Order

Control

Tag Name

N/A

Descriptor

N/A

Direction

N/A

16-character tag name (ASCII characters only)
Block description
Control Action

SP Tracking N/A

Setpoint Tracking

Hysteresis

19

Output Hysteresis

Value or Selection Read Only. To change block order, right-click on a Function Block and select Execution Order.
REVERSE - Proportional action causes output to decrease as process variable increases. DIRECT - Proportional action causes output to increase as process variable increases. 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. 0 % to 10 % of input span

286

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

START/RESTART tab

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

287

November 2020

Modes and Setpoints
Power Up Out Initial Setpoint Value

Table 73 ON/OFF Start/Restart tab configuration parameter

Permitted Mode

MAN 4 AUTO 5

Mode permitted for the initial start and power up mode.

Manual Automatic May select both, must select one.

Permitted Setpoint

LSP 6 RSP 7

Setpoint permitted for the initial start and power up mode.

Local Setpoint Remote Setpoint May select both, must select one.

Initial Mode N/A

Setpoint for N/A Initial Mode

Power up

N/A

Mode

Power up

N/A

Setpoint

Power Up

N/A

Out

Failsafe Out 29

Use initial

30

LSP

Mode at NEWSTART Newstart is the first scan cycle following the cold start of the controller Setpoint at NEWSTART Newstart is the first scan cycle following the cold start of the controller Mode at power up
Setpoint at power up
Output at Power up
Failsafe Output Value Use Initial Local Setpoint

Manual Automatic Select one
Local Setpoint Remote Setpoint Select one
Manual Retain Last Mode Same mode (auto or manual) Select one Local Setpoint Retain Last LSP/RSP Same Setpoint (LSP or RSP) Select one LAST OUT - Same as at power down. FAILSAFE - Failsafe output value. ­5 % to 105 % Click on radio button to select.

Initial LSP

31

Value

Initial Local Setpoint Value

Enter Initial Local Setpoint Value.

288

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

RSP tab

Table 74 ON/OFF RSP tab configuration parameters

Properties Function
Remote Setpoint Source and Units

Parameter Index #
Use RSP Input N/A (EU)
Use RSP Input (%)
Use LSP2 (EU)

Parameter Description
Use Remote Setpoint in Engineering Units
Use Remote Setpoint in Percent
Use Local Setpoint #2 in Engineering Units

Value or Selection Click on radio button to select Click on radio button to select Click on radio button to select

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

289

November 2020

RANGE/LIMIT tab

Properties Function Ranging Display
Limiting

Table 75 ON/OFF Range/limit tab configuration parameters

Parameter

Index #

Parameter Description

Value or Selection

PV High range

0

PV Low Range

1

Decimal Places

N/A

Units

N/A

DEV Bar Range

N/A

(EU)

SP High Limit

12

SP Low limit

13

SP Rate Down

15

SP Rate Up

16

PV High Range Value
PV Low Range Value
Number of digits to display after decimal point.
Text to display for EU
Deviation Bar Range on the Operator Interface
Setpoint High Limit Value prevents the local and remote setpoints from going above the value set here.
Setpoint Low Limit Value prevents the local and remote setpoints from going below the value set here.
Setpoint Rate Down value - when making a setpoint change, this is the rate at which setpoint will change from the original setpoint down to the new one.
Setpoint Rate Up value - when making a setpoint change, this is the rate at which setpoint will change from the original setpoint up to the new one.

­99999 to 99999 ­99999 to 99999 0 to 5 6 characters ­99999 to 99999 ­99999 to 99999
­99999 to 99999
0 (off) to 9999 (eu/min)
0 (off) to 9999 (eu/min)

290

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ALARMS tab

Table 76 ON/OFF Alarm tab configuration parameters

Properties Function
Alarm 1

Parameter Setpoint 1

Type

Setpoint 2

Type

Alarm 2

Setpoint 1

Type

Setpoint 2

Type

Alarm Hysteresis %

Index #

Parameter Description

Value or Selection

20

Alarm 1 Setpoint 1 Value - this is ­99999 to 99999 in

the value at which you want the

Engineering Units

alarm type chose below to activate

N/A

Alarm 1 Setpoint 1 Type - select

Selections:

what you want Alarm 1 Setpoint 1

NO ALARM

to represent.

PV_HIGH

PV_LOW

DEV_HIGH

DEV_LOW

SP_HIGH

SP_LOW

OUT_HIGH

OUT_LOW

21

Alarm 1 Setpoint 2 Value

Same as Alarm 1 Setpoint 1

N/A

Alarm 1 Setpoint 2 Type

Same as Alarm 1 Setpoint 1

22

Alarm 2 Setpoint 1 Value

Same as Alarm 1 Setpoint 1

N/A

Alarm 2 Setpoint 1 Type

Same as Alarm 1 Setpoint 1

23

Alarm 2 Setpoint 2 Value

Same as Alarm 1 Setpoint 1

N/A

Alarm 2 Setpoint 2 Type

Same as Alarm 1 Setpoint 1

28

Alarm Hysteresis in %

0 % to 5 %

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

291

November 2020

Example Figure 66 shows a Function Block Diagram using an ON/OFF function block.
Figure 66 ON/OFF function block example

292

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

2OR Function Block
Description The 2OR label stands for the inclusive OR (2 Inputs) Boolean logic function.
This block is part of the Logic and Fast Logic categories. 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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

293

November 2020

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 67 shows a Function Block Diagram using a 2OR function block.

This is a basic series-parallel circuit. If Limit Switch 1 (LS1) is ON and Limit Switch 2 (LS2) is ON, or if pushbutton PB1 is ON, then Solenoid 1 is turned ON, otherwise it is OFF. Note "power flow" can be delivered in either of two paths to the solenoid.

LS 1 LS 2 SOL 1

PB1

Coil

Equivalent Boolean Logic Expression

A = LS1, B = LS2

A

AND Symbol OR Symbol

C = PB1, D = Output B

AND

OR D

(A * B) + C = D

C

HC900 Logic

This uses a basic 2 Input AND block and a 2 Input OR block.

6 Function blocks are used.

Figure 67 2OR function block example

294

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

4OR Function Block
Description The 4OR label stands for the inclusive OR (4 Inputs) Boolean logic function.
This block is part of the Logic and Fast Logic categories. 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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

295

November 2020

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 Unused Inputs default to 0. Example Figure 68 shows a Function Block Diagram using a 4OR function block. Output = X1 or X2 or X3 or X4
Figure 68 4OR function block example

296

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

8OR Function Block
Description The 8OR label stands for the inclusive OR (8 Inputs) Boolean logic function.

This block is part of the Logic and Fast Logic categories.
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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

297

November 2020

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 Unused Inputs default to 0.

298

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 69 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
Figure 69 8OR function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

299

November 2020

PB Pushbutton Function Block
Description The PB label stands for the inclusive Pushbutton.
This block is part of the Logic category. 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.

300

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration procedure Follow the procedure in Table 77 to configure the Pushbutton Function Groups.
Table 77 Pushbutton function group configuration
 There are four pushbuttons that can be configured for each block.
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.

 Enter the Tag Name Text in the appropriate field.

 Enter the Group Title Text in the appropriate field.

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".
 To Add a Digital Signal tag to a Pushbutton location: Click on a signal tag in the list, then click on "Insert/Replace". The selected Signal tag will be placed in the next available position in the "Signal Tags/Descriptors" field.
 To Insert a Digital Signal tag to a Pushbutton location: Select a position in the "Signal Tags/Descriptors" field., then click on INSERT. (You must click in the first column of the Selected Signal Tag list to select a row.) The selected Signal tag will be placed in the position chosen, and other signal tags will move down as required. You may only insert to the occupied portion of the list. An attempt to insert to any empty row will place the new item in the first empty row.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

301

November 2020

The selected Signal Tag will be placed in the "Signal Tags/Descriptors" field  Repeat selection for up to 4 Pushbuttons.  To delete a selected Tag, click on the position of the
tag and click "Delete".
 To Add or Edit and output descriptor to the display, click on the "Bttn" number and then on "Edit Descriptor" and type in the descriptor in the Edit field.
 Click "OK". You can assign Pushbutton Configuration Groups to Display Buttons, refer to Display Buttons (1-8) Configuration in the Process Control Designer User's Guide.
Example Figure 70 is an overview of a pushbutton configuration.

Figure 70 PB function block example

302

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

PDE Peer Data Exchange Function Block
Description The PDE label stands for Peer Data Exchange.

This block is part of the Communications categories.
ATTENTION 1. Network Name must match on all PDE controllers via Utilities tab Network Name. 2. Controller Name must match PDE Block name in other HC900. 3. Change Controller Name via Controller tab Controller Identification ic. 4. C75/ C75S will use E1 or E2 ports as available.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

303

November 2020

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. Note: Use the NOSCAN and NOCONN flags to detect the loss of peer communication data when used for critical control applications.
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.
Dialog box structure The PDE properties dialog box is divided into 3 tab cards GENERAL READ WRITE Click on the tab to access the properties for that tab.
GENERAL tab

304

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Parameter
Peer Controller Name
Scan Rate for Reads

Table 78 PDE General tab configuration parameters

Index # N/A

Parameter Description
Name of the Peer controller for this block

Value or Selection
Enter the peer controller name in the active field. 12 characters max.

N/A

Set to equal to or greater

Click on radio button to select

than 2X the analog cycle

scan rate of the peer device.

Scan rate selection for

reads:

0.25 seconds

0.5 seconds

1.0 seconds

5.0 seconds

READ tab

Table 79 PDE Read tab configuration parameters

Parameter Read Signal

Index # N/A

Signal

N/A

Number

Use Last

N/A

Value

Parameter Description
Activates the RD1 through RD8 pins for reads.
Signal Tag number that appears on the Tag Information Report.
See "Tag Information Example".
Use the last known value for when the associated data connection is invalid.

Value or Selection Click on selection box for the pin number.
Enter a tag number from the report. You can also use the "Find a Signal tag" procedure to find the Signal Tag number.
Click on selection box for the pin number.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

305

November 2020

Parameter Failsafe Value
WRITE tab

Index #
41 through 48

Parameter Description
Failsafe value for when the associated data connection is invalid.

Value or Selection Enter a failsafe value.

Table 80 PDE Write tab configuration parameters

Parameter Write Variable
Variable Number

Index # N/A
N/A

Parameter Description
Activates the WR1 through WR4 pins for writes.
Variable number that appears on the Tag Information Report.
See "Tag Information Example".

Value or Selection
Click on selection box next to the pin number.
Enter a variable number from the report. You can also use the "Find a Signal tag" procedure to find the variable number.

306

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example The problem that is being addressed is to control a PID in Unit 2 from a recipe and OI located on unit 1.

Figure 71 PDE Function Block Example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

307

November 2020

PDR Peer Data Read Function Block
Description The PDR label stands for Peer Data Read.

This block is part of the Communications categories..
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.

308

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration Parameters

Edit Output Pins

Parameter Index #

Parameter Description Value or Selection

Read Signal N/A

Activates the RD1 through RD16 pins for reads.

Click on selection box next to the pin number.

Signal

N/A

Signal Tag number that

Number

appears on the Tag

Information Report.

See "Tag Information Example".

Enter a tag number from the report.
You can also use the "Find a Signal tag" procedure to find the Signal Tag number.

Use Last

N/A

Value

Use the last known value for when the associated data connection is invalid.

Click on selection box for the pin number.

Failsafe

N/A

Failsafe value for when the Enter a failsafe value.

Value

associated data connection

is invalid.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

309

November 2020

PDW Peer Data Write Function Block
Description The PDW label stands for Peer Data Write.

This block is part of the Communications categories.
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.

310

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration Parameters

Edit Input Pins

Parameter Index #

Write

N/A

Variable

Variable

N/A

Number

Parameter Description
Activates the WR1 through WR8 pins for writes.
Variable number that appears on the Tag Information Report.
See "Tag Information Example".

Value or Selection
Click on selection box next to the pin number.
Enter a variable number from the report.
You can also use the "Find a Signal tag" procedure to find the variable number.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

311

November 2020

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.

312

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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 81 Pulse Input Configuration Parameters

Properties Group Block

Parameter Order

Address Pulse Weight

Rack
Module Channel Pulses per EU

Rate

Sample Time

Time Period

Index # N/A 0 0 0 1 5
6

Description

Value or Selection

Execution Order for Block.

Read Only. To change block order, right-click on a Function Block and select Execution Order.

This is the rack address of the PFQ module.

Enter a value: from 1 to 12.

Module address of the Enter a value: from 1 to

PFQ module.

12.

Channel on selected Module.

Enter a value: from 1 to 4

Example: if measuring gallons and if 100 pulses = 1 gallon, enter 100.

The output RATE is calculated by 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.

Enter 0-60 seconds using 0.5 sec. intervals.

Time unit used to scale the rate from pulses per Sample Time to:

Select Per Second, Per Minute, Per Hour

EU per Second, or

EU per Minute, or

EU per Hour

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

313

November 2020

Preset

Use Remote

4

Use Local

4

Preset Output

Latched Until

2

Action

Reset

Momentary

2

Example

Uses RPRES input pin in EU.
Uses local preset count in EU.

Click to select.
Click to select. Enter value. Enter 0 for no alarm indication on PREI (there are no limits).
The PFQ module output transistor latches ON until reset. PREI latches ON until PFQ module acknowledges the reset.
The PFQ module output transistor turns ON for 1 second. PREI turns on for approx. 1 second. Counter is reset to zero and count continues.

Figure 72 PI function block example

314

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

POUT Pulse Output
Description The POUT label stands for 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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

315

November 2020

Configuration Parameters Table 82 Pulse Output Configuration Parameters

Properties Group Parameter

Index #

Description

Value or Selection

Block

Order

N/A

Address

Rack

0

Module

0

Channel

0

Pulse Train

Frequency

1

Parameter

Failsafe

Immediate Off

3

Finish Pulse

3

Execution Order for Block
This is the address of the selected Rack.
Address of selected module
Channel on selected Module. The use of a particular output channel will render the particular input channel unusable.
Output frequency of the pulse train.
Pulse width = 0.50 x (1/frequency)
Range: 0.05ms ­ 20ms
Pulse stops and output immediately goes off.
Pulse train finishes then output goes off.

Read Only. To change block order, right-click on a Function Block and select Execution Order. Enter a value: from 1 to 5.
Enter a value: from 1 to 12 Enter a value: from 1 to 4
Enter a value: 25Hz ­ 10kHz.
Click on Radio button to select Click on Radio button to select

316

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 73 POUT function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

317

November 2020

PID Function Block

Description The PID label stands for Proportional, Integral, Derivative (3-mode) control action.
INPUT - PV

OTHER INPUTS

OTHER OUTPUTS

Remote Set Point Signal (Eng. unit or %)
Feed Forward value in %
Output Track value in % Output Track Command (ON/OFF) Remote Bias Value for Ratio PID Switch Inputs (from SWO on LPSW function block) External Mode request (from MDSW block) Back Calculation Input (for Cascade control)

Working Set Point in EU Alarm 1 Digital Signal Alarm 2 Digital Signal Direct/Reverse Indication
Autotune Indicator (ON = Autotune in progress) A/M Output & Setpoint Mode indication (to MDFL block) Back Calculation Output (for Cascade control)

CONTROL OUTPUT
This block is part of the Loops category.
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.
TRV = Output Track value in Percentage (PID Output = TRV Input when TRC = ON.)

318

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

319

November 2020

ATTENTION
1. When a request to change from Auto to manual is received and:
 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.
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 76.
3. Can select Loop-Mode in HC Designer: Edit Loop-Mode Priority, affecting ALL loops.
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.
Dialog box structure
The PID properties dialog box is divided into 7 tab cards
GENERAL START/RESTART RSP RANGE/LIMIT TUNING ACCUTUNE III ALARMS
Click on the tab to access the properties for that tab.

320

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

GENERAL tab

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

321

November 2020

Table 83 PID General tab configuration parameters

Properties Group
Block
Control

Parameter Index # Parameter Description

Value or Selection

Order

N/A

Tag Name

N/A

Descriptor N/A

Algorithm

N/A

Direction

N/A

SP Tracking N/A

Execution Order
16 character tag name (ASCII characters only) Block descriptor Control Algorithm Note: In PID B, step changes in setpoint will not bump the output; the output will slew smoothly to the new value. In PID A, a step change in setpoint will result in a step change in output.
Control Action
Setpoint Tracking

Read Only. To change block order, rightclick on a Function Block and select Execution Order.
PID A - is normally used for 3 mode control. The output can be adjusted somewhere between 100 % and 0 %. It applies all three control actions Proportional (P), Integral (I), and Derivative (D) - to the error signal.
PID B - Unlike the PID-A equation, the controller gives only an integral response to a setpoint change, with no effect on the output due to the Gain or Rate action, and gives full response to PV changes.
DUPA - like PID A but provides an automatic method to switch tuning constant sets for Heat/Cool applications.
DUPB - like PID B but provides an automatic method to switch tuning constant sets for Heat/Cool applications.
NOTE: With PID B or DUPB selection, you will not be allowed to set RESET or RPM to 0.00 (OFF). Reset must be enabled.
DIRECT - PID action causes output to increase as process variable increases.
REVERSE - PID action causes output to decrease as process variable increases.
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.

322

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

START/RESTART tab

Modes and Setpoints

Table 84 PID Start/Restart tab configuration parameter

Permitted Mode Permitted Setpoint Initial Mode
Setpoint for Initial Mode
Power up Mode
Power up Setpoint

MAN 8 AUTO 9 LSP 10 RSP 11 N/A
N/A
N/A
N/A

Mode permitted for the initial start and power up mode.
Setpoint permitted for the initial start and power up mode.
Mode at NEWSTART Newstart is the first scan cycle following the cold start of the controller
Setpoint at NEWSTART Newstart is the first scan cycle following the cold start of the controller
Mode at power up
Setpoint at power up

Manual Automatic May select both, must select one. Local Setpoint Remote Setpoint May select both, must select one. Manual Automatic Select one
Local Setpoint Remote Setpoint Select one
Manual Retain Last Mode Same mode (auto or manual) Select one Local Setpoint Retain Last LSP/RSP Same Setpoint (LSP or RSP) Select one

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

323

November 2020

Power Up

Power Up

N/A

Out

Out

Failsafe Out 16

Initial Setpoint Value

Use initial

49

LSP

Initial LSP

50

Value

High Output Use Limit

51

Limit Select Control -

Limit Value

Delay Time 52

Ramp Rate 53

Output at Power up
Failsafe Output Value Use Initial Local Setpoint
Initial Local Setpoint Value High Limit Override See NOTE 1
Delay Time for High Limit Output Select Ramp Rate for High Limit Output Select

LAST OUT - Same as at power down. FAILSAFE - Failsafe output value. ­5 % to 105 % Click on radio button to select
Enter Initial Local Setpoint Value
Click radio button to select.
Enter time in minutes to use TRV as the output high limit. See NOTE 1. Enter Rate in % per minute to ramp 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.
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.

324

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

RSP tab

Table 85 PID RSP tab configuration parameters

Properties Group Remote Setpoint Source and Units
Ratio/Bias (RSP Input Only)

Parameter
Use RSP Input (EU)
Use RSP Input (%)
Use LSP2 (EU)
No Ratio or Bias
Use Local Bias
Use Bias Input
Local Bias Value (EU)
Ratio

Index # N/A
N/A
46 45

Parameter Description
Use Remote Setpoint in Engineering Units
Use Remote Setpoint in Percent
Use Local Setpoint #2 in Engineering Units
No ratio and bias applied to the function block
Use Bias value selected on Tab
Use Bias value attached to an input to the block
Local bias value in engineering units
Gain value for Ratio PID

Value or Selection Click on radio button to select
Click on radio button to select
Click on radio button to select
Click on radio button to select
Click on radio button to select Enter value at "Local Bias Value" on tab. Click on radio button to select
Enter local bias value ­99999 to 99999 ­20 to +20

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

325

November 2020

RANGE/LIMIT tab

326

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 86 PID Range/limit tab configuration parameters

Properties Group Ranging Display
Limiting

Parameter PV High Range PV Low Range Decimal Places Units DEV Bar Range (EU) SP High Limit
SP Low Limit
Out High Limit
Out Low Limit
SP Rate Down
SP Rate Up

Index # 4 5 N/A N/A N/A 17
18 20
21
41
42

Parameter Description PV High Range Value

Value or Selection ­99999 to 99999

PV Low Range Value

­99999 to 99999

Number of digits to display after decimal point.
Text to display for EU
Deviation Bar Range on the Operator Interface
Setpoint High Limit Value prevents the local and remote setpoints from going above the value set here.
Setpoint Low Limit Value - prevents the local and remote setpoints from going below the value set here.
Output High Limit Value - is the highest value of output beyond which you do not want the automatic output to exceed
Output Low Limit Value - is the lowest value of output beyond which you do not want the automatic output to exceed
Setpoint Rate Down value - when making a setpoint change, this is the rate at which setpoint will change from the original setpoint down to the new one.
Setpoint Rate Up value - when making a setpoint change, this is the rate at which setpoint will change from the original setpoint up to the new one.

0 to 5 6 characters ­99999 to 99999 ­99999 to 99999
­99999 to 99999 ­5 % to 105 %
­5 % to 105 %
0 (off) to 9999 (eu/min)
0 (off) to 9999 (eu/min)

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

327

November 2020

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 %).

328

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 87 PID Tuning tab configuration parameters

Properties Group Tuning Constants

Parameter Prop Band

or Gain

Index #
0 PB1 or Gain1

Parameter Description
Proportional Band (PB) - is the percentage of the range of the measured variable for which a proportional controller will produce a 100 % change in its output.

36 PB2 or Gain2

Gain - is the ratio of output change (%) over the measured variable change (%) that caused it.

100 % G =
PB %

Value or Selection 0.1 to 1000
0.1 % to 1000 % ATTENTION: Enter values for tuning set 1 and tuning set 2 in specified fields.

Feedforward Gain Manual Reset

Reset Minutes or Repeats per Minute
Rate Minutes
Feedforward Gain Manual Reset

2 Reset1 or 38 Reset2
1 Rate1 or 37Rate 2 43
32

where PB is the proportional Band (in %)
RESET (Integral Time) - adjusts the controller's output according to both the size of the deviation (SP-PV) and the time it lasts. The amount of corrective action depends on the value of Gain.
The reset adjustment is measured as how many times proportional action is repeated per minute (Repeats/minute) or how many minutes before one repeat of the proportional action occurs (Minutes/repeat).
RATE action, in minutes affects the controller's output whenever the deviation is changing; and affects it more when the deviation is changing faster.
Applies Gain to the feedforward value (FFV). Feedforward Input is multiplied by this value.
MANUAL RESET- is only applicable if you do not use RESET (Integral Time)
Allows correction of output to account for load changes to bring the PV up to setpoint.

0.02 to 50.00
Must be enabled for PID-B or DUP-B algorithm selections.
0 or 0.1 to 10.00 minutes 0 = OFF
0.0 to 10.0
­100 to 100 (in % of Output)

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

329

November 2020

ACCUTUNEIII tab

Table 88 PID Accutune III tab configuration parameters

Properties Group Accutune III Type

Parameter Disabled

Cycle Tuning

SP Tuning

SP Tuning Direction
(For SP Tuning selection)
SP Process
(For SP Tuning selection)

UP Down
Process Gain

SPTune Change

Index # N/A
N/A

Parameter Description
Disables Accutune III
Tuning parameter values are derived from the process response to the resultant action of causing the PV to oscillate about the SP value. (Note 1 - Page 332)
Tuning based on the process response to a SP change. (Note 2 ­ Page 332)
The selection of either UP or DOWN results in the SP Change value added or subtracted from the present SP value.

Value or Selection Click on radio button to select. Click on radio button to select.
Click on radio button to select.
Click on radio button to select.

16

Gain identification value for the

Range is 0.10 to 10.0

process. This value is used to

Normal value is 1.

estimate the size of the initial

output step for a SP Tune.

57

This defines the value of the initial output step change that is used as

Range is: 5 to 15 percent.

the target for process

identification.

330

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

PV Adaptive Tuning

Disable

N/A

Enable

N/A

Tuning Criteria

Normal

N/A

Fast

N/A

Duplex Tuning

Disable

N/A

(Active for Algorithm DUPA or DUPB on General Tab with Cycle Tuning)

Manual

Automatic

Disables PV Adaptive tune
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. (Note 3 ­ Page 332)
Conservative tuning designed to calculate critically damped tuning parameter values that produce minimal overshoot.
More aggressive tuning than Normal, designed to calculate under damped parameter values providing faster control to the setpoint but may have some overshot.
Disable -Duplex type tuning is disabled and simplex type tuning is used instead.
Manual - Tuning must be initiated manually for each side. The current LSP or RSP value is used as the target SP for the desired heat or cool side tuning. For the heat side, the output cycles between 50 percent and the high output limit and for the cool side the output cycles between 50 percent and the low output limit. Tuning values are calculated and stored only for the side tuned.

Click on radio button to select. Click on radio button to select.
Click on radio button to select.
Click on radio button to select.

Heat and Cool tuning are sequentially performed automatically. During the operation of this tuning the target SP used is the mid point between the high output limit and 50 percent for the heat side and the low output limit and 50 percent for the cool side. During tuning for each side the cycling of the output results in the PV oscillating around the target SP value. From the data gathered during the oscillations, tuning values are calculated and stored for each side. After tuning on both sides is completed, the process SP is returned to the value of the

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

331

November 2020

Enable Fuzzy Overshoot

34

Suppression

Click on block to select

last SP used prior to the initiation of the tuning procedure.
Fuzzy Overshoot Suppression minimizes overshoot after a setpoint change or a process disturbance.
The fuzzy logic observes the speed and direction of the PV signal as it approaches the setpoint and temporarily modifies the internal controller response action as necessary to avoid an overshoot.
There is no change to the PID algorithm, and the fuzzy logic does not alter the PID tuning parameters.
This feature can be independently Enabled or Disabled as required by the application to work with "TUNE" On-Demand tuning.

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.

332

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ALARMS tab

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

333

November 2020

Table 89 PID Alarms tab configuration parameters

Properties Group Alarm 1

Parameter Setpoint 1

Index # 23

Type

N/A

Alarm 2
Alarm Hysteresis

Setpoint 2 24

Type

N/A

Setpoint 1 25

Type

N/A

Setpoint 2 26

Type

N/A

%

31

Parameter Description Alarm 1 Setpoint 1 Value - this is the value at which you want the alarm type chose below to activate
Alarm 1 Setpoint 1 Type - select what you want Alarm 1 Setpoint 1 to represent.
Alarm 1 Setpoint 2 Value Alarm 1 Setpoint 2 Type Alarm 2 Setpoint 1 Value Alarm 2 Setpoint 1 Type Alarm 2 Setpoint 2 Value Alarm 2 Setpoint 2 Type Alarm Hysteresis in %

Value or Selection

­99999 to 99999 in Engineering Units

Within the PV range when alarm type is PV or SP

Within PV span when alarm type is DEV

­5 % to 105 % when alarm type is output.

Selections:

NO ALARM

PV_HIGH

High PV Alarm

PV_LOW

Low PV Alarm

DEV_HIGH

High Deviation alarm

DEV_LOW

Low Deviation alarm

SP_HIGH

High Setpoint alarm

SP_LOW

Low Setpoint alarm

OUT_HIGH

High Output alarm

OUT_LOW

Low Output alarm

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

0 % to 5 %

334

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example 1 - Basic PID configuration example Figure 74 shows a Function Block Diagram using a simplified PID Configuration (reference only) and its basic Configuration.
Analog Input block
FAIL

Remote Setpoint Input
Analog Variable- used to provide a remote setpoint value.

PID Block (Simplified) Alarm Outputs (Digital Signal)
Analog Output Block

Figure 74 PID function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

335

November 2020

Example 2 - Duplex control - PID with heat/cool (duplex) output Figure 75 Duplex control example

336

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example 3 - Cascade control
The Cascade loop uses 2 PID blocks with the Back Calculation pin of the secondary connected to the primary loop. This transfers values back to the primary loop to adjust the PID for changes due to manual control.

Figure 76 Cascade control example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

337

November 2020

Example 4 - Ratio control
The RATIO control loop requires selection of the remote SP of the PID for ratio control. The Ratio and Bias values are available for adjustment from the Control Setup screen of the Operator Interface. The Bias may be a local value or come from an external source such as an O2 analyzer trim arrangement. You may elect to use % for the ratioed inputs (typically for boiler applications) or Eng. Units (EU) (for feed flows to a reactor, for example).
Air (controlled variable)= Ratio x Fuel (RSP, or wild variable) + BIAS
External Bias Input
Figure 77 Ratio control example

338

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example 5 - Cascade control of a boiler drum level - basic

Steam
Steam Drum
LT 1

FAIL

FAIL

Note: All physical connections are by I/O cards

M

FT 2

Feedwater Flow

Figure 78 Cascade control of a boiler drum level - basic

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

339

November 2020

Example 6 - Cascade control of a boiler drum level - 3 element feedwater control

Steam
LT 2

Note: All physical connections are by I/O cards

Steam Drum
LT 1

M

FT 2

Feedwater Flow

Figure 79 Cascade control of a boiler drum level - 3 element feedwater control

340

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

PPO Position Proportional Output Function Block
Description The PPO label stands for Position Proportional Output. This block is part of the I/O Blocks category.
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

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

341

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

342

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configurable Parameters

Table 90 Position Proportional Motor Control

Parameter Block Order

Index # N/A

Parameter Description Execution Order for Block

Position

4

Setpoint

High Range

Position

5

Setpoint

Low Range

High

20

Position

Limit

Low Position 21 Limit

Deadband

8

(%)

Filter Time

10

(sec)

Feedback

3

Input type

and range

Position Setpoint High Range Value Engineering Unit - value of input that corresponds to 100 % output value Position Setpoint Low Range Value Engineering Unit - value of input that corresponds to 0 % output value
High Position Limit in Percent
Low Position Limit in Percent
Adjustable gap between forward and reverse motor operation (the range over which the output can change before a relay is energized)
A software digital filter is provided to smooth the slidewire feedback input.
Input type choices for the position feedback

FORWARD RELAY OUTPUT

Parameter

Rack # Parameter Description

Rack

1

Address

This is the address of the selected Rack.

I/O Module Address

Address of selected I/O module

Channel Address

Channel on selected I/O Module

Table continued

Value or Selection Read Only. To change block order, right-click on a Function Block and select Execution Order. -99999 to 999999 Default = 100
-99999 to 999999 Default = 0.0
0 to 100% Default = 100%
0 to 100% Default = 0% 0.5 to 5%
0 to 3 seconds. 0=no filter
4 to 20 mA 0 to 20 mA 0 to 1 V 0 to 5 V Slidewire 250 to 1250 ohms Slidewire < 250 ohms Slidewire 1250 to 4000 ohms* Slidewire 4000 to 6500 ohms* *Version 4.1 or later.
Value or Selection 1 to 12.
1 to 12
Odd number 1 thru 15.*

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

343

November 2020

REVERSE RELAY OUTPUT (Read Only) (This is configured automatically when Forward Relay Output is configured)

Rack

2

Address

This is the address of the selected Rack.

Same as Forward

I/O Module Address

Address of selected I/O module

Same as Forward

Channel Address

Channel on selected I/O Module

Forward Channel +1 Even number 2 thru 16.*

FEEDBACK INPUT

Rack Address

N/A

This is the address of the selected 1 to 12.

Rack.

I/O Module Address

Address of selected I/O module

1 to 12

Channel Address

Channel on selected I/O Module

1 to 16*

*For ControlEdge 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.

344

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example

Analog Input Module

AC Output Module

R
F Actuator F
R F R

Figure 80 Position Proportional Motor Control

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

345

November 2020

PSYC Psychrometric Calculations Function Block
Description The PSYC label stands for Psychrometric Calculations. This block is part of the HVAC category.

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 (Grains/Pound or Grains/Kilograms) aka: Mixing Ratio Note: To convert from Grains to Grams, multiply with 0.0647.

346

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Configuration parameters Table 91 PSYC function block configuration parameters

Properties Group Block

Parameter Block Order

Index # N/A

Parameter Description

Input/Output

Metric

N/A

System

Selects if the metric system is used for inputs and outputs

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
Click on the check box 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.

Figure 81 PSYC function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

347

November 2020

PTMR Periodic Timer Function Block
Description The PTMR label stands for Periodic Timer.
OR
This block is part of Logic and Fast Logic categories.
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.

348

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters Table 92 PT function block configuration parameters

Properties Group Block
Period

Parameter Block Order

Index # N/A

Monthly

N/A

Weekly

N/A

Daily

N/A

Time/Cycle N/A

Reset/Cycle N/A

Parameter Description
Output turns ON once a month for one scan cycle. If the current month's last day is less than 31 it will turn ON on the last day of the month.
Reset/Enable: ON = Hold off output OFF = Run
Output turns ON once a week for one scan cycle.
Reset/Enable: ON = Hold off output OFF = Run
Output turns ON once a day for one scan cycle.
Reset/Enable: ON = Hold off output OFF = Run
Timer starts at a specific time of day then output pulses on/off on a time interval. Once started, start time is ignored until reset.
Reset Input: ON = stops cycle and holds off start OFF = enables start time
Timer starts on an ON (1) to OFF (0) transition of the reset input, then output pulses on/off on a time interval. Once started, the cycle continues until the reset turns on.
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.

Value or Selection Read Only. To change block order, right-click on a Function Block and select Execution Order. Enter START Day (Days >31 = 31), Hour, Minute, Seconds
Enter at START Day (Monday through Sunday), Hour, Minute, Seconds
Enter at START Hour, Minute, Seconds
Enter at START Hour, Minute, Seconds Enter at CYCLE Hour, Minute, Second
Enter at CYCLE Hour, Minute, Second

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

349

November 2020

Properties Group Start

Parameter Hour Minute Second Day

Index # N/A N/A N/A N/A

Parameter Description Start Hour Start Minute Start Second Start Day

Cycle

Hour

N/A

Minute

N/A

Second

N/A

Cycle Hour Cycle Minutes Cycle Seconds

Value or Selection
0 through 23
0 through 59
0 through 59
Monthly - 1 - 31 (Days >31 = 31) If the current month's last day is less than 31 it will turn ON on the last day of the month.
Weekly -Monday through Sunday
0 through 23
0 through 59
0 through 59

Example
Figure 82 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 OFDT2 output

Off delay

Figure 82 PT function block example

350

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

QDT Quadrature Function Block
Description The QDT stands for Quadrature.

This block is part of the I/O Blocks category.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

351

November 2020

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

Properties Group Block

Parameter Order

Table 93 QDT parameters

Index # N/A

Parameter Description Execution Order for Block

Input A Address Rack

0

Module

0

Channel

0

Input B Address Rack

0

Module

0

Channel

0

Encoder Range

Pulses per

1

EU

Upper Range 3 Limit
Lower Range 4 Limit

This is the address of the selected Rack. Slot location of the PFQ module
Channel A on the PFQ Module This is the address of the selected Rack. Slot location of the PFQ module
Channel B on the PFQ Module Number of pulses per EU of the variable being measured/counted. Be sure to factor in your Quadrature Mode setting (X1, X2, X4). Upper range limit of EU.
Lower range limit of EU.

Value or Selection Read Only. To change block order, right-click on a Function Block and select Execution Order. Enter a value: from 1 to 5. Enter a value: from 1 to 12 1 (not selectable) Automatically set to same as Input A. Automatically set to same as Input A. 2 (not selectable) Enter a value.
Enter a value.
Enter a value.

352

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Properties Group
Control Configuration

Parameter
Quadrature Mode

Failsafe

Use Value Up scale Down scale HOLD

Index # 2
5 6 6 6

Parameter Description
Resolution of counter. The quadrature code produced by encoders has 4 state changes (edges) per quadrature cycle (one per ¼ cycle). A 250 CPR encoder has 250 cycles, (1000 pulses) per revolution. X1 decoding means that the external electronics pulses once per full cycle. X2 pulses twice per cycle. X4 pulses every quadrature state.
When FAIL is ON output is set to this value.
When FAIL is ON output is set to Upper Range Limit.
When FAIL is ON output is set to Lower Range Limit.
When FAIL is ON output is held.

Value or Selection X1: One pulse per cycle X2: Two pulses per cycle X4: Four pulses per cycle
Click to select, enter a value. Click to select.
Click to select.
Click to select.

Example
Quadrature Function used to measure the output of an encoder to determine the position of a traversing process.

Figure 83 Quadrature function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

353

November 2020

RAI Function Block
Description The RAI label stands for Analog Input with Remote C/J.

This block is part of the I/O Blocks category.

Function

This block is used only for Thermocouples when the thermocouple Cold Junction is in a remote location, i.e., NOT connected at the AI module. Cold Junction compensation is performed using the value presented at the RCJ input, which is a temperature value in degrees C of the remote junction and which will come from another AI block. CJ compensation and linearization is performed in the block producing a value in engineering units at the OUT pin. Fail status of the AI block measuring the Remote CJ can be applied to the RSTAT pin. (i.e. if the RCJ measurement Fails, the Thermocouple measurement fails)

Input
Analog value from specified real I/O address. DIS = disable the AI channel RCJ = Remote CJ Value - This would come from an AI block Output. RSTAT = Remote CJ Status - This would come from the AI block Fail Pin.

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. There also will be a warning if the

value of RCJ is outside the limits -30 to +90 C

FAIL = Digital status of channel

Digital Low (0) = OK

Digital High (1) = Open sensor or failed input channel or RSTAT input is ON indicating a

Failed RCJ AI block

354

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters

Table 94 Analog Input with Remote C/J configuration parameters

Parameter Block Order

Index # N/A

Parameter Description Execution Order for Block

Rack Address
I/O Module Address
Channel Address
T/C Type and N/A Range

This is the address of the selected Rack. Address of selected I/O module
Channel on selected I/O Module
Thermocouple Input types

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
Enter a value from 1 to 12.
Enter a value: from 1 to 12
Enter a value: from 1 to 8 or 16.
Select an input from list box.
See Table 95 for Input Type and Range

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

355

November 2020

Parameter
Bad Channel Detection

Index # N/A

Remote C/J N/A

Disable

8

Channel

Output Value

Filter Time

2

(sec)

Bias

3

Failsafe Use N/A Value
Failsafe Use 4 Value field

Downscale

N/A

Upscale

Burnout

N/A

Check

Parameter Description
Check this to generate a hardware failure diagnostic if a bad AI channel is detected. If unchecked, a diagnostic will not be generated, which may be desirable for inputs used for monitoring only.
Set FAIL pin ON if RCJ value outside limits (-30 to 90 ºC)
The output value when the AI channel is disabled. Disable = ON
A software digital filter is provided for the input designated to smooth the input. You can configure the first order lag time constant from 1 to 120 seconds. 0=no filter
Bias is used to compensate the input for drift of an input value due to deterioration of a sensor, or some other cause.
Use the User value entered in the appropriate field.
The output value to which the output will go to protect against the effects of failure of the equipment, such as, fuel shut-off if there is loss of flame in a furnace, or a sensor break.
OUT = Value of Low range implied by T/C input type.
OUT = Value of High range implied by T/C input type.
Burnout check enable

Value or Selection Click on block to select or deselect
Click on block to select or deselect Enter a value Default = 0 Enter a value: 0 to 120 seconds
Enter a value: -9999 to 99999
Click on Radio button to select Enter a value in Engineering Units -9999 to 99999
Click on Radio button to select Click on Radio button to select Click on block to select or deselect

Failsafe rules If the controller is unable to access the physical channel or the sensor is faulty, and:

 If Failsafe is "Use Value"  If Failsafe is enabled and downscale  If Failsafe is enabled and upscale

Then OUT = Configured Failsafe value Then OUT = Low Range Value of T/C input type Then OUT = High Range Value of T/C input type

356

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 95 ControlEdge HC900 Input Types and Ranges for RAI Function Block

Enum 0

Type None B

Range Low Range High EU

-18

1815

C

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

Ni-NiMo

32

Ni-NiMo

0

1371

C

2500

F

682

C

Ni-NiMo

32

NiMo-NiCo

0

1260

F

1371

C

NiMo-NiCo

32

NiMo-NiCo

0

NiMo-NiCo

32

NiCroSil-NiSil -18

2500

F

682

C

1260

F

1300

C

NiCroSil-NiSil 0 NiCroSil-NiSil -18 NiCroSil-NiSil 0

2372

F

800

C

1472

F

R

-18

1704

C

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

357

November 2020

Enum

Type R S S T T T T W_W26 W_W26 W5W26 W5W26 W5W26 W5W26

Range Low 0 -18 0 -184 -300 -129 -200 -20 -4 -18 0 -18 0

Range High EU

3100

F

1704

C

3100

F

371

C

700

F

260

C

500

F

2320

C

4200

F

2316

C

4200

F

1227

C

2240

F

Example Figure 84 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.
Figure 84 RAI function block example

358

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

RACK Function Block
Description The RACK label stands for IO Rack Monitor.

This block is part of the Alarms/Monitor category.
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)
Right Click on Block icon to Monitor Block diagnostics.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

359

November 2020

Outputs RACK OK = 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

Figure 85 Rack Monitor function block example

360

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

RAMP Function Block
Description The RAMP label stands for Ramp.

This block is part of the Auxiliary category.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

361

November 2020

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.

362

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

GENERAL tab It looks like this graphically.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

363

November 2020

Table 96 describes the parameters and the value or selection.

364

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 96 RAMP general tab parameters

Properties Group General Display
Settings

Parameter Tag Name
Descriptor

Index # N/A
N/A

IN Decimal

N/A

Places

OUT Decimal

N/A

Places

IN Engr.

N/A

Units

OUT Engr.

N/A

Units

Off Value

16

Lag Time

19

(Sec)

Transfer

17

Rate Up

(EU sec)

Transfer

18

Rate Down

(EU sec)

Parameter Description
16-character tag name (ASCII characters only) Block description

Value or Selection
16 characters maximum (ASCII characters only)

Parameter Decimal Places shown on the operator Interface for the Input and Input Limit.

Range 0 to 5 Enter selection in field

Parameter Decimal Places shown on the operator Interface for the Output and Output Scale Limit.

Range 0 to 5 Enter selection in field

PV Engineering Units for Operator Interface. Also applies to Input Limit parameters.

Four characters maximum Enter characters in field

Output Engineering Units for Operator Interface. Also applies to Output Scale Limit parameters.

Four characters maximum Enter characters in field

Value written to OUT when the scale is disabled. If no scales are selected, then the default Input value [DFLT] is the output.

Within the Output Limits

Lag Time Constant

Range: 0.0 to 120.0 seconds. 0=no lag

Transfer Rate in Engineering Units/second when switching to a higher value (bumpless analog transfer).

Range: 0-99999 EU/sec

Transfer Rate in Engineering Units/second when switching to a lower value (bumpless analog transfer).

Range: 0-99999 EU/sec

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

365

November 2020

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 97 describes the parameters and the value or selection for each ramp.

Table 97 RAMP tabs parameters

Properties Group
Detail
(for each Ramp # tab)

Parameter Label

Index # N/A

IN High Limit
IN Low Limit
OUT Scale High Value OUT Scale Low Value

8 through
11
12 through
15
0 through
3
4 through
7

Parameter Description Unique name for each of the 4 internal Ramp functions.
Input HIGH Limit value applied to the PV after signal lag.
Input LOW Limit value applied to the PV after signal lag.
High output limit after rescale.
Low output limit after rescale.

Value or Selection 8 Characters
Within the PV range limits
Within the PV range limits
Within the PV range limits
Within the PV range limits

366

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example
Figure 86 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
Constant = 0 Request from Stage 1 Request from Stage 2 Request from Stage 3 Request from Stage 4
forcing logic forcing logic forcing logic forcing logic Constant (1 = high, 0 = low)

PV
RAMP #1
default enable#1 enable#2 enable#3 enable#4 force#1 force#2 force#3 force#4 force_hi disable
OUT
Request from Stage 5 Request from Stage 6 Request from Stage 7 Request from Stage 8
forcing logic forcing logic forcing logic forcing logic Constant (1 = high, 0 = low)

PV
RAMP #2
default enable#1 enable#2 enable#3 enable#4 force#1 force#2 force#3 force#4 force_hi disable
OUT

AO
Figure 86 RAMP function block example

Analog Output to Variable Speed Drive

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

367

November 2020

RCON Read Constant Function Block
Description The RCON label stands for Read Constant Parameter Data. This block is part of the Auxiliary category.
This block is part of the Auxiliary category. 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.

368

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters

Table 98 Read constant configuration data

Properties Group Read Parameters

Parameter Block Number
Parameter Index

Index # N/A
N/A

Parameter Description
Number of control block that contains desired configuration parameter. Note: In the SIL configuration, if the RCON block is on the Safety worksheet, only the block number is valid for entry for such blocks.
Index number of configuration parameter to be read.

Value or Selection 101 to 500(Model C30) 101 to 2100(Model C50) 101 to 5100 (Model C70/C75)
Select the index number of the required parameter from the specific function block reference data

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 87 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.
Figure 87 RCON function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

369

November 2020

RCP Recipe Selector Function Block
Description The RCP label stands for Recipe Selector.

This block is part of the Setpoint Program category.
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.

370

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example
Figure 88 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.

Recipe Number

Up to 50 Analog/Digital Variables PROFNUM GAIN-LP2
SP-OUT2 SP-OUT3 SP-OUT4 Recipe Table
Figure 88 RCP function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

371

November 2020

RH Relative Humidity Function Block
Description The RH label stands for Relative Humidity.
This block is part of the Calculations category. 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.

372

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Metric system

DRY WET PRES

Metric

Table 99 Metric units

ON °C °C Pa

OFF °F °F 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 89 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.

Figure 89 RH function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

373

November 2020

ROC Rate of Change Function Block
Description The ROC label stands for Rate of Change.
This block is part of the Auxiliary category. 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

374

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Configuration parameters

Table 100 ROC configuration parameters

Properties Group Filter Time Constant Setpoint Limits Direction Rate High
Direction Rate Low
Hysteresis

Parameter

Index # 0

Parameter Description Filter Time Constant

High Rate 1

Low Rate

2

3

4

5

High Rate of Change setpoint Low Rate of Change setpoint High Rate Direction  Both  Increasing only  Decreasing only Low Rate Direction  Both  Increasing only  Decreasing only Hysteresis

Value or Selection 0.0 to 3.0 minutes 0 (off) to 99999.9 eu/min 0 (off) to 99999.9 eu/min Click on radio button to select
Click on radio button to select
0-999

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

375

November 2020

Example
Figure 90 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.

High Rate SP (INC )
HI rate SP (INC) HI RC = ON
HI rate SP (INC) HI RC = OFF
High Rate SP (DEC )
HI RC = ON HI rate SP (DEC)

LOW Rate SP (INC)
LO rate SP (INC) LO RC = OFF
LO rate SP (INC) LO RC = ON
LOW Rate SP (DEC)
LO RC = OFF LO rate SP (DEC)

HI RC = OFF HI rate SP (DEC)

LO RC = ON LO rate SP (DEC)

High/Low Rate SP (Both)
HI rate SP (INC) LO rate SP (INC)
HI RC = OFF LO RC = OFF
LO rate SP (DEC)
HI rate SP (DEC)
HI rate SP (INC) LO rate SP (INC)
HI RC = OFF LO RC = ON
LO rate SP (DEC)
HI rate SP (DEC)

Figure 90 ROC function block responses

Signal Tags
Place in Alarm group for Alarm detection/annunciation
Place in Overview Display group to view rate
Figure 91 ROC function block example

376

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

RSTAT Redundancy Status Function Block
Description

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

Table 101 Redundancy Status configuration parameters

Properties Group

Parameter

Index #

Parameter Description

Block

Order

N/A

Execution Order for Block

Value or Selection
Read Only. To change block order, rightclick on a Function Block and select Execution Order.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

377

November 2020

RSW Rotary Switch Function Block
Description The RSW label stands for Rotary Switch.

This block is part of the Signal Selectors category.
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.

378

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 92 shows how a RSW function block works. It selects an output value from up to 8 analog values or number inputs.
Inputs
Select Input
Figure 92 RSW function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

379

November 2020

RTC Real Time Clock Function Block
Description The RTC label stands for Real Time Clock.
This block is part of the Counters/Timers category. 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 93 shows a function block diagram using a RTC function block.

Figure 93 RTC function block example

380

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

RTMR Resettable Timer Function Block
Description The RTMR label stands for Resettable Timer.

This block is part of the Counters/Timers category.
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)
RPRES = Remote Preset (0.0 ­ 99999.9) If Time-up, RPRES represents Stop value in seconds If Time -down, RPRES represents Start value in seconds

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

381

November 2020

PREL = Preload (0.0 ­ 99999.9) If Time-up, PREL represents Start value in seconds If Time-down, PREL represents Start value in seconds
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 102 RTMR configuration parameters

Properties Group Presets

Parameter
Local Preset

Index # 0

Parameter Description Local Preset

Remote Preset Use Preload

1

ON = use remote preset

2

YES = use external preload

rather than zero for starting or

stopping

NO = Use default (0 second)

Value or Selection
Click Radio Button to select Enter a value in the field 1 to 99999
Click on radio button to select
Click on radio button to select

382

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Timing diagram
Reset or Newstart Enable
Timer (If Count-Up)
Timer (If Count-Down)
Out
Figure 94 Timing diagram for resettable timer

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

383

November 2020

RUIO-AI Function Block
Description The RUIO - AI label stands for Redundant Universal IO Analog Input (Supported only with UIO module).

This block is part of the I/O Blocks category.
Function Reads value of an RUIO-Analog Input from a specified real I/O address. Convert analog input value to corresponding output (OUT) in engineering units based on the necessary scaling and conversions performed.
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 +/-10% over range.
OUT = Scale x Input value + Bias where:
High range value - Low range value Scale =
100
Input value = Analog Value in percent
Input Analog value from specified real I/O address.
^RSTRT = Restart Signal ­
When used, a positive (rising) input pulse releases OUT from its failsafe value and FAIL pin from its ON state. Reset to this pin is MUST for clearing this channel fault after repair. This allows for the replacement or repair of the failed AI module or failure condition and operator controlled release.
DIS = disable the RUIO AI channel
Output FAIL = Status of the channel Digital Low (0) = OK Digital High (1) = Both channels (CH-A and CH-B) failed
RDNTFAIL = Status of the channel Digital Low (0) = OK Digital High (1) = Either CH-A or CH-B failed

384

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters

Properties Group
Block

Parameter Order

Table 103 RUIO-AI configuration parameters

Index #
N/A

Parameter Description Execution Order for Block

Value or Selection Read Only.

Address

Rack

I/O Module Channel

Input Range

Input Range

This is the address of the selected Redundant UIO modules rack position (CH-A and CH-B).

Enter a value: from 1 to 12.

Address of selected redundant I/O modules (CH-A and CH-B).

Enter a value: from 1 to 12

Channel on selected redundant I/O Enter a value:

modules (CH-A and CH-B).

3 to 16.

Note: CH-B is Read Only. CH-B value is same as CH-A.

N/A

input range 4-20 mA

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

385

November 2020

Range
Disable Channel Settings

High Range Value
Low Range Value
Output Value Filter Time (sec)
Bias

N/A For Linear Inputs Only - output value that corresponds to 100 % input value

Enter a value: - 99999 to 99999

For example: Actuation Input = 4-20mA Process variable = Flow Range of Flow = 0 to 250 gal/min High Range Display Value = 250 Low range Display Value = 0 Then 20mA = 250, 4mA = 0

Default = 100

N/A For Linear Inputs Only - output value that corresponds to 0 % input value For example: See "High Range Value"

Enter a value: - 99999 to 99999 Default = 0

9

The output value when the AI

Enter a value

channel is disabled. Disable = ON Default = 0

7

A software digital filter is

Enter a value:

provided for the input designated to smooth the input. You can

0 to 120 seconds

configure the first order lag time

constant from 1 to 120 seconds.

0=no filter

8

Bias is used to compensate the

Enter a value:

input for drift of an input value due to deterioration of a sensor, or - 99999 to 99999

some other cause.

Failsafe

Failsafe Type 4

Type of Failsafe

Use Value - sets the output to the programmed value when failure is detected.
Downscale - Value set at "Low range value" field.

Upscale - Value set at "High range value" field.

Line

Short circuit

Monitoring Detection

N/A Short circuit detection check enable

Read only

Open Wire Detection

Open Wire detection check enable

HART

HART Enabled N/A Check this box to use HART

Select "HART Enabled" check box to enable or disable HART IP functionality.

Note: The HART functionality on Channel 6 supports only from the UIO module hardware revision D and above. Ensure that the right module is installed in the rack to use Channel 6 for HART. The module hardware revision can be found on the backside (light pipe side) of the UIO module.

386

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Below diagram shows Function block diagram:
Figure 120 RUIO - AI function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

387

November 2020

RUIO-AO Function Block
Description The RUIO-AO label stands for Redundant Universal Analog Output (Supported only with UIO module).

This block is part of the I/O Blocks category.
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 (4-20 maximum) set the milliamp output values that correspond to the 0 % to 100 % span limits of the inputs.
Note:
 Currently maximum of 400 RUIO AO channels supported in one system/CDE
 Safety RUIO module will drive configured failsafe value only when IO module lose communication to controller else it will drive field value to unpowered for any other IO module diagnostic faults.
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. Reset to this pin is MUST for clearing this channel fault after repair. 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 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 = Converted value sent to specified real I/O address (mA). FAIL = Status of the channel Digital Low (0) = OK Digital High (1) = Both channels (CH-A and CH-B) failed
RDBKCRNT = Read back current (in mA)
RDNTFAIL = Status of the channel Digital Low (0) = OK Digital High (1) = Either CH-A or CH-B failed

388

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

389

November 2020

Configuration parameters

Parameter Block Order Rack Address
I/O Module Address Channel Address
Range Hi
Range Low
mA at range High mA at Low Range mA at range High Limit mA at Low Range Limit Failsafe Type

Table 104 Analog output configuration parameters

Index #

Parameter Description

Value or Selection

N/A

Execution Order for Block

Read Only

This is the address of the selected redundant Racks (CHA and CH-B).

1 to 12

Address of selected redundant I/O modules. (CH-A and CH-B).

1 to 12

Channel on selected redundant I/O modules (CH-A and CH-B).

9 to 16

Note: CH-B is Read Only. CH-B value is same as CH-A.

6

High Range Value Engineering - 99999 to 99999

Unit - value of input that

Default = 100

corresponds to 100 % output

value

7

Low Range Value Engineering - 99999 to 99999

Unit - value of input that

Default = 0.0

corresponds to 0 % output

value

8

Value of mA output that

3 to 20

corresponds to 100 % output

Default = 20

signal (for example: 20 mA)

9

Value of mA output that

3 to 20

corresponds to 0 % output

Default = 4

signal (for example: 4 mA)

N/A

Value of mA that you want to

2.4 to 21

set the High Range Limit

Default = 21

N/A

Value of mA that you want to

2.4 to 21

set the Low Range Limit

Default = 2.4

4

Type of Failsafe

Use Value - sets the output to the programmed value when failure is detected. (2.4 to 21 mA, Default = 4mA)

High - sets the output of the block to the High Output Range Value when failure is detected Low - sets the output of the block to the Low Output Range Value when failure is detected

390

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Slew Rate in

11

seconds

N/A
Open Wire Detection

Slew Rate is the maximum rate of change required to drive the output from full OFF (0% typically 4 mA) to full ON (100% - typically 20mA). The block will convert this to a maximum change of the milliamp output per execution cycle of the block.
Open Wire detection check enable

Hold - maintains the last value of the block just prior to the failure being detected Click on Radio Button to select 0.0 to 99
Read only

HART Enabled

N/A

Check this box to use HART

Example Below shows Function Block Diagram using RUIO-AO

Select "HART Enabled" check box to enable or disable HART IP functionality.

Figure 121 RUIO-AO function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

391

November 2020

RUIO-DI Function Block
Description The RUIO-DI label stands for Redundant Universal IO Digital Input (Supported only with UIO module).
This block is part of the I/O Blocks categories.
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
Input ^RSTRT = Restart Signal ­ When used, a positive (rising) input pulse releases OUT from its failsafe value and FAIL pin from its ON state. Reset to this pin is MUST for clearing this channel fault after repair. This allows for the replacement or repair of the failed AO module or failure condition and operator controlled release. DIS = disable the RUIO DI channel
Output OUT = Digital Signal FAIL = Status of the channel Digital Low (0) = OK Digital High (1) = Both channels (CH-A and CH-B) failed RDNTFAIL = Status of the channel Digital Low (0) = OK Digital High (1) = Either CH-A or CH-B failed
Block properties

Double click on the function block to access the function block properties dialog box.

392

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27 November 2020

Configuration parameters Table 105 RUIO Digital input configuration parameters

Parameter Rack Address

Index # N/A

I/O Module

0

Address

Channel Address N/A

Failsafe Type

4

Parameter Description
This is the address of the selected redundant Racks (CHA and CH-B).
Address of selected redundant I/O modules (CH-A and CH-B).
Channel on selected redundant I/O modules (CH-A and CH-B).
Note: CH-B is Read Only. CHB value is same as CH-A.
Type of Failsafe

Value or Selection From 1 to 12
From 1 to 12
From 3 to 16,
ON - set the output of the block to ON when failure is detected

OFF - set the output of the block to OFF when failure is detected

Hold - maintains the last value of the block just prior to the failure being detected

Invert

5

If INVERT is selected, OUT = inverse of physical input.

The slash will be present in the CONTACT symbol only when the invert

box is selected on the dialog box.

Short circuit

N/A

Detection

Short circuit detection check enable

Click on Radio to select or deselect

Open Wire Detection

Open Wire detection check enable

Example

Figure 122 shows a Function Block Diagram using a RUIO-DI function block.

Figure 122 RUIO-DI function block example
RUIO-DO Function Block

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

393

November 2020

Description The RUIO-DO label stands for Redundant Universal Digital Output (Supported only with UIO module).

This block is part of the I/O Blocks categories.

Function
Provides a digital status from the algorithms and functions to a physical logic output. The output status may be inverted.

Note: 
  

Safety RUIO module will drive configured failsafe value only when IO module lose communication to controller else it will drive field value to unpowered for any other IO module diagnostic faults. It is required to reset DO channel to resume from failsafe state for new DO block after hotstart In the openwire condition, performing reset on RUIO DO, channel status become healthy for 9 sec and then detects the openwire. During this period output changes as per the input. If DO is "Forced" during Open Wire Detection, then the output will show as Fail-Safe Value instead of Forced Value. However, the status will show as Forced.

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. Reset to this pin is MUST for clearing this channel fault after repair. 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 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
RDBKCRNT = Read back current (in mA). This values will have deviation of 1 to 20mA as field current goes high.
FAIL = Status of the channel Digital Low (0) = OK Digital High (1) = Both channels (CH-A and CH-B) failed
RDNTFAIL = Status of the channel Digital Low (0) = OK Digital High (1) = Either CH-A or CH-B failed

394

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Parameter Rack Address N/A

I/O Module

0

Address

Channel

N/A

Address

Failsafe Type 4

Invert

5

Table 106: Configurable Parameters RUIO DO

Parameter Description

Value or Selection

This is the address of the selected redundant Racks (CH-A and CH-B).
Address of selected redundant I/O modules (CH-A and CH-B).
Channel on selected redundant I/O modules (CH-A and CH-B).
Note: CH-B is Read Only. CH-B value is same as CH-A.
Type of Failsafe

From 1 to 12 From 1 to 12 From 3 to 16.
ON - set the output of the block to ON when failure is detected

OFF - set the output of the block to OFF when failure is detected

Hold - maintains the last value of the block just prior to the failure being detected
If INVERT is selected, OUT = inverse of physical input. The slash will be present in the CONTACT symbol only when the invert box is selected on the dialog box.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

395

November 2020

Short circuit

N/A

Short circuit detection check

Detection

enable

Open Wire Detection

Open Wire detection check enable

Read only

Example Figure 123 shows a Function Block Diagram using a RUIO-DO function block.

Figure 123 RUIO-DO function block example

396

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

SAFPDE Safety Peer Monitor Function Block

Description

The SAFPDE label is short-hand for the Safety Peer Monitor block.

This block is a member of the Communications category and is only available on SIL devices, such as the C30S, C50S, C70S, and C75S using version 6.3xx and above.
Function The Safety Peer Monitor block functions similar to the Peer Comm (PDE) block. It is a
communication function block that allows interconnecting controllers with Ethernet media and networking devices to communicate with each other.
This allows controller to monitor the safety peer communication status with peer controller. SAFPDE block is required for safety peer communication to work. Also, it is recommended to have failsafe timeout (in block configuration properties) of 5 times the publisher or subscriber Normal Cycle time whichever is higher.
Inputs DIS = DIS pin disables the communication between the two controllers and NO_SCAN pin will
become ON.
RST = RST resets the communication with peer controller selected in the Safety Peer Monitor block
Outputs NO_SCAN ­ ON = device has not received updates from peer within the time defined by the failsafe time selected within the block properties. OFF = device is receiving updates from peer.
NO_CONN ­ ON = cannot connect to peer device. OFF = good connection, Peer found.
Block Properties Double click on the function block to access the function block properties.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

397

November 2020

Configuration Parameters
When the properties page is opened after adding the Safety Peer Monitor block to the configuration, the user will be prompted to select the `.xml' from the configuration that corresponds to the controller they would like to monitor. The image below shows what the user will see when opening a Safety Peer Monitor block that has yet to be configured:

After selecting the XML that corresponds with the configuration the user wants, the Peer Name field will be populated, as shown below:

The default `Failsafe Timeout' is set to 3 seconds. The user can choose a new timeout in seconds or franctions of seconds rabged from 1 to 30 seconds, and then press `OK'. This failsafe timeout applies to NO_SCAN PIN status of the controller shown in `Peer Name'.

398

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Parameter Peer Name

Index # N/A

Failsafe Timeout

N/A

Failsafe Action

N/A

Parameter Description
Name of the Peer Controller for this block
Failsafe Timeout in seconds or fractions of seconds
Action to be taken when the failsafe timeout occurs.
No Latch ­ NO_SCAN status will get reset(OFF) once the peer communication resumes
Latch ­ NO_SCAN remain ON (latched) even after the peer communication resumes until reset (RST) given

Value Or Selection
Selected thru the xml file selection
Enter between 1.0 to 30.0
Click on radio button to select

Default NA 3 sec Latch

Related Function Blocks - ANAIMP ­ Safety Analog Import block - DIGIMP ­ Safety Digital Import block

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

399

November 2020

Example:

Figure 95 SAFPDE function block examples

400

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

SCB Scale and Bias Function Block
Description The SCB label stands for Scale and Bias.
This block is part of the Math category. 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

401

November 2020

Configuration parameters

Table 107 SCB configuration parameters

Properties Group

Parameter Scale Factor Bias

Index # 0 1

Parameter Description
K - Multiplier (scaling) constant
Bias Constant - is used to compensate the input for drift of an input value due to deterioration of a sensor, or constant offset to an input.

Value or Selection ­99999 to 99999 ­99999 to 99999

Example Figure 96 shows function block diagrams using a SCB function block.

Example 1 Scale Factor = 5 Bias = 1000

Example 2 Scale Factor = 1 Bias = 460

Figure 96 SCB function block examples

402

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

SEQ Sequencer Function Block
Description The SEQ label stands for Sequencer.

This block is part of the Fast Logic categories.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

403

November 2020

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

^RESET

= Pulse input for reset

HOLD = Input for Hold (level trigger)

^RUN = Edge triggered input for run

^ADV = Edge triggered input to advance to the next step defined in the current sequence step

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.
 When in Hold and Segments Event satisfied, it stays in Hold but will Advance. If not desired, suggest inserting a conditional block to keep event from being accepted until after Hold is removed.

 Event Inputs are Edge triggered. If an Event is satisfied before the active segment, it will not be recognized. One option is a timer circuit AND'd with Event signal to intentionally change to a 2-Second pulse and satisfy edge-triggered input.

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

404

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configurable Parameters The Sequencer properties dialog box is divided into 3 tab cards

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

405

November 2020

General tab

Parameter

Index #

Tag Name

0

Parameter Description Tag Name of Sequencer

Descriptor

Description of Sequence

Aux label
Aux Units
Aux Decimal Places

Auxiliary Output label for OI Display
Auxiliary Output Engineering Units for OI Display
Decimal Places for Auxiliary Output Value

Labels tab

Parameter

Index #

Out1 thru

0

Out16

Parameter Description Output Labels for OI Display

Value or Selection 16 characters maximum (ASCII characters only) 16 characters maximum (ASCII characters only) 8 characters maximum
4 Characters maximum
0-3
Value or Selection 8 characters maximum

406

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

States tab

Parameter

Index #

State Name

0

Digital Outputs

Event Signal 1

Parameter Description Name of State Digital Output States 1 to 16
Event Signal #1 Tag

Event Signal 2

Event Signal #2 Tag

Value or Selection
12 characters maximum
Select from dropdown menu ON(1) or OFF(0)
Select from drop-down menu Analog Signal Tags Output Tags
Select from drop-down menu Analog Signal Tags Output Tags

Example
The process controlled in this example is representative of many sequential batch operations. See Figure 97. 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 98. 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 99. 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 99) and be selected as part of a recipe or manually through a Honeywell operator interface.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

407

November 2020

Figure 97 Sequencer function block example - Part 1

Figure 98 Sequencer function block example - Part 2

408

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Figure 99 Sequencer function block example - Part 3

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

409

November 2020

SPEV Setpoint Programming Event Decoder Function Block
Description The SPEV label stands for Setpoint Programming Events.

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
SEG STA

= Profile number For SP Programmer - 99 For SP Scheduler - 20
= Segment number (1 to 50). = Program/schedule State (Ready, Run, Hold, Ghold, Stop).

410

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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 E2 E3 E4 E5 E6 E7 E8 E9 E10 E11 E12 E13 E14 E15 E16

= Digital signal - segment event 1 = Digital signal - segment event 2 = Digital signal - segment event 3 = Digital signal - segment event 4 = Digital signal - segment event 5 = Digital signal - segment event 6 = Digital signal - segment event 7 = Digital signal - segment event 8 = Digital signal - segment event 9 = Digital signal - segment event 10 = Digital signal - segment event 11 = Digital signal - segment event 12 = Digital signal - segment event 13 = Digital signal - segment event 14 = Digital signal - segment event 15 = Digital signal - segment event 16

Block properties Double click on the function block to access the function block properties dialog box.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

411

November 2020

Example Figure 100 shows a function block diagram using a SPEV function block to provide event outputs for a setpoint programmer.
The SP programmer event output status may be directed to digital outputs, part of control logic, or be directed to signal tags for use anywhere within the control configuration.

Figure 100 SPEV function block example

412

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

SPP Function Block
Description The SPP label stands for Setpoint Programmer.

This block is part of the Setpoint Program category.
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 421).]
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 418).]
Up to 3 Process Variables may be configured as inputs to the block for setpoint guarantee.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

413

November 2020

Input PV1 =

Process Variable #1 value in engineering units, for deviation check.

PV2 =

Process Variable #2 value in engineering units, for deviation check.

PV3 =

Process Variable #3 value in engineering units, for deviation check.

Aux PV =

Aux PV for Aux PV Display.

ENABL

=

not connected.

Level input to enable the block - only checked in Ready State; input is ignored if

NPGM =

New profile number (1 to 70). See ATTENTION below.

NSEG =

New start segment number (1 to 99). When connected, it is used in conjunction with the SET

input of the block to set the current segment of the profile to the value of NSEG. See ATTENTION below.

^SET =

Pulse input to load NPGM and NSEG numbers. See ATTENTION below.

^JOG =

Pulse input to Jog to a predefined segment.

RSTRT =

Pulse input for restart action after power interruption [For example, see Example 2 -

Duplex control - PID with heat/cool (duplex) output (page 422).]

GHOLD =

Guaranteed soak hold - changes program state from RUN to GHOLD when turned ON

and GHOLD to run when OFF.

^RESET

=

Pulse input RESETS program, when turned ON.*

^HOLD =

Pulse input puts program in HOLD, when turned ON. Run needed to restart.

^RUN = state.

Pulse input puts program in RUN, when turned ON; except when program is in GHOLD

^ADV =

Pulse Input for advance of segment.

*For example, see Example 3 - Alternate methods for actuating SP programmer START/HOLD/RESET functions (page 420).

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 421).]

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.

414

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

READY =

Program Reset state indication

HOLDI =

Program Hold state indication

RUNI =

Program Run state indication

STOPI =

Program Stop indication (Program Complete)

PGM =

Current Profile Number (1 to 99) - connect to PGM input on SPEV block.

SEG =

Current Segment Number (1 to 50) - connect to SEG input on SPEV block.

STA =

Current program state (RESET, HOLD, RUN, GHOLD, STOP). Connected to STA input

of the SPEV block

ATTENTION The program states are:  0 = Until block is first executed after power up  1 = Reset  2 = Run  3 = Hold  4 = GHold  5 = Stop  6 = Disabled

Revision 27 November 2020

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 108 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

ControlEdge HC900 Process Control Designer Function Block Reference Guide

415

Input
RESET HOLD RUN GHOLD

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. 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.
 You must end with a Soak segment.
 Events remain in their last configured state at program end.
 A Reset will place the SPP in Ready mode and Reset all Event outputs.
 If Restart pin is connected, must enter a value into Profile Restart Rate. If left = 0 profile will not proceed.

Table 108 SPP inputs and current state

RESET RESET HOLD RUN RESET

HOLD RESET HOLD RUN HOLD

Current State

RUN

GHOLD

RUN

RESET

HOLD

HOLD

RUN

GHOLD

GHOLD

GHOLD

STOP RESET STOP STOP STOP

Restart scenario options

Table 109 Restart scenario options

1 No Action taken
2 Use the Restart feature of the Setpoint Programmer with a configurable Ramp Rate.
3 Use the Restart feature of the Setpoint Programmer with a configurable Ramp Rate and use a compare function so that the restart will apply only after a certain time.

Program will start at the point where it was prior to power down.
This feature will use the PV (connected to PV1) as the initial starting point for the Setpoint and will use a configurable ramp rate for the profile. When the temperature gets to the original Setpoint prior to power down, the program will continue. See Figure 105, Scenario A.
You may gate this Restart input to the programmer to only apply after a certain time off and/or a certain segment if desired using Compare function blocks. See Figure 105, Scenario B.

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.

416

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Configuration parameters

Table 110 SPP configuration parameters

Properties Group Block Display
Failsafe SP

Parameter Tag Name
Descriptor Decimal Places SP Units Aux Decimal Places Failsafe Setpoint

Index # N/A
N/A N/A
N/A N/A
0

Parameter Description
16 character tag name (ASCII characters only)
Block descriptor
Number of places to display after the decimal point
Engineering unit descriptor
Number of places to display after the decimal point
Failsafe Setpoint Value

Value or Selection
0-5 6 characters 4 Characters ­9999 to 9999 Engineering Units

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

417

November 2020

Example 1 - PID with setpoint programmer and guaranteed soak

Figure 101 PID with setpoint programmer and guaranteed soak

418

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example 2 - PID with setpoint programmer and event outputs
The SP programmer event output status may be directed to digital outputs, part of control logic, or be directed to signal tags for use anywhere within the control configuration.
Figure 102 PID with setpoint programmer and event outputs

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

419

November 2020

Example 3 - Alternate methods for actuating SP programmer START/HOLD/RESET functions
FAIL
Two methods are shown The pushbutton block will tie this function to the Pushbutton screen display. Pushbuttons will provide a one-shot output each time they are pressed. Using the Digital variable block this function can be displayed on the OVERVIEW display. Note: Since Digital variables are turned ON and OFF from the overview display, once turned ON they must be manually turned OFF, to be used a second time.
Note: Control Builder Software will not allow the output of two block to be tied together. Connections are shown for DEMO only of an alternative connection.
Figure 103 Alternate methods for actuating SP programmer START/HOLD/RESET functions

420

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example 4 - Using the setpoint programmer AUX output

The Auxiliary output of the Set Point Programmer (SPP) block can be used to drive the RSP of a secondary PID control block on a level basis. This precludes the use of another SPP block. A different (or same) set point can be configured for each programmer step. This can be used to program pressure, %C, etc. for a second control loop. Both PID loops can be shown on the same SP Programmer display. The PV for the secondary PID block is connected to the top right pin of the SPP block to allow view of the PV on the SP Programmer display.
1800
TEMP

Aux PV

FAIL

FAIL

Deg. F

0 Time
10 Pressure

Atm

5.0

3.75
2.6 1
Time

Figure 104 Using the setpoint programmer AUX output

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

421

November 2020

Example 5 - Controlled Restart after Power Loss SCENARIO A

To prevent stress to the work in a furnace on power up after a power loss, you may use the Restart feature of the SP programmer. This feature will use the PV (connected to PV1) as the initial starting point for the Setpoint and will use a configurable ramp rate for the profile. When the temperature gets to the original Setpoint prior to power down, the program will continue. You may gate this Restart input to the programmer to only apply after a certain time off and/or a certain segment if desired using Compare function blocks.

This example uses the System Monitor

block to provide a restart pulse to the

programmer Restart input after power

restore. This will initiate the restart

procedure.

power loss

program continues

Initial PV value on power restore

restore ramp rate

SCENARIO B
A System Monitor block output (RESTART) is on for the first scan cycle after a power loss plus TIME_OFF output indicates the time the power has been off. A Compare block can be used to evaluate the time off and cause an output to initiate the restart if greater than a set amount.
Time Off is in seconds.

If Time OFF is greater than SET_TOFF, execute restart NOTE: Execution sequence relative to SPP block
Figure 105 Controlled restart after power loss

422

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

SPS Setpoint Scheduler Function Block
Description The SPS label stands for Master Setpoint Scheduler.

This block is part of the Setpoint Scheduler category.
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.
SPS Block Function The Master (SPS) block supports up to 8 ramp or soak outputs operating on a common time base. It accepts one PV for each setpoint. Setpoint guarantee is provided for the master (SPS) block setpoints with a single symmetrical value for each setpoint output. You can assign a failsafe value for each setpoint.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

423

November 2020

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 106.) 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 SEG STA SP1 SP2 SP3 SP4 SP5 SP6 SP7 SP8

= Current Program Number = Current Segment number = Program State (Reset, Run, Hold, Ghold, Stop). = Setpoint #1 Output (EU) = Setpoint #2 Output (EU) = Setpoint #3 Output (EU) = Setpoint #4 Output (EU) = Setpoint #5 Output (EU) = Setpoint #6 Output (EU) = Setpoint #7 Output (EU) = Setpoint #8 Output (EU)

424

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties Double click on the function block to access the function block properties dialog box.
Dialog box structure The SPS properties dialog box is divided into four tab cards TAG/FAILSAFE MAIN OUTPUT LABELS AUXILIARY OUTPUT LABELS EVENT LABELS Click on the tab to access the properties for that tab.
TAG/FAILSAFE tab

Double click on the function block to access the function block properties dialog box.

Table 111 Tag/Failsafe configuration parameters

Properties Group Block

Parameter Tag Name

Failsafe Setpoints

Descriptor SP 0 thru 8

Index # N/A
N/A 0

Parameter Description
16 character tag name (ASCII characters only)
Block descriptor
Failsafe Setpoint 1 thru 8 Failsafe Value is the initial value when exiting the program mode. Default Failsafe value is 0.0.

Value or Selection Value in EU

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

425

November 2020

MAIN OUTPUT LABELS tab It lets you set up labels for Main Outputs in the Setpoint Schedule to be displayed on the Operator Interface. Enter Label names, Units(eu), and Decimal places
Table 112 describes the parameters and the value or selection.

Double click on the function block to access the function block properties dialog box.

SP SP1 thru SP8

Table 112 Main Output labels configuration parameters

Parameter Label

Index # N/A

Parameter Description Label name for Operator Interface

Value or Selection 8 characters max.

Units
Decimal Places

N/A

Units for Operator Interface

N/A

Decimal places for operator

Interface

4 characters max. 0 - 4

426

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

AUXILIARY OUTPUT LABELS tab
It lets you set up labels for Auxiliary Outputs in the Setpoint Schedule to be displayed on the Operator Interface. Enter Label names, Units(eu), and Decimal places

AUX AUX1 thru AUX8

Table 113 Auxiliary Output labels configuration parameters

Parameter Label

Index # N/A

Parameter Description Label name for Operator Interface

Value or Selection 8 characters max.

Units
Decimal Places

N/A

Units for Operator Interface

N/A

Decimal places for operator

Interface

4 characters max. 0 - 4

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

427

November 2020

EVENT LABELS tab
It lets you set up labels for Events in the Setpoint Schedule to be displayed on the Operator Interface. Enter a label title in each field

EVENT
EVENT1 thru EVENT 8

Table 114 Event labels configuration parameters

Parameter Label

Index # N/A

Parameter Description Label name for Operator Interface

Value or Selection 8 characters max.

Units

N/A

Units for Operator Interface

4 characters max.

428

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Setpoint scheduler example

STA SEG PGM

Figure 106 Setpoint scheduler function block suite

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

429

November 2020

SPSA Setpoint Scheduler Auxiliary Setpoint Function Block
Description The SPSA label stands for Setpoint Scheduler Auxiliary Setpoint Block.

This block is part of the Setpoint Scheduler category.
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
Block properties
Double click on the function block to access the function block properties dialog box.
Example
Figure 106 shows a Function Block Diagram (Setpoint Scheduler Suite) using a SPSA function block.

430

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

SQRT Function Block
Description The SQRT label stands for Square Root.
This block is part of the Calculations category. 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

431

November 2020

Configuration parameters

Table 115 SQRT configuration parameters

Properties Group Set Dropoff

Parameter Dropoff

Index # 0

Parameter Description Minimum Input for Square Root

Value or Selection 0 to 99999 Must be set at > = 0

Example Figure 107 shows a Function Block Diagram using a SQRT function block.

Figure 107 SQRT function block example

432

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

STG Stage Function Block
Description The STG label stands for Stage.

This block is part of the Auxiliary category.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

433

November 2020

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.

434

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

GENERAL tab It looks like this graphically. Table 116 describes the parameters and the value or selection.

Table 116 STG general tab parameters

Properties Group General

Parameter Tag Name
Descriptor

Display

Decimal Places

Units

Index # N/A N/A
N/A
N/A

Parameter Description

Value or Selection

16-character tag name (ASCII characters only)
Block description

16 characters maximum (ASCII characters only)

PV1

PV2

Number of decimal places shown on the OI for PV1*

Number of decimal places shown on the OI for PV2*

Range 0 to 5 Enter selection in field

Engineering Units for PV1 display

Engineering Units for PV2 display

Four characters maximum Enter characters in field

* Also defines the number of decimal places for the associated SP ON/SP OFF parameter

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

435

November 2020

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 118 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 setpoint

The stage block activates its output as the PV1 input falls (activate on fall) below the ON

User ConfiguredThe user can select either PV for ON and OFF compare as well as the compare type for their particular application (no restrictions).

436

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Presets
The Stage type selection pre-assigns inputs and Hi/Lo setpoint comparisons as indicated in Table 117. These cannot be altered. The User-configurable type may be used to custom assign PV inputs and setpoint comparison types.

Table 117 Default PV sources and compare type operators

Stage Type Pressure / Flow Pump Down Pump Up User Configurable

PV_ON = PV1* PV1* PV1*
PV1 or PV2

*Default ­ cannot be changed

PV_OFF = PV2* PV1* PV1*
PV1 or PV2

Compare Operator between
PV ON and SP ON
PV ON > SP ON*
PV ON > SP ON*
PV ON < SP ON*
Select from: PV ON > SP ON PV ON  SP ON PV ON < SP ON PV ON  SP ON PV ON = SP ON

Compare Operator between
PV OFF and SP OFF
PV OFF> SP OFF*
PV OFF< SP OFF*
PV OFF> SP OFF*
Select from: PV OFF > SP OFF PV OFF  SP OFF PV OFF < SP OFF PV OFF  SP OFF PV OFF = SP OFF

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

437

November 2020

Table 118 STG Stage Tabs parameters

Properties Group Settings

Parameter Label
Type

Interlocking

On Compare

PV

SP

Off Compare

Compare Type Latch Delay
PV
SP

Compare Type
Latch Delay

Index # N/A N/A
N/A
N/A
N/A 12 - 15
N/A 28 - 31
N/A 16 - 19
N/A 32 - 35

Parameter Description Unique name for each of the 4 internal stage functions See "Stage Types" for definitions and Table 117 for associated parameters
When set to ON, the current stage is interlocked to the previous stage

Value or Selection
8 Characters
Pressure/Flow Pump Down Pump UP User Configured
Default = Pressure/Flow
ON = Interlock
OFF = No Interlock
Default = OFF

When set to ON, the current stage is interlocked to the next stage
Defines PV1 or PV2 as the source for the comparison to SP ON. Setpoint used with ON comparator
Comparison type operator between PV ON and SP ON. Delay prior to latching the output ON Defines PV1 or PV2 as the source for the comparison to SP OFF. Setpoint used with OFF comparator
Comparison type operator between PV OFF and SP OFF. Delay prior to unlatching the output OFF

ON = Interlock
OFF = No Interlock
Default = OFF
See Table 117 for defaults.
No range limits
Can be changed from an operator interface
See Table 117 for defaults.
Range: 0 ­ 9999 seconds
See Table 117 for defaults.
No range limits
Can be changed from an operator interface
See Table 117 for defaults.
Range: 0 ­ 9999 seconds

438

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example
Figure 108 shows a function block diagram using a STG function block to control tank level by sequencing multiple pumps.

Tank Level
T
System ON High Tank Level
Figure 108 STG function block example

Pump 1

1

Interface

Pump 2 Interface

2

Pump 3

Interface

3

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

439

November 2020

STFL Setpoint Scheduler Stage Flags Function Block
Description The STFL label stands for the Setpoint Scheduler State Flags.

This block is part of the Setpoint Scheduler category.

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 106.)

Outputs GHOLD READY = HOLD = RUN = STOP =

=

ON if state = 1.0, else OFF

ON if state = 2.0, else OFF

ON if state = 4.0, else OFF

ON if state = 8.0, else OFF

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 106 shows a Function Block Diagram (Setpoint Scheduler Suite) using a STFL function block.

440

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

STRIG Selectable Trigger Function Block
Description The STRIG label stands for Selectable Trigger.
This block is a part of the Logic category.
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

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

441

November 2020

Configurable Parameters

Parameter

Index #

Block Order

Tag name

N/A

Descriptor

Trigger type

0

Initial Scan

1

Parameter Description Execution Order for Block
16-character tag name (ASCII characters only) N/A Type of input state change that will trigger the output on for one cycle. Type of scan

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
Block description
On to off Off to on Both (On to off or Off to on)
No trigger Cold Start Warm Start Cold Start and Warm Start

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.

Figure 109 STRIG function block example

442

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

STSW Setpoint Scheduler State Switch Function Block
Description The STSW label stands for the Setpoint Scheduler State Switch.

This block is part of the Setpoint Scheduler category.

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

=

return to RUN mode.

ON = guaranteed Hold State; ON to OFF and previous state was RUN, then

^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 106 shows a Function Block Diagram (Setpoint Scheduler Suite) using a STSW function block.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

443

November 2020

SUB Subtraction Function Block
Description The SUB label stands for the Subtraction mathematical operation (2 Inputs).

This block is part of the Math category.
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 110 shows a Function Block Diagram using a SUB function block.

Figure 110 SUB function block example

444

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

4SUB Function Block
Description The 4SUB label stands for the Subtraction mathematical operation (4 Inputs).

This block is part of the Math category.
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 All four inputs must be connected. Unconnected inputs default to zero.
Output OUT = Calculated Value
Block properties Double click on the function block to access the function block properties dialog box.
Example Figure 111 shows a Function Block Diagram using a 4SUB function block. Y ­ X1 ­ X2 ­ X3 = OUT

Figure 111 4SUB function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

445

November 2020

SW Analog Switch Function Block
Description The SW label stands for Analog Switch.
This block is part of the Signal Selectors category. 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.

446

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 112 shows a Function Block Diagram using an SW function block to select control signal for output.

Figure 112 SW function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

447

November 2020

SYNC Function Block
Description The SYNC label stands for Synchronize.
This block is part of the Setpoint Program category. Function
Used to synchronize the operation of two setpoint programs given the run. Hold and reset signals from each program. Input (available for logic control of programmer) ^RESET = RESET command, when turned ON. ^HLD = HOLD command, when turned ON. ^RUN = RUN command, when turned ON. ^ADV = ADVANCE command, when turned ON 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 Ghold status is not transferred between programmers with this block.
Block properties Double click on the function block to access the function block properties dialog box.

448

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example
Figure 113 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.)

Figure 113 SYNC function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

449

November 2020

TAHD Track and Hold Function Block
Description The TAHD label stands for Track and Hold.
This block is part of the Auxiliary category. 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.

450

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example
Figure 114 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.

Figure 114 TAHD function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

451

November 2020

TCPR Function Block
Description The TCPR label stands for Modbus/TCP Read. This block is part of the Communications category. It looks like this graphically.

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

452

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties Double click on the function block to access the function block properties dialog box.

1

2
3 4

7

5

6

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 119.
Table 119 TCPR function block configuration parameters

Sequence Number
1

Parameter Field

Action

Selections

Click on an Output Pin from the list of pins in the upper portion of the dialog box.

RD1 through RD16

Comments
The selected Output Pin will appear in the Output Pin Field.

2

Click on the "Use

RD1 through

YES will be indicated in

Register" field to assign RD16

the "Register used"

a register to the Output

column when you

pin.

select "Apply

3

Type in the address of

the register (in Hex) on

the slave device

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

453

November 2020

Sequence Number
4

Parameter Field

5

Action

Selections

From the drop down menu, select the Register Data Type

 Float  Unsigned 32  Signed 32  Unsigned 16  Signed 16  Bit Packed  Single Bit

Select a function code for "Float, Unsigned, Signed, or Bit Packed" register data type
Select a function code for "Single Bit" Register data type.

 Read Holding Reg ­ Function Code 03
 Read Input Registers ­ Function Code 04
 Read Coil Status ­ Function Code 01
 Read Input Status ­ Function Code 02

6

Select which bit (0-15)

0 to 15

to read when Register

Data Type = Bit Packed

7

You must press [APPLY] to accept the register changes.

Comments
If read as an integer, the output is converted to a floating point.
Function code 03 or Function code 04 is used to read the contents of input registers in the slave.
Function code 01 is used to read a slave's coil's (discrete output's) ON/OFF status of the slave device in a binary data format.
Function code 02 is used to read a slave's input's (discrete input's) ON/OFF status of the slave device in a binary data format.
Output is floating point equivalent (0.0 or 1.0).
NOTE: Refer to the Communications manual for the function codes supported by the specific device.
If read as a bit packed number, you must select which bit to mask (0-15).
The output will be the floating-point equivalent (0.0 or 1.0) of the masked bit.

454

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 115 shows a Function Block Diagram using Modbus/TCP function blocks.

Figure 115 TCPR function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

455

November 2020

TCPS Function Block
Description The TCPS label stands for Modbus/TCP Slave Status. This block is part of the Communications category. It looks like this.

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 writing.
 If the register is an integer data type, the floating point input will be rounded up prior to writing to the address register.

456

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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  Integer values are converted to floating point values prior to output.  If a Modbus slave device does not respond to a request, the last output value will be
maintained.
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. Table 120 describes the parameters and the value or selection.

Table 120 TCPS Block General tab configuration parameters

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

457

November 2020

Properties Function Configure Modbus Slave
Modbus Double Register Format

Parameter Index # Parameter Description

Value or Selection

Slave Tag

N/A

Description of Slave

Name

Device

16-character tag name (ASCII characters only)

Slave address and Tag Name must be unique within a control file.

Modbus Address

N/A

Unit address of slave

Leave at 0 unless manufacturer of the slave device states otherwise.

Modbus/TCP N/A Address

IP Address of Slave device on the link

Enter unique address (Cannot be all 0.0.0.0 or 255.255.255.255)

Default IP address = 0.0.0.0 which means slave will NOT be in scan

Each IEEE 32-bit floating point number requires two consecutive registers (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

FP B

Floating Point Big Endian Format

4, 3, 2, 1

FP BB

Floating Point Big Endian with byte-swapped

3, 4, 1, 2

FP L

Floating Point Little Endian Format

1, 2, 3, 4

FP LB

Floating Point Little Endian with byte-swapped 2, 1, 4, 3

458

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

READ tab It looks like this graphically. Table 121 describes the parameters and the value or selection.

Table 121 TCPS Block Read tab configuration parameters

Properties Function Edit Output Pins

Parameter Output Pin

Index # N/A

Parameter Description Output pin designation

Use Register N/A

Register Request

Address (hex)

N/A

Register Address

Register

N/A

Register data type

Data Type

Value or Selection
Register request assigned to RD1, RD2, RD3, or RD4 pin
Click on the "Use Register" field to assign a register to the Output pin.
Type in the address of the Read register (in Hex) on the slave device NOTE: A single configuration may contain up to 256 enabled registers.
From the drop down menu, select the Register Data Type
 Float
 Unsigned 32
 Signed 32
 Unsigned 16
 Signed 16
 Bit Packed
 Single Bit
If read as an integer, output is converted to floating point equivalent.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

459

November 2020

Properties Function

Parameter
Function Code

Select Bit

Index # N/A
N/A

Parameter Description Several standard Modbus RTU function codes are supported. These standard function codes provide basic support for IEEE 32-bit floating point numbers and 16-bit integer register representation of instrument's process data
Bit to read when Read register's data type = Bit Packed You must then select which bit to mask (0-15). The output will be the floating-point equivalent (0.0 or 1.0) of the masked bit.

Value or Selection
Function code 03 ­ Read Holding Registers or Function code 04 ­ Read Input Registers is used to read the contents of input registers in the slave.
Supported Data Types for Function Codes 03 and 04. From the drop down menu, select a function code for "Float, Unsigned, Signed, or Bit Packed" register data type
Function code 01 ­ Read Coil Status is used to read the coil's (discrete output's) ON/OFF status of the slave device in a binary data format.
Function code 02 ­ Read Input Status is used to read the input's (discrete input's) ON/OFF status of the slave device in a binary data format.
Supported Data Types for Function Codes 01 and 02. Select a function code for "Single Bit" Register data type.
NOTE: Refer to the Communications manual for the function codes supported by the specific device.
0-15

460

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Write tab It looks like this graphically Error! Not a valid bookmark self-reference. describes the parameters and the value or selection.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

461

November 2020

Table 122 TCPS Block Write tab configuration parameters

Properties Function Edit Input Pins

Parameter Input Pin

Index # N/A

Use Register

N/A

Address

N/A

(hex)

Register

N/A

Data Type

Function

N/A

Code

Parameter Description Input pin designation
Register Request
Register Address
Register data type
Several standard Modbus RTU function codes are supported. These standard function codes provide basic support for IEEE 32-bit floating point numbers and 16-bit integer register representation of instrument's process data Preset Single Registers ­ Function Code 06 Preset Multiple Registers ­ Function Code 10 hex Preset single bit ­ Function Code 05

Value or Selection
Register request assigned to WR1,WR2,WR3, or WR4 pin
Click on the "Use Register" field to assign a register to the Input pin.
Type in the address of the Write register (in Hex) on the slave device
From the drop down menu, select the Register Data Type
 Float
 Unsigned 32
 Signed 32
 Unsigned 16
 Signed 16
 Single bit
The function code for "Unsigned 16 or Signed 16," register data type is 06 ­ Preset Single Registers* presets integer value into a single register..
The function code for "Float, Unsigned 32 or Signed 32," register data type is 10 hex ­ Preset Multiple Registers* presets values into holding registers.
*automatically selected when you select "Register Data Type"
NOTE: Refer to the Communications manual for the function codes supported by the specific device.

462

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 116 shows a Function Block Diagram using Modbus/TCP function blocks.

Figure 116 TCPS function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

463

November 2020

TCPW Function Block
Description The TCPW label stands for Modbus/TCP Write. This block is part of the Communications category. It looks like this graphically.

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

464

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties Double click on the function block to access the function block properties dialog box.

1

2 3
4

6 5

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 123.
Table 123 TCPW function block configuration parameters

Sequence Number
1

Parameter Field

2

3

Action

Selections

Click on an Input Pin from the list of pins in the upper portion of the dialog box.
The selected Input Pin will appear in the "Input Pin" Field.
Click on the "Use Register" field to assign a register to the Input pin.
YES will be indicated in the "Register Used" column when you select "Apply" .
Type in the address of the register (in Hex) on the slave device

WR1 through WR8 WR1 through WR8

Comments

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

465

November 2020

Sequence Number
4

Parameter Field

5

Action

Selections

Comments

From the drop down menu, select the Register Data Type
The function code for "Unsigned 16 or Signed 16 register data type is (06)*
The function code for "Float, Unsigned 32 or Signed 32 register data type is (10 hex)*
*automatically selected when you select "Register Data Type"

 Float  Unsigned 32  Signed 32  Unsigned 16  Signed 16  Single bit
 Preset Single Registers ­ Function Code 06
 Preset Multiple Registers ­ Function Code 10 hex
 Preset single bit ­ Function Code 05

Several standard Modbus RTU function codes are supported. These standard function codes provide basic support for IEEE 32-bit floating point numbers and 16-bit integer register representation of instrument's process data. (see Sequence Number 5 below)
Function code 06 presets integer value into a single register.
Function Code 10 hex presets values into holding registers.
NOTE: Refer to the Communications manual for the function codes supported by the specific device.

6

You must press [APPLY] to accept the register changes.

466

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 117 shows a Function Block Diagram using Modbus/TCP function blocks.

Figure 117 TCPW function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

467

November 2020

TGFF Toggle Flip Flop Function Block
Description The TGFF label stands for Toggle Flip-Flop.

This block is part of the Logic and Fast Logic categories.

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.

468

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 118 shows a Function Block Diagram using a TGFF function block and how to tag the output.
Figure 118 TGFF function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

469

November 2020

TMDT Time and Date Function Block
Description
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 Table 124 Time and Date configuration parameters

Properties Group

Parameter

Index #

Parameter Description

Block

Order

N/A

Execution Order for Block

Value or Selection
Read Only. To change block order, rightclick on a Function Block and select Execution Order.

470

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

TOT Totalizer Function Block
Description The TOT label stands for Totalizer.
This block is part of the Calculations category. 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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

471

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Configuration parameters

Table 125 TOT configuration parameters

Properties Group Block

Parameter Order

Input Rate

Input Rate

Use Preset

Use Local

Preset Trigger

Use Remote Decreasing Increasing

Index # N/A
N/A
N/A 1 N/A N/A N/A

Parameter Description Execution Order
Input rate
Local Preset
Local Preset Value Remote Preset Select this to decrement from preset down to zero Select this to accumulate from 0 to preset value

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
Select: Per Second Per Minute Per Hour Per Day
Click on Radio Button to select and enter value in Local Preset field
1 to 999999
Click on Radio Button to select
Click on Radio Button to select
Click on Radio Button to select

472

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example
Figure 119 shows Function Block Diagrams using a TOT function block.
EXAMPLE 1
HC900 ON Delay timers are not retentive - if the RUN input is logic 0, the timer is reset. A retentive timer has an Enable and a Reset input. As long as the timer is not reset, time will be accumulated when the Enable Input is logic 1 (ON). This permits recording the time a device such as a pump has been on.
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
EXAMPLE 2 - FLOW TOTALIZATION

Figure 119 TOT function block examples

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

473

November 2020

TPO Time Proportional Output Function Block
Description The TPO label stands for Time Proportional Output.
This block is part of the I/O Blocks category.
ATTENTION  Operation is performed within Module.  Output Resolution is 4 mS.  To identify Energized Output, must hard-wire back to (Fast) Digital Input. 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 (%)

474

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties Double click on the function block to access the function block properties dialog box.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

475

November 2020

Configuration parameters

Table 126 TPO configuration parameters

Properties Group Parameter Index #

Parameter Description

Value or Selection

Address

Rack

0

Address of selected Rack

Enter a value: from 1 to 5

I/O Module

Address of selected I/O module Enter a value: from 1 to 16

Channel

Channel on selected I/O Module Enter a value: from 1 to 16*

Range

Range Hi

1

High Range Value

­9999 to 9999 Default = 100

Range Lo

2

Low Range Value

­9999 to 9999 Default = 0

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

Min On Time

5

Minimum ON time

to 15.0 seconds Default = 0.0

*For ControlEdge 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 120 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.

Figure 120 TPO function block example

476

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

TPSC (3POS) Function Block
Description The TPSC (3POS) label stands for Three Position Step Control operation.

This block is part of the Loops category.
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.
WARNING
During Hot-Start, TPSC Outputs turn Off. After Hot-Start complete, TPSC Output resumes to original position.
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

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

477

November 2020

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
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
When a request to change from Auto to manual is received and:
 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.
Dialog box structure
The TPCS properties dialog box is divided into 8 tab cards
GENERAL START/RESTART RSP RANGE/LIMIT TUNING ACCUTUNE ALARMS MOTOR
Click on the tab to access the properties for that tab.

478

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

GENERAL tab

Table 127 TPSC General tab configuration parameters

Properties Group Block
Control

Parameter Order Tag Name Descriptor Direction
SP Tracking

Index # N/A N/A N/A N/A
N/A

Parameter Description Execution Order
16 character tag name (ASCII characters only) Block descriptor Control Action
Setpoint Tracking

Value or Selection
Read Only. To change block order, right-click on a Function Block and select Execution Order.
DIRECT - Proportional action causes output to increase as process variable increases. REVERSE - Proportional action causes output to decrease as process variable increases.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

479

November 2020

START/RESTART tab

480

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Modes and Setpoints
Power Up Out Initial Setpoint Value

Table 128 TPSC Start/Restart tab configuration parameter

Permitted Mode

MAN 7 AUTO 8

Mode permitted for the initial start and power up mode.

Manual Automatic May select both, must select one.

Permitted Setpoint

LSP 9 RSP 10

Setpoint permitted for the initial start and power up mode.

Local Setpoint Remote Setpoint May select both, must select one.

Initial Mode N/A

Setpoint for N/A Initial Mode

Power up

N/A

Mode

Power up

N/A

Setpoint

Power Up

N/A

Out

Failsafe Out N/A

Use initial

15

LSP

Mode at NEWSTART Newstart is the first scan cycle following the cold start of the controller Setpoint at NEWSTART Newstart is the first scan cycle following the cold start of the controller Mode at power up
Setpoint at power up
Output at Power up
Failsafe Output Value Use Initial Local Setpoint

Manual Automatic Select one
Local Setpoint Remote Setpoint Select one
Manual Retain Last Mode Same mode (auto or manual) Select one Local Setpoint Retain Last LSP/RSP Same Setpoint (LSP or RSP) Select one LAST OUT - Same as at power down. FAILSAFE - Failsafe output value. ­5 % to 105 % Click on radio button to select

Initial LSP

16

Value

Initial Local Setpoint Value

Enter Initial Local Setpoint Value

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

481

November 2020

RSP tab

Table 129 TPSC RSP tab configuration parameters

Properties Group Remote Setpoint Source and Units
Ratio/Bias (RSP Input Only)

Parameter
Use RSP Input (EU)
Use RSP Input (%)
Use LSP2 (EU)
No Ratio or Bias
Use Local Bias
Use Bias Input
Local Bias Value (EU)
Ratio

Index # N/A N/A N/A N/A N/A
N/A 46 45

Parameter Description
Use Remote Setpoint in Engineering Units
Use Remote Setpoint in Percent
Use Local Setpoint #2 in Engineering Units
No ratio and bias applied to the function block
Use Bias value selected on Tab
Use Bias value attached to an input to the block
Local bias value in engineering units
Gain value for Ratio PID

Value or Selection Click on radio button to select
Click on radio button to select
Click on radio button to select
Click on radio button to select
Click on radio button to select Enter value at "Local Bias Value" on tab. Click on radio button to select
Enter local bias value ­99999 to 99999 ­20 to +20

482

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

RANGE/LIMIT tab

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

483

November 2020

Table 130 TPSC Range/limit tab configuration parameters

Properties Group Ranging Display
Limiting

Parameter PV High Range PV Low Range Decimal Places Units DEV Bar Range (EU) SP High Limit
SP Low Limit
Out High Limit
Out Low Limit
SP Rate Down
SP Rate Up

Index # 3 4 N/A N/A N/A 18
19 33
34
42
43

Parameter Description PV High Range Value

Value or Selection ­99999 to 99999

PV Low Range Value

­99999 to 99999

Number of digits after decimal point for display
Engineering units for display
Deviation Bar Range on the Operator Interface
Setpoint High Limit Value prevents the local and remote setpoints from going above the value set here.
Setpoint Low Limit Value - prevents the local and remote setpoints from going below the value set here.
Autotuning Output High Limit Value - is the highest value of the output beyond which the motor no longer affects the process.
Autotuning Output Low Limit Value - is the lowest value of the output beyond which the motor no longer affects the process.
Setpoint Rate Down value - when making a setpoint change, this is the rate at which setpoint will change from the original setpoint down to the new one.
Setpoint Rate Up value - when making a setpoint change, this is the rate at which setpoint will change from the original setpoint up to the new one.

0-5 up to 6 characters ­99999 to 99999 ­99999 to 99999
­99999 to 99999 0 % to 100 %
0 % to 100 %
0 (off) to 9999 (eu/min)
0 (off) to 9999 (eu/min)

484

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

TUNING tab

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

485

November 2020

Properties Group Tuning Constants

Table 131 TPSC Tuning tab configuration parameters

Parameter Index #

Parameter Description

Value or Selection

Prop Band
or Gain

0 PB1 or Gain1
37 PB2 or Gain2

Proportional Band (PB) - is the percentage of the range of the measured variable for which a proportional controller will produce a 100 % change in its output.

0.1 to 1000

Gain - is the ratio of output change (%) over the measured variable change (%) that caused it.
G = 100 % PB %

0.1 % to 1000 %
ATTENTION: Enter values for tuning set 1 and tuning set 2 in specified fields.

Reset Minutes or Repeats per Minute

2 Reset1 or 39 Reset2

Rate Minutes

1 Rate1 or 38 Rate2

where PB is the Proportional Band (in %)
RESET (Integral Time) - adjusts the controller's output according to both the size of the deviation (SP-PV) and the time it lasts. The amount of corrective action depends on the value of Gain.
The reset adjustment is measured as how many times proportional action is repeated per minute (Repeats/minute) or how many minutes before one repeat of the proportional action occurs (Minutes/repeat).
RATE action, in minutes affects the controller's output whenever the deviation is changing; and affects it more when the deviation is changing faster.

0.02 to 50.00
0 or 0.1 to 10.00 minutes 0 = OFF

486

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

ACCUTUNE tab

Table 132 TPSC Accutune tab configuration parameters

Properties Group Accutune Type

Parameter Disabled

On Demand

Enable Fuzzy Overshoot Suppression
Click on block to select

Index # N/A N/A
35

Parameter Description

Value or Selection

Disables Accutune

Click on radio button to select

When initiated, the controller will start controlling to the setpoint while it identifies the process, calculates the tuning constants, and begins TPSC control with the correct tuning parameters.

Click on radio button to select

Fuzzy Overshoot Suppression minimizes overshoot after a setpoint change or a process disturbance.

The fuzzy logic observes the speed and direction of the PV signal as it approaches the setpoint and temporarily modifies the internal controller response action as necessary to avoid an overshoot.

There is no change to the TPSC algorithm, and the fuzzy logic does not alter the TPSC tuning parameters.

This feature can be independently Enabled or Disabled as required by the application to work with "TUNE" On-Demand tuning.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

487

November 2020

ALARMS tab

488

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 133 TPSC Alarms tab configuration parameters

Properties Group Alarm 1

Parameter Setpoint 1

Index # 22

Type

N/A

Alarm 2
Alarm Hysteresis

Setpoint 2 23

Type

N/A

Setpoint 1 24

Type

N/A

Setpoint 2 25

Type

N/A

%

30

Parameter Description Alarm 1 Setpoint 1 Value - this is the value at which you want the alarm type chose below to activate
Alarm 1 Setpoint 1 Type select what you want Alarm 1 Setpoint 1 to represent.
Alarm 1 Setpoint 2 Value Alarm 1 Setpoint 2 Type Alarm 2 Setpoint 1 Value Alarm 2 Setpoint 1 Type Alarm 2 Setpoint 2 Value Alarm 2 Setpoint 2 Type Alarm Hysteresis in %

Value or Selection

­99999 to 99999 in Engineering Units

Within the PV range when alarm type is PV or SP

Within PV span when alarm type is DEV

­5 % to 105 % when alarm type is output.

Selections:

NO ALARM

PV_HIGH

High PV Alarm

PV_LOW

Low PV Alarm

DEV_HIGH

High Deviation alarm

DEV_LOW

Low Deviation alarm

SP_HIGH

High Setpoint alarm

SP_LOW

Low Setpoint alarm

OUT_HIGH

High Output alarm

OUT_LOW

Low Output alarm

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

Same as Alarm 1 Setpoint 1

0 % to 5 %

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

489

November 2020

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.

490

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Table 134 TPSC Motor tab configuration parameters

Properties Group Forward Relay Output
Reverse Relay Output
Motor Data

Parameter

Index # Parameter Description

Value or Selection

Rack

Rack Number for Forward 1 to 5. Motor Direction

Module

Module Number for Forward Motor Direction

1 to 16

Channel

Channel Number for Forward Motor Direction

Odd number 1 to 15*

Rack

Rack Number for Reverse Motor Direction

1 to 5.

Module

Module Number for Reverse Motor Direction

1 to 16

Channel

Channel Number for Reverse Motor Direction

Even number 2 to 16*

Deadband

51

(%)

Deadband is an adjustable gap in which neither output operates

0.5 % to 5 %

Traverse Time (sec)

Motor Travel Time - the time it takes the motor to travel from 0 % to 100 %

0 to 1800 seconds

*For ControlEdge 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 121 shows a Function Block Diagram using a TPSC function block.

Figure 121 TPSC function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

491

November 2020

TRIG Trigger Function Block
Description The TRIG label stands for Trigger or "One Shot" operation.
This block is part of the Logic and Fast Logic categories. 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.

492

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example Figure 122 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 OFDT2 output Off delay
Figure 122 TRIG function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

493

November 2020

TRND Trend Rate Function Block
Description The TRND label stands for Trend Rate.

This block is part of the Auxiliary category.

Function The trend block is used to configure up to three storage rates for the ControlEdge 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 storage sample rate

RATE2 =

time in seconds of the second data storage sample rate

RATE3 =

time in seconds of the third data storage sample rate

494

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters Double clicking the block will open the dialog to configure the three data storage rates.
For each of the Log Rates click on the change button. This will open another dialog 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.
Table 135 TRND block configuration parameters

Parameter Log Rate 1
Log Rate 2
Log Rate 3

Index #

Parameter Description Sets the first of the 3 trend logging rates
Sets the second of the 3 trend logging rates
Sets the third of the 3 trend logging rates

Value or Selection
10 ­ 59 seconds or 1 ­ 59 minutes or 1 ­ 23 hours or 1 per day
10 ­ 59 seconds or 1 ­ 59 minutes or 1 ­ 23 hours or 1 per day
10 ­ 59 seconds or 1 ­ 59 minutes or 1 ­ 23 hours or 1 per day

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

495

November 2020

TRPT Trend Point Function Block
Description The TRPT label stands for Trend Point.

This block is part of the Auxiliary category.

Function
The trend point block is used to configure the data points to be stored by the ControlEdge 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.

496

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Figure 123 TRPT Dialog to configure points by signal tag

Figure 124 TRPT Dialog to configure points by Modbus Address

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

497

November 2020

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.

Figure 125 TRND and TRPT function block example

498

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

UIO-AI Function Block
Description The UIO - AI label stands for Universal IO Analog Input.

This block is part of the I/O Blocks category.
Function Reads value of an UIO-Analog Input from a specified real I/O address. Convert analog input value to corresponding output (OUT) in engineering units based on the necessary scaling and conversions performed.
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 +/-10% over range.
OUT = Scale x Input value + Bias where:
High range value - Low range value Scale =
100
Input value = Analog Value in percent
Input Analog value from specified real I/O address. DIS = disable the UIO AI channel
Output OUT = Analog Input value in engineering units. FAIL = Digital status of channel Digital Low (0) = OK Digital High (1) = failed input channel

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

499

November 2020

Configuration parameters

Properties Group Block Address
Input Range Range
500

Table 136 UIO-AI configuration parameters

Parameter
Order Rack

Index #
N/A

Parameter Description
Execution Order for Block This is the address of the selected Rack.

I/O Module

Address of selected I/O module

Channel

Channel on selected I/O Module

Input

N/A

Range

High Range N/A Value

input range 4-20 mA
For Linear Inputs Only - output value that corresponds to 100 % input value
For example: Actuation Input = 4-20mA Process variable = Flow Range of Flow = 0 to 250 gal/min High Range Display Value = 250

Value or Selection
Read Only. Enter a value: from 1 to 12 Enter a value: from 1 to 12 Enter a value: 1 to 16, depending on module type.
Enter a value: - 99999 to 99999 Default = 100

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27 November 2020

Disable Channel
Settings

Low Range N/A Value

Output

8

Value

Filter Time N/A (sec)

Bias

7

Low range Display Value = 0 Then 20mA = 250, 4mA = 0
For Linear Inputs Only - output value that corresponds to 0 % input value For example: See "High Range Value"
The output value when the AI channel is disabled. Disable = ON
A software digital filter is provided for the input designated to smooth the input. You can configure the first order lag time constant from 1 to 120 seconds. 0=no filter
Bias is used to compensate the input for drift of an input value due to deterioration of a sensor, or some other cause.

Enter a value: - 99999 to 99999 Default = 0 Enter a value Default = 0 Enter a value: 0 to 120 seconds
Enter a value: - 9999 to 99999

Failsafe

Use Value N/A The output value to which the output

field

will go to protect against the effects of

failure of the controller or no

communication to IO module.

Enter a value in Engineering Units
- 9999 to 99999

Use Value N/A Use the value entered in the appropriate Click on Radio button

field.

to select

Downscale N/A LINEAR OUT = Value set at "Low range value" field.

Click on Radio button to select

Upscale

N/A LINEAR OUT = Value set at "High range value" field.

Click on Radio button to select

Line Monitoring

Short

N/A Short circuit detection check enable

circuit

Detection

Open Wire detection check enable

Open Wire

Detection

Read only

HART

HART Enabled

N/A Check this box to use HART

Select "HART Enabled" check box to enable or disable HART IP functionality.

Note: The HART functionality on Channel 6 supports only from the UIO module hardware revision D and above. Ensure that the right Module is installed in the rack to use Channel 6 for HART. The module hardware revision can be found on the backside (light pipe side) of the UIO module.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

501

November 2020

Example The below figure shows Function block diagram:
Figure 126 UIOAI function block example

502

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

UIO-AO Function Block
Description The UIO-AO label stands for Universal Analog Output.

This block is part of the I/O Blocks category.
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 (4-20 maximum) set the milliamp output values that correspond to the 0 % to 100 % span limits of the inputs.
Note:
 Currently maximum of 400 UIO AO channels supported in one system/CDE
 Safety UIO module will drive configured failsafe value only when IO module lose communication to controller else it will drive field value to unpowered for any other IO module diagnostic faults.
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. Reset to this pin is MUST for clearing this channel fault after repair. 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 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 = Converted value sent to specified real I/O address (mA). FAIL = Failed Output indication - Channel Error
RDBKCRNT = Read back current (in mA)

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

503

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

504

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters AO's Address starts at Module 4.

Table 137 Analog output configuration parameters

Parameter

Index #

Parameter Description

Value or Selection

Block Order

N/A

Execution Order for Block

Read Only

Rack Address
I/O Module Address Channel Address

This is the address of the selected Rack.
Address of selected I/O module

1 to 12 1 to 12

Channel on selected I/O Module

9 to 16

Range Hi

5

High Range Value Engineering Unit - value of input that corresponds to 100 % output value

99999 to 999999 Default = 100

Range Low

6

mA at range

7

High

Low Range Value Engineering Unit - value of input that corresponds to 0 % output value
Value of mA output that corresponds to 100 % output signal (for example: 20 mA)

99999 to 999999 Default = 0.0
3 to 20 Default = 20

mA at Low

8

Range

mA at range

N/A

High Limit

Value of mA output that corresponds to 0 % output signal (for example: 4 mA)
Value of mA that you want to set the High Range Limit

3 to 20 Default = 4
2.4 to 21 Default = 21

mA at Low

N/A

Range Limit

Value of mA that you want to set the Low Range Limit

2.4 to 21 Default = 2.4

Failsafe Value N/A Failsafe Type 3

USE VALUE sets the output to the programmed value when failure is detected.
Type of Failsafe

0 to 21 mA
Default = 0
High - sets the output of the block to the High Output Range Value when failure is detected Low - sets the output of the block to the Low Output Range Value when failure is detected Hold - maintains the last value of the block just prior to the failure being detected
Click on Radio Button to select

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

505

November 2020

Slew Rate in

11

seconds

N/A
Open Wire Detection

Slew Rate is the maximum rate of change required to drive the output from full OFF (0% typically 4 mA) to full ON (100% - typically 20mA). The block will convert this to a maximum change of the milliamp output per execution cycle of the block.
Open Wire detection check enable

0.0 to 99 Read only

HART

N/A

Check this box to use HART

Select "HART Enabled" check box to

Enabled

enable or disable HART IP

functionality.

Example The below figure shows Function Block Diagram using UIO-A)

Figure 127 UIO-AO function block example

506

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

UIO-DI Function Block
Description The UIO-DI label stands for Universal IO Digital Input.
This block is part of the I/O Blocks categories. 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 Input DIS = disable the UIO DI channel Output OUT = Digital Signal FAIL = Failed Input indication - Module error Block properties

Double click on the function block to access the function block properties dialog box.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

507

November 2020

Configuration parameters Table 138 UIO Digital input configuration parameters

Parameter

Index #

Rack Address

N/A

I/O Module

0

Address

Channel Address N/A

Failsafe ON

N/A

Failsafe OFF

N/A

Failsafe HOLD N/A

Invert

4

Debounce

N/A

(msec)

SOE Enable

N/A

Short circuit

N/A

Detection

Open Wire Detection

Parameter Description
Address of selected I/O rack Address of select I/O Module

Value or Selection
From 1 to 12
From 1 to 12

Channel on selected I/O Module

From 1 to 16,

set the output of the block to ON when failure is detected

Click on radio button to select

set the output of the block to OFF when failure is detected

Click on radio button to select

hold the output at the last value just prior to the failure being detected

Click on radio button to select

If INVERT is selected, OUT = inverse of physical input. The slash will be present in the CONTACT symbol only when the invert box is selected on the dialog box.

DI Debounce time

Enter a value:

0= no debounce

0 to 50 milliseconds

Enables Sequence of events (SOE events will be generated even in channel disabled state for field value changes)

Click on check box to enable SOE

Short circuit detection check enable Open Wire detection check enable

Click on Radio to select or deselect

Example The below figure shows a Function Block Diagram using a UIO-DI function block.

Figure 128 UIODI function block example

508

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

UIO-DO Function Block
Description The UIO-DO label stands for Universal Digital Output.

This block is part of the I/O Blocks categories.

Function
Provides a digital status from the algorithms and functions to a physical logic output. The output status may be inverted.

Note: 
 

Safety UIO module will drive configured failsafe value only when IO module lose communication to controller else it will drive field value to unpowered for any other IO module diagnostic faults. It is required to reset DO channel to resume from failsafe state for new DO block after hotstart. In the openwire condition, performing reset on RUIO DO, channel status become healthy for 9 sec and then detects the openwire. During this period output changes as per the input.

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. Reset to this pin is MUST for clearing this channel fault after repair. 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 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 FAIL = Failed Input indication - Module error OUT = Physical Output Value RDBKCRNT = Read back current (in mA). This values will have deviation of 1 to 20mA as field current goes high.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

509

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Parameter

Rack Address N/A

I/O Module

0

Address

Channel

N/A

Address

Failsafe ON

N/A

Failsafe OFF N/A

Failsafe

N/A

HOLD

Invert

4

Table 139: Configurable Parameters UIO DO

Parameter Description

Value or Selection

Address of selected I/O rack Address of select I/O Module

From 1 to 12 From 1 to 12

Channel on selected I/O Module

From 1 to 16.

set the output of the block to ON when failure is detected

Click on radio button to select

set the output of the block to OFF when failure is detected

Click on radio button to select

hold the output at the last value just prior to the failure being detected

Click on radio button to select

If INVERT is selected, OUT = inverse of physical input. The slash will be present in the CONTACT symbol only when the invert box is selected on the dialog box.

510

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Short circuit

N/A

Short circuit detection check enable

Detection

Read only

Open Wire Detection

Open Wire detection check enable

Example The below figure shows a Function Block Diagram using a UIO-DO function block.

Figure 129 UIODO function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

511

November 2020

UPDN Up/Down Function Block
Description The UPDN label stands for UP/DOWN Counter.
This block is part of the Counters/Timers category. 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.

512

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters

Table 140 Up/down configuration parameters

Properties Group Presets
Use Remote Preset

Parameter
Local Preset

Index # 0

Parameter Description Local Preset

1

On selects remote preset

Value or Selection 1 to 99999
Click on Box to select

Example
Figure 130 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

Figure 130 UPDN function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

513

November 2020

VLIM Velocity Limiter Function Block
Description The VLIM label stands for Velocity (Rate) Limiter.

This block is part of the Auxiliary category.
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

514

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Block properties

Double click on the function block to access the function block properties dialog box.

Configuration parameters

Table 141 VLIM Configuration Parameters

Properties Group Set Limits

Parameter
Increase Rate Limit
Decrease Rate Limit

Index # 0
1

Parameter Description

Value or Selection

Limits the increasing rate at which 0 to 99999 (eu/min) the analog input value can change

Limits the decreasing rate at which 0 to 99999 (eu/min) the analog input value can change

Example
Figure 131 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).

Output

Input
Figure 131 VLIM function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

515

November 2020

WCON Write Constant Function Block
Description The WCON label stands for Write Constant. This block is part of the Auxiliary category.

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 Block Number
Parameter Index #

Index # N/A
N/A

Parameter Description
Number of control block that contains desired configuration parameter
Index number of configuration parameter to be modified

Value or Selection
101 to 500(CPU C30) 101 or 2100(CPU C50) 101 to 5100 (CPU C70/C75)
Select the index number of the required parameter from the specific function block reference data

516

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

1. Double-click on the function block to access the "Write Constant" dialog shown below:
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 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

517

November 2020

WTUN Write Tuning Constants Function Block
Description The WTUN label stands for Write Tuning Constants.

This block is part of the Loops category.
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..  WTUN values written to Loop Tuning Set #1 only.  WTUN will only send values within each Range Limit.
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. If any input value is "out-of-range", no values will be written. Value to GAIN/ PB input applies to active Tuning Constant.
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.

518

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Target block number
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 132 shows a Function Block Diagram using a WTUN function block to write Tuning Parameters to a PID function block.

Figure 132 WTUN function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

519

November 2020

WVAR Write Variable Function Block
Description The WVAR label stands for Write Variable. This block is part of the Auxiliary category.
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:

520

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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.

3. From the pull-down selector select from:
 All WorkSheets
 All Variables
 Analog Variables
 Digital Variables
4. In the All Worksheets list box select the desired worksheets list -"All WorkSheets", "Process WorkSheets", "Safety WorkSheets".
5. In the list box, select the desired Variable. Note that Variables located on a Safety worksheet in an SILcompliant configuration will only be listed if the associated variables NON-Safety Critical radio button has been enabled or, unless the Write Variable function block is on a Safety worksheet.
NOTE: Setting enabling the NON safety Critical radio button confirms that the variable is not being used in a safety critical function.
6. Click the OK button to return to the "Write Variable Number" dialog.
7. Click the OK button to complete the configuration.
The Target block number will appear on the front of the WVAR function Block.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

521

November 2020

XFR Bumpless Analog Transfer Switch Function Block
Description The XFR label stands for Bumpless Analog Transfer Switch.

This block is part of the Signal Selectors category.

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 Y SY

= First analog value. = Second analog value. = 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.

522

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters

Table 142 XFR switch configuration data

Properties Group Set Transfer Rates

Parameter Transfer to X Rate
Transfer to Y Rate

Index # 0
1

Parameter Description
Rate at which output changes from Y to X in engineering units per minute
Rate at which output changes from X to Y in engineering units per minute

Value or Selection 0 to 99999 Must be set at > = 0
0 to 99999 Must be set at > = 0

Example
Figure 133 shows a Function Block Diagram using a XFR function block. It shows a typical switch action for a XFR function block.

ON

*SY

OFF

X
YRATE
Y

OUT

XRATE

Figure 133 XFR function block example

TIME

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

523

November 2020

XOR Function Block
Description The XOR label stands for the Exclusive OR Boolean operation.
This block is part of the Logic and Fast Logic categories.
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 134 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.

Figure 134 XOR function block example

524

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

5XYRB Function Block
Description The 5XYRB label stands for XYR5000 base radio slave status block.

This block is a part of the Communications category.
Function
This block allows the ControlEdge 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 ControlEdge 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 ControlEdge 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

525

November 2020

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.

526

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Configuration parameters Double click on the function block to access the function block properties dialog box.

Properties Group
Configure Modbus Slave

Parameter
Slave Tag Name

Index # 0

Parameter Description Description of XYR5000 device

Value or Selection
16 character tag name (ASCII characters only).

Modbus address

Slave address and Tag Name must be unique within a control file.

1

Address of XYR5000 base radio Enter unique address.

on the link.

address, range 1 to 247.

Default address = 255 which means XYR5000 base radio slave will NOT be in scan

Modbus Double Register Format

Each IEEE 32-bit floating point number requires two consecutive registers (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

FP B

Floating Point Big Endian Format (recommended format)

4, 3, 2, 1

FP BB

Floating Point Big Endian with byte-swapped

3, 4, 1, 2

FP L

Floating Point Little Endian Format

1, 2, 3, 4

FP LB

Floating Point Little Endian with byte-swapped 2, 1, 4, 3

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

527

November 2020

Example Figure 135 shows a Function Block Diagram using a 5XYRB function block.

Figure 135 5XYRB function block example

528

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

5XYRT Function Block
Description The 5XYRT label stands for XYR5000 Transmitter slave status block.

This block is a part of the Communications category.
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 ControlEdge 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

529

November 2020

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 #

Transmitter

0

Reference

Name

Parameter Description
Description of XYR5000 transmitter

Node ID

1

ID of transmitter

Value or Selection
16 character name (ASCII characters only).
Slave address and Tag Name must be unique within a control file.
Enter node ID. (Valid Range is 1 to 100).
Default ID = 0 which means data will NOT be read.

530

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example

Figure 136 5XYRT function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

531

November 2020

6XYRT Function Block
The 6XYRT label stands for XYR6000 transmitter status block.

This block is a part of the Communications category.
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 ControlEdge 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).

532

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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/ Button
Filename
Time Stamp Load Wireless Data File
Transmitter Reference Name

Description
Path and name of the XYR6000's exported .csv file containing the device parameters to be accessed by this block. Time the .csv file was created. Let's you select and load the .csv file containing the XYR6000 parameter addresses. This file must first be exported from Wireless Builder application. Name of the XYR6000 transmitter.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

533

November 2020

Parameter/ Button
XYR Device
Register Address
Add
Remove

Description
Name of the device whose parameters you will add or remove to the block. Type of register being accessed (Status or PV). Address of the parameter that was added. This field is blank if you remove the parameter. Click this to list the available parameters in the Wireless Data File loaded above. Highlight the desired parameter and click OK to add it. Removes the parameter from the block.

How to create an XYR6000 Transmitter export file
A .csv file containing the transmitter's parameters and addresses is required for configuration of the 6XYRT function block. Following are the steps to create this .csv file in Wireless Builder.
1. Using Wireless Builder, complete the network configuration for all devices (transmitters) to be interfaced via the Wireless Gateway. Once a complete database has been created, click on the Gateway name in the Menu Tree of the software to access the MAIN dialog display for the gateway.
2. Click on the Modbus TCP Server tab to register the specific ControlEdge HC900 controller that will be permitted to access the Gateway's Modbus data. Verify the TCP Port number is 502. Enter the IP address of the ControlEdge HC900 controller's port that the dialog. The ControlEdge HC900 controller's IP address can be found using HC Designer software under the Utilities Tab.

3. Click on the Modbus TCP Analog data tab to begin assigning Modbus addresses to transmitter data.

534

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

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 ControlEdge 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.
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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

535

November 2020

Example

Figure 137 6XYRT function block example

536

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

6XYRWG
The 6XYRWG label stands for XYR6000 Wireless Gateway slave status block.

This block is a part of the Communications category.
Function
This block allows the ControlEdge HC900 controller to act as a master device and communicate with an XYR6000 wireless gateway via the Ethernet port of the controller. Configuration in ControlEdge 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.

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

537

November 2020

Configurable Parameters

Properties Group

Parameter

Index #

Parameter Description

Value or Selection

Configure Modbus Slave Tag Name

0

Description of 6XYRWG slave

16 character tag name

device

(ASCII characters only).

Slave address and Tag Name must be unique within a control file.

Modbus/TCP address

1

IP Address of XYR6000

Enter unique 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 Register Format

Each IEEE 32-bit floating point number requires two consecutive registers (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

FP B

Floating Point Big Endian Format (recommended format)

4, 3, 2, 1

FP BB

Floating Point Big Endian with byte-swapped

3, 4, 1, 2

FP L

Floating Point Little Endian Format

1, 2, 3, 4

FP LB

Floating Point Little Endian with byte-swapped 2, 1, 4, 3

538

ControlEdge HC900 Process Control Designer Function Block Reference Guide

Revision 27

November 2020

Example

Figure 138 6XYRWG function block example

Revision 27

ControlEdge HC900 Process Control Designer Function Block Reference Guide

539

November 2020

Sales and Service
For application assistance, current specifications, ordering, pricing, and name of the nearest Authorized Distributor, contact one of the offices below

ASIA PACIFIC
Honeywell Process Solutions,
Phone: + 800 12026455 or +44 (0) 1202645583
(TAC) hfs-tacsupport@honeywell.com
Australia Honeywell Limited Phone: +(61) 7-3846 1255 FAX: +(61) 7-3840 6481 Toll Free 1300-36-39-36 Toll Free Fax: 1300-36-04-70
China ­ PRC - Shanghai Honeywell China Inc. Phone: (86-21) 5257-4568 Fax: (86-21) 6237-2826
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

EMEA
Honeywell Process Solutions, Phone: + 800 12026455 or +44 (0) 1202645583
Email: (Sales) FP-Sales-Apps@Honeywell.com or (TAC) hfs-tac-support@honeywell.com

AMERICAS
Honeywell Process Solutions, Phone: (TAC) (800) 423-9883 or (215) 641-3610 (Sales) 1-800-343-0228
Email: (Sales) FP-Sales-Apps@Honeywell.com or (TAC) hfs-tac-support@honeywell.com

Specifications are subject to change without notice.

For more information To learn more about ControlEdge HC900, visit www.honeywellprocess.com Or contact your Honeywell Account Manager
Process Solutions Honeywell 1250 W Sam Houston Pkwy S Houston, USA, TX 77042
Honeywell Control Systems Ltd Honeywell House, Skimped Hill Lane Bracknell, England, RG12 1EB
Shanghai City Centre, 100 Jungi Road Shanghai, China 20061
www.honeywellprocess.com

51-52-25-109 Rev.26 November 2020 2020 Honeywell International Inc.


Microsoft Word 2016