FB_ALYC_IotSymbol_REAL

Syntax

Definition:

FUNCTION_BLOCK FB_ALYC_IotSymbol_REAL
VAR_INPUT
    stConfig : ST_ALYC_IotSymbol_Config;
END_VAR
VAR_OUTPUT
    ipResultMessage: I_TcMessage;
    bError: BOOL;
    bNewResult: BOOL;
    bConfigured: BOOL;
    bSymbolHandlerAssigned: BOOL;
    bVariableFound: BOOL;
    sSymbolPath: STRING(255);
    tCycleTime: LTIME;
    nMaxNumElements: UDINT;
    nNumElements: UDINT;
END_VAR

FB_ALYC_IotSymbol_REAL 1: Inputs

Name

Type

Description

stConfig

ST_ALYC_IotSymbol_Config

Structure for the configuration of the FB.

FB_ALYC_IotSymbol_REAL 2:Outputs

Name

Type

Description

ipResultMessage

I_TcMessage

EventLogger

bError

BOOL

TRUE if an error has occurred.

bNewResult

BOOL

TRUE if a new result has been calculated.

bConfigured

BOOL

TRUE if the FB is successfully configured.

bSymbolHandlerAssigned

BOOL

TRUE if the symbol handler has been assigned.

bVariableFound

BOOL

TRUE if a variable was found in the stream.

sSymbolPath

STRING(255)

Theam/Stream.Symbol

tCycleTime

LTIME

Cycle time of the publishing system.

nMaxNumElements

UDINT

Maximum number of saved symbols influenced by StreamHelper.

FB_ALYC_IotSymbol_REAL 3:Methods

Name

Definition location

Description

GetValue

Local

Get the value of the specified element.

GetOversamplingValues

Local

Get the oversampling values of the specified element.

GetArrayValues

Local

Get the array values of the specified element.

Requirements

Development environment

Target platform

Plc libraries to include

TwinCAT v3.1.4024.0

PC or CX (x64, x86)

Tc3_Analytics