FB_BA_AdsComClient
The template reads global data, for example weather data and global parameters, from another controller in the GA network. It copies this data to the GVL site.
The initialization of the template takes place within the method FB_Init. |
Block diagram
Syntax
FUNCTION_BLOCK FB_BA_AdsComClient EXTENDS FB_BA_View
VAR_INPUT CONSTANT
WeatherStation : FB_BA_RawSubscriber;
WeatherStationError : FB_BA_BV;
GeneralSettings : FB_BA_RawSubscriber;
GeneralSettingsError : FB_BA_BV;
END_VAR
Inputs CONSTANT
Name | Type | Description |
---|---|---|
WeatherStation | The subscriber WeatherStation accesses the TwinCAT network structure WeatherStation and stores the data into the created structure of the GVL Site.stWeatherStation. | |
WeatherStationError | Binary object indicating communication failure of the subscriber WeatherStation. | |
GeneralSettings | The subscriber GeneralSettings accesses the TwinCAT network structure GeneralSettings and stores the data in the created structure of the GVL Site.stGeneralSettings. | |
GeneralSettingsError | Binary object indicating communication failure of the subscriber GeneralSettings. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |