AddExpressionLine Method

AddExpressionLine is a method for a Trend Invoke method action.

Purpose: AddExpressionLine

Advanced Configuration: AddExpressionLine

Purpose: AddExpressionLine

To add a specified expression line to the runtime Trend Control when Invoke Method is triggered by an event.

Lines using runtime data display data reported by the CIMPLICITY Point Manger.

The line cannot be scrolled as all information comes from current data. This type of line is also called a current trend.

Advanced Configuration: AddExpressionLine

Click Advanced on the Action tab of the Procedure Information dialog box.

The Edit Method dialog box opens for the AddExpressionLine method

Configuration is as follows.

Field

Description

Method name

Name of the selected method.

Note: Another method can be selected from the drop-down list.

Method result

(Optional) Setpoint that contains the status value.

 

Class

Boolean

 

Structure Type

BOOL

 

Allowed

Device or global Point ID.

 

When a user invokes the method, the method result contains one of the following values.

 

 

 

Value

Method Result

 

 

 

1

The line was successfully added to the trend.

 

 

 

0

The line was not added to the trend.

Parameters

LineID

String that provides a name for the Line ID.

The name will appear in the Legend to identify the added line.

 

Expression

String that evaluates to an expression, which is one or more Point IDs and mathematical operators that can be evaluated.

Trending creates the trend based on the identified values.

 

 

 

 

 

More information

List of line display methods.

All Trend methods.