ELSNER_P03_3_MODBUS_MIT_GPS

ELSNER_P03_3_MODBUS_MIT_GPS (FB)

FUNCTION_BLOCK ELSNER_P03_3_MODBUS_MIT_GPS

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication (TRUE = enable)

Input

byUnitId

BYTE

0

Device address

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

Indication of whether the sensors must be calibrated in the device (TRUE = calibration in the device required, FALSE = calibration in the 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 precipitation status (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

Collective fault (TRUE = fault)

Output

xAlarmCom

BOOL

FALSE

Collective fault - communication (TRUE = fault)

Output

eErrorCodeCom

ModbusErrorCode

Error code - communication (0 = no error)

Output

eErrorCodeDev

ELSNER_P03_3_MODBUS_MIT_GPS_ERROR_CODE

ELSNER_P03_3_MODBUS_MIT_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 value offset for the transmitted actual value of the outside temperature

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes influenced by the input xUpdateActual influenced

Last updated