Total: ~52 min

Throughout many of the core modules of any ICONICS system you are likely to leverage the expression engine. It is a core element of the Platform Services and provides the foundation for various calculations and decision-making processes.

Basics of Working with Expressions

Several ICONICS modules rely on the Expression Editor. The Expression Editor gives the user a library of functions that they can use throughout their project.

Working with Arithmetic Functions

Arithmetic functions are those such as addition, subtraction, multiplication, division, as well as many common mathematical constants and operands. They can be used for both arithmetic and logical functions.

Working with Relational and Logical Functions

Relational and logical functions are used for situations where the intended result of an expression is going to be a TRUE or FALSE result. They include a variety of functions to structure logic for comparisons between multiple input states.

Working with Strings and Arrays

These functions are used to parse, manipulate, and store information in strings and arrays. They are especially useful for formatting of data to present to users as well as complicated array manipulation.

Working with Bit Manipulations

Bit manipulation is important for any input data which may be expressed as a single or multiple bits within a larger register, as is common with protocols such as Modbus or OPC. These functions allow for masking or joining of individual bits in a datasource with the resulting value being usable as a new data point.

Working with Dates and Times

Date and time inputs can be used and manipulated within expressions, both to extract information from an existing datetime value as well as to create offsets of specific time intervals as needed.

Working with Code Blocks

The code blocks within expressions include advanced capabilities for creating functional programming code snippets that can be defined directly in an expression. They support sequential operations, looping, and defined return statements within the expression.

Using Expressions with Assets and Alarms

The ICONICS Expression Editor is available when configurating assets and alarms in the Workbench. The user can use the expressions to create custom logic to trigger an event or define a real-time calculation for a property.

Using Expressions with Faults and Workflows

The ICONICS Expression Editor is available when configuring Fault Detection Diagnosis rules and Workflows. The functions leverage time duration information of the points to create system logic.

Using Expressions with the Hyper Historian

The ICONICS Expression Editor is available when configuring Hyper Historian Calculated Tags. The Expression Editor offers specific time-series based functions to handle historical data.