FB_BA_ThiesData

FB_BA_ThiesData 1:

In this function block, data from the Thies weather station are converted so that they can be represented with BACnet objects.

This concerns only the brightness values of the 4 cardinal points: while the weather station outputs these in kilolux, BACnet only provides the unit lux for the representation, therefore the values of the weather station have to be multiplied by 1000.

Syntax

FUNCTION_BLOCK FB_BA_ThiesData
VAR_INPUT
  stWSC11Data         : ST_BA_WSC11Data;
END_VAR
VAR_OUTPUT
  stWeatherStation    : ST_BA_WeatherStation;
END_VAR

FB_BA_ThiesData 2: Inputs

Name

Type

Description

stWSC11Data

ST_BA_WSC11Data

Data from the Thies weather station.

FB_BA_ThiesData 3: Outputs

Name

Type

Description

stWeatherStation

ST_BA_WeatherStation

Converted data

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0