beckhoff TF3550 — 6.1.2.4.1.1 GetData

Configuration Requirements Development environment Target platform Plc libraries to include TwinCAT v3.1.4024.0 PC or CX (x64, x86) Tc3_Analytics Version >= 3.1.0.0 6.1.2.4.1 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 Call [ } 85] Local Method for background communication with the TwinCAT driver. The method must be called cyclically.

GetData [ } 84] Local Method to retrieve the data of the specified element. GetDataOversampling [ } 85] Local Method to retrieve the oversampling data of the specified element NewDataAvailable [ } 85] Local Method to check if new data is available. HistoricalCtrl [ } 85] Local Method for retrieving historical data UpdateRecordList [ } 86] 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.4.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 sample Return value Name Type Description GetData BOOL Is TRUE if a new element is selected TF355x 84 Version: 1.3.1