LOYTEC_LSTAT_80X_GX_LX_MOD

LOYTEC_LSTAT_80X_GX_LX_MOD (FB)

FUNCTION_BLOCK LOYTEC_LSTAT_80X_GX_LX_MOD

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication ( TRUE = enabled )

byUnitId

BYTE

0

Address of the device ( 0 .. 255 )

xUpdateActual

BOOL

FALSE

Update of actual values ( on each rising edge )

xUpdateStates

BOOL

FALSE

Update of states ( on each rising edge )

xUpdateSetp

BOOL

FALSE

Update of setpoints ( on each rising edge )

xUpdateConfig

BOOL

FALSE

Update of configuration ( on each rising edge )

xResSetpTempOff

BOOL

FALSE

Reset of the setpoint temperature offset (on each rising edge)

rSetpTempNight

REAL

18.0

Setpoint temperature - night operation (degrees Celsius)

rSetpTempBaseDay

REAL

22.0

Base setpoint temperature - day operation (degrees Celsius)

xMotionDetectMan

BOOL

FALSE

Manual trigger of motion/presence detection (TRUE = motion/presence)

rSetpFanLevelNight

REAL

1.0

Setpoint fan level - night operation (integer setpoints only!!!)

rSetpFanLevelBaseDay

REAL

2.0

Base setpoint fan level - day operation (integer setpoints only!!!)

rSetpDispFanLev

REAL

0.0

Setpoint for the display of the fan level ( bargraph - right )

rSetpDispHCLev

REAL

0.0

Setpoint for the display of heating/cooling power ( bargraph - left )

xDsplSymbPresen

BOOL

FALSE

Display of symbols for presence (= TRUE) or absence (= FALSE) (FALSE = night operation, TRUE = day operation)

xDsplSymbHeat

BOOL

FALSE

Display of the symbol for heating operation ( TRUE = show )

xDsplSymbCool

BOOL

FALSE

Display of the symbol for cooling operation ( TRUE = show )

xDsplSymbFan

BOOL

FALSE

Display of the symbol for the fan ( TRUE = show )

xDsplSymbAlWindo

BOOL

FALSE

Display of the symbol for the window alarm ( TRUE = show )

xDsplSymbAlRainf

BOOL

FALSE

Display of the symbol for the rain alarm ( TRUE = show )

xDsplSymbAlStorm

BOOL

FALSE

Display of the symbol for the wind alarm ( TRUE = show )

xDsplSymbAlAlarm

BOOL

FALSE

Display of the symbol for the alarm ( TRUE = show )

xDsplSymbNotDrop

BOOL

FALSE

Display of the symbol for the crossed-out drop ( TRUE = show )

xDsplSymbClock

BOOL

FALSE

Display of the symbol for the clock ( TRUE = show )

xBuzzer_Alarm

BOOL

FALSE

Enable / disable of the alarm tone ( buzzer ) ( TRUE = enable )

xResetDevice

BOOL

FALSE

Reset of the device ( on each rising edge )

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rSetpTemp

REAL

Setpoint temperature (degrees Celsius) (corresponds to the room setpoint temperature displayed on the RBG) (= Register 384)

rSetpTempOff

REAL

Setpoint temperature offset (Kelvin) (Calculation: rSetpTempOff = rSetpTemp - rSetpTempBase)

rSetpTempMin

REAL

Absolute minimum value - setpoint temperature (degrees Celsius) (calculation depending on night/day operating mode)

rSetpTempMax

REAL

Absolute maximum value - setpoint temperature (degrees Celsius) (calculation depending on night/day operating mode)

rSetpFanLevel

REAL

Setpoint fan level (corresponds to the fan level displayed on the RBG) (= Register 385)

rSetpFanLevelMin

REAL

Absolute minimum value - setpoint fan level (calculation depending on night/day operating mode)

rSetpFanLevelMax

REAL

Absolute maximum value - setpoint fan level (calculation depending on night/day operating mode)

rRoomTemp

REAL

Room temperature in XXX.X degrees Celsius

rExtTemp

REAL

External temperature in XXX.X degrees Celsius

rRelHumidity

REAL

Relative room humidity in XXX.X %

rDewPointTemp

REAL

Dew point temperature in XXX.X degrees Celsius ( the offsets of temperature and rel. humidity are not considered )

rCO2

REAL

Current CO2 concentration in ppm

xMotionDetect

BOOL

Status of motion detection (TRUE = motion/presence detected)

xSensorOffsetInDevice

BOOL

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

rSupplyVolt

REAL

Supply voltage in XXX.X volts

rCpuTemp

REAL

CPU temperature in XXX.X degrees Celsius

rCpuVolt

REAL

CPU voltage in XXX.X volts

sSerialNum

STRING

Device serial number

sProductCode

STRING

Product code of the device ( e.g. '21X' )

wDeviceMode

WORD

Operating mode of the device (= Register 101)

xConfig

BOOL

FALSE

State of the device configuration [ TRUE = configuration active ]

xButtonPresence

BOOL

FALSE

Actuation of the presence button (RAW, pulse with duration 'tTimeButtonPulse') (RBG and/or VISU)

xButtonTempUp

BOOL

FALSE

Actuation of the button to increase the setpoint temperature (pulse with duration 'tTimeButtonPulse') (RBG and/or VISU)

xButtonTempDown

BOOL

FALSE

Actuation of the button to decrease the setpoint temperature (pulse with duration 'tTimeButtonPulse') (RBG and/or VISU)

xButtonFanUp

BOOL

FALSE

Actuation of the button to increase the fan level (RAW, pulse with duration 'tTimeButtonPulse') (RBG and/or VISU)

xButtonFanDown

BOOL

FALSE

Actuation of the button to decrease the fan level (RAW, pulse with duration 'tTimeButtonPulse') (RBG and/or VISU)

xButtonLightOn

BOOL

FALSE

Actuation of the button to turn on the lighting (RAW, pulse with duration 'tTimeButtonPulse') (RBG and/or VISU)

xButtonLightOff

BOOL

FALSE

Actuation of the button to turn off the lighting (RAW, pulse with duration 'tTimeButtonPulse') (RBG and/or VISU)

xButtonShadeUp

BOOL

FALSE

Actuation of the button to open the shading (RAW, pulse with duration 'tTimeButtonPulse') (RBG and/or VISU)

xButtonShadeDown

BOOL

FALSE

Actuation of the button to close the shading (RAW, pulse with duration 'tTimeButtonPulse') (RBG and/or VISU)

xStateExtBut0

BOOL

State of external input 0

xStateExtBut1

BOOL

State of external input 1

xStateExtBut2

BOOL

State of external input 2

xStateExtBut3

BOOL

State of external input 3

xAlarm

BOOL

FALSE

General fault ( TRUE = fault )

xAlarmCom

BOOL

FALSE

General fault - communication ( TRUE = fault )

eErrorCodeCom

ModbusErrorCode

Error code - communication ( 0 = no error )

eErrorCodeDev

LOYTEC_ERROR_CODE_TYPE_2

Error code - device (0 = no error)

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

tTimeMotionDetectTimeout

TIME

TIME#10s0ms

Duration between the last detected motion/presence and switching off the 'xMotionDetect' output in seconds

xMotionDetectEnable

BOOL

FALSE

Enable/disable of motion/presence detection (TRUE = enabled)

eMotionDetectOutputMode

LOYTEC_MOTION_DETECTION_OUTPUT_MODE

LOYTEC_MOTION_DETECTION_OUTPUT_MODE.SHORT_PRESSED

Definition of the behavior of the 'xMotionDetect' output

rCO2Offset

REAL

0.0

Constant measurement offset for the transmitted CO2 value - actual value (internal CO2 value)

rRelHumidityOffset

REAL

0.0

Constant measurement offset for the transmitted relative humidity - actual value (internal relative humidity)

rExtTempOffset

REAL

0.0

Constant measurement offset for the transmitted temperature - actual value (external temperature)

rRoomTempOffset

REAL

0.0

Constant measurement offset for the transmitted temperature - actual value (internal temperature)

xVisuShadeDown

BOOL

FALSE

Actuation of the button to close the shading in the visualization

xVisuShadeUp

BOOL

FALSE

Actuation of the button to open the shading in the visualization

xVisuLightOff

BOOL

FALSE

Actuation of the button to deactivate the lighting in the visualization

xVisuLightOn

BOOL

FALSE

Actuation of the button to activate the lighting in the visualization

xVisuFanDown

BOOL

FALSE

Actuation of the button to decrease the fan level in the visualization

xVisuFanUp

BOOL

FALSE

Actuation of the button to increase the fan level in the visualization

xVisuTempDown

BOOL

FALSE

Actuation of the button to lower the set temperature in the visualization

xVisuTempUp

BOOL

FALSE

Actuation of the button to increase the set temperature in the visualization

xVisuPresence

BOOL

FALSE

Actuation of the presence button in the visualization

eDisplAutoDim

LOYTEC_RYMASKON_2XX_DISPL_AUTO_DIM

LOYTEC_RYMASKON_2XX_DISPL_AUTO_DIM.PERCENT_10

Definition of the 'display dim' functionality after approx. 2 minutes without button press (OFF, 50% brightness, 10% brightness, 0% brightness)

eShadeOutpMode

LOYTEC_RYMASKON_2XX_BUTTON_OUTP_MODE

LOYTEC_RYMASKON_2XX_BUTTON_OUTP_MODE.RAW

Operating mode of the outputs 'xButtonShadeUp' and 'xButtonShadeDwn' ( RAW, PULSE )

eLightOutpMode

LOYTEC_RYMASKON_2XX_BUTTON_OUTP_MODE

LOYTEC_RYMASKON_2XX_BUTTON_OUTP_MODE.PULSE

Operating mode of the outputs 'xButtonLightOn' and 'xButtonLightOff' ( RAW, PULSE )

eFanOutpMode

LOYTEC_RYMASKON_2XX_BUTTON_OUTP_MODE

LOYTEC_RYMASKON_2XX_BUTTON_OUTP_MODE.PULSE

Operating mode of the outputs 'xButtonFanUp' and 'xButtonFanDwn' ( RAW, PULSE )

ePresenceOutpMode

LOYTEC_RYMASKON_2XX_BUTTON_OUTP_MODE

LOYTEC_RYMASKON_2XX_BUTTON_OUTP_MODE.PULSE

Operating mode of the output 'xButtonPresence' ( RAW, PULSE )

xDispBargrHCLev

BOOL

FALSE

Enable / disable display of the left bargraph ( FALSE = no display )

xDispBargrFanLev

BOOL

FALSE

Enable / disable display of the right bargraph ( FALSE = no display )

eColorScheme

LOYTEC_LCD_COLOR_SCHEME

LOYTEC_LCD_COLOR_SCHEME.WHITE

Number of the color scheme ( 1 = white, 1-7 = valid numbers )

wPinCodeEndUser

WORD

3333

PIN code for the user level ( 0 = no code, 0001 - 9999 valid code )

wPinCodeAdmin

WORD

7458

PIN code for the administrator level ( 0 = no code, 0001 - 9999 valid code )

rSetpFanLevelMaxPara

REAL

3.0

Setpoint - absolute maximum - setpoint fan level in day operation (integer setpoints only!!!)

rSetpFanLevelMinPara

REAL

0.0

Setpoint - absolute minimum - setpoint fan level in day operation (integer setpoints only!!!)

rSetpTempOffMax

REAL

3.0

Absolute maximum of the setpoint temperature offset in day operation (Kelvin)

rSetpTempOffMin

REAL

-3.0

Absolute minimum of the setpoint temperature offset in day operation (Kelvin)

tTimeButtonPulse

TIME

TIME#1s0ms

Duration of the pulse at the output if the assigned button was pressed briefly

tPCTimeShort

TIME

TIME#5s0ms

Interval duration of the scan process to determine the product code ( short duration, device not yet recognized )

tPCTimeLong

TIME

TIME#1m0s0ms

Interval duration of the scan process to determine the product code ( long duration, device recognized )

tTimeUpdateConfig

TIME

TIME#0ms

Update interval for operations affected by the 'xUpdateConfig' input

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for operations affected by the 'xUpdateSetp' input

tTimeUpdateStates

TIME

TIME#500ms

Update interval for operations affected by the 'xUpdateStates' input

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for operations affected by the 'xUpdateActual' input

Last updated