OpenTrend Function

Help Contents


Opens a preconfigured trend.


Informal Syntax:

OpenGraphic( TagName )

Formal Syntax:

OpenGraphic( TagName:=Expression )


TagName ANY_STRING The name of the Trend Plot Tag to open. The name can be the full name of the tag or a relative tag name.

Return Value



The OpenTrend function displays a preconfigured trend. The exact behavior varies according to the context:

If the OpenTrend call is made from a Graphic Page Tag you can use a relative tag name for the TagName parameter. A relative tag name is a name relative to the host document. For more information on how relative names are resolved see Tag References.

A program or script will not execute any statements after the OpenTrend call.


  1. Display the trend plot 'Storage.TankLevel':
    OpenTrend( "Storage.TankLevel" );

Further Information

Operator Actions

To learn where you can use this function.

Structured Text Function Call

To learn about calling a function from IEC 61131-3 structured text.

IEC 61131-3 Expressions

To learn about the different types of expression to use as function parameters.


For the meaning of terms used in Fernhill SCADA.