OpenGraphic Function

Help Contents

Introduction

Displays a Graphic Page Tag.

Syntax

Informal Syntax:

OpenGraphic( TagName )

Formal Syntax:

OpenGraphic( TagName:=Expression )

Parameters

ParameterTypeDescription
TagName ANY_STRING The name of the Graphic Page Tag to open. The name can be the full name of the tag or a relative tag name.

The OpenGraphic function opens a Graphic Page Tag. The exact behavior varies according to the context:

If the OpenGraphic call is made from a Graphic Page Tag you can use a relative tag name for the TagName parameter. A relative tag name indicates 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 OpenGraphic call.

The OpenGraphic call is logically equivalent to:

OpenTagFile( TagName, 'fhgrp' );

Return Value

None.

Examples

Displays the graphic page 'Diagrams.PumpControl':

OpenGraphic( "Diagrams.PumpControl" );

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.

Graphic Page Tag

For information about the tag used to store graphic pages in Fernhill SCADA.

Glossary

For the meaning of terms used in Fernhill SCADA.