OSCAT Building
OSCAT Building v1.00 - Open source library with 57 functions for building automation is ported into Mosaic
We ported for you the open source library OSCAT Building 1.00. The library has 7 chapters and there are about 57 functions and function blocks. Documentation is available in english or in german. The library is supported in Mosaic from version 2015.2. The Building library is not the default part of Mosaic installation and it is necessary to add it manually in the Mosaic directory of libraries. Compiled library in format .mlb including all other relevant files can be downloaded here: OSCAT_Building_v1.00.zip.
OSCAT is acronym of „ Open Source Community for Automation Technology “. This community created Open Source Library - (Download) - based on the standard IEC 61131-3. The aim was to create the library which is not dependent on the funtions of the PLC manufacturers and is easy transferable to all PLC, which are compatible with the IEC 61131-3 standard . Description of the portation of OSCAT library for Mosaic in english is here. The community has its own web site www.oscat.de.
Name of chapter/function | Page | Description |
---|---|---|
1. Legal | 5 | |
1.1. Disclaimer | 5 | |
1.2. License Terms | 5 | |
1.3. Registered trademarks | 5 | |
1.4. Intended Use | 6 | |
1.5. Other | 6 | |
2. Introduction | 7 | |
2.1. Objectives | 7 | |
2.2. Conventions | 8 | |
2.3. Test environment | 9 | |
2.4. Releases | 10 | |
2.5. Support | 10 | |
3. Others | 11 | |
3.1. BUILDING_VERSION | 11 | |
4. Actuators | 12 | |
4.1. ACTUATOR_2P | 12 | this is an intelligent actuator interface for any 2point actuator like coil drive. |
4.2. ACTUATOR_3P | 13 | actuator_3P is an interface for a 3 point actuator. |
4.3. ACTUATOR_A | 15 | ACTUATOR_A drives any valve or similar with 0 - 255 continuous control input. |
4.4. ACTUATOR_COIL | 16 | this is an intelligent actuator interface for any coil actuator. |
4.5. ACTUATOR_PUMP | 16 | actuator_pump is a pump interface which can be controlled by an input in and an input manual. |
4.6. ACTUATOR_UD | 17 | out_ud is a up/dn or Right/left locked output driver. |
4.7. AUTORUN | 19 | AUTORUN monitors the duration of a load and ensures that the load at |
5. Heating, Ventilation, Air Condition | 22 | |
5.1. AIR_DENSITY | 22 | this function calculates the air density between 0 and 100 deg C |
5.2. AIR_ENTHALPY | 22 | this function calculates the enthalpy for humid air between 0 and 100 deg C |
5.3. BOILER | 23 | this function block controls a hot water boiler. |
5.4. BURNER | 25 | burner ist eine Oel-Brenner_steuerung fuer nichtmodulierende Oelbrenner |
5.5. DEW_CON | 29 | this function calculates the water concentratin in air for a given temperature and relative humidity. |
5.6. DEW_RH | 29 | this function calculates the relative humidity in air for a given temperature in °C and vapor concentration in Kg/ml.. |
5.7. DEW_TEMP | 31 | this function calculates the dew point for air given the temperature and relative humidity. |
5.8. HEAT_INDEX | 32 | this function calculates the heat index temperature depending on external temperature and Relative humidity |
5.9. HEAT_METER | 32 | Heat meter measures the heat transfer of water of a mixture of water and another component. |
5.10. HEAT_TEMP | 33 | Heat_Temp calculates a heat characteristic based on the formula: tv=ti+(tvmax-ti)*((ti-tau)/(ti-taumin))^(1/n) |
5.10. HEAT_TEMP | 33 | Heat_Temp calculates a heat characteristic based on the formula: tv=ti+(tvmax-ti)*((ti-tau)/(ti-taumin))^(1/n) |
5.10. HEAT_TEMP | 33 | Heat_Temp calculates a heat characteristic based on the formula: tv=ti+(tvmax-ti)*((ti-tau)/(ti-taumin))^(1/n) |
5.13. SDD_NH3 | 39 | this function calculates the vapor saturation pressure for NH3 gas |
5.14. SDT_NH3 | 39 | this function calculates the vapor saturation temperature for NH3 gas |
5.15. T_AVG24 | 39 | this function calculates the averaged daytime temperature by taking 48 samples over one day. |
5.16. TANK_LEVEL | 41 | TANK_LEVEL used to keep the level of liquid in a tank constant. |
5.17. TANK_VOL1 | 42 | TANK_VOL1 calculates the volume of a tubular tank filled to level H. |
5.18. TANK_VOL2 | 42 | TANK_VOL2 calculates the volume of a spherical tank filled to level H. |
5.19. TEMP_EXT | 43 | temp_ext measures and processes ext temperature and decides if heating or cooling is needed. |
5.20. WATER_CP | 45 | water_cp calculates the specific heat capacity of liquid water from 0..100 °C |
5.21. WATER_DENSITY | 45 | this function calculates the water density for air free water between 0 and 100 deg C |
5.22. WATER_ENTHALPY | 46 | water_enthalpy calculates the enthalpy of liquid water from 0..100 °C |
5.23. WCT | 46 | #NENÍ_K_DISPOZICI |
6. Electrical Engineering | 47 | |
6.1. CLICK | 47 | click checks an input for single, double or tripple click and sets the corresponding output single, doulbe or triple for the time the input stays high at the last click. |
6.2. CLICK_MODE | 49 | click_mode decodes an input for single, double or long click and sets the corresponding output single, doulbe or long. |
6.3. DEBOUNCE | 49 | DEBOUNCE is used to debounce switch inputs. |
6.4. DIMM_2 | 50 | this is an intelligent dimmer interface with an autoset feature using double switch inputs |
6.5. DIMM_I | 52 | this is an intelligent dimmer interface with an autoset feature for "in" it will automatically detect the type of switch: |
6.6. F_LAMP | 54 | F_Lamp is an interface to flourescent lamps. its main purpose is to protect flourescent lamps from dimming within the first T_NO_DIMM Time. |
6.7. PULSE_LENGTH | 56 | Pulse_length indicates on 3 outputs if an input pulse had been shorter than T_short (short = True), longer than T_long (long = True) or between T_short and T_long (middle = True). |
6.8. PULSE_T | 56 | PULSE_T generates a pulse of length T2 if the input pulse is shorter than T1. |
6.9. SW_RECONFIG | 57 | SW_reconfig detects if an input is high or low active and debounces the input |
6.10. SWITCH_I | 58 | this is an intelligent switch interface which has an autodetect feature for in and it will detect the type of switch connected automatically |
6.11. SWITCH_X | 59 | SWITCH_X is an interface for up to 6 push-buttons |
6.12. TIMER_1 | 60 | this is a simple timer that generates an output pulse on selected days. |
6.13. TIMER_2 | 60 | this timer generated programmabe output pulses per day, week, month and so on. |
6.14. TIMER_EVENT_DECODE | 62 | TIMER_EVENT_DECODE allows the programming of Timer Events using |
6.15. TIMER_EXT | 63 | TIMER_EXT is a twilight timer. |
6.16. TIMER_P4 | 65 | TIMER_P4 is a programmable universal timer. |
7. Blind Modules | 72 | |
7.1. Introduction | 72 | |
7.2. BLIND_ACTUATOR | 74 | blind actuator drives the up and down motor of a blind. T_lockout specifies the time between up or dn becomes active. |
7.3. BLIND_CONTROL | 75 | BLIND_CONTROL controls the shutter and the fn angle according to settings |
7.4. BLIND_CONTROL_S | 78 | BLIND_CONTROL_S manages and controls the position of blinds. |
7.5. BLIND_INPUT | 80 | BLIND_INPUT serves as a key interface for operating blinds. |
7.6. BLIND_NIGHT | 84 | BLIND_NIGHT serves to close the shutters or blinds at night. |
7.7. BLIND_SCENE | 87 | BLIND_SCENE stores up to 16 scenes consisting of relevant current blind |
7.8. BLIND_SECURITY | 89 | BLIND_SECURITY makes sure the blinds drive either up or down when certain events occur. |
7.9. BLIND_SET | 91 | BLIND_SET can be used to force a definite position and angle. |
7.10. BLIND_SHADE | 93 | BLIND_SHADE calculate the appropriate angle of the slats from the current |
7.11. BLIND_SHADE_S | 96 | BLIND_SHADE_S is a much simpler function of BLIND_SHADE specifically |