FB_ALY_IotSymbol_INT
Syntax
Definition:
FUNCTION_BLOCK FB_ALY_IotSymbol_INT
VAR_INPUT
stConfig : ST_ALY_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
Inputs
Name | Type | Description |
---|---|---|
stConfig | ST_ALY_IotSymbol_Config | Struct to configure the FB |
Outputs
Name | Type | Description |
---|---|---|
ipResultMessage | I_TcMessage | Eventlogger |
bError | BOOL | TRUE if an error has been occurred |
bNewResult | BOOL | TRUE if a new result has been calculated |
bConfigured | BOOL | TRUE if FB is configured successfully |
bSymbolHandlerAssigned | BOOL | TRUE if symbol handler assigned |
bVariableFound | BOOL | TRUE if variable found in stream |
sSymbolPath | STRING(255) | Topic/Stream.Symbol |
tCycleTime | LTIME | Cycle time of publishing system |
nMaxNumElements | UDINT | Maximum number of Symbols stored affected by StreamHelper |
nNumElements | UDINT | Number of elements received last call |
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 |