PlotSetMovingXAxis Function

Help Contents

Introduction

Configures the X Axis of a Temporary Plot to track the current time.

Syntax

Informal Syntax:

PlotSetMovingXAxis( Offset, Interval )

Formal Syntax:

PlotSetMovingXAxis( Offset:=Expression, Interval:=Expression )

Parameters

Parameter Type Description
Offset TIME The offset of the right Y axis from the current time. Use a positive time value to position the right Y axis after the most recent data.
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 track the current time.

Examples

  1. Sets the X Axis of a temporary plot to 30 minutes that tracks the current time.
    PlotSetMovingXAxis( T#3m, T#30m );

Further Information

PlotSetFixedXAxis()

To set the X Axis to a fixed interval.

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.