FB_VirtualInputSource
The FB VirtualInputSource abstracts the InputSources for the different analysis configurations. The virtual inputs configured in the Analytics Workbench are set here.
Syntax
Definition:
FUNCTION_BLOCK FB_V[n]_C[n]_VirtualInputSource IMPLEMENTS I_VirtualInputSource, I_V[n]_VirtualInputSource
VAR
END_VAR
Interfaces
Type | Description |
---|---|
I_VirtualInputSource | Interface for communication with a data source |
I_V[n]_VirtualInputSource | Interface that provides all defined virtual inputs |
Methods
Name | Definition location | Description |
---|---|---|
Local | Method for synchronizing multiple FB instances | |
Local | Method to accept the next data set | |
Local | Method of signaling that the entire data packet has been processed. |
Properties
Name | Type | Access | Description |
---|---|---|---|
bEndOfData | BOOL | Get | Signals the end of the data packet |
dtTimestamp | DCTIMESTRUCT | Get | Timestamp of the currently accepted data set |
nDataHandle | ULINT | Get | Data handle |
nContext | DWORD | Get | Data context |
tTimestamp | ULINT | Get | Timestamp of the currently received data set |
Requirements
Development environment | Target platform | Plc libraries to include |
---|---|---|
TwinCAT v3.1.4024.0 | PC or CX (x64, x86) | Tc3_Analytics |