FB_DataSource
The FB DataSource manages the receipt of input values from the various sources. In the OUTPUT declaration you will find all configured inputs.
Syntax
Definition:
FUNCTION_BLOCK FB_T[n]_DataSource IMPLEMENTS I_DataSource, I_V[n]_Virtual_Input_Source
VAR_OUTPUT
eDataState: E_DataSourceState;
END_VAR
Methods
Name | Definition location | Description |
---|---|---|
Local | Method for background communication with the TwinCAT driver. The method must be called cyclically. | |
Local | Method to retrieve the data of the specified element. | |
Local | Method to retrieve the oversampling data of the specified element | |
Local | Method to check if new data is available. | |
Local | Method for retrieving historical data | |
Local | Method for updating the historical record list. |
Requirements
Development environment | Target platform | Plc libraries to include |
---|---|---|
TwinCAT v3.1.4024.0 | PC or CX (x64, x86) | Tc3_Analytics |