HVAC Functions¶
Persistent variables are stored in text files on the controller using the Application Composers Persistent Manager. This allows the settings to be stored by the user at any time and up-to-date on the controller and thus made available again during a cold boot. The files can also be stored externally. If you change the controller, the settings can be restored. Even operating conditions can, for example, be stored after commissioning and can be re-read as desired. For these files to be saved, the stored variables must be provided with an attribute, and in the project, the files must be created in the Application Composer. To do this, create two channels in the Application Composer using the Persistence Manager. The names of the two channels must be the same as the description of the attributes used in the library. (With the example project, the channels have been created. An example video on our YouTube channel explains persistent behaviour in more detail.
There are two different files: - HVAC_Parameter (for parameters of the parameter window of all FBs) - HVAC_Counter (for operating hour data or other counter data)
The attributes before the variables are then:
For HVAC_Parameter:
{attribute 'ac_persist' := 'HVAC_Parameter'}
For HVAC_Counter:
{attribute 'ac_persist' := 'HVAC_Counter'}
Why two files? The HVAC_Parameter file is configured in such a way that if changes occur in the parameters, the file is immediately rewritten on the system (save with changes). Since the changes only occur when the user actively changes settings, this does not happen so often.
The HVAC_Counter file contains operating hour counters or pulse counters. These values constantly change according to the runtime. So that the file does not write over the memory all the time, cyclic storing is used here (e.g. every 12h, adjustable).
If the parameters are changed offline, the parameter list must be deleted before going online and a new one is created. However, all other online values will then be lost!
- Alarming
- Binary
- Button
- Clock
- Clock7d1Ch (FB)
- Functional Description
- Portrayal
- Interfaces
- Functional Description
- General
- Weekdays 1 - 7 (Monday ... Sunday, XXX = Mon, Tue, Wed, Thu, Fri, Sat, Sun)
- Switch-on periods
- Switch-off periods
- Enabling input xEN
- Display output xActive
- todActivatedFrom switch-on point in time of the switching periods of the current day of the week
- todActivatedFrom switch-off point in time of the switching periods of the current day of the week
- Visualization
- Information
- Codesys
- Clock7d2Ch (FB)
- Functional Description
- Portrayal
- Interfaces
- Functional Description
- General
- Weekdays 1 - 7 (Monday ... Sunday, XXX = Mon, Tue, Wed, Thu, Fri, Sat, Sun)
- Switch-on periods
- Switch-off periods
- Enabling input xEN
- Display output xActive
- todActivatedFrom switch-on point in time of the switching periods of the current day of the week
- todActivatedTo switch-off point in time of the switching periods of the current day of the week
- Visualization
- Information
- Codesys
- Holiday (FB)
- PublicHoliday (FB)
- SwitchTimeS (FB)
- TimeRead (FB)
- Clock7d1Ch (FB)
- Components
- Damper2P (FB)
- DamperAnalog (FB)
- DuoPump (FB)
- Short Description
- Portrayal
- Interfaces
- Functional description
- General
- Redundant control
- Enable - circulation pump 1 before manual override xAB1.
- Enable - Circulation pump 2 before manual override xAB2.
- enable - circulation pump 1 after manual override xHB1.
- Enable - Circulation pump 2 after manual override xHB2.
- operating messages xFb1 and xFb2
- Fault messages xAlarmIn1 and xAlarmIn2
- Resetting the fault signal of the operational monitoring systems xQuit
- Requirement - heat generation xHeatRequest
- Follow-up period
- Blocking protection modules
- Collective fault - Circulation pump 1 xAlarm1
- Collective fault - Circulation pump 2 xAlarm2
- xAlarm collective fault
- Operating hours counter - circulation pump 1
- Operating hours counter - circulation pump 2
- Operation monitoring - Circulation pump 1
- Operation monitoring - Circulation pump 2
- Message texts for faults sAlarm
- Status display sStatus
- Visualization
- Information
- Codesys
- Fan1Speed (FB)
- Short Description
- Portrayal
- Interfaces
- Functional Description
- General
- Release - fan before manual override xAB
- Release - fan after manual override xHB
- Message from the maintenance switch xMSwitch
- Operating hours and power-on operations
- Date / time of the last operation of the fan dtLastFb
- Operation monitoring
- Air-shortage monitoring
- fault display
- Collective fault message xAlarm
- Status display
- Visualization
- Information
- Codesys
- Pump (FB)
- Shade (FB)
- Valve3P (FB)
- Short Description
- Portrayal
- Interfaces
- Functional description
- General
- Blocking protection process
- xABOpen enable - valve opening before manual override
- *xABClose*enable - valve closure before manual override
- xHBOpen enable - valve opening after manual override
- xHBClose enable - valve closing after manual override
- Forced control of manual overrides of the outputs
- rPos current valve position
- Visualization
- Information
- Codesys
- ValveAnalog (FB)
- ValveTherm (FB)
- Control
- Control2P (FB)
- Control2Seq (FB)
- ControlP (FB)
- ControlPI (FB)
- Functional Description
- Portrayal
- Interfaces
- Functional Description
- General
- Integral part
- Enabling input xEN
- Restart of the controller
- Control deviation rDiff
- Proportional part at the signal output rPartP
- Integral part at the signal output rPartl
- Absolute rMin and rMax limits
- Status - limit exceeded xLimitActive
- Operating mode for the output signal of the eManModeN controller
- Visualization
- Information
- Codesys
- Out3P (FB)
- Counter
- Damping
- AverageTime (FB)
- Short Description
- Portrayal
- Interfaces
- Functional description
- General
- rOutCHX Average value outputs ( X = 0 ... 3 )
- rOutMin minimum value output
- rOutMax maximum value output
- dtLastNewValue time stamp
- sErr error text
- eInitial type of initialisation
- Enable / disable data recording xCalculation
- **xResetOnInput**reset of the measured value memory / the average value outputs
- Visualization
- Information
- Codesys
- AverageTimeCal (FB)
- Short Description
- Portrayal
- Interfaces
- Functional description
- General
- rOutCHX Average value outputs ( X = 0 ... 3 )
- rOutMin minimum value output
- rOutMax maximum value output
- dtLastNewValue time stamp
- sErr error text
- eInitial type of initialisation
- Enable / disable data recording xCalculation
- **xResetOnInput**reset of the measured value memory / the average value outputs
- Visualization
- Information
- Codesys
- DampingT1 (FB)
- Ramp (FB)
- AverageTime (FB)
- Energy
- General
- CDate (FB)
- CTime (FB)
- CToD (FB)
- ManInfo (FB)
- Short Description
- Portrayal
- Interfaces
- Functional description
- General
- Reset input xResetAuto
- xManActive status display - manual overrides
- iManBinCounter number of binary manual overrides
- iManNumCounter number of numeric manual overrides
- Number of manual overrides on the mode selector switches iManOpCounter
- iManFbCounter number of function blocks in manual mode
- iEnControlCounter number of deactivated function enables
- iManCounter total number of manual overrides
- uxiManCounter
- Visualization
- Information
- Codesys
- MuxString2BinFun (FUN)
- MuxString4BinFun (FUN)
- MuxString5BinFun (FUN)
- MuxString5Fun (FUN)
- OpModeSelect (FB)
- Redundant2 (FB)
- Monitoring
- Numeric
- Setpoint
- Time
- checkLicense (FB)