Home
        Baseline Unitа Trattamento Aria
         Contents
1.      1 enable   BOOL  Enabling of the menu  can be deactivated following a user command   for entry in a submenu      1 enableSetMenu   BOOL  User command for entry into the set menu   2 enablePrgMenu   BOOL  User command for entry into the Prg menu    3 timeout   BOOL   Timeout detected in basic display mode    4  changeStateRequest   BOOL   User command for changeover of unit ON OFF status    5 newState   USINT   New value of unit ON OFF status requested by user  if                               Air Handling Unit Baselines   Developer s Manual 55    MET smart       changeStateRequest is TRUE    6  changeModeRequest   BOOL   User command for changeover of operating mode  COOL HEAT AUTO    7 newMode   USINT   New value of operating mode COOL HEAT AUTO requested by user   if changeModeRequest is TRUE    8  changeFanSpeedRequest   BOOL   User command for fan speed change    9  newFanSpeed   USINT   New fan speed requested by user  if changeFanSpeedRequest is  TRUE    10  toggleTimeRequest   BOOL   User command to enable disable time frame operation        6 4 6  SKWPswProtection t    Type  Description    Inputs    INOUT  variables    Outputs    FUNCTION  BLOCK  Block for password protection of access to a menu for remote keypad    1 timeout   BOOL  If TRUE  access privileges forgotten  due to timeout  and the password  must be re entered to gain access to the menu     1  enable   BOOL  Enabling of the menu  can be deactivated following a user command  or due to timeout     1 en
2.     E  w                      Table 1  List of AHU baselines       Air Handling Unit Baselines   Developer s Manual 13    MET smart    The choice of the starting baseline can be guided by the following considerations     e if the AHU has the sole goal of temperature control and differs significantly from  the characteristics of layout 3  for example  it does not incorporate management  of free cooling free heating  modulating dampers and inlet fan   it may be more  practical to start from layout 1     e if the AHU has the dual goals of temperature and relative humidity control and  differs significantly from the characteristics of layout 3  for example  it does not  incorporate management of free cooling free heating  modulating dampers and  inlet fan   it may be more practical to start from layout 2       inall other cases  it may be more practical to start from layout 3     4 2  Deriving a new Application project from the baseline    Once the starting baseline has been chosen  a copy must be made in order to edit it so  that a dedicated application can be derived     The steps to follow are   1  open the Application project corresponding to the chosen baseline   2  save the application with a new name  File menu  gt  Save project as         Refer to the Application user manual for more details     4 3  Making changes to the application    Once you have made a working copy of the baseline  you can edit the source code in  such a way as to introduce all the differences requir
3.    Developer s Manual 21    MES smart    In the AHU baselines  COOL HEAT mode is established by cross referencing the inputs  value and dedicated user parameters with the value of an additional user parameter that  defines the selectable modes  see Figure 5                                    W  aan aa ke vam eS we  Wi Gen ee   ys EAT gH coma eh Sa dr te X   nae Pe a aA vis SE cooL   I nee das Sh woh    ay AS  cle ay a ee GP we na LIMIT    ir  SB Aap SAC Ran OE HEAT   Se ae bee OO     St11 LocalMode         IN   So p a ai hue m C x  UE Re MEC Se BR D m  X cool               MN   oe  amp  oW 4X4 SG eR a    WS OX      OX X oW Get HEAT MX   we dee ud E Se Ow Em      mi x I    St11 LocalMode          G      EM  X we d Auto                  St14_LocalMode Ms           x ee  d   A4 oux a ek Aor   del m  So E eo cmo Xon   de os ee CAD Cm ORO  R autoHCMode In1 cg   e eGR OF e d c   Re o8 RIS ju      SX Cue Je 04 QS GE  EQ We Se i teh Ae car   RS Roe die ce vb ZO on SEL fo i UM cea D ACER io VS Re Ue Q8  ap Mae 7  OE  A  SAL Gap QA Qd  td  fc  a tea r   uer dea ach UE mic we cat ARE doe uino di 1 RemoteHCMode       8  E OS  Sil oo 4   44 Wee GM oo  da f   4 de corde xh eb EO Db d d  X ES dm dh eo o LS as 8 Wc dD deca o a LUE cooL Ind ea a OO ae a i a IS a a sg          X cw  Haw c6 e d Se dX de A a o   HEAT In1 v wd dX ouv     s e e e C   Ue  9 Ceo ck xS d     d cec   OR ee ux          Figure 5  Determining the COOL HEAT operating mode of the air handling unit  parameter StOO limits  t
4.    ON  normal operation     OFF  unit off     pre alarm or emergency states    o OFF with alarm  emergency condition      o antifreeze        Air Handling Unit Baselines   Developer s Manual    29    MET smart    SelectState       fo rce 6 E n e ra Al a tm l fo reeAntifre eze Se cu rity T rs Ente rOn   l l T rs Ente rot l          GeneralAlarm Ni AntifreezeSecu    Ni       T is Exito enera IAI am T rs ExitAntifre ezeSe e   T rs Exito n T is Exitoff       SelectState      Figure 12  Principal states of the AHU baselines  in addition to normal operating status   ON  and OFF status  there is also an alarm status and an extraordinary procedure for the  antifreeze regime    The ON status is  in turn  a states machine  Figure 13   wherein each state represents a  strategy to fulfill a goal  temperature  humidity  etc                Figure 13  states machine of layout 2  during normal operation of the unit  considering  for example   summer mode  COOL   the unit can activate the procedures for cooling  STEP Cooling   priority  and  dehumidification  STEP Dehumidification        30 Air Handling Unit Baselines   Developer s Manual    MEE smart    It may occur that some of the pre alarm emergency situations envisaged by the Air  Handling Unit baselines  or the strategies to fulfill the control aims  are not relevant for  our particular application case  it may therefore be advisable to eliminate them     5 7 1  Removing a strategy       To do this  proceed as follows     remove the SFC
5.    The HMI block manages the application user interface  in particular with reference to     signalling of unit ON OFF status     the operating mode  HEAT  COOL  etc       signalling of active services     the application menu     keys management     1 8 2  Collaborations    HMI gathers the following data to view     unit ON OFF status  from GOAL      operating mode  from GOAL      the set of active services  from OUTPUT    Data on the activities of the user managed by HMI are used by     DIAGNOSTICS  with regard to manual alarms reset        X APPENDIX   Air Handling Unit Baselines   Developer s Manual    2  Application project structure    The previous chapter describes the architecture of a baseline from an abstract  standpoint  in this chapter  the architecture is explained and described in terms of items  of an Application project     2 1  Tasks  programs and functional blocks    All the blocks described in the previous chapter  with the exception of REGULATORS  and ACTUATORS  translate into programs  PROGRAM  in accordance with standard  IEC61131 3   This means  specifically  that the exchange of data between blocks occurs  by means of global variables  whether they are parameters  EEPROM Parameters   states   Status variables   Alarms  I Os  I O mapping  or internal variables  Global variables    The REGULATORS and ACTUATORS blocks are grouped into functional blocks that  represent the physical components of the air handling unit  created as global variables  and invok
6.   output to the corresponding digital analog output        EXAMPLE 5 4    To implement the requirement expressed in Example 5 3  the following procedure  can be adopted     1  in the section Resources  gt  EEPROM Parameters  six new parameters are  defined  e g  1001  1002       1006   one for each logical input  e g   1001  refers to I OutletFanThermal  1002 to I OutletFanFlowSwitch  etc     the value of which  between 1 and 6  identifies the corresponding local  digital input    Project x                   m a o Deine  FF Resouces   FreeSmart EEPROM Parameters  nfiguration     8 a B pud objects  al Add  3 Remove 53 Recalc    4 amp 9 EEPROM Parameters   amp  status variables Address Name Display label Device type Application type Default value Min M   B A Enums  16390 1001  OutletFanThermalDIPos 1001 Unsigned 8 bit INT 1 1 6  z E 16391 1002 OutletFanFlowSwitchDIPos 1002 Unsigned 8 bit     INT 2 1 6  A TimeMode 16392 1003 InletAirFilterPressureSwitchDIPos 1003 Unsigned 8 bit     INT 3 1 6  A  stoovalues 16393 1004_EconomyDIPos 1004 Unsigned 8 bit INT 4 1 6    9 BIOS Parameters 16394 1005_RernoteHCModeDIPos 1005 Unsigned 8 bit INT 5 1 6  sR EMO  16395 1006 RemoteOFFDIPos 1006 Unsigned 8 bit     INT 6 1 6 a    2  in the section Resources  gt  Menu Prg  the new parameters are published in a                      menu   Project x EJ Resources  E  Project   o Definiti E Resources i  GA Project    o Deiriiene FreeSmart  I O configuration  Menu  4 amp 9 BIOS Parameters    S E  Menu P
7.  FUNCTION_BLOCK  Regulator ON OFF    1 hcMode   USINT   Direction of regulator  if COOL  the control action is active until  feedback exceeds the setpoint  if HEAT  it is active until feedback  is below the setpoint    2  feedback   INT   Measurement of the physical quantity subject to the control action  read by the regulation probe and utilized as feedback for correlation  with the setpoint    3  setpoint   INT   Target value of the physical quantity subject to the control action    4  diff   INT   Differential to be added to subtracted from the setpoint for status  changeover from OFF to ON  if hcMode equals COOL  the control  action occurs when feedback becomes greater than or equal to  setpoint   diff  if hcMode equals HEAT  it occurs when feedback  is below or equalto setpoint   diff                    1 out   BOOL  ON OFF status of the control action        48    Air Handling Unit Baselines   Developer s Manual    MEE smart    6 3 3  ProportionalRegulator_t    Type  Description    Inputs    Outputs    FUNCTION_BLOCK  Proportional regulator    1 hcMode   USINT   Direction of regulator  if COOL  the control action is active until  feedback exceeds the setpoint  if HEAT  it is active until feedback  is below the setpoint    2  feedback   INT   Measurement of the physical quantity subject to the control action  read by the regulation probe and utilized as feedback for correlation  with the setpoint    3  setpoint   INT   Target value of the physical quantity subject to the
8.  Goal RegulationProbe PROGRAM selects the probes to be used in the  regulation stage  one probe for each control goal  temperature  relative humidity  etc       The result of the Goal RegulationProbe execution is encoded in the set of status  variables dedicated to the regulation probes  this means that it is possible to edit or  even completely replace the PROGRAM without affecting the rest of the application  as  long as these status variables are assigned the correct values     In AHU baselines the value of one or more user parameters selects the probe to be used  from a list  see  for example Figure 8      Select relative humidity regulation probe among alternative humidity probes    MUX       RH  RegulationProbe       Hi01 HumidityProbeSelection   _InletAirRelative Humidity   _OutletAirRelative Humidity   _RoomRelativeHumidity           10        Figure 8  Selection of the relative humidity probe  chosen in accordance with the value of parameter  Hr01 from the inlet probe  the outlet probe  and the room probe    5 5 1  Editing regulation probe selection    It may be necessary to add or remove a probe from the list of those selectable as the  regulation probe        To achieve this result  proceed as follows     e edit the corresponding FBD network in the Goal RegulationProbe  PROGRAM  so that the probe is included excluded in the selection     e edit the definition of the selection parameter  specifically to increase decrease  the maximum value        24 Air Handling Uni
9.  HVAC applications     6 1 1  DelayedStarter t    Type  FUNCTION BLOCK  Description  Actuator of a digital output that adds a starting delay and a stopping delay    Inputs  1 in   BOOL  Value to actuate on the digital output prior to application of the  delays   2 delayOnStart   UDINT  Starting delay  expressed in milliseconds  ms    3 delayOnStop   UDINT  Stopping delay  expressed in milliseconds  ms    4 delayBetween   UDINT  Minimum pause time between successive starts  expressed in  milliseconds  ms      Outputs  1 out   BOOL  Value to actuate on the digital output after application of the delays        6 1 2  StarDeltaStarter t    Type  FUNCTION  BLOCK  Description  Star delta starting    Inputs  1 in   BOOL  Value to actuate on the digital output   2  lineStarDelay   UDINT  Star line delay  expressed in milliseconds  ms    3  starDuration   UDINT  Star line duration  expressed in milliseconds  ms    4  starDeltaDelay   UDINT  Star delta delay  expressed in milliseconds  ms            Outputs  1  line   BOOL  Line contactor        Air Handling Unit Baselines   Developer s Manual 45    MET smart    1  star   BOOL  Star contactor   1 delta   BOOL  Delta contactor        6 2  Alarms    The Alarms library contains the set of management logics of the alarms that are most  frequently utilized in the applications     6 2 1  AutoRearmAlarm_t  Type  FUNCTION  BLOCK    Description  Automatic reset alarm    Inputs  1 enable   BOOL  Enables the alarm condition test  If FALSE  the bl
10.  STEP corresponding to the status to be eliminated     e if itis not used in other STEPS  remove the ACTION corresponding to the strategy  to be eliminated       adjust the connections of the SFC diagram  removing the transitions to and from  the eliminated state     It may be necessary to adjust other parts of the Strategy PROGRAM or the application   for example  to eliminate an alarm or an AHU component that is no longer required        Air Handling Unit Baselines   Developer s Manual 31    MES smart    Eliwell Free Studio Application    YD Also delete the associated code      TE CoviMode   D Tu Entereaiing      Dehumidioall   100010 11 Dg Te Cooimode       J Te Extent           32 Air Handling Unit Baselines   Developer s Manual    MELE smart  5 7 2  Adding a strategy    Derived applications can manage pre alarm or emergency situations that are not  envisaged by the Air Handling Unit baselines and also provide additional strategies to  fulfill the control objectives        To do this  proceed as follows     create the SFC STEP corresponding to the state to be added       create the ACTION corresponding to the strategy to be added  assigning it to the  STEP we have just created       adjust the connections of the SFC diagram  adding the transitions to and from the  added state     It may be necessary to adjust other parts of the Strategy PROGRAM or the application   for example  to manage a new alarm variable or a new AHU component        Air Handling Unit Baselines   Deve
11.  control action   4 band   INT   Dimension of the proportional band  if hcMode equals COOL  the  regulator saturates  control action equals 100   when feedback  becomes higher than or equal to setpoint   band  if hcMode  equals HEAT  when feedback becomes less than or equal to  setpoint   band           leout   INT  Control action level  in parts per thousand  96      6 3 4  ThreeStepsRegulator t    Type  Description    Inputs    FUNCTION BLOCK  Regulator with three steps    1 hcMode   USINT   Direction of regulator  if COOL  the control action is active until  feedback exceeds the setpoint  if HEAT  it is active until feedback  is below the setpoint    2 feedback   INT   Measurement of the physical quantity subject to the control action  read by the regulation probe and utilized as feedback for correlation  with the setpoint    3 setpoint   INT   Target value of the physical quantity subject to the control action   4 diff   INT   Total differential to add to subtract from the setpoint for activation of  the three power steps  if hcMode equals COOL  the first step is  activated when feedback becomes greater than or equal to  setpoint   diff 3  the second step when feedback becomes  greater than or equal to setpoint   2  diff 3  and the third step  when feedback becomes greater than or equal to setpoint                           Air Handling Unit Baselines   Developer s Manual 49    MET smart    Outputs                diff  if hcMode equals HEAT  the first step is activated wh
12.  deactivated following a user command  or due to timeout     1 back   BOOL   Returns user to the higher menu level   2 enableCurrentFolder   BOOL   User command for input in the current submenu  i e  the submenu in  the currentFolder position               6 4 4  SKWLeftDisplayMenu t    Type  Description    Inputs    FUNCTION BLOCK    Block for navigation from the remote keypad of a menu of items  with  their values shown on the left hand display    1 itemNumber   USINT   Total number of items that can be displayed in the menu    2  currentItemValue   INT   Text identifying current item  i e  item in currentItem position     3  currentItemMin   INT   Minimum value of current item  i e  item in currentItem position     4  currentItemMax   INT   Maximum value of current item  i e  item in currentItem position     5  currentItemLabel   STRING   Text identifying current item  i e  item in currentItem position     6  currentItemDisplayType   USINT   Type of value of the current item  i e  item in currentItem position    expressed with constants DISPLAY TEMPERATURE   DISPLAY PRESSURE ONE DEC      7 subFolder   BOOL   If TRUE  the menu provides access also to a submenu  not included in                                                 Air Handling Unit Baselines   Developer s Manual 53    MET smart    INOUT  variables    Outputs    the itemNumber counter value    8  subFolderName   STRING  Text identifying the submenu     1  currentItem   USINT   Current item  expressed as a position 
13.  differentiated from case to case  The need  frequently occurs to modify the algorithm for calculation of ON OFF status        To do this  simply edit the FBD network that establishes the value of the status variable  state within the Goal State program        Air Handling Unit Baselines   Developer s Manual 19    MES smart    Determine the current state  ON  STD BY  or OFF     Priority   e  4  Local OFF   P When remote off DI is TRUE   2  Local STD  BY or time OFF the unit state is forced to OFF  3  Local ON ortime COMFORT ECO       5 2 2  Editing time frame operation    Time frame operation can be replaced with personalized operation depending on the  needs of the specific application case        To do this  proceed as follows       replace the time frame operation block with a different one  which can be  appropriately derived from the first one       edit  add remote  redefine  the set of user parameters required to save the time  frames        20 Air Handling Unit Baselines   Developer s Manual    E Remove 3  Recalc    Name  tE00_EnableTimeEvents  tE01_TimeProfilemonday  1E02 TimeProfileTuesday  1E03 TimeProfileWednesday  1E04 TimeProfileThursday  1E05 TimeProfileFriday  tE06_TimeProfileSaturday    tE10_TimeProfile1 Eventi    _ Display label    tE00  tE01  tE02  tE03  tE04  tE05  tE06    tE10           EB Project       Definitions    amp   Resources     MEE smart    FreeSmart EEPROM Parameters    Device type  Boolean  Signed 8 bit  Signed 8 bit  Signed 8 bit  Signed 8 bi
14.  lt lill    Air Handling Unit  Baselines       Developer s Manual    Invensys    Controls    MET smart    Table of contents     BC EC EDUECOLOTI dnt d ate aene ter ge ee s E eer tre rere en er es 4  UM PE im aU fa DI ames ena E AE Ce 4   NUN TH HEN 4   VA Eje p E 5  2 1 Abbreviations and Cetin ONS uenti Ee bE quce es PEE ov qui e pede dread 5   3 Baseline architect  re senner T 6  S Block diagi ahis e eene a eT ee E Edu eee E ree 6  22 GOALE BIOCEN 7  SU DIAGNOSTICS 0c ol crane ree perme tr errs er nerer scree re Dod Mi m dnd EEE EREN A eee er 8  eA 1M Gh lc  ae errr dd a Crit ent ook ORM ble M AMMONIUM 9  3 5 REGULATORS and ACTUATORS blocles  ets tetrerediltbeeia b ietes errare tede 11   2  Derived applicallols  cocci tipa ap b cde plos ass DD D bU ib xoa i paage 12  4 1 Choosing the BOSE Ia oue tipp n nur UO disp de dd adis i nu ma id 12  4 2 Deriving a new Application project from the baseline    14  4 3 Making changes to the applicati DPlaiso eo me RONDE OU Aa Rtbnrkhda tdi mds ad x DRE ME 14   b Editing the APICAL susp sno ten eis ee ieties bL ER EP Feind etim taU isise eia e tel tei Redde 15  Bt NI OPIPSE US npe UE a Deb ae ne tree See unu caua te ee ee DM PE 18  5 3 COOL HEAT grocer me eo ee eee o to CT 21  BRS Uh saw tenets sag nena ce nce EEEE pee AEE 23  5 5 Reg    latiom MN ODER ente eaten tente auto ners tiet ec edd ue ENTE NUI DN NM 24  DMA OIC SU r  o E                                   26  Sorate Gyra ee en ee ene AE M  N 29  5 8 Regulation and actuation of QHE
15.  of regulator  if COOL  dynamic differential is greater than 0  when feedback is higher than setpoint  if HEAT  when feedback is  below setpoint    3 maxDifferential   INT   Maximum value of dynamic differential  i e  maximum value of  differential output     4  feedback   INT   Measurement of the physical unit to which value of dynamic  differential is linked  utilized as feedback for correlation with the  setpoint    5 setpoint   INT   Value of the physical unit to which value of dynamic differential is  linked  for which the differential is cancelled    6 band   INT   Proportional band of increase of the value of the differential value up  to its maximum  maxDifferential        1  differential   INT  Dynamic differential to apply           58    Air Handling Unit Baselines   Developer s Manual    MET smart    6 6 2  PercentageReduction    Type  Description    Inputs    Outputs    FUNCTION  Percentage reduction of a value expressed in parts per thousand   o     1 in   INT   Value to reduce  expressed in parts per thousand   o     2  reduction   INT   Value of the percentage reduction to apply  expressed in parts per  thousand   o      Value resulting from the percentage reduction    6 6 3  TimeFrameManager_t    Type  Description    Inputs    Outputs    FUNCTION_BLOCK  Time frame operation    1 enable   BOOL   Enable time frame operation    1 mode   USINT   Mode  COMFORT  ECO or OFF  corresponding to the current time  frame        Air Handling Unit Baselines   Developer s Ma
16.  recovery unit is fixed at a  level specified by STRATEGY       Resources ma HeatRecovery       Class Pin Name Type Array Init value Attribute  8  VAR EXTERNAL rC01 HeatRecoveryUnitDelta INT No 0  10 VAR_EXTERNAL rC02 HeatRecoveryUnitBand INT No 0     lt  il      ges         DISABLE                  e F EG i  E j    If a by pass value has been provided  heat recovery unit speed level is set to that value                 O_HeatRecoveryUnit           EG 2  2  52 5 2 5  Ez    mode               EN ENO     Ta al pa  O_HeatRecoverUnit       Bypass 9     o m    Proportional regulation of heat recovery unit speed level                regulator   Tr EQ   oe sss s s ee    Proportional Regulator t  mode  gt  EN ENO iat n  ENABLE 05 o5 5 5 5 e BODL hcMode out DO HeatRecovenyUnit    feedback feedback    rCO1 HeatRecoveryUnitDelta  gt           setpoint    rCO2 HeatRecovenyUnitBand          band    4  create a global instance of the FUNCTION BLOCK   Ij Resources Ea HeatRecovery    Bp Global variables         Name Type Address Group Array Init value Attribute Description  1 resetAlarmRequest BOOL Auto No FALSE  2 jexemalDamper ExternalDamper_AHUO1 Auto No 0 i External damper regulatoractuator  3 outletFan OutletFan_AHUO1 Auto No 0 Outlet fan regulator actuator  4 heater Heater AHUD1 Auto No    Heater regulator actuator  5 cooler Cooler AHUD1 Auto No 0 Cooler regulator actuator  B heatRecoveryUnit HeatRecoveryUnit_Custom01 Auto No 0 Heat recovery unit    5  edit the Strategy PROGRAM  insert
17.  the addition of an item to a menu        In this case the changes are limited to the ACTION that defines the menu to be edited     In particular  it is necessary to     e edit the definition of the menu  increasing the number of items       add the definition of the new item        42    Air Handling Unit Baselines   Developer s Manual       Thermoregulation menu has 7 uon     thermoregulationMenu itemNumber    7  I       7th thermoregulation menu item     5     IF thermoregulationMenu updateCurrentItemValue THEN  bWarningKiller    sysWriteParINT  ADR  rC01_HeatRecoveryUnitDelta    thermoregulationMenu localValue  END IF     thermoregulationMenu currentItemValue   HA  ocu tRecoveryUni tDelta   thermoregulationMenu currentItemMin   E  thermoregulationMenu currentItemMax   H  thermoregulationMenu currentItemLabel     rC01   thermoregulationMenu currentItemDisplayType    DISPLAY TEMPERATURE    I     END CASE     thermoregulationMenu  enable    enableThermoregulationMenu           5 9 2  Adding a menu    The user interface for the LCD terminal of an application derived from the AHU  baselines may call for the addition of an entire menu        To add a menu we need to adjust the SFC diagram to add the STEP corresponding to  the new menu and connect it to the parent menu        Air Handling Unit Baselines   Developer s Manual 43    MEE smart          EXAMPLE 5 25    To meet the requirement expressed in Example 5 25  proceed as follows     1  first of all define a new Boolean varia
18.  the corresponding LED    7  resourcel   BOOL   Enabling of resource no  1  depending on application   utilized by  LocalMainView_t for management of the corresponding LED    8  resource2   BOOL   Enabling of resource no  2  depending on application   utilized by  LocalMainView_t for management of the corresponding LED    9  resource3   BOOL   Enabling of resource no  3  depending on application   utilized by  LocalMainView_t for management of the corresponding LED    10  resource4   BOOL   Enabling of resource no  4  depending on application   utilized by  LocalMainView_t for management of the corresponding LED    11  resource5   BOOL   Enabling of resource no  5  depending on application   utilized by                      Air Handling Unit Baselines   Developer s Manual 51    MET smart    Outputs       LocalMainView_t for management of the corresponding LED    12  resource6   BOOL   Enabling of resource no  6  depending on application   utilized by  LocalMainView_t for management of the corresponding LED    13  resource7   BOOL   Enabling of resource no  7  depending on application   utilized by  LocalMainView_t for management of the corresponding LED        1 hotKeyUP   BOOL  Prolonged press of local display UP key detected   2 hotKeyDW   BOOL  Prolonged press of local display DW key detected   3  hotKeyESC   BOOL  Prolonged press of local display ESC key detected   4 hotKeySET   BOOL  Prolonged press of local display SET key detected                                   6 4 
19. 2  SKWAlarmMenu t    Type  Description    Inputs    INOUT  variables    Outputs    FUNCTION  BLOCK  Block for navigation from remote keypad of an alarms menu    1 totalAlarms   USINT   Total number of alarms that can be displayed in the menu   2 currentAlarmValue   USINT   Value of current alarm  i e  of the alarm in the currentAlarm  position   O   not active  1   active  2   pending manual reset   3 currentAlarmLabel   STRING   Text identifying current alarm  i e  the alarm in the currentAlarm  position            1 currentAlarm   USINT   Current alarm  expressed as a position in the menu  deriving from the  navigation operations performed by the user    2 enable   BOOL   Enabling of the menu  can be deactivated following a user command  or due to timeout     1 back   BOOL  Returns user to the higher menu level       52    Air Handling Unit Baselines   Developer s Manual    MET smart    6 4 3  SKWFolderMenu t    Type  Description    Inputs    INOUT  variables    Outputs    FUNCTION BLOCK    Block for navigation from remote keypad of a menu providing access  to a list of submenus    1 folderNumber   USINT   Total number of submenus that can be displayed in the menu   2 currentFolderLabel   STRING   Text identifying the current submenu  ie  submenu in the  currentFolder position         1 currentFolder   USINT   Current submenu  expressed as a position in the menu  deriving from  the navigation operations performed by the user    2 enable   BOOL   Enabling of the menu  can be
20. HMI library for management of user navigation  Figure 16            Day menu has 7 items    0078   dayMenu itemNumber    7  0079   0080      Day menu does not have a subfolder    0081   dayMenu subFolder    FALSE            CASE dayMenu currentItem OF          Day menu 1st item    0086   0  0087   IF dayMenu updateCurrentItemValue THEN 0088   bWarningKiller    sysWriteParUSINT  ADR  tE 0089   END IF  0090   091   dayMenu currentItemValue    TO INT  tE01_TimePr 0092  dayMenu currentItemMin    1    dayMenu currentItemMax    4  0094   dayMenu currentItemLabel     tE01   0095   dayMenu currentItemDisplayType    DISPLAY_NUMBE 0096          Day menu 7th item     6     IF dayMenu updateCurrentItemValue THEN  bWarningKiller    sysWriteParUSINT  ADR  tE    END IF     dayMenu currentItemValue    dayMenu currentItemMin    dayMenu currentItemMax    dayMenu currentItemLabel    dayMenu currentItemDisplayType    END CASE     dayMenu  enable      enableDayMenu    enablePrgMenu        TO INT  tE07 TimePr    1     4      tE07        DISPLAY NUMBE      enableDayMenu       dayMenu enable   dayMenu  back     Figure 16  two fragments of Act_DayMenu  containing the definition of the Day menu and of its 7 items   invocation of the SKWRightDisplayMenu_t library block  dayMenu variable  and management of the  enabling flags of the menu itself and the parent memory  Prg menu     5 9 1  Adding an item to a menu    A frequent variation to the menu for the LCD terminal included in the AHU baselines  is   
21. PEUS  sik outta eb etos qua Gp M VU ipea ida ME Gt bred Sh 36  5 9 LCD t  rminal MENU MR S 41   GNE CIIM                                         aaas 45  ON IvsiU  o c                                      45  NUM Ql MN T PU eas 46  suce P  jre MR                               nani Ti 48  6A SMARAM T                                   S 51  65 IVE GAINS REESE Tm 57  O6 Utils e a E DD 58   TSCM CAG ell TT e eaten ete er aera ae CST II  CEN  eq emt uc NT NN EN I   PARAMETERS T     E III  kI GOAL                                                  M                eae Il  TA DIAGNOSTICS arriere penine iten                                                        V  VOSTRATEGY oere e E yet errr ere rir eer PEU EU SUM ad VI  TO REGULATORS and ACTUATGBRBS  ictor ehm eer mh Ranae smit sd irent VIII  UNE e sy mp pem                    I    ene X   lu PET X   2 Application project SUFUCDUTE  oa ie Lore bcc Re HUIR Pa P uA HA PO FUR ape e uai vwd rec gs XI  zd Tasks programs and functional bDIOOkSuiu no etre e fseupi e ene aeta fi cH Y XI  VAN AME  lI  cM CT XII  29 ANPUT  isere eei E du rene remo NA XII  24 PARAMETER Serene roe e I MU I HER T UC quA NRdU E UMEN UER nU HIMEN XIII       2 Air Handling Unit Baselines   Developer s Manual    MEE smart    aE Ss   Ge  d ae ae ae eI Ce ae ee DR XIV  ZO IBGBKOSTESS ae puces a matt E M MEC M Duden e Em ME XV  ZT oT RA EGY f                           ANART ASAS XVI  26 REGULATORS and ACTUATORS Stars tpeibesdtiea neben epist tetir s tidie Pte wab Eid X
22. RS outputs are used by   e ACTUATORS  as values to implement on the unit outputs     ACTUATORS receives at input     possible configurations of actuation logics delegated to USER  from  PARAMETERS      the values of the control actions to implement  from REGULATORS    The ACTUATORS outputs are used by     STRATEGY  in order to change the strategy adopted on the basis of the actuators  status     OUTPUT  for physical implementation   The situation described is represented schematically in Figure 21        VIII APPENDIX   Air Handling Unit Baselines   Developer s Manual          INPUT          Values to    Regulators control implement    Control action    STRATEGY    OUTPUT    Feedback        Regulators configuration    Actuators configuration  Secondary regulator setpoints    PARAMETERS  Figure 21  Relationships between REGULATORS  ACTUATORS and the other blocks          APPENDIX   Air Handling Unit Baselines   Developer s Manual IX       1 7  OUTPUT    1 7 1  Responsibility    The OUTPUT block implements the logical outputs on the physical outputs  supplying   in particular     mapping between logical and physical outputs  to which DOs or AOs the logical  outputs correspond      conversion of the logical value utilized in the application into the corresponding  physical value     1 7 2  Collaborations    The logical outputs utilized by OUTPUT are calculated by ACTUATORS   The physical outputs produced by OUTPUT are external to the system     1 8  HMI    1 8 1  Responsibility 
23. T   Type of value to show on the right hand display of the LCD terminal        54    Air Handling Unit Baselines   Developer s Manual    INOUT  variables    Outputs    MES smart    expressed with constants DISPLAY TEMPERATURE   DISPLAY PRESSURE ONE DEC        7 rightValue   INT   Value to show on the right hand display of the LCD terminal   8 leftValueType   USINT   Type of value to show on the left hand display of the LCD terminal   expressed with constants DISPLAY TEMPERATURE   DISPLAY PRESSURE ONE DEC      9 leftValue   INT   Value to show on the left hand display of the LCD terminal    10  leftText   STRING   Text to show on the left hand display of the LCD terminal  if  leftValueType equals TEXT    11 generalAlarm   BOOL   If TRUE  the unit is in OFF status from alarm and generalAlarmMsg is  shown on the display    12 generalAlarmMsg   STRING   Message to show on display when generalAlarmis TRUE    13 alarm   USINT   Alarms status  SKWMainView t for management of the corresponding  LED  If 0  this means no active alarm  if 1  at least one active alarm  if 2   all active alarms are pending manual reset    14 economy   BOOL   Activation of Economy mode  utilized by LocalMainView t for  management of the corresponding LED    15 currentTimeProfile   USINT   Current time frame operation profile    16 fanSpeedControl   BOOL   If TRUE  management of fans speed from LCD keypad is enabled   17 fanSpeed   USINT   Fans speed  if fanSpeedControl is TRUE                              
24. Tasks  4  Timed   A input_DILMapping     fa Goal State ly     fa Goal Mode     fa Goal Setpoint     fa Goal RegulationProbe     fa Diagnostics   fa Strategy                Air Handling Unit Baselines   Developer s Manual    17    MES smart    5 2  ON OFF status    The Goal State PROGRAM determines the ON OFF status  more precisely  the status  can be OFF  STD_BY or ON  of the AHU and the activation status of specific operating  modes  such as ECO  Economy  mode     The result of the Goal State execution is encoded in the state and economy status  variables  this means that it is possible to edit or even completely replace the  PROGRAM without affecting the rest of the application  as long as these status variables  are assigned the correct values     In the AHU baselines  the unit status is determined by analyzing the inputs and user  parameters dedicated to this purpose  in accordance with a priority encoded in the  Goal State PROGRAM code  refer to Figure 2      0003  Determine the current state  ON  STD BY  or OFF     When remote off DI is TRUE               Wheridime events are enabled  l l the unit state is forced to OFF  these take priority over local settings   SEL  wo us s 28 4 4  Te Jah Je SEL  n   RemoteOff e  timeEventsEnabled 5                    Ind  SHO LocalState     5               InO oos os s D     Ind  a  be hee deos MUX ie es A  timeState     5                 K ee Pom e d BE E T  STD BY 10    Figure 2  Determination of the AHU status starting from the rem
25. VII  27 OUTPUT m                    pP XVII   XVII    2 1O FMI                                                   M 3       Air Handling Unit Baselines   Developer s Manual    MET smart    1  Introduction    The purpose of this manual is to guide the developer in the use of Eliwell FREE Studio  and Eliwell s Air Handling Unit  AHU  Baselines to build a dedicated application for Air  Handling Units     1 1  FREE Studio    The AHU Baselines are compatible with FREE Studio 2 0 or later versions    1 2  EULA    To install FREE Studio and the Air Handling Unit Baselines  you must accept the terms of  the user license     Read the End User License Agreement  EULA  carefully before continuing     End User License Agreement is also available on the website  http   www eliwell it content aspx id 4533       4 Air Handling Unit Baselines   Developer s Manual    MEE smart    2  Glossary    DEVELOPER  designer   developer with knowledge of one or more IEC61131 3  standard programming languages  FREE Applicaton user    USER  end user typically using FREE Device  This person is not expected to be able to  compile code  The USER must have access to adequate documentation     RESPONSIBILITY  blocks functionality description  COLLABORATIONS  interactions between Baseline Architecture blocks    2 1  Abbreviations and definitions  A H U   Air Handling Unit    Application  Device  Connection  abbreviations of FREE  Studio  Application  FREE  Device  and Free Connection  respectively  Software suit
26. a strategy to  fulfill the cooling request  otherwise  exclusively the cooler is utilized              The strategy chosen by the STRATEGY block determines the enabling of the various  components of the unit and the data to be used in their control   such as the setpoints to  follow and the field measurements  feedback  to use        EXAMPLE 3 7    For example  the cooling strategy enables the cooler regulator by sending it the  value read by the thermoregulation probe and the value of the temperature to be  reached  temperature setpoint in COOL mode      Vice versa  heating coil regulation is disabled              Refer to Appendix   Architecture for further information on the relationships between  the STRATEGY block and the other blocks       Air Handling Unit Baselines   Developer s Manual 9    MES smart    3 4 1  Software form in the AHU baselines    Working with an AHU baseline  the STRATEGY block is constituted by the program of  the same name  written in SFC language     The STRATEGY block is a model of the unit s state machine  defining     the actions to be performed  i e  the strategy to adopt  for each machine state     the possible transitions between states and the conditions in which they occur     The chosen programming language  SFC  allows efficient translation of this state  machine       the strategies correspond to ACTIONS of the SFC program  implemented in FBD  language  each strategy contains an FBD network for each unit component       the transitions 
27. ableMenu   BOOL   Menu access rights acquired  user has entered the password  correctly     2 back   BOOL   Returns user to the higher menu level       6 4 7  SKWRightDisplayMenu t    Type  Description    Inputs    FUNCTION BLOCK    Block for navigation from the remote keypad of a menu of items  with  their values shown on the right hand display    1 itemNumber   USINT   Total number of alarms that can be displayed in the menu   2 currentItemValue   INT   Text identifying current item  i e  item in currentItem position     3  currentItemMin   INT   Minimum value of current item  i e  item in currentItem position    4  currentItemMax   INT                56    Air Handling Unit Baselines   Developer s Manual    MEZ smart    Maximum value of current item  i e  item in currentItem position     5  currentItemLabel   STRING   Text identifying current item  i e  item in currentItem position     6  currentItemDisplayType   USINT   Type of value of current item  i e  item in currentItem position    expressed with constants DISPLAY TEMPERATURE   DISPLAY PRESSURE ONE DEC      7  subFolder   BOOL   If TRUE  the menu provides access also to a submenu  not included in  the itemNumber count value     8 subFolderName   STRING   Identification text of submenu                                INOUT  1 currentItem   USINT  variables  Current item  expressed as a position in the menu  deriving from the  navigation operations performed by the user   2 enable   BOOL  Enabling of the menu  can be de
28. activated following a user command  or due to timeout     Outputs  1 enableSubFolder   BOOL  User command for entry into the submenu   2 back   BOOL  User command to return to higher menu level  3  updateCurrentItemValue   BOOL  User command to edit value of current item  i e  item in currentItem  position    4 localValue   INT  Value to assign to current item  i e  item in currentItem position   when updateCurrentItemValue is TRUE             6 5  Thermodynamics    The Thermodynamics library contains calculation functions of physical units of  importance in the development of HVAC applications        Air Handling Unit Baselines   Developer s Manual 57    MES smart    6 5 1  CalcEnthalpy  Type  FUNCTION  Description  Approximate calculation of specific enthalpy    Inputs    Outputs    6 6  Utils    The Utils library contains generic blocks of utilities that do not fall logically into any of  the foregoing libraries     1  temperature   INT   Temperature  in tenths of a degree Celsius    C   10     2  humidity   INT   Relative humidity percentage  in parts per thousand  960    Jjaltitude   INT   Height above sea level  in hundreds of metres  m   107     Specific enthalpy   kJ kg    107         6 6 1  DynamicSetpoint_t    Type    Description    Inputs    Outputs    FUNCTION_BLOCK  Block for management of a dynamic differential to apply to a setpoint    1 enable   BOOL   Enabling of dynamic differential  If FALSE  the differential output  equals 0    2 hcMode   USINT   Direction
29. alue  END IF     heatRecoveryUnitMenu currentItenValue    rC01 HeatRecoveryUnitDelta   heatRecoveryUnitMenu currentItemMin     500   heatRecoveryUnitMenu currentItemMax    999   heatRecoveryUnitMenu currentItemLabel     rC01    heatRecoveryUnitMenu currentItemDisplayType    DISPLAY TEMPERATURE      Heat recovery unit menu 2nd item     1  IF heatRecoveryUnitMenu updateCurrentItemValue THEN  bWarningKiller    sysWriteParINT  ADR  rC02 HeatRecoveryUnitBand    heatRecoveryUnitMenu localValue    END IF        heatRecoveryUnitMenu currentItemValue     heatRecoveryUnitMenu currentItemMin 1   heatRecoveryUnitMenu currentItemMax    255   heatRecoveryUnitMenu currentItemLabel     rC02    heatRecoveryUnitMenu currentItemDisplayType    DISPLAY TEMPERATURE     rC  2 HeatRecoveryUnitBand           END CASE   heatRecoveryUnitMenu  enable    enableHeatRecoveryUnitMenu       enableHeatRecoveryUnitMenu    heatRecoveryUnithMenu enable   enableServiceMenu    heatRecoveryUnitMenu back      T          44    Air Handling Unit Baselines   Developer s Manual       MEE smart    6  Libraries    The baselines for AHUs make use of various block libraries  FUNCTION and  FUNCTION  BLOCK   These libraries can be utilized effectively in the development of  applications derived from the baselines     This chapter contains a detailed description of the blocks contained in the various libraries     6 1  Actuators    The Actuators library contains the set of actuation logics that are most frequently utilized  in
30. and settings  from PARAMETERS  of Economy mode   dynamic setpoint input  from INPUT  and its settings  from PARAMETERS    automatic mode changeover input  from INPUT  and its settings  from  PARAMETERS     regulation probe selection parameters  from PARAMETERS      The result of the GOAL calculation is propagated towards other items of the  architecture  in particular towards     DIAGNOSTICS  unit ON OFF status     STRATEGY  unit ON OFF status  request type and setpoint to follow  regulation  probes     HMI  ON OFF status of the unit and request type      The above situation is represented schematically in Figure 18        ON OFF status  Request mode    Remote mode ON OFF status  Request mode   l Setpoint   input Regulation probes    Economy mode  Dynamic Setpoint    STRATEGY    Local mode  Setpoint   Time bands  Dynamic Setpoint  configuration    PARAMETERS       Figure 18  Relationships between GOAL and the other blocks                IV APPENDIX   Air Handling Unit Baselines   Developer s Manual    1 4  DIAGNOSTICS    1 4 1  Responsibility    The DIAGNOSTICS block evaluates the presence of anomaly conditions in the unit and  manages activation and deactivation  reset  of the alarms     1 4 2  Collaborations    DIAGNOSTICS makes use of     unit ON OFF status  from GOAL      diagnostic digital inputs  from INPUT  for detection of anomalous conditions in  the unit  for example  tripping of a thermal protection      analog inputs  from INPUT  for analog diagnostics  e g  for d
31. ating this task to the downstream blocks     Refer to Appendix   Architecture for further information on the relationships between  the GOAL block and the other blocks     3 2 1  Software form in AHU Baselines    Working with an AHU Baseline  the GOAL block is composed of a series of programs  written in FBD programming language  the names of which start with Goal         The results of the GOAL block are made available to the remaining parts of the  application as global data in the Global shared    Variables folder        Air Handling Unit Baselines   Developer s Manual 7    MET smart    3 3  DIAGNOSTICS block    The DIAGNOSTICS block evaluates the presence of fault conditions in the unit and  controls activation and deactivation  reset  of the alarms     The tests performed by the DIAGNOSTICS block include       evaluation of the digital diagnostic inputs for detection of unit fault conditions          checking of values transmitted by probes in order to detect absent or faulty  probes       evaluation of analog inputs associated with safeties pre alarms        The DIAGNOSTICS block is responsible for detecting error conditions  but not for  remedying them     Refer to Appendix   Architecture for further information on the relationships between  the DIAGNOSTICS block and the other blocks     3 3 1  Software form in the AHU baselines    Working with an AHU baseline  the DIAGNOSTICS block is constituted by the program  of the same name  written in FBD language     The result
32. atus of all regulators  from REGULATORS      the status of the actuators of interest to the strategy  from ACTUATORS         VI APPENDIX   Air Handling Unit Baselines   Developer s Manual    The strategy adopted is translated into commands towards REGULATORS ACTUATORS   The above situation is represented schematically in Figure 20              ON OFF status  Request mode        Feedback       Regulators control        REGULATORS         Active alarms       DIAGNOSTICS       Strategy configuration         PARAMETERS  Figure 20  Relationship between STRATEGY and the other blocks                    APPENDIX   Air Handling Unit Baselines   Developer s Manual VII    1 6  REGULATORS and ACTUATORS    1 6 1  Responsibility    The values assumed by the physical outputs of the controller are established by the  group of REGULATORS and ACTUATORS blocks  which bring together the logic of  regulation and of outputs actuation  respectively     The REGULATORS and ACTUATORS blocks collectively perform the task of fulfilling the  requests expressed by the STRATEGY block in terms of setpoints or percentage values     1 6 2  Collaborations    REGULATORS receives at input     the regulator setpoints  from STRATEGY      feedback information for regulation  from INPUT   for example  temperature  probes  pressure probes  etc       possible configurations of regulation logics delegated to USER  from  PARAMETERS      control data   commands for activation  by pass  etc   from STRATEGY    The REGULATO
33. ble to enable the menu   enableHeatRecoveryUnitMenu     2  create a new STEP  HeatRecoveryUnitMenu  connecting it as the child of  ServiceMenu     ServiceMenu N          enableThermoregulati   enableAlarmConfigura  enableHeatRecoveryU   enablePrgMenu                 Thermoregulat   N  AlarmConfigur    N  HeatRecoveryU    N     enableServiceMenu enableServiceMenu enableServiceMenu       2 SemiceMenu  gt  2SemiceMenu  gt  2 SemiceMenu  gt     3  edit Act ServiceMenu so that it manages an extra item corresponding to  the new submenu     4  create and implement the ACTION Act HeatRecoveryUnitMenu  inserting  the definition of the menu and its items  parameters rc01 and rc02   in  doing this  it may prove useful to create and invoke a suitable block of the  SmartHMI library for navigation management     Ta  SKWHMI   El Act  HeatReco          0001  0002  0003  0004  0005  0006  0007  0008  0009  0010  0011  0012  0013  0014  0015  0016  0017  0018  0019  0020  0021  0022  0023  0024  0025  0026  0027  0028  0029  0030  0031  0032  0033  0034  0035  0036  0037  0038          Heat recovery unit menu has 2 items     heatRecoveryUnitMenu itemNumber    2        Heat recovery unit menu does not have a subfolder     heatRecoveryUnitMenu subFolder    FALSE     CASE heatRecoveryUnitMenu currentItem OF     Heat recovery unit menu lst item     IF heatRecoveryUnitMenu updateCurrentItemValue THEN    bWarningKiller    sysWriteParINT  ADR  rC01_HeatRecoveryUnitDelta    heatRecoveryUnitMenu localV
34. cated controlling a simple AHU composed of    e ON OFF dampers     asingle fan  outlet       electric heater      cooler   The only goal pursued by layout 1 is to maintain the temperature of the controlled  room within a given range of values        EXT external temperature  IN inlet air temperature    OUT outlet air temperature  y F A H U 0 1 AF antifreeze temperature                                                 12 Air Handling Unit Baselines   Developer s Manual    MET smart       Layout 2 extends layout 1 to include    e humidifier    e post heater  the component used for the dehumidification process    This layout has the further goal of maintaining the relative humidity of the controlled  room within a given range of values        EXT external temperature  IN inlet air temperature  y IN H inlet air relative humidity    OUT outlet air temperature    A H U O 2 AF antifreeze temperature  Pre H pre heating temperature                                  Layout 3 is an application dedicated to the control of a complete AHU  which includes  all the elements present in the previous layouts  and also      asecond fan  inlet       modulating control of dampers  for free cooling free heating       heatrecovery unit          EXT external temperature  A H U O 3 EXTH external relative humidity  IN inlet air temperature  IN H inlet air relative humidity  OUT outlet air temperature    AF antifreeze temperature  Pre H pre heating temperature           amp       gt  gt                   
35. correspond to SFC program TRANSITIONS implemented in ST  language        10 Air Handling Unit Baselines   Developer s Manual    MEE smart    3 5  REGULATORS and ACTUATORS blocks    The values assumed by the physical outputs of the controller are established by the set  of REGULATORS and ACTUATORS blocks  which combine the regulation and outputs  actuation logics  respectively        Collectively  the REGULATORS and ACTUATORS blocks perform the task of fulfilling the  requests that the STRATEGY block expresses in terms of setpoints or percentage values        Refer to Appendix   Architecture for further information on the relationships between  REGULATORS and ACTUATORS blocks and the other blocks     3 5 1  Software form in the AHU baselines    The REGULATORS and ACTUATORS blocks are grouped into functional blocks that  represent the physical components of the air handling unit        Each strategy determines the inputs of all the blocks and causes their execution        Air Handling Unit Baselines   Developer s Manual 11    MES smart    4  Derived applications    This section describes the operations to be performed to derive a dedicated application  starting from the Eliwell AHU baselines     4 1  Choosing the baseline    The first decision to make concerns the AHU baseline from which to start  the choice  mainly depends on the type of AHU that the application must control     Table 1 lists the main differences between the AHU baselines        Layout 1 is an application dedi
36. disabled    Subsequently  Figure 10   the eventual request for resetting of the alarms received via  the user interface  is managed        26 Air Handling Unit Baselines   Developer s Manual    ILE smart  0002 Be m    Fulfill reset alarm request   e y wo y      wow x5 MOVE TE MN   resetAlarmRequest resetAlarm  resetAlarmRequest    Figure 10  Management of the alarms reset request       Finally  Figure 11   all the alarm conditions monitored by the application are analyzed  one at a time     0005  Clock error    clockError         Auto Rear mAlarm_t    enableDiagnostics  gt           enable alarm    sysClockError 2             condition    Er ClockError       0006    Test inlet air temperature probe    inletAirTemperatureProbeError         ProbeError t      enableDiagnostics     5                enable alarm    Inlet amp irTemperature     5             probe    Er Inlet amp AirTemperatureProbeError    Figure 11  Er ClockError encodes clock error status  this is a manually reset alarm  i e  it  requires an explicit reset by the user  and it monitors the status of sysClockError system  variables  Er_InletAirTemperatureProbeError encodes the inlet air temperature probe  error status    If the logics that determine the value of one or more alarms already provided in the  baselines are edited  it is not necessary to edit the parts of the application that use said  alarms     However  the most frequent modifications of the Diagnostics PROGRAM are  associated with the addition or rem
37. e diagnostic digital input  I_FireAlarm  corresponding to the smoke detector     FreeSmart Extended I O Mapping    Name Variable Type Description  AIE1  _PreheatingTemperature INT AIE1 analogue input  AIE2   AntifreezeTemperature INT AIE2 analogue input  AIE3 INT AIE3 analogue input  AIE4 INT AIE4 analogue input  AIES INT AIE5 analogue input  DIE1   InletAirFilterPressureSwitch BOOL DIE1 digital input  DIE2   HumidifierAlarm BOOL DIE2 digital input  DIE3 BOOL DIE3 digital input  DIE4 BOOL DIE4 digital input  nice noo RICE eieital innit    3  encode activation and resetting of the alarm with a simple FBD network  and the assistance of the blocks available in the Alarms library                 28 Air Handling Unit Baselines   Developer s Manual    5 7     Fire alarm    la Strateoy   E  Act Evaluates        0001     Evaluate general alarm         fireAlarm    0002  forceGeneralAlarm      Er ThermoregulationProbeError        0003  Er Inlet  irTemperatureProbeError       0004 Er Outlet  irTemperatureProbeError       0005  Er_ExternalTemperatureProbeError      0006  Er_PreheatingTemperatureProbeError    Er RoomTemperatureProbeError      Er RelativeHumidityRegulationProbeError      Er Inlet  irRelativeHumidityProbeError    Er RoomRelativeHumidityProbeError     Er OutletFanThermal  larm     Er OutletFanFlowSwitch  larm     Er FireAlarm     gt  0     Strategy       MEE smart    The Strategy PROGRAM defines the state machine of the application     The principal states  Figure 12  are  
38. ecify  the speed  analog output      FreeSmart Local I O Mapping    Variable Type Description  O_ElectricHeater1 stResistance BOOL DOL4 digital output  O ElectricHeater2ndResistance BOOL DOLS digital output  O ElectricHeater3rdResistance BOOL DOLG digital output    O HeatRecoveryUnit T INT AOL1 analogue output       INT AOL2 analogue output  INT AOL3 analogue output  O CoolingVvalve INT AOL4 analogue output    define the parameters required for regulation of the rotary heat recovery  unit  which  in this example  we assume to be limited to     a  a setpoint on the difference between the expulsion temperature and  ambient air temperature     b  the proportional band beyond which the regulator saturates  speed  equal to 100       FreeSmart EEPROM Parameters     3 Remove    Recalc    Name Display label Device type Application type Default value Min t  rC01_HeatRecoveryUnitDelta reo Signed 16 bit INT 20  500 999  rC02 HeatRecoveryUnitBand rC02 Signed 16 bit INT 15 1 255             Air Handling Unit Baselines   Developer s Manual    39    MEE smart    3  create the FUNCTION_BLOCK dedicated to control of the heat recovery unit  in order to manage the following operating modes        a  disabled  in this case the rotary heat recovery unit speed is null  and  the 1 HeatRecoveryUnit output is set to 0     b  enabled  the speed of the rotary heat recovery unit is subject to  proportional regulation controlled by parameters rc01 and rc02     C  fixed speed  the speed of the rotary heat
39. ed by the specific application  circumstances     For an introduction to the high level structure of the application  refer to Chapter 3     Even though there are no limitations to the type and number of changes that can be  made  Chapter 5 describes the most frequent cases  illustrating the methods of  proceeding and showing some practical examples        14 Air Handling Unit Baselines   Developer s Manual    MEE smart    5  Editing the application    This section describes the most frequent actions that must be taken on the baselines  and provides indications on how to edit the application  providing numerous practical  examples     5 1 1  I O static configuration    It is frequently necessary to map the physical I O  inputs and outputs of the hardware  that implements the application  on the logical I O  i e  on the symbols utilized in the  application to refer to the input and output values        EXAMPLE 5 1    Working on an application for Smart derived from layout 2  we decide to move  the digital input corresponding to a humidifier alarm from the extended I O to the  local one           Application allows editing of the I O configuration  in table form  in the section Resources   gt  I O Mapping of the development environment  simply arrange the symbolic names in the  grids in the way that best adapts to the specific application case in order to fulfill this  requirement        EXAMPLE 5 2    Considering Example 5 1  to achieve the required result we can follow this  
40. ed within the PROGRAM STRATEGY    All the programs that make up the baseline are executed by the Timed task with the  exception of those dedicated to the HMI  significant only for Smart      Project x  El Project    2 Definitions   Resources     AHU_LayoutO3 Project  B C Programs  H a Diagnostics  H a Goal Mode   33 Goal_ReaulationProbe  H a Goal Setpoint  H a Goal State  T5 SKWwHMI   1  SmartHMI  h Strategy   23 Function blocks   3 Cooler AHUO3   13 ExternalD amper_AHUO3   13 Heater AHUO3  Ha HeatRecoveryLnit AHLIO3   12 Humidifier AHU03  EHE InletFan_4HU03   13 OutletFan_A4HUO3  Ea PostHeater AHUOS   23 Functions  a  Global variables  a  Global shared     Tasks  4  Timed  H Goal State   fd Goal Mode     fa Goal Setpoint   fd Goal ReaulationProbe     fd Diagnostics      Strategy     43  Background   fd SmartHMl   fy SKwHMI  Boot  Init       e             APPENDIX   Air Handling Unit Baselines   Developer s Manual XI    2 2  Libraries    The baseline application makes use of numerous library blocks  subdivided into  separate libraries depending on their role  regulators in the regulators library  actuators  in the actuators library  etc        The number of blocks present in a library may increase at the same time as the need to  implement new logics for new applications    The DEVELOPER can alter the behaviour of an application significantly with simple  replacements of a block with an analogous block present in the library        Library x  Name Type Description   i Hystere
41. en  feedback becomes less than or equal to setpoint   diff 3  the  second step when feedback becomes less than or equal to  setpoint   2 diff 3  and the third step when feedback    becomes less than or equalto setpoint   diff                          1 stepl   BOOL  ON OFF status of the first power step   2 step2   BOOL  ON OFF status of the second power step   3 step3   BOOL  ON OFF status of the third power step                    6 3 5  TwoStepsRegulator t    Type  Description    Inputs    Outputs    FUNCTION BLOCK  Regulator with two steps    1 hcMode   USINT   Direction of regulator  if COOL  the control action is active until  feedback exceeds the setpoint  if HEAT  it is active until feedback  is below the setpoint    2 feedback   INT   Measurement of the physical quantity that is subject to the control  action read by the regulation probe and utilized as feedback for  correlation with the setpoint    3 setpoint   INT   Target value of the physical quantity subject to the control action    4  diff   INT   Total differential to add to subtract from the setpoint for activation of  the two power steps  if hcMode equals COOL  the first step is activated  when feedback becomes greater than or equal to setpoint    diff 2  the second step when feedback becomes greater than or  equal to setpoint  diff  if hcMode equals HEAT  the first step is  activated when feedback becomes less than than or equal to  setpoint   diff 2  and the second step when feedback    becomes less than o
42. ere previously assigned to the local digital inputs are  defined differently  for example as status variables  section Resources  gt   Status variables      Project x Ej Resources             Project    2 Definiti Resources E  oec EL c FreeSmart Status Variables  L3 Configuration    c  B  Freesmart    GEB  Modbus objects fig  Add  3 Remove  amp   Recalc  4 amp 9 EEPROM Parameters 3   amp  status variables Address Name Display label Device type Application type Unit  I A  Enums     8970   OutletFanThermal Boolean BOOL  z vira 8971   OutletFanFlowSwitch Boolean BOOL  Al TE ds 8972  _InletAirFilterPressureSwitch Boolean BOOL  A St  DValues 8966   Economy Boolean BOOL  4 amp 9 BIOS Parameters 8965  _RemoteHCMode Boolean BOOL  E B Menu Prg 8969   Remoteoff Boolean BOOL  ER state Mode Vile  ES x Jii          5  a new PROGRAM is created in FBD language  with the name  Input DILMapping  comprising an FBD network for each logical input   each FBD network selects the local digital input to be used on the basis of  the value read by the corresponding parameter     0001    SUB   J               DXXMUX    1001_OutletFanThermalDIPos 5             K    _OutletF anThermal    a  o pui o          EEn             n          1002_OutletF anFlowSwitchDIP os   K  _OutletF anFlowSwitch    et g 00 _ 2 DIL1 10  met Sees coe ce a ls NN n  DIL3 12  DIL4 13  DILS 14    6  the new PROGRAM is assigned to the Timed task as the first PROGRAM to  execute  the rest of the application remains unchanged     Ej 
43. es    IEC Application  PLC Application  PLC PROGRAM  application developed in compliance  with IEC61131 3  industrial control programming standards  by means of the  Application development environment  tool   to download to the target using  Application or Device    Target device  Target  name given to the FREE Smart or FREE Evolution programmable  controller or    instrument       HMI  Human Machine Interface  Graphic interface developed with Free Studio for FREE  Smart and SKP SKW terminals    Instance  object of a predefined  class  of objects  function block  template  etc      IEC Language  programming language developed in compliance with IEC61131 3  e g   FBD  SFC     BIOS menu  BIOS  factory set BIOS parameters menu  The Bios cannot be edited   Smart  abbreviation of FREE Smart  Evolution  abbreviation of FREE Evolution  Studio  abbreviation of FREE Studio  The software suite described in this document    Tab or form  The work environment is divided into sections or panels  Each panel may in  turn be subdivided into forms or tabs  e g  Resources tab     Note  Many definitions and abbreviations are standard information technology and or  PLC terms and are not listed here     For example a Function is a standard term  Other terms  such as  Block  will be  described in the relevant headings        Air Handling Unit Baselines   Developer s Manual 5    MES smart    3  Baseline architecture    This section describes the high level software structure  the architecture  of E
44. etection of a missing  or faulty probe      configuration of alarms activation and resetting logics  from PARAMETERS   e g  a  delay interval      user command for manual alarms reset  from HMI    The status  active or inactive  of the alarms is transmitted by DIAGNOSTICS to     HMI for signalling of the active alarms and the facility to reset them     STRATEGY  for execution of exceptional procedures for faults management   The diagram in Figure 19 summarizes the DIAGNOSTICS collaborations        APPENDIX   Air Handling Unit Baselines   Developer s Manual V       Active alarms  Manual alarms reset    ON OFF status STRATEGY    Diagnostic DI  Al for analog diagnostics Active alarms    Alarms Configuration    PARAMETERS       Figure 19  Relationships between GOAL and the other blocks             1 5  STRATEGY    1 5 1  Responsibility    The STRATEGY block establishes the strategy to use to achieve the control goal  In  detail  this consists of     evaluating the existence of requests to be fulfilled     assigning priority to pending requests     choosing the strategy to use to fulfill the request from among the various possible  strategies     managing the request  on the basis of the chosen strategy     1 5 2  Collaborations    STRATEGY receives the following information as an input     ON OFF status of the unit  the user requests and relative setpoints  from GOAL      diagnostic information that calls for a centralized fault management procedure   from DIAGNOSTICS      the st
45. he selectable modes and defines the sources  local mode  AUTO mode  remote mode  to be used in the  calculation    The same PROGRAM also resolves  on a preliminary basis  AUTO mode  Figure 6    selectable by the user  in AUTO mode  the mode changeover  from COOL to HEAT and  vice versa  occurs without any action of the user on the basis of the value of a probe that  can be selected by means of a parameter          autoHCMode       in o HEAT Ind    lo     JEBOE In1     t20_ChangeOverSelectProbe K hi                 _ExternalT emperature lo      InletAirTemperature           1      Outlet amp irTemperature 2    oft oos SP20 T HeatingSetpoint  5                   t22_ChangeOverDifferentialHeat                 SP10_T_CoolingSetpoint  5                 t21_ChangeOverDifferentialCool            Figure 6  Resolution of AUTO mode  in this case the COOL HEAT operating mode of the user is  established by evaluating the value of the probe selected by means of user parameter St20 with  reference to an interval of values  neutral zone  established by a combination of various user parameters   the lower limit is set by SP20   St22  the upper limit by SP10   St21        22 Air Handling Unit Baselines   Developer s Manual    MEE smart  5 4  Setpoints    The Goal_Setpoint PROGRAM calculates the setpoints relative to all the control goals  managed by the application     The result of Goal Setpoint execution is encoded in the set of status variables  dedicated to setpoints  this means that it i
46. in the menu  deriving from the  navigation operations performed by the user    2  enable   BOOL   Enabling of the menu  can be deactivated following a user command  or due to timeout     1 enableSubFolder   BOOL   User command for entry into the submenu    2 back   BOOL   Returns user to the higher menu level   3 updateCurrentItemValue   BOOL   User command to edit the value of the current item  i e  item in  currentItem position     4 localValue   INT   Value to assign to the current item  i e   item in currentItem position   when updateCurrentItemValue is TRUE                 6 4 5  SKWMainView t    Type  Description    Inputs    FUNCTION BLOCK    Block for management of LEDs and detection of prolonged pressing  of keys   hot  key function  of the local Smart display  in basic display  mode     1  state   USINT   Unit ON OFF status  utilized by SKWMainView t for management of  stand by LED and view of  OFF  text on display    2 stateSource   USINT   Source of ON OFF status  0   local  1   remote  2   time frame  operation    3 mode   USINT   COOL HEAT AUTO operating mode  utilized by SKWMainView t for  management of the corresponding LEDs    4 modeSource   USINT   Source of operating mode COOL HEAT AUTO  0   local  1   remote   2     auto    5 modeSelection   USINT   Selectable operating modes COOL HEAT AUTO  for editing by the  user with remote keypad   0   COOL only  1   HEAT only  2   COOL  and HEAT  3   COOL  HEAT and AUTO  4   remote setting    6  rightValueType   USIN
47. ing   in each strategy   a new FBD  network dedicated to control of the heat recovery unit              40 Air Handling Unit Baselines   Developer s Manual    MEE smart      ExternalTemperature 5                 5 9  LCD terminal menu  The SKWHMI PROGRAM is responsible for defining the user menu for the LCD terminal     The menu tree is represented by an analogous construct in SFC language  see Figure  14   wherein each STEP represents a submenu and each TRANSITION represents the  possible transitions between them        Figure 14  Structure of the menu for the LCD terminal  from the main menu you can access the set menu  to edit the setpoints and display active alarms  or the Prg menu  which in turn allows access to various  submenus for parameter programming procedures    Each transition is associated with a Boolean variable that represents the enabling of a  single submenu  see Figure 15 for example   these variables are assigned values in the  ACTIONS associated with the STEPS of the diagram and  at each instant  only one of  them must be TRUE        Air Handling Unit Baselines   Developer s Manual 41    MET smart    enableSetMenu       SetMenu    N           enablePrgMenu     PrgMenu       N     Figure 15  transition in the set menu is enabled when the    enableSetMenu variable is TRUE  transition in the Prg menu is enabled  when the enablePrgMenu variable is TRUE    The ACTIONS of the SKWHMI PROGRAM define the submenus and their items  utilizing  the blocks of the Smart
48. ion of the DEVELOPER    The DEVELOPER can easily take action on the definition of parameters  editing of the  default value  the range of permissible values  etc   or add new ones        APPENDIX   Air Handling Unit Baselines   Developer s Manual XIII    2 5  GOAL    Working with an AHU baseline  the GOAL block is composed of a series of programs  written in FBD language  the names of which start with Goal      The results of the GOAL block are made available as global data to the remaining parts  of the application  in the folder Global shared  gt  Variables   0001 ELI NIME EN    Determine the temperature setpoint in cooling    Select between alternative source setpoints                5 o    Deeonomy              amp      SP10 T CoolingSetpoint           In0  I      d  Soa 5 75    0    UU e      SP11 T CoolingSetpointEco  5             In1 6 WOR og 8 hk de d 9 T    T_CoolingSetpoint    Add to Subtract from the selected setpoint the following term s        dynamicSetp oi ntCool         Dynamic Setpoint_t    dS00_EnableDynamicSetpoint  gt           enable differential  a S   L cooL hcMode    dS03 DynamicDifferentialCool                maxDifferential    9 d  dm 3   ExternalTemperature  5             feedback  dS05 SetpointDynamicDifferentialCool                  setpoint    dS01 BandDynamicDifferentialCool band           2 5 1  Possibilities of action of the DEVELOPER    The GOAL block is useful for the following DEVELOPER tasks     replacement of a given logic  for example  
49. l    The DEVELOPER can easily act on the entire HMI block    The HMI logic is isolated from the rest of the application  in such a way as to facilitate  possible porting on Evolution        APPENDIX   Air Handling Unit Baselines   Developer s Manual XVII    GEME    73 diall    SINCERT PONA    Vp   o     A ISO        ger Roy        Eliwell Controls Srl   Via dell    Industria  15 Z     Paludi   32010 Pieve d  Alpago  BL    Italy  Telephone  39  0 437 986 111   Fax  39  0 437 989 066   Sales     39  0 437 986 100  Italy     39  0 437 986 200  other countries   saleseliwell invensys com   Technical helpline   39  0 437 986 250  eliwell freeway invensys com  www eliwell it       o     vo   gt   N  E  o      pe     o  o    z      e  o  j       ISO 9001       9MA10043 06 11     Copyright Eliwell Controls s r l  2010 2011 All rights reserved       XVIII APPENDIX   Air Handling Unit Baselines   Developer s Manual    
50. liwell  baselines  introducing information that aids understanding of the starting application   with the result of facilitating the work of a developer who intends to work on the  software to create a dedicated application     3 1  Block diagram    The block diagram in Figure 1 represents the architecture of the Baselines  The single  items in the diagram and their connections are described in the following headings     The entire architecture is described in detail in Appendix   Architecture with  descriptions of the RESPONSIBILITY of the individual blocks and the relationships   called Collaborations  between the GOAL block and the other blocks    g STRATEGY REGULATORS ACTUATORS  m i     PARAMETERS       Figure 1  High level software structure       6 Air Handling Unit Baselines   Developer s Manual    EEE smart  3 2  GOAL block    The GOAL block establishes the aims that are to be pursued in the unit control strategy   Specifically  the data resulting from the GOAL block are      unit ON OFF status      COOL HEAT  summer winter  unit operating mode      energy saving mode activation status  ECO mode       setpoints to follow       measurements  feedback  to be used for regulation  deriving from the choice of  regulation probes     The GOAL block is required to summarize these data starting from the different possible  sources  which include parameters and digital and analog inputs        The GOAL block is not concerned with whether or how the goals can be achieved   deleg
51. ller outputs in order to mirror the  differences in the physical actuators of which the unit is composed  Provided the  FUNCTION  BLOCK interface remains unchanged  it will not be necessary to alter the  rest of the application        36 Air Handling Unit Baselines   Developer s Manual    MEE smart          EXAMPLE 5 19    For example  consider an application derived from layout 1  from which it differs  due to the presence of an electric heater with resistances  in the number of 3  in  place of the heating coil with modulating valve     We can proceed as follows     1  edit the application outputs  the baseline uses an analog output to  regulate the electric heater  while the derivative application uses three  digital outputs  one for each resistance      DOL3 BOOL    DOL3 digital output  DOL4 O_ElectricHeater stResistance BOOL DOLA digital output  DOLS O ElectricHeater2ndResistance BOOL DOLS digital output  DOLE BOOL DOLS digital output  AOL1 INT AOL1 analogue output    2  change implementation of the Heater AHUO1 block  so that it translates  the same commands received from STRATEGY into actions on three digital  outputs  specifically     a  when the electric heater is not enabled  the three digital outputs are  FALSE        Bowe ow Rod ME  EG eg OR x od R  D     mede           OUElechicHesteriaResistance  o so     DISABLE     5          S         a a O_ElectricHeater2ndResistance   gt       NEL a ea ee ae ere as Rw r O_ElectricHeaterSrdResistance                  b  when 
52. loper s Manual 33          EXAMPLE 5 18  To meet the requirement expressed in Example 5 17  proceed as follows     1  edit Act EvaluateSecurities so that it assigns a value to a flag dedicated  to the fire alarm  forceFireAlarm     0012 Er OutletFanFlowSwitch  larm    gt  0   0013   0014    Evaluate fire alarm      0015 forceFireAlarm    Er_FireAlarm  gt  0    0016   0017    Evaluate antifreeze security       2  insert a new STEP  FireAlarm  connected in parallel to the other main  states  but in the first position  because it has higher priority     3  as a condition of the entry transition to the FireAlarm STEP  select  forceFireAlarm  as an exit condition  select a new TRANSITION   corresponding to the denied value of   orceFireAlarm     4  create a new ACTION Act FireAlarm and assign it to the FireAlarm  STEP              34    Air Handling Unit Baselines   Developer s Manual       MES smart    Immediately stop the post heater    postHeater    Immediately stop the outlet fan       outletFan          Air Handling Unit Baselines   Developer s Manual 35    MET smart    5 8  Regulation and actuation of outputs    The components of the AHU are modelled within the AHU baselines with the  FUNCTION  BLOCKS utilized by the Strategy PROGRAM in the execution of the  various strategies     5 8 1  Editing the regulation of an AHU component     In developing an application derived from the AHU baselines it is frequently necessary  to modify the regulation and or actuation of the contro
53. nables the alarm condition test  If FALSE  the block output is set to 0   alarm not active     2 reset   BOOL   Alarms reset command  If TRUE and the alarm is in the pending  manual reset status  it transits to non activation status  block output is  0     3  condition   BOOL   Alarm condition  active when condition equals TRUE     l alarm   USINT  Alarm status  0   not active  1   active  2   pending manual reset    6 2 5  ProbeError_t    Type  Description    Inputs    Outputs    FUNCTION BLOCK   Probe error   1 enable   BOOL   Enables the alarm condition test  If FALSE  the block output is set to 0   alarm not active      2 probe   INT  Value read by the probe whose operation presence must be checked     lelarm   USINT  Alarm status  0   not active  1   active       Air Handling Unit Baselines   Developer s Manual 47    MES smart    6 3  Regulators    The Regulators library contains the set of regulation logics that are most frequently  utilized in HVAC applications     6 3 1  Hysteresis t    Type  FUNCTION BLOCK    Description    Inputs    Outputs    Hysteresis    1 clockwise   BOOL   Direction of hysteresis  if FALSE  the direction is counter clockwise  if  TRUE  it is clockwise    2 in   INT   Value to correlate with the thresholds given by parameters lo and hi   3 lo 2 INT   Hysteresis lower threshold value    4 hi   INT   Hysteresis upper threshold value           1 out   BOOL  Hysteresis status     6 3 2  OnOffRegulator_t    Type    Description    Inputs    Outputs   
54. nual 59    APPENDIX       APPENDIX   Air Handling Unit Baselines   Developer s Manual      1  Block diagram    The block diagram shown in Figure 17 represents the high level software structure of a  baseline  See also the same architecture diagram in Figure 1    HMI  GOAL   ke  Lr 2  2 a  z p STRATEGY REGULATORS ACTUATORS 3   T IL  PARAMETERS 00   ETERS    Figure 17  NENNEN     umma level software structure  The following headings provide detailed descriptions of the individual items of the  diagram and their connections     1 1  INPUT    1 1 1  Responsibility    The INPUT block translates physical inputs into logical inputs utilized by the application   Specifically  the block      mapsthe physical inputs on the corresponding logical inputs  i e   INPUT  determines which Dls or Als correspond to which symbolic names utilized in the  application       converts the physical value of the inputs into the logical value utilized in the  application        Il APPENDIX   Air Handling Unit Baselines   Developer s Manual    1 1 2  Collaborations    The physical inputs read by INPUT are external to the application architecture   The logical inputs produced by INPUT are utilized by      GOAL  with regard to remote setting of the operating mode and activation of  Economy mode      DIAGNOSTICS  with regard to digital diagnostic inputs  thermal protections  flow  switches  pressure switches  etc   and analog diagnostics  probe error  high low  pressure  etc        STRATEGY and REGULATORS  
55. ock output is set to 0   alarm not active    2 condition   BOOL  Alarm condition  active when condition equals TRUE     Outputs  1 alarm   USINT  Alarm status  0   not active  1   active    6 2 2  DelayAutoRearmAlarm t  Type  FUNCTION  BLOCK    Description  Delayed activation and automatic reset alarm    Inputs  1 enable   BOOL  Enables the alarm condition test  If FALSE  the block output is set to 0   alarm not active    2 condition   BOOL  Alarm condition  active when condition equals TRUE   3 delay   UDINT  Alarm activation delay  expressed in milliseconds        Outputs  1 alarm   USINT  Alarm status  0   not active  1   active    6 2 3  DelayManualRearmAlarm t  Type  FUNCTION BLOCK    Description  Delayed activation alarm with manual reset    Inputs  1 enable   BOOL  Enables the alarm condition test  If FALSE  the block output is set to 0   alarm not active         46 Air Handling Unit Baselines   Developer s Manual    Outputs       IMER smart  2 reset   BOOL    Alarms reset command  If TRUE and the alarm is in pending manual  reset status  it transits to the non activation status  the block output is  0     3  condition   BOOL   Alarm condition  active when condition equals TRUE    4 delay   UDINT   Alarm activation delay  expressed in milliseconds        1 alarm   USINT  Alarm status  0   not active  1   active  2   pending manual reset       6 2 4  ManualRearmAlarm t    Type  Description    Inputs    Outputs    FUNCTION BLOCK  Manual reset alarm    1 enable   BOOL   E
56. ote digital OFF input  from local state  user parameter St10 and from the information derived from time frame operation  if enabled    Moreover  Goal_State is responsible for determining whether Economy mode is active  or not  refer to Figure 3      0004    Determine whether the unit shall operate in economy mode or not          timeEventsEnabled  5                    Se we 2X2 wA xe     I Economy   gt       timeState                Eco    Figure 3  Activation of Economy mode depends on the dedicated digital input and the current value of  the machine mode derived from time frame operation  if enabled       18 Air Handling Unit Baselines   Developer s Manual    MEE smart    The same PROGRAM initially establishes the current time frame so that it can utilize the  associated information  see Figure 4            Determine if time events are enabled         timeEventsEnabled    ClockError    tE00_EnableTimeEvents       Look up the time event table to determine current unit state      timeFrameManager f        TimeFrameManager t       enable mode timeState       timeEventsEnabled    Figure 4  Enabling time frame operation depends on the availability of the system  clock and the value of parameter tE00  the current time frame is established by  using the library block TimeFrameManager t    5 2 1  Editing the algorithm that determines ON OFF status    The data to consider to establish the air handling unit s ON OFF status and the priority  to assign to said data can be significantly
57. oval of an alarm  which can impact on the alarm  management delegated to the downstream parts of the application  in particular  to the  Strategy PROGRAM         Air Handling Unit Baselines   Developer s Manual 27    MES smart    5 6 1  Adding an alarm    If a derived application envisages signalling management of an alarm condition that is  not provided for in the AHU baselines  an alarm must be added  its signalling must be  managed and the any reactions of the controller must be implemented        EXAMPLE 5 13    Assume  for example  we want to add the management of a fire alarm read on a  digital input connected to a smoke detector           To manage a new alarm condition  the following procedure is necessary     create a new alarm variable in the section Resources  gt  Alarms       manage  in a new FBD network of the Diagnostics program  activation and  reset of the alarm that has just been added       if so required  manage the active alarm condition in the Strategy PROGRAM  with an adequate reaction safety measures procedure        EXAMPLE 5 14    Returning to Example 5 14  the requirement can be fulfilled with the following  modifications     1  in the Resources  gt  Alarms section  add a new alarm variable  Er FireAlarm        oer LILISANIN ICAS rieniaisian Livu Licey an neater wonna aran     gt   Extended Er_HumidifierAlarm ErB1 Humidifier alarm  Remote z n  Er FireAlarm Er05 Fire alarm    amp   Alarms    Help    2  in the Resources  gt  I O Mapping section  add th
58. priority among inputs that determine  the operating mode  with an alternative present in the library     extension or simplification of the logical networks connected to pins of the blocks   for example  to add a condition to enable time frame operation      introduction of new factors for calculation of the setpoints to follow        XIV APPENDIX   Air Handling Unit Baselines   Developer s Manual    2 6  DIAGNOSTICS    Working with an AHU baseline  the DIAGNOSTICS block is constituted by the program  of the same name  written in FBD language     The results of the DIAGNOSTICS block are made available as alarm variables  grouped  therefore in the folder Global shared  gt  Alarms     Each network of the Diagnostics program is responsible for assigning a value to an  individual alarm     0005         Clock error    l clockError    AutoRearmAlarm t    enableDiagnostics     5                enable alarm  sysClockError                   condition       Er  ClockError    Test inlet air temperature probe    inletAirT emperatureProbeError         ProbeError_t      enableDiagnostics     5             enable alarm    Inlet amp irTemperature     5             probe    Er InletAirTemperatureProbeError    2 6 1  Possibilities of action of the DEVELOPER    The DEVELOPER can easily      modify the logics for detection and resetting of alarms  for example  adding or  removing delays  making such logics parametric  requesting manual resetting of a  specific alarm  etc        add the managemen
59. procedure     1  open the section Resources  gt  I O Mapping  gt  Local     2  choose the digital input to be used  let us assume DIL3   and edit the  contents of the corresponding cell by entering the symbolic name of the  humidifier alarm  1 HumidifierAlarm     3  open the section Resources  gt  I O Mapping  gt  Extended and remove the  symbolic name of the humidifier alarm from its prior position        4  the logical input replaced in point 2  I ElectricHeaterThermal  can be  assigned to an unused digital input of the expansion              5 1 2  Dynamic configuration of the I O    It may be required to make the mapping of the physical I O on the logical I O depend  on the value of one or more user parameters  in such a way as to be editable also after  the development stage  e g  at the time of installation         EXAMPLE 5 3    Working on an application for Smart derived from layout 1 that makes use of all  and exclusively the local digital inputs  DIL1   6   we want the allocation of these  inputs to the corresponding logic symbols to be parametric                 Air Handling Unit Baselines   Developer s Manual 15    MET smart    To achieve this result we must introduce another software level as a new PROGRAM  assigned to the Timed task  which  on the basis of the configuration parameter values   assigns to each digital input the values read by the corresponding digital input by the  corresponding probe and   in the opposite sense   assigns the value of each logical
60. r equalto setpoint   diff                                                           1 stepl   BOOL  ON OFF status of the first power step   2 step2   BOOL  ON OFF status of the second power step                    50    Air Handling Unit Baselines   Developer s Manual    MEE smart    6 4  SmartHMI    The SmartHMI library contains blocks for the construction of user interfaces for Smart  and the relative terminals  SKW  SKP      6 4 1  LocalMainView t    Type  Description    Inputs    FUNCTION BLOCK    Block for management of LEDs and detection of prolonged pressing  of keys   hot  key function  of the local Smart display  in basic display  mode     listate   USINT   Unit ON OFF status  utilized by LocalMainView t for management  of the stand by LED and view of the  OFF  text on the display   2 remoteState   BOOL   If TRUE  ON OFF status is determined by a remote setting  and its  display  illumination of the stand by LED or message  OFF  shown on  the display  is intermittent    3 mode   USINT   COOL HEAT operating mode  utilized by LocalMainView t for  management of the corresponding LEDs    4  remoteMode   BOOL   If TRUE  COOL HEAT operating mode is determined by a remote  setting and its display  illumination of COOL or HEAT LED  is  intermittent    5 economy   BOOL   Activation of Economy mode  utilized by LocalMainView t for  management of the corresponding LED    6  timeIsEnabled   BOOL   Activation of time frame operation  utilized by LocalMainView t for  management of
61. r handling unit     Each strategy determines the inputs of all the blocks and causes their execution     2 8 1  Possibilities of action of the DEVELOPER    The DEVELOPER has considerable freedom of action in REGULATORS and ACTUATORS   for example  to      replace regulation and actuation logics  e g  with other library blocks       insert additional logic on the regulator block pins      replace the physical inputs with parametric inputs  or vice versa      build complex actuators composed of several actuator blocks although managed  as a single actuator by STRATEGY  coordinated by a logical block that is  concerned with subdividing requests originating from STRATEGY over different  actuators    Note that is certain cases it may be necessary  or more appropriate  to modify STRATEGY  to manage a complex actuator on that level     2 9  OUTPUT    Mapping between logical outputs and physical outputs is performed statically with the  Application   O Mapping table    Conversion of the logical value utilized within the application into the corresponding  physical value is performed by the BIOS on the basis of the values of the I O  configuration parameters     2 10  HMI    Considering Smart  the HMI block is partly automated  local application menu   and  partly implemented in dedicated IEC61131 3 PROGRAMS that are responsible for  signalling of ON OFF status  of the operating mode  and of the active services  of the  keys management and management of the menu for the remote termina
62. ra i  ER State Mode Display label   ro Bl fal Add EJ Remove Up Down  ER Setpoint vera  ER Thermoregulation Name Description  ER Dynamic setpoint 1001_OutletFanThermalDIPos Outlet fan thermal DI position  E  Time frames     I002 OutletFanFlowSwitchDIPos Outlet fan flow switch DI position  ER Alarm configuration 3         a   ER Fans 1003 InletAirFilterPressureSwitchDIPos Inlet air filter pressure switch DI position  col       I004 EconomyDIPos Economy DI position  1005 RemoteHCModeDIPos Remote mode DI position  B Current state mode 1006 RemoteOFFDIPos Remote OFF DI position  E Active regulation probe v             3  in the section   O Mapping  gt  Local  generic names are assigned to the  variables corresponding to the local digital inputs              Project x EJ Resources EE Input  DILMap     E Peoi    gt O Definiti E Resources j  EE E e   FreeSmart Local I O Mapping  Ei Fans p Name Variable Type Description  H ER 1 0 configuration AILS   ExternalTemperature INT AILS analogue input    Bo  o DILI DILI BOOL DIL  digital input  E    Active regulation probe   pit2 DIL2 BOOL  DIL2 digital input  ER Active setpoint   DIL3 DIL3 BOOL DIL3 digital input  BE 1 0 Mapping       DIL4 DIL4 BOOL DILA4 digital input  E       piLs DILS BOOL DILS digital input  Be Remote     piL amp  DILG BOOL _ DIL digital input  J alarms    IDoL1 O_ExternalDamper BOOL DOL1 digital output                      16 Air Handling Unit Baselines   Developer s Manual    MEE smart             4  the symbols that w
63. s of the DIAGNOSTICS block are made available as alarm variables  grouped  in the Global shared    Alarms folder     Each network of the Diagnostics program is responsible for assigning a value to an  individual alarm        8 Air Handling Unit Baselines   Developer s Manual    MEE smart    3 4  STRATEGY block    The STRATEGY block is responsible for choosing the strategy to use to achieve the aims  determined by the GOAL block  In detail  this consists of       evaluating  on the basis of the readings from the field and the aims calculated by  the GOAL block  whether there are requests to be fulfilled or pre alarm or  emergency situations that must be remedied       assigning priority to pending requests        EXAMPLE 3 5  For example  in the AHU baselines it may occur that neither temperature nor  humidity goals are fulfilled     In this situation  the STRATEGY block decides which of the two goals is to be  pursued first                selecting the strategy to use to fulfill the request from among the various possible  strategies        EXAMPLE 3 6    Still considering the AHU baselines  a cooling request can be fulfilled by the use of  a cooler or  in certain conditions  by means of the free cooling mechanism  which  is more economical     The STRATEGY block evaluates the necessary conditions for activation of free   cooling  notably  ambient air temperature must be within a clearly defined range  of values   if these conditions are fulfilled  free cooling is adopted as 
64. s possible to edit or even completely replace  the PROGRAM without affecting the rest of the application  as long as these status  variables are assigned the correct values     In AHU baselines the setpoint is first selected from a list of possible alternative sources  and  thereafter  it is added to one or more differentials  see  for example  Figure 7      0001    Determine the temperature setpoint in cooling    Select between alternative source setpoints    EEEEASM   JJ         Aen         T  CoolingSetpoint           5 o    jeeonomy           E SP10 T CoolingSetpoint 5               Ind ewok  ee te mw ae ee ae  SP11 T CoolingSetpointEco  5             In1 FUELS E dar Eo udo i E      Add to Subtract from the selected setpoint the following term s     dyna m icS etp ointCo o 1         DynamicSetpoint t       dS00_EnableDynamicSetpoint 2   enable differential       GNE LE ES COOL hcMode  dS03 DynamicDifferentialCool               maxDifferential  DEN DO   ExternalTemperature feedback    dS05 SetpointDynamicDifferentialCool                  setpoint    dS01 BandDynamicDifferentialCool band        Figure 7  Calculation of the temperature setpoint in COOL mode  starting from the value of parameter  SP10 or SP11  depending on whether or not Economy mode is active  the only differential applied is the  dynamic differential on external temperature  if enabled by parameter  dS00        Air Handling Unit Baselines   Developer s Manual 23    MET smart    5 5  Regulation probes    The
65. sis t Function block Hysteresis   i OnOffRegulator_t Function block ON OFF regulator   i ProportionalRegulator_t Function block Proportional regulator   i ThreeStepsRegulator t Function block 3 steps regulator   i TwoStepsRegulator t Function block 2 steps regulator          2 3  INPUT    The conversion of the physical value into the corresponding logical value utilized within  the application is performed by the BIOS on the basis of the values of the I O  configuration parameters    Mapping between physical inputs and logical inputs is performed statically with the  Application I O Mapping table     Name Variable Type Description    ALI Pmbe Tr INT lL analogue input 0  AIL2 Probe Ts INT AIL2 analogue input  AIL3 DynamicSetpoint INT AIL3 analogue input  AIL4 INT AIL4 analogue input j  AILS Probe Ta INT AIL5 analogue input 1  DIL1 SFan  Overheating BOOL DIL1 digital input  DIL2 RFilt_PressureSwitch BOOL DIL2 digital input  DIL3 SFan_FlowSwitch BOOL DIL3 digital input Ls  DIL4 RemoteOff BOOL DIL4 digital input  DIL5 RemoteStandBy BOOL DIL5 digital input  DILG Economy BOOL DILG digital input  DOL1 SFan BOOL DOL digital output  DOL2 EDamper BOOL DOL2 digital output  DOL3 BOOL DOL3 digital output w       XII APPENDIX   Air Handling Unit Baselines   Developer s Manual    2 3 1  Possibilities of action of the DEVELOPER   The DEVELOPER can take action in the context of I O mapping with the utmost  simplicity    2 4  PARAMETERS    The parameters are made available to the application b
66. t  Signed 8 bit  Signed 8 bit    Signed 16 bit    Application type Default value      BOOL  USINT  USINT  USINT  USINT  USINT  USINT    INT    False          S El AHU  Custom03 Project  H E Programs  3  Function blocks    EA Cooler AHUO3   EA EsteralDamper AHUO3   i Heater AHUOS   Ea HeatRecoveryUnit AHUO3  Ea Humidifier AHUO3   m InletFan_AHUO3   Ea DutletFan AHUO3    E PostHeater AHUO3  TimeFrameManager5Prof_t    Functions  E Global variables  E Global shared  E  Tasks          5 3  COOL HEAT mode       Array     Initvalue    No  yesterday USINT No    VAR  INPUT  VAR  OUTPUT       VAR  EXTERNAL  VAR  EXTERNAL    enable BOOL No  mode USINT No  sysClock TypeDataTime No  1E01 TimeProfileMon USINT No    ELSIF time  gt   tE34_TimeProfile3Event3 AND time  lt  t    mode    tE35 ModeProfile3Event3      4th time frame     ELSIF time  gt   tE36 TimeProfile3Event4 THEN     tE37 ModeProfile3Event4      Profile  4  OFF 24 hours a day     4   mode    OFF      Profile   5  COMFORT 24 hours a day     5   mode    COMFORT    END CASE   ELSE     Time frame management disabled       mode    OFF   END IF     The Goal Mode PROGRAM determines the COOL HEAT mode of air handling unit    operation     The result of Goal Mode execution is encoded in the hcMode status variable  this means  that it is possible to edit or even completely replace the PROGRAM without affecting the  rest of the application  as long as these status variables are assigned the correct values        Air Handling Unit Baselines
67. t Baselines   Developer s Manual    MEE smart    Select relative humidity regulation probe among alternative humidity probes    FreeSmart EEPROM Parameters  Z  Recalc    Name   Displaylabel  Devicetype Application type     Defaultvalue   Min    tr22_T_UpperLimit tr22 Signed 16 bit INT 500 SP20_T_HeatingSetpoin 999  123 T UpperLimitBand tr23 Signed 16 bit INT 15  tr24_PostheatingDelay tr24 Unsigned 32 bit UDINT  tr25_PostheatingBand tr25 Signed 16 bit INT 15       Hr10_EnableDehumidification Boolean       5 5 2  Setting the regulation probe    As the limit case of the requirement expressed in heading 5 5 1   it may be required to    establish the regulation probe  releasing it from the selection parameter  which can  therefore be removed        To achieve this result  proceed as follows     e simplify the corresponding FBD network in the Goal_RegulationProbe  PROGRAM  which becomes a simple assignment       remove the selection parameter        Air Handling Unit Baselines   Developer s Manual 25    MET smart    Inlet air relative humidity probe is the regulation probe       5 6  Diagnostics    The Diagnostics PROGRAM establishes the alarms activation status  i e  the status of  all the variables defined in the Resources  gt  Alarms section     The Diagnostics PROGRAM first assesses whether or not to enable diagnostics   otherwise  all the alarms are deactivated  see Figure 9      When unit is OFF  diagnostics is skipped       Figure 9  If the AHU status is OFF  diagnostics is 
68. t of new alarm conditions        APPENDIX   Air Handling Unit Baselines   Developer s Manual XV    2 7  STRATEGY    Working with an AHU baseline  the STRATEGY block is constituted by the program of  the same name  written in SFC language     The STRATEGY block is a model of the unit s state machine  which defines     the actions to be performed  i e  the strategy to adopt  for each machine state     the possible transitions between states and conditions in which they occur     The chosen programming language  SFC  allows efficient translation of this state  machine       the strategies correspond to ACTIONS of the SFC program  implemented in FBD  language  each strategy contains an FBD network for each unit component       the transitions correspond to SFC program TRANSITIONS implemented in ST  language                    2 7 1  Possibilities of action of the DEVELOPER    With reference to the above  in terms of DEVELOPER actions  STRATEGY can     manage pre alarm situations or emergency situations that are not envisaged by  the Air Handling Unit baselines  and also provide additional strategies to fulfill the  control goals       modify the individual strategies already provided for  in terms of actions on the  REGULATORS and ACTUATORS blocks        XVI APPENDIX   Air Handling Unit Baselines   Developer s Manual    2 8  REGULATORS and ACTUATORS    The REGULATORS and ACTUATORS blocks are grouped together in functional blocks   which represent the physical components of the ai
69. the power level of the electric heater is set  if the level is 33    only the digital output corresponding to the first resistance is TRUE  if  the level is 66   two digital outputs are TRUE  if the level is 100   all  three digital outputs are TRUE              Air Handling Unit Baselines   Developer s Manual 37    MES smart    If a by pass value has been provided  the number of active resistances depends on that value             38 Air Handling Unit Baselines   Developer s Manual    MEE smart    5 8 2  Adding a component to the AHU    In developing a dedicated application derived from a baseline  it may be necessary to  manage a physical component of the AHU that is not envisaged by the baseline           EXAMPLE 5 20    Consider the case of an application derived from layout 1  from which it differs  due to the presence of a heat recovery unit        Management of the new component calls for     definition of an additional FUNCTION_BLOCK that is responsible for translating  the commands received from STRATEGY into operations on the outputs     editing of the Strategy PROGRAM so that the new component is managed in all  operating modes  in each  strategy          EXAMPLE 5 21    Considering Example 5 20  we can proceed as follows     il     Name    DOL4  DOLS  DOLG  AOL1   AOL2  AOL3  AOL4    Ea Add    Address  16404  16405       define the logical output to control the heat recovery unit  which it is  assumed to be of the rotary type and that requires the controller to sp
70. with regard to regulators feedback     1 2  PARAMETERS    1 2 1  Responsibility   The PARAMETERS block provides the application with the configuration parameters  supplied by USER    1 2 2  Collaborations    The PARAMETERS outputs are utilized by     GOAL  setpoints  time frames  etc       DIAGNOSTICS  alarms configuration      REGULATORS  regulators configuration    e ACTUATORS  actuators configuration      1 3  GOAL    1 3 1  Responsibility  The GOAL block establishes the aims that the unit controller must pursue   Specifically  the data resulting from the GOAL block are      unit ON OFF status      COOL HEAT  summer winter  operating mode of the unit      energy saving mode activation status  ECO mode       setpoints to follow       measurements  feedback  to use in regulation  deriving from the choice of  regulation probes     The GOAL block is necessary to summarize these data starting from the different  possible sources  which include parameters and digital and analog inputs     The GOAL block is not concerned with whether or how the goals can be achieved   delegating this task to the downstream blocks        APPENDIX   Air Handling Unit Baselines   Developer s Manual III    1 3 2  Collaborations    To achieve this aim  GOAL makes use of     local setting  from PARAMETERS  and remote setting  from INPUT  of the  ON OFF stratus and the requested operating mode    setpoint  from PARAMETERS     time frames and their activation  from PARAMETERS     activation  from INPUT  
71. y means of their definition in the  Application EEPROM Parameters tables  and  potentially  Status variables      Address Name Display label Device type Application type Default value Min Max    16450     LModeOFF         Md     800          BOOL         Tme  16451 LModeStandBy Md  01 BOOL BOOL False  16400 SpHeat HEOO INT INT 200  16500 ULimTs HE01 INT INT 500  16501 ULimTsDiff HE02 INT INT 20  16401 SpAntifreeze AFOO INT INT 70  16550 SFanFlowSwitchDelay SF00 DWORD DWORD 60    16552 SFanOnStartDelay SF  1 DWORD DWORD 15  16554 SFanOnStopDelay SF02 DWORD DWORD 5  16556 SFanBetweenDelay SF03 DWORD DWORD 60  16460 EcoDiffHeat ECOD INT INT  10  15470 DynSetpointDiffHeat dS504 INT INT  50  16471 EnableDynSetpoint dso7 BOOL BOOL False  16600 EnableTimeEvents tE00 BOOL BOOL False  15501 TimeProfileMonday tE01 SINT SINT 0 0 3  16602 TimeProfileTuesday tE02 SINT SINT 0    3  15503 TimeProfileWednesday   tEU3 SINT SINT 0 0 3  16604 TimeProfileThursday tE04 SINT SINT 0 0 3  16605 TimeProfileFriday tE05 SINT SINT 0 0 3  16606 TimeProfileSaturday tE06 SINT SINT 0 0 3 v   lt  f  gt     With regard to Smart  considering the absence of a parameters database on the target   unlike Evolution   the PARAMETERS block can include a dedicated IEC61131 3  PROGRAM that is responsible for validating the values of the application parameters   This logic must be isolated from the remainder of the application  in such a way as to  facilitate possible porting on Evolution     2 4 1  Possibilities of act
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
User Manual    HomeHandy Pìco voice Operating instructions  0E-211 PLÁSTICO PROFESIONAL 2G  MO-Iシリーズ 取扱説明書  vipersat network products - Satellite Bandwidth by New Era Systems  Ford 2006 Freestar Automobile User Manual  AN001  06-10-TP200 201-6key user manual.cdr    Copyright © All rights reserved. 
   Failed to retrieve file