ELSNER_P03_3_MODBUS_WITH_GPS

ELSNER_P03_3_MODBUS_WITH_GPS (FB)

FUNCTION_BLOCK ELSNER_P03_3_MODBUS_WITH_GPS

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 )

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rAirTemp

REAL

Current air temperature in XX.X degrees Celsius

Output

xSensorOffsetInDevice

BOOL

Indicator whether the calibration of the sensors must be performed in the device (TRUE = calibration in device required, FALSE = calibration in FB required)

Output

rIllum_South

REAL

Current illuminance - south side in XXX kLx

Output

rIllum_West

REAL

Current illuminance - west side in XXX kLx

Output

rIllum_East

REAL

Current illuminance - east side in XXX kLx

Output

rIllum_Night

REAL

Current illuminance - night in XXX lx

Output

rWindSpeed_MS

REAL

Current wind speed in XX.X m/s

Output

eClockType

ELSNER_P03_3_MODBUS_MIT_GPS_CLOCK_TYPE_CODE

Current source for the time

Output

xRainFall

BOOL

Current state of precipitation ( TRUE = rain )

Output

wDateDD

WORD

Current day

Output

wDateMM

WORD

Current month

Output

wDateJJJJ

WORD

Current year

Output

wTimeHH

WORD

Current number of hours

Output

wTimeMM

WORD

Current number of minutes

Output

wTimeSS

WORD

Current number of seconds

Output

rSunAzimuth

REAL

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

Output

rSunElevation

REAL

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

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

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

eErrorCodeDev

ELSNER_P03_3_MODBUS_WITH_GPS_ERROR_CODE

ELSNER_P03_3_MODBUS_WITH_GPS_ERROR_CODE.NO_ERROR

Error code - device (0 = no error)

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

rAirTempOffset

REAL

0.0

Constant measurement offset for the transmitted actual value of outside temperature

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated