VisuFbXYChartDataProviderCurve (FB)

FUNCTION_BLOCK VisuFbXYChartDataProviderCurve IMPLEMENTS IXYChartDataProviderCurve, IXYChartDataProviderCurveCheckPointer

This function block is the implementation of the IXYChartDataProviderCurve interface. It is used by the generated code to provide suitable instances of this interface. It contains parameters of data array used in curve to calculate the curve An instance of this is present in generated code

InOut:

Scope

Name

Type

Comment

Input

firstDataX

VisuFbXYChartGenericVariableArray

firstDataY

VisuFbXYChartGenericVariableArray

Instance of FB that contains the definition of first cell in the array for X

diLowerBorderX1

DINT

Instance of FB that contains the definition of first cell in the array for Y

diUpperBorderX1

DINT

Lower border for dataX[], dimension 1

diLowerBorderX2

DINT

Upper border for dataX[], dimension 1

diUpperBorderX2

DINT

Lower border for dataX[], dimension 2

diLowerBorderY1

DINT

Upper border for dataX[], dimension 2

diUpperBorderY1

DINT

Lower border for dataY[], dimension 1

diLowerBorderY2

DINT

Upper border for dataY[], dimension 1

diUpperBorderY2

DINT

Lower border for dataY[], dimension 2

cursPosVar

VisuFbXYChartGenericVariable

Upper border for dataY[], dimension 2 Variable of curve value at cursor position, if present

indexMinVar

VisuFbXYChartGenericVariable

Variable of minimum index value for curve array, if present

indexMaxVar

VisuFbXYChartGenericVariable

Variable of maximum index value for curve array, if present

Methods:

GetDataXUnchecked

GetDataYUnchecked

GetFirstDataXItf

GetFirstDataYItf

GetLowerBorder

GetRawDataXUnchecked

GetRawDataYUnchecked

GetUpperBorder

GetVariableItf

IsDataXPointerChanged

IsDataYPointerChanged

Structure: