Control Architect Help Documentation
×
Menu
Index

Control Binding Expression examples

 
Below are some examples of expressions used when converting Honeywell Hiway Regulatory control entities to PKS Cxxx Experion control strategies.
 
 
 
This is another example where the control binding expression code is viewed in the Code View after Compilation and Evaluation.
 
 
This is an example of providing a PVFORMAT enumeration value based on the configured maximum range value of the of the Function Block.
 
This is an example of scripting a Control Binding to ignore the DataSource value when it is empty by setting the result of the Control Binding script evaluation to its existing Parameter value, which the Data Collection will show both the existing and new values as identical resulting in no detection of changes.
 
This is an example of how to search and replace Parameter values and also Connection parameter references.  Note how the Excel DataSource defines additional columns to contain the Connection reference and Parameter values to search for.  The Control Binding DefaultValueIfEmpty attribute is used to define the replacement value.  In this example we are replacing all uses of the Connection reference GEN_1.DACA.PV with the new Connection reference GEN_1.DACA.LASTGOODPV.  We are also replacing references to the Parameter value HEATER and replacing it with the shortened HTR.