Configuration 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 Call [ } 71] Local Method for background communication with the TwinCAT driver. The method must be called cyclically. GetData [ } 71] Local Method to retrieve the data of the specified element. GetDataOversampling [ } 72] Local Method to retrieve the oversampling data of the specified element. NewDataAvailable [ } 72] Local Method to check if new data is available. HistoricalCtrl [ } 72] Local Method for retrieving historical data.
UpdateRecordList [ } 73] 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 6.1.2.3.1.1 GetData Syntax METHOD GetData : BOOL VAR_INPUT nElement : UDINT; END_VAR Inputs Name Type Description nElement UDINT Element ID to obtain the specific example. Return value Name Type Description GetData BOOL Is TRUE if a new element is selected. 6.1.2.3.1.2 Call Syntax METHOD Call : BOOL Return value Name Type Description Call BOOL TF355x 71 Version: 1.3.1