THIES_WSC11_MOD

THIES_WSC11_MOD (FB)

FUNCTION_BLOCK THIES_WSC11_MOD

Display

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Address of the device

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xUpdateSetp

BOOL

FALSE

Update of setpoint values (on every rising edge )

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rWindSpeed_MS

REAL

Wind speed in XX.X m/s

Output

rWindSpeedAverage_MS

REAL

Average wind speed in XX.X m/s

Output

rWindDirec

REAL

Wind direction in XX.X degrees ( 0.0 degrees = North )

Output

rWindDirecAverage

REAL

Average wind direction in XX.X degrees ( 0.0 degrees = North )

Output

rAirTemp

REAL

Air temperature in XX.X degrees Celsius

Output

rDewPointTemp

REAL

Dew point temperature in XX.X degrees Celsius

Output

rrH

REAL

Relative humidity in XX.X percent

Output

rAbsH_M3

REAL

Absolute humidity in XX.XX g/m3

Output

xSensorOffsetInDevice

BOOL

Indicates whether sensor calibration must be performed in the device ( TRUE = calibration required in device, FALSE = calibration required in FB )

Output

rAbsAirPressure

REAL

Absolute air pressure in XX.XX hPa

Output

rAirPressureQNH

REAL

Calculated sea level pressure at the current location in XX.XX hPa ( Basis: Absolute air pressure at the current location )

Output

rGlobalRadiation

REAL

Current global radiation in XX.X W/m2

Output

rIllum_Day_North

REAL

Current daytime illuminance - North in XX.X kLx

Output

rIllum_Day_East

REAL

Current daytime illuminance - East in XX.X kLx

Output

rIllum_Day_South

REAL

Current daytime illuminance - South in XX.X kLx

Output

rIllum_Day_West

REAL

Current daytime illuminance - West in XX.X kLx

Output

rIllum_Night

REAL

Current night illuminance in XXX lx

Output

xRainf

BOOL

Precipitation status ( FALSE = no precipitation, TRUE = precipitation )

Output

dwYYYYMMDD

DWORD

Current date in format YYYYMMDD

Output

rHHMMSS

REAL

Current time in format HHMMSS

Output

rOffsetUTC

REAL

Current offset to UTC time in X hours

Output

rPosLongitude

REAL

Current longitude of position in XX.XXXXXX degrees

Output

rPosLatitude

REAL

Current latitude of position in XX.XXXXXX degrees

Output

rSunElevation

REAL

Current sun elevation in XX.X degrees ( 0.0 degrees = Horizontal )

Output

rSunAzimuth

REAL

Current sun azimuth in XX.X degrees ( 0.0 degrees = North )

Output

rSensorStatus

REAL

Current sensor status, bitwise coded ( Bit X = TRUE: measurement faulty )

Output

rHeightAboveSeaLev

REAL

Current height above sea level in XX.X m ( Source: GPS )

Output

rFWVersion

REAL

Current firmware version

Output

xAlarm

BOOL

FALSE

General fault ( TRUE = fault )

Output

xAlarmCom

BOOL

FALSE

General fault - communication ( TRUE = fault )

Output

eErrorCodeCom

ModbusErrorCode

Error code - communication ( 0 = no error )

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

rrHOffset

REAL

0.0

Constant measurement offset for the transmitted relative humidity - actual value

Input Const

rAirTempOffset

REAL

0.0

Constant measurement offset for the transmitted temperature - actual value

Input Const

wIllumNightMode

WORD

1

Current calculation mode for the twilight sensors ( 0 = sum of all four sensors, 1 = average of all four sensors )

Input Const

iOffsetTime

INT

48

Current offset to current UTC ( 0 = 24 = UTC, 23 = UTC - 1h, 25 = UTC + 1h, 48 = CEST )

Input Const

wPosAltitudeSetp

WORD

3001

Setpoint for the local altitude of the position in meters ( 0-3000m, 3001 = GPS data )

Input Const

tTimeUpdatePassw

TIME

TIME#1m0s0ms

Update interval for updating the password ( Purpose: User 'User' is permanently logged in, maximum: 120s )

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for the processes influenced by the input ‘xUpdateSetp’

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes influenced by the input ‘xUpdateActual’

Last updated