PlotSetFixedXAxis Function

Help Contents

Introduction

Configures the X Axis of a Temporary Plot to display a fixed point in time.

Syntax

Informal Syntax:

PlotSetFixedXAxis( StartTime, Interval )

Formal Syntax:

PlotSetFixedXAxis( StartTime:=Expression, Interval:=Expression )

Parameters

Parameter Type Description
StartTime ANY_DATE The start date and time of the X Axis.
Interval TIME The time interval of the X Axis.

Return Value

None.

Remarks

Use this function to configure the X Axis of a Temporary Plot to show a fixed interval.

Examples

  1. Sets the X Axis of a temporary plot to display 24 hours of data from 12-Jan-2020.
    PlotSetFixedXAxis( D#2020-01-12, T#1d );

Further Information

PlotSetMovingXAxis()

To set the X Axis to track the current time.

Operator Actions

To learn where you can use this function.

IEC 61131-3 Expressions

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

Glossary

For the meaning of terms used in Fernhill SCADA.