OPPERMANN_WS10_MOD

OPPERMANN_WS10_MOD (FB)

FUNCTION_BLOCK OPPERMANN_WS10_MOD

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

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.X g/m3

Output

rAbsAirPressure

REAL

Absolute air pressure in XX.X hPa

Output

rRelAirPressure

REAL

Relative air pressure in XX.X hPa

Output

rWindSpeed_MS

REAL

Wind speed in XX.X m/s

Output

rWindSpeed_KPH

REAL

Wind speed in XX.X km/h

Output

rWindDirec

REAL

Wind direction in XX.X (0.0 = North)

Output

rWindDirec_Cor

REAL

Corrected wind direction in XX.X (0.0 = North)

Output

rCompassDirec

REAL

Compass direction in XX.X (0.0 = North)

Output

rRainf_Total

REAL

Total cumulative rainfall amount in XX.XX mm

Output

rRainf_Diff

REAL

Relative rainfall amount in XX.XX mm

Output

byRainf_Type

BYTE

Type of precipitation

Output

rRainf_Int_MMH

REAL

Precipitation intensity in XX.XX mm/h

Output

rRainf_Int_MMMIN

REAL

Precipitation intensity in XX.XXXX mm/min

Output

rRainf_Total_Day

REAL

Cumulative daily precipitation amount in XX.XX mm

Output

xPrecipitation

BOOL

Precipitation status (TRUE = active, detection: liquid / solid / hail)

Output

rGlobalRadiation

REAL

Current global radiation in XX.X W/m2

Output

rSunAzimuth

REAL

Current azimuth of the sun in XX.X degrees (0 degrees = North)

Output

rSunElevation

REAL

Current elevation of the sun in XX.X degrees (0 degrees = horizontal)

Output

byUVIndex

BYTE

Current UV index (0 = low, > 11 = maximum)

Output

rIllum_Day

REAL

Current daytime illuminance XX.X kLx

Output

rIllum_Night

REAL

Current nighttime illuminance XX.X lx

Output

rSupplyVoltage

REAL

Current supply voltage in XX.X volts

Output

byHeaterState

BYTE

Current heater state (0 = Off)

Output

rPosLongitude

REAL

Current longitude of the position in XX.XX degrees

Output

rPosLatitude

REAL

Current latitude of the position in XX.XX degrees

Output

iPosAltitude

INT

Current altitude of the position in meters

Output

iWifiSigStrength

INT

Current Wi‑Fi signal strength

Output

byGPSNumSatellit

BYTE

Current number of received GPS satellites

Output

byGPSPosState

BYTE

Current position acquisition state (1 = not acquired )

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

wErrorCodeDev

WORD

0

Error code - device (0 = no error)

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

xResetDevice

BOOL

FALSE

Reset of the entire weather station

Input Const

xResetRainfTotal

BOOL

FALSE

Reset of the total cumulative rainfall amount

Input Const

iOffsetLocalTime

INT

0

Current offset for local time in XXX minutes

Input Const

rPosLongitSetp

REAL

Current setpoint for the longitude of the position in XX.XX degrees

Input Const

rPosLatitSetp

REAL

Current setpoint for the latitude of the position in XX.XX degrees

Input Const

byAltitudeSelect

BYTE

0

Selection of the source for the position altitude (0 = GPS, 1 = ‘iPosAltitudeSetp’)

Input Const

iPosAltitudeSetp

INT

Setpoint for the position altitude in meters

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for operations influenced by the input 'xUpdateSetp'

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated