Home
Loop CTRL → A120 → AKF Type: CLC12
Contents
1. t Room temperatura R 22 24 26 28 30 C 32 Outside air temp Va Figure 11 Setpoint value for room temperature vs outside air temperature The results of loop control operation are shown in Figure 12 and Figure 13 Figure 12 shows the reaction of the process where there is a step function change in outside air temperature This disturbance change has no significance in practice but is done here to evaluate the control quality Figure 13 shows the settling of the control loop after a system failure In this test the system air loop itself was opened EXair temperature constant The process settling after reactivation of circulating pump is similar to the settling caused by step change in outside air temperature The disturbance however is compensated more quickly because of the cancelled system meshing 64 Applications 20 TIME ue em E m o 50 0 T_SUPPLY_AIR 240 0 5 Sa RN NE Een 40 8 PER 20 min partition PARTING i LINE 3E cc n x uL O ya et SUP_POS SUP_NEG T SUPPLY AIR 27 2095 T ROOM 24 6506 Figure 12 Loop control reaction after abrupt change in outside air temperature TIME 38 8 777 A a 50 8 240 0 PARTING LINE SUP_POS SUP_NEG T SUPPLY AIR 20 3987 T ROOM 22 3079 Figure 13 Settling of control loop after system failure temporary failure of circula
2. Insert diskettes correctly No erasing on diskettes Touch only protect of diskettes O Store diskettes in protective containers and boxes No bending or folding of diskettes Diskettes to sunshine O 0 No painted pencils for writing on diskettes O 0 Label diskettes at the right spot Temperature 10 to 50 C Humidity 8 to 80 No heavy objects on diskettes No forcing diskettes into disk drive e Always keep in mind xiv 20 Table of Contents Part Chapter 1 Part Il Chapter 1 Chapter 2 Chapter 3 3 1 3 2 FB305 FB306 FB310 FB311 FB315 FB320 Part Ill Chapter 1 aaa Das je 1 20 How to Proceed 1 Checklists ois u ee ad 3 Closed Loop Control Function Blocks 5 7 Installation of Function Blocks 9 General Information about FBs 11 Str cture of FBS Lose b E PUTA 12 General Information about CLC FBs 13 PID1 16 PID controller with 16 bit fixed point Obed PA 15 PID1 32 PID controller with 32 bit fixed point arithmetics
3. 1 reset of YA EF B adar enable EF 0 freezes YA WE MW adar setpoint value XE MW adar actual value OBGR MW adar limiting value absolute TTK MW adar sampling time in s TMAX MW maximum pulse time in s TMIN MW adar minimum pulse time in s YP M addr output signal for positive directed actuation YN M addr output signal for negative directed actuation TM1 T addr 1st timer TM2 T addr 2nd timer VIM1 M addr internal organization data bit VIM2 M addr internal organization data bit VIM3 M addr internal organization data bit VIM4 M addr internal organization data bit VIW1 MW adar internal organization data word VIW2 MW adar internal organization data word VID1 MD addr internal organization data double word VID2 MD addr internal organization data double word 3 Configuration The Function Block can be copied from the source file PADT or diskette to the target file of selected PC station ref chapter LEERER MERKER 42 1 20 3 1 Parameterization The parameterization of PBM1 ensues with assignment of the limiting value the sampling time and minimum maximum pulse width TTK determines the sampling time in which the actuating pulses are periodically given out to the controller outputs YP or YN The actual pulse width and thereby the averaged proportionality ym of the actuating pulses are dependant on the re lation of the input value sys
4. 2 2 2 eL EPIS aad SA une 21 ZR1 Two position controller for A120 27 PDSR1 PD step action controller for A120 31 DR1 Three position controller for A120 37 PBM1 Pulse duration Modulator for A120 41 47 Installation Application 49 Installation of applications 50 Installation of application HVAC 50 Installation of application REACT 51 Table of Contents xv xvi Chapter 2 Applications 53 2 1 Open Loop and Temperature Control of a Ventilation Sys tem in HVAC Techniques 56 2 1 1 Open Loop 59 2 1 2 Mixed air temperature control 62 2 1 3 Room Temperature 63 2 2 Closed Loop Control of a Reacting Tank in Process Engi neering ls de ot o t 66 2 2 1 Sequence Control and Closed Loop Control 66 Part iV Appendix 69 6 2 42 71 Publications Comment Form 81 Table of Contents 20 Part How to Proceed 20 Chapter 1 Checklist The following list describes how to use this closed loop control manual and how to handle the loop con
5. Hamburg Stadthausbr cke 9 Blunck 0 40 34 98 0 280 2000 Hamburg 36 Schultze 244 Rehfeldt 233 Freese 233 Kiel Seekoppelweg 7 D ring 04 31 6896 0 291 2300 Kiel 1 Bremen Stresemannstra e 29 Modersitzki 04 21 44 94 0 370 2800 Bremen 11 Schmidt G 332 Nummensen 272 Bremerhaven L ningstr 6 Meinecke 04 71 49 32 0 2850 Bremerhaven Berlin Hohenzollerndamm Langbein 030 8 28 0 2947 1000 Berlin 33 Gerstmann 2942 Hannover Max M ller StraBe 50 56 Mieske 05 11 63 04 0 470 3000 Hannover 1 Marquart 227 M cke D hrmann Geiss Lange Sperling Bielefeld SchillersstraBe 44 D hrmann 05 11 63 04 0 470 4800 Bielefeld M cke Braunschweig CampestraBe 7 Mieske 05 11 63 04 0 470 3300 Braunschweig Marquart 227 Dortmund Rheinlanddamm Biermann 02 31 12 00 0 344 4600 Dortmund 1 Engels 420 Hansen 288 Herforth 491 Munster Friedrich Ebert StraBe 7 Benighaus 02 51 53 06 0 108 4400 Munster Jerke 116 Kottenstede 115 Herforth 02 31 12 00 0 491 Nordhorn Ootmarsumer Weg 8 Rauen 0 59 21 50 45 4460 Nordhorn Veltrup Herforth 02 31 12 00 0 491 Osnabr ck Pferdestra e 23 Siepker 05 41 5 84 92 0 23 4500 Osnabr ck Rautland 28 P tter 26 Herforth 02 31 12 00 0 491 Siegen Sandstra e 173 Helmer 02 71 47 55 5900 Siegen 1 Mertens Herforth 02 31 12 00 0 491 72 Addresses 24 Regional Sales Offices Addresses Representat Phone No Ext Essen Kruppstra e 6 Vomhof 02 01 2 44 1 334 4300 Essen 1 Fraenz 537 Janse
6. flows will be kept within MAXINT limits the way that direction sign of substituted variable is the same as the direction of the unrepresentable overshooten one no undefined saw teeth effects Controller operation without limited output val ue can be reached with regards to the overall arrangement of control loop Note Step changes in setpoint value will be amplified with a gain of 5 KP at the in stant of step change and are given out additional to the actual controller output value once amplified by controller gain and four times by DT1 part because of internal determination TV T1 4 The following course of the controller output value is essentially determined by the additional conditions of the control loop mostly by system time constants The limiting of controller output in this connection is in the main dependant on the course of the integral part whose settling to an fixed value can only be done over the system loop Step changes in setpoint value can be preferably in mode transformed into a slower settling of the control loop with bumpless change in controller output val ue when simultaneousley causing a positive edge trigger at DHLT input In that case DHLT forces the controller to take over the normally occuring step change in the controller output into the integral part one cycle The former controller output value temporary remains as the output value The following course of controller output val
7. of the new FB is added to the code to be linked The required program memory can be kept to a minimum in this way The Loop Control Function Blocks run without additional timing system using only timer controlled sampling Therefore every CLC FB gets one or more timer functions assigned at TMx variable The sampling time unless otherwise speci fied see FB descriptions should be determinated adapt to the conditions of 20 General Information about FBs 13 process loop Usual values are 1 5 1 10 of loop control relevant system time constants The required memory allocation for internal variables controller input and output variables and controller parameters are completely assigned at the Controller Function Block There is no exceptional handling of data in the Data Block DB or consideration of restricted data areas The number of timer addresses used can be minimized by assigning the same timers to several function blocks in cases when the sampling time is determined as zero e g ZR1 DR1 continuous operation or PID controller in P controller mode Also the double words that have to be assigned to some controllers can be used commonly They are only used for buffer storage In displaying A120 signals using Online List it should be considered that vari ables identified as controllable CE will be overwritten for one program cycle with given list value after activating the transmit using the transmit command in the AKF menu
8. 1 Funktion Block Symbol FB 305 Condition PID1 16 MW Y MW TM MW YH VIM1 MW YAO VIM2 MW YAU viwl M HAND VIW2 M HALT VIW3 M DHLT VIWA MW KP VIW5 MW TN VIW6 MW TV VIW7 M ED VIW8 MW 16 01 16 MW 5 MW MW MW MW MW MW MW MW 20 2 2 FB structure Assignable parameter Meaning PID1 16 Operation Call MW adar setpoint value x MW actual value YH MW adar manual input YAO MW adar maximum output value YAU MW adar minimum output value HAND M addr operating mode HAND priority over HALT HALT M addr operating mode HALT DHLT addr dynamic HALT for next FB cycle KP MW adar controller gain TN MW adar integral action time in 0 1 s lt O I part is turned off TV MW addr derivative action time in 0 1 s TV lt 0 D part is turned off ED addr change over D part 0 for 1 for KP TA MW adar sampling time in 0 1 s Y MW adar manipulated variable controller output TM T addr timer VIM1 M addr internal organization data bit VIM2 M addr internal organization data bit internal organization data word VIW2 MW internal organization data word VIW3 MW internal organization data word VIW4 MW internal organizat
9. 7 The selected PC station remains the target directory 10 Installation of Function Blocks 20 Chapter 3 General Information about FBs 20 General Information about FBs 11 3 1 Structure of FBs Every function block consists of one operation and the necessary operands for executing the operation The operation determinates which function will be executed by the function block The operand determinates which variable will be used when executing the operation Function Block gt 5 gt actual operand gt assignable operand Operation operand identifier Parameter e g ZR1 e g ER X e g MW M e g 2 3 4 5 FB 310 Condition ZR1 M ER w TER MW VIMI MW xE VIM2 MW HYS VIWl mw MW TA VIW2 MW Note Only one FB is allowed in each network Conditional unconditional FB call The operation of every function block can be enabled with a Conditional call edit menu Doing this causes AKF program to perform an additional FB marker input Setting the conditional input enables FB operation resetting the input turns the FB operation off The output operands then will not be changed until the FB is reactivated This allows for instances where output operands are shared with 12 General Information about FBs 20 further FBs in cas
10. D 7030 B blingen Hulb Tel 0 70 31 66 68 1 Ulm Neue Stra e 113 115 D 7900 Ulm Tel 07 31 1 72 0 Wesel Delogstra e 2 D 4320 Wesel Tel 02 81 2 50 91 Wilhelmshaven Zedeliusstra e 28 D 2940 Wilhelmshaven Tel 0 44 21 3 48 60 W rzburg GneisenaustraBe 20 D 8700 W rzburg 1 Tel 09 31 7 20 41 Addresses 77 Subsidiaries Representatives and MODICON Distributors of AEG in Europe Austria Czechoslovakia Greece AEG Austria GmbH MEDIA AEG Hellas A E Br nner Str 52 A 1211 Vienna Tel 222 2 77 11 0 MODICON Handelsgesell schaft mbH Br nner Str 52 A 1211 Vienna Tel 222 2 77 11 65 04 AEG Austria GmbH Bildgasse 8 10 A 6851 Dornbirn Tel 5572 6 36 12 Asperngasse 2 A 8020 Graz Tel 316 57 25 70 0 Amraser Str 118 A 6020 Innsbruck Tel 5222 49 21 50 Rosentalerstra e 189 A 9023 Klagenfurt Tel 463 28 27 00 Bachstr 75 A 5023 Salzburg Tel 662 7 45 01 Europaplatz 6 2 A 3100 St P lten Tel 2742 6 76 46 Rubensstr 40 A 4050 Traun Tel 732 8 30 31 Belgium S A belge Belgische N V AEG Rue de Stalle 65 B 1180 Brussels Tel 2 3 70 06 11 S A belge Belgische N V AEG Automatisierungstechnik Bisschoppenhoflaan 637 B 2100 Antwerp Deurne Tel 3 3 26 01 70 78 Addresses Strakonicka 510 CS 1500 Prague 5 Tel 2 54 53 46 49 Denmark AEG Dansk Aktieselskab Roskildevej 8 10 DK 2620 Albertslund Tel 42 64 85 22 Finla
11. Display 2 4 Function block symbol FB 310 Condition ZR1 M ER M M EF TMH T MW WE VIM1 M MW XE VIW1 MW MW HYS VIW2 MW MW TA 20 ZR1 27 2 2 FB structure Assignable parameter Meaning ZR1 Operation Call ER B addr function block reset ER 1 reset of YA EF B addr enable EF 0 freezes YA WE MW adar setpoint value XE MW adar actual value HYS MW adar hysteresis TA MW adar sampling time in 0 1 s TA 0 for continuous operation YA M addr manipulated variable controller output signal TM T addr timer VIM1 M addr internal organization data bit VIW1 MW adar internal organization data word VIW2 MW addr internal organization data word TM HYS TA EAS Sampling Time f YS 1 1 WE 1 l YA Xd XE EF ER Figure controller design 28 ZR1 20 3 Configuration The Function Block can be copied from source file PADT or diskette to the tar get file of selected PC station ref chapter LEERER MERKER 3 1 Parameterization The parameterization of ZR1 ensues with the assignment of the hysteresis and sampling times The hysteresis defines the operating points of the controller Outside the hystere sis the system deviation causes ZR1 to switch the output depending on the si
12. MW addr MW addr MD addr MD addr PDSR1 Operation Call function block reset ER 1 reset of YA enable EF 0 freezes YP YN setpoint value actual value controller gain integral action time in s nominal actuating time of integral actuator in s scaled process gain controller output for positive directed actuating controller output for negative directed actuating timer internal organization data bit internal organization data word internal organization data word internal organization data word internal organization data word internal organization data double word internal organization data double word 20 2 3 FB structure TM1 ER TN Function Block KSN Control r K 1 EF TA 100 ms KR YN XE KR HYS UZ 1 UZ HYS Conversion 1 TS Figure 4 Controller design 20 PDSR1 33 3 Configuration The Function Block can be copied from the source file PADT or diskette to the target file of the selected PC station ref chapter LEERER MERKER 3 1 Parameterization The parameterization of PDSR1 is carried out by the assignment of the controller gain integral action time the nominal actuating time of integral actua
13. The controller outputs have storing characteristics and therefore should only be listed as viewable no identifier Identifying controller output vari ables as force variables should be avoided if regular and continual controller op eration is to be guaranteed The fixing of output variables causes uncontrollable influence in FB operation 14 General Information about FBs 20 FB305 PID1 16 PID controller with 16 bit fixed point arithmetic 1 Function The closed loop control function block PID 1 16 is a freely parametrizable PID controller with 16 bit fixed point arithmetics PID 1 16 has the following charac teristics negative KP values possible change of control direction D and I part can separately and bumpless turned on turned off D part with bumpless change over to system deviation or actual value D part part combined with 1st order lag element for controlled step response DT1 Operation with anti windup reset AWR Manual input with setpoint correction of integral part for bumpless return to automatic mode Operating mode HALT for keeping the last value of controller output with set point correction of integral part Dynamic HALT with positive edge trigger at DHLT input during next FB cycle Limiting of controller output to minimum maximum value Complete protection against arithmetic overflows thus higher reliability FB operating time less than 10 ms OOO dO uu a OOO dQ 20 PID1 16 15 2 Display 2
14. controller output with set point correction of integral part Dynamic HALT with positive edge trigger at DHLT input during next FB cycle Limiting of controller output to minimum maximum value Complete protection against arithmetic overflows thus higher reliability FB operating time less than 10 ms PID1 32 21 2 Display FB 306 condition PID1 32 MW Y MW X TM MW YH VIM1 MW YAO VIM2 MW YAU viwl M HAND VIW2 M HALT VIW3 M DHLT viw4 MW KP VIW5 MW TN VIW6 MW TV VIW7 M ED VIW8 MW VIW9 VID1 VID2 22 1 32 MW T M MW MW MW MW MW MW MW MW MW MD MD 20 21 FB structure Assignable parameter Meaning PID1 32 Operation Call MW setpoint value x MW actual value YH MW adar manual input YAO MW adar maximum output value YAU MW adar minimum output value HAND M addr operating mode HAND priority over HALT HALT M addr operating mode HALT DHLT addr dynamic HALT for next FB cycle KP MW adar controller gain TN MW adar integral action time in 0 1 s lt O I part is turned off TV MW addr derivative action time in 0 1 s TV lt 0 D part is turned off ED addr change over D part 0 for 1 for KP TA MW adar sampling time in 0 1 s Y MW adar manipulated variable controller output TM
15. in which youve inserted the CLC12 dis kette eventually this drive can be B Step7 When entering the return key in the Target line empty line the files on the inserted diskette will be copied into the PC station determined with SeTup CLC12 Menu entries for step 6 and Start Copying Files step 7 parameter V Source A CLC12 Target Parameter V Now you can take a look at the PC station HVAC 50 Installation Application 20 1 1 2 Installation of application REACT Application of a reacting tank in process engineering REACT Use the following procedure with the application Step1 Start AKF12 program Step2 Insert CLC12 diskette in your disk drive e g A Step3 You are in the Plant entered during installation of AKF12 e g CAAKF12 Step4 X Enter in the the AKF12 menu the station REACT under SeTup PC Station PC Station Name Stepb Select menu Special Copy Files Step6 To specify source files type A CLC12 note AA is the name of disk drive in which youve inserted the CLC12 dis kette eventually this drive can be BA Step7 When entering the return key in the Target line empty line the files on the inserted diskette will be copied into the PC station determined with SeTup CLC12 Menu entries for step 6 and Start Copying Files step 7 SOurce A CLC12 parameter V Target Parameter V Now you can take a look at the PC st
16. program parts will cause an increase in the total linked program length hence saving in program memory 44 PBM1 20 Le ree smallest impulse time free controller range Output signal 0 when Tp lt TMIN transient impulse length possible clockgrid EF 1 j Output signal Ire when Tp gt TMAX TMAX Figure 6 Clock grid and pulse shaping 20 EF 1 1 45 Tp 4 at VP Tp at YN Figure 7 Transfer characteristics 46 1 20 Part Ill Application 47 48 20 Chapter 1 Installation Application This chapter tells you how to copy the applications of the AKF12 Closed Loop Control 20 Installation Application 49 1 1 Installation of applications The enclosed diskette contains two applications as example of close loop control using AKF12 1 1 1 Installation of application HVAC o Application of heating ventilation and air conditioning HVAC Use the following procedure with the application Step1 Start AKF12 program Step2 Insert CLC12 diskette in your disk drive e g A Step You are in the Plant entered during installation of AKF12 e g CAAKF12 Step4 Enter in the the AKF12 menu the station HVAC under SeTup PC Station PC Station Name Step5 Select menu Special Copy Files Step6 To specify source files type A CLC12 note A is the name of disk drive
17. 8 0 Hannover Max M ller Stra e 50 60 D 3000 Hannover 1 Tel 05 11 63 04 0 Heilbronn Weinsberger Stra e 18 D 7100 Heilbronn Tel 0 71 31 6 16 0 Karlsruhe Neureuther Stra e 5 7 D 7500 Karlsruhe 21 Tel 07 21 59 69 0 Kassel Lilienthalstra e 150 D 3500 Kassel Bettenhausen Tel 05 61 5 02 1 Kempten Kronenstra e 21 D 8960 Kempten Tel 08 31 2 40 49 Kiel Seekoppelweg 7 D 2300 Kiel 1 Tel 04 31 68 96 0 Koblenz Rheinstra e 17 D 5400 Koblenz Tel 02 61 3 94 0 K ln Oskar J ger Str 125 143 D 5000 K ln 30 Tel 02 21 54 91 0 Mainz Fischtorplatz 14 D 6500 Mainz 1 Tel 0 61 31 2 06 0 Mannheim N 7 5 6 Kunststra e D 6800 Mannheim 1 Tel 06 21 2 97 1 M nchen Arnulfstra e 205 D 8000 M nchen 19 Tel 0 89 13 05 0 M nster Friedrich Ebert Stra e 7 D 4400 M nster Tel 02 51 53 06 0 Nordhorn Ootmarsumer Weg 8 D 4460 Nordhorn Tel 0 59 21 50 45 60 50 N rnberg Gutenstetter Stra e 12 D 8500 N rnberg 60 Tel 09 11 65 97 0 Osnabr ck Pferdestra e 23 D 4500 Osnabr ck Tel 05 41 5 84 92 0 24 Ravensburg Henri Dunant StraBe 6 D 7980 Ravensburg Tel 07 51 95 58 Regensburg Bukarester StraBe 12 D 8400 Regensburg 1 Tel 09 41 79 66 0 Saarbr cken Mainzer Stra e 176 D 6600 Saarbr cken 3 Tel 06 81 81 03 1 Sales Point 24 Siegen Sandstra e 173 D 5900 Siegen 1 Tel 02 71 47 55 B blingen Dornierstra e 7
18. Loop CTRL gt A120 gt AKF Type CLC12 Version 1 1 Diskettes 31 2 and 51 4 Configuration Guide DOK 276557 20 0291 Belongs to software kit E No 424 271575 Overview 20 Part Part Il Part Ill Part IV Part V Part VI Part VII Part VIII Part IX Notes Table of Contents How to Proceed Closed Loop Control Function Blocks Application Appendix 20 Notes Table of Contents vi 20 Notes Application Note A Caution The relevant regulations must be observed for control applications involving safety requirements For reasons of safety and to ensure compliance with docu mented system data repairs to components should be per formed only by the manufacturer Training AEG offers suitable training that provides further information concerning the sys tem see addresses Data Illustrations Alterations Data and illustration are not binding We reserve the right to alter our products in line with our policy of continuous product development If you have any sugges tions for improvements or amendments or have found errors in this publication please notify us by using the form on the last page of this publication Addresses The addresses of our Regional Sales Offices Training Centers Service and En gineering Sales Offices in Europe are given at the end of this publication 20 vii Copyright All rights reserved No part of this document
19. SUair temperature control this compensates for most of the disturbances to the sys tem loop The primary control loop with P controller for room temperature control determines the setpoint value for the secondary control loop With an increasing room temperature the setpoint for the SUair control decreases vice versa The cascade control unit N 2 compares the given setpoint value with the appro priate actual value In cases of deviation the controller output N 2 changes to compensation The output signal of cascade control unit N 2 operates sequen tially with the actuators of the air heater and air cooler For the purpose of ener gy saving and because of physiological reasons the room temperature should be increased relative to the rise of the outside air temperature DIN 1946 part 2 ref Figure 11 To accomplish this demand the outside air temperature is applied to control unit N 2 To prevent the possibility of unhealthy draughts the system operation is determined in such a way that the SUair setpoint values are only valid within given limits The limiting values therefore are set in the control unit 20 Applications 63 Closed Loop Control Function With the rise of room temperature the heater valve drives to direction Shut and sequentially the cooler valve drives to direction Open If room temperature is too low the cooler valve drives to direction Shut and sequentially the heater valve to direction Open gt 95
20. T addr timer VIM1 M addr internal organization data bit VIM2 M addr internal organization data bit internal organization data word VIW2 MW internal organization data word VIW3 MW internal organization data word VIW4 MW internal organization data word VIW5 MW adar internal organization data word VIW6 MW adar internal organization data word VIW7 MW adar internal organization data word VIW8 MW internal organization data word VIW9 MW internal organization data word VID1 MD adar internal organization data double word VID2 MD adar internal organization data double word 20 PID1 32 23 6LNS CONS VL 0 4U09 Moog uonounJ HOH Bupu coc QNVH UC 0 7 AUO N L BMV L i AL p h 511 1 NWA OWA L O NL HA Figure 2 Controller design 20 PID1 32 24 3 Configuration The function block can be copied from source file PADT or Diskette to the tar get file of the selected PC station ref chapter LEERER MERKER 3 1 Parameterization The parametrization of PID 1 16 controller has no restrictions Arithmetic over
21. aarlemmerstraatweg 113 NL 1165 MK Halfweg N H Tel 2907 70 41 Norway AEG Norge A S Stanseveien 6 N 0902 Oslo 9 Tel 2 16 11 11 Solberg amp Andersen a s Brynsveien 5 N 0611 Oslo 6 Tel 2 65 70 00 Poland UNITEX S A Ul Stawki 2 31 PL 00950 Warsaw Tel 22 39 82 32 24 Portugal AEG Portuguesa S A Rua Jo o Saraiva 4 6 P 1799 Lisbon Tel 1 89 11 71 Romania AEG Liaison Office Bukarest Str Sevastopol No 13 17 Ap 404 RO 78118 Bucharest Tel 0 59 20 22 Soviet Union AEG Liaison Office Moskow Pokrovskij Boulevard 4 17 Korpus 3 1 Etage SU 101000 Moskow Tel 095 2 08 54 13 Spain AEG lb rica de Electricidad S A c Principe de Vergara 112 E 28002 Madrid Tel 1 2 62 76 00 Sweden AEG Svenska AB Svetsarv gen 6 S 17127 Solna Tel 8 89 85 65 Switzerland Elektron AG RiedhofstraBe 11 CH 8804 Au ZH Tel 1 7 81 01 11 GSY Industrieautomation AG Biberiststr 24 CH 4501 Solothurn Tel 65 21 81 21 Turkey AEG Genel Elektrik T A S Yildiz Posta Irfan Bast g Cad No 1 Timlo Is Hani Kat 3 6 TR 80280 Esentepe Istanbul Tel 1 1 74 58 10 17 Yugoslavia INTEREXPORT 27 Marta 69 XII YU 11000 Belgrade Tel 11 62 00 55 Addresses 79 80 Addresses 24 From AEG Company Name Street City Phone AEG Aktiengesellschaft Fachbereich Automatisierungstechnik MODICON Europa Abt A91 M22 Postfach 1162 D 6453 Seligenstadt Publicati
22. ation For a better understanding of the operation in addition with the line comments available in IL mode please notice the network comments of NW1 in OB and the comments in NW2 of the additional FBs 20 Installation Application 51 52 Installation Application 20 Chapter 2 Applications Applications 53 Instrumentation and control technology Heating Ventilation and Air Con ditioning technology HVAC The application originates from the production automation of chemical plants batch process including the additional building services automation Open loop and Closed Loop Control is respectively realized using Modicon A120 ALU 202 central unit with modules placed on basic rack and expansion subrack ANSI The networking to Modicon A350 central controller ensues with Mod net 1 SFB 1N procedure In addition with visual display processor VIP101 and a directly connected operator panel the arrangement represents an example for central instrumentation and control technology 1 amp used for HVAC The reac ting tank in process engineering is achieved with the training board Modicon ET722 The board simulates level and temperature of a reacting tank by com bined digital and analogue simulations The following application contains only the CLC part HVAC of the original PC station because this part may be similar to some other applications in process engineering The open loop part is too dependa
23. caling hence KSN constant this is defined otherwise the resolution changes while the absolute error remains the same 3 2 Reset of Function Block ER 1 reset of output markers YP and YN EF 0 no change in condition of output markers even when the system devi ation or controller parameters are changing 3 3 FB operating times Note The given operating times are valid when using ALU 202 Operating conditions ER 1 0 76 ms EF 0 0 67 ms ER 0 EF 1 7 0 ms 3 4 Program memory first FB call in OB 3 903 Byte every further call 117 Byte The given value represents worst case value and is valid when the function block is the only one called in OB If however commands used in your closed loop control functions already exist in your program only the additional program parts will cause an increase in the total linked program length hence saving in program memory 20 PDSR1 35 FB315 DR1 Three position controller for A120 1 Function The Function Block DR1 transforms an internally formed system deviation into binary states for output markers YP and YN If the absolute value of the system deviation WE XE overranges by half of the hysteresys value HYS which is shifted by dead band UZ the output will be set dependant sign on the devi ation value if positive YP if negative YN If system deviation falls below the value marked by the inner edge of appropriate hysteresis loop the marker will be reset Ove
24. ected PC station ref chapter LEERER MERKER 3 1 Parameterization The parameterization of Function Block ensues with assignement of hysteresis dead band and sampling time The hysteresis defines the operating points of the controller Outside the hysteresis the system deviation causes DR1 to switch the appropriate output depending on the sign of the deviation Inside the hysteresis area DR1 keeps the current output states as long as deviation does not over range underrange the corresponding operating point if high state falling edge of hysteresis if low state rising edge of hysteresis The separation of the devi ation area for the use of two controller outputs allows the design of loop controls with separate control actions split range control e g heating and cooling The select sampling time TA is optional and can be used to synchronize DR1 with other controllers If synchronization is not necessary the Function Blocks can be enabled to work in every program cycle by setting sampling time TA 0 3 2 Reset of Function Block ER 1 reset of output markers YP and YN EF 0 no change in condition of output markers even when the system devi ation or controller parameters are changing 3 3 FB operating times Note The given operating times are valid when using ALU 202 Operating conditions ER 1 0 6 ms 0 0 53 ms 0 1 1 2 ms 20 DR1 39 3 4 Program memory first FB call in OB 1 623 Byte every fu
25. es of process dependant operating modes e g split range control or simply to stop FB operation The conditional input is next to the name of function block here ZR1 Conditional input e g E2 1 gt conditional call no conditional input unconditional call The operand identifier determinates if it is e g an output variable Q Input vari able a marker byte MB etc This information is demanded by Dolog AKF from the system It is not possible to write a marker bit to places which are as signed for marker words Wrong inputs will not be accepted syntax check Valid characters of variables in Function Block Diagrams Condition conditional or unconditional call enable of function block M for input output value or marker with bit format MB for input output value or marker with byte format MW for input output value or marker with word format MD for input output value or marker with double word format The points signify the required parameters 3 2 General Information about CLC FBs The Closed Loop Function Blocks of MODICON A120 can be copied into an ex isting PC station and used like regular FBs Inserting a Function Block into a Network causes the AKF program to prepare the finally program linkage with assignment of fundamental part of Function Block code and additional the code for calling the FB in OB see also FB de scriptions With every further insertion of the same Function Block only the call
26. esponding out side air flap opens If the outside air temperature reaches the mixed air tempera ture setpoint the outside air flap is opened wide and the mixed air flap is shut If the EXair temperature rises above the determined limit the outside air flap is driven to minimum supply of outside air and the mixed air flap is opened In this case for the purpose of energy saving it is more suitable to use mixed air enthalpy instead of mixed air temperature for control not realized here With this pre connected mixed air temperature control the influence on the pro cess by disturbing changes in outside air temperature can be efficently compen sated That means the difference between the outside air temperature in summer 62 Applications 20 and the outside air temperature in winter is reduced to the smaller one between the mixed air temperatures The following SUair system loop thereby is less bur dened 2 1 3 Room Temperature Control Application For systems with constant room temperature in winter time and a steadily in creasing of room temperature in summer time as a function of outside air tem perature e g bureaus hotels administration buildings schools theaters labora tories etc Function Sensor B1 measures the outside air temperature sensor B3 measures SUair temperature and sensor B4 measures room temperature The PPl cascade con trol unit N 2 includes the secondary control loop with Pl controller for
27. feisenstra e 13 Demharter 08 21 79 03 0 132 8900 Augsburg 41 Bestler 130 Kempten Kronenstra e 21 Albrecht 08 31 2 40 49 8960 Kempten 1 N rnberg Muggenhofer StraBe 135 Ankenbrand 09 11 3 23 0 2630 8500 N rnberg 80 D tsch 2650 Wil 2520 Mayerhofer 2520 W rzburg Gneisenaustra e 20 S der 09 31 7 20 41 8700 W rzburg 1 Balling Markert Moldan Regensburg Bukarester StraBe 12 Giglberger 09 41 79 66 0 179 8400 Regensburg 1 Bayreuth OpernstraBe 24 26 Strobel 09 21 88 03 0 26 8580 Bayreuth 2 74 Addresses 24 Contact Addresses Publications AEG Aktiengesellschaft Automatisierungstechnik Verkaufsf rderung Werbung Steinheimer Stra e 117 6453 Seligenstadt Telefon 0 61 82 81 25 60 Training Center AEG Aktiengesellschaft Trainingszentrum Au enstelle Mauergasse 3 6453 Seligenstadt Telefon 0 61 82 81 22 68 Repairs AEG Aktiengesellschaft Automatisierungstechnik Reparaturabteilung Steinheimer Stra e 117 6453 Seligenstadt Herr Wombacher Telefon 0 61 82 81 22 30 Herr Feid Telefon 0 61 82 81 24 03 Service Central AEG Aktiengesellschaft Anlagenmontage Automatisierungstechnik Herr Joachim Hirschmann Goldsteinstra e 238 6000 Frankfurt 71 Telefon 0 69 66 99 2 35 Telexelektron mont 413 705 AEG Aktiengesellschaft Anlagenmontage Herr Karl Josef Reuter Goldsteinstra e 238 6000 Frankfurt 71 Telefon 0 69 66 99 2 33 phone recorder 24 Sales Offices AEG Aktiengesellschaf
28. g 28 4300 Essen 1 Telefon 02 01 31 94 2 02 Telex elektron essen 875 849 AEG Aktiengesellschaft Automatisierungstechnik MODICON Europa Service M nchen Herr Dieter Sch del Tegernseer Landstr 161 8000 Munchen 90 Telefon 089 69777 0 Addresses 75 Technical Offices and Sales Points of AEG in the Federal Republic of Germanyand Berlin West Aachen Gr ner Weg 22 24 D 5100 Aachen Tel 02 41 1 08 0 Augsburg Raiffeisenstra e 13 D 8900 Augsburg Lechhausen Tel 08 21 79 03 130 Bayreuth Opernstra e 24 26 D 8580 Bayreuth 2 Tel 09 21 2 20 21 Berlin Hohenzollerndamm 150 D 1000 Berlin 33 Tel 0 30 8 28 1 Bielefeld Schillerstra e 44 D 4800 Bielefeld 1 Tel 05 21 8 05 0 Braunschweig Campestra e 7 D 3300 Braunschweig Tel 05 31 70 02 0 Bremen Stresemannstra e 29 D 2800 Bremen 1 Tel 04 21 44 94 0 Bremerhaven L ningstra e 6 D 2850 Bremerhaven Tel 04 71 4 93 20 Dortmund Rheinlanddamm D 4600 Dortmund 1 Tel 02 31 12 00 1 D sseldorf Wiesenstra e 21 D 4000 D sseldorf 11 Tel 02 11 50 80 01 Sales Point 76 Addresses Essen Kruppstra e 6 D 4300 Essen 1 Tel 02 01 2 44 1 Frankfurt Mainzer Landstr 351 367 D 6000 Frankfurt 1 Tel 0 69 75 07 0 Freiburg Tullastra e 84 D 7800 Freiburg Tel 07 61 51 01 1 Gie en Schanzenstra e 1 5 D 6300 Gie en Tel 06 41 7 06 212 Hamburg Stadthausbr cke 9 D 2000 Hamburg 36 Tel 0 40 34 9
29. g function blocks from diskette to PC Station To keep always best survey and to make survive activities less difficult we recommend to use the same numbers or to commit function block numbers in your company Use the following procedure to copy FBs Step 1 Start AKF12 program Step 2 Insert CLC12 diskette in your disk drive e g A Step 3 You in the Plant entered during installation of AKF12 e g C AKF 12 Step 4 Select SeTup PC Station PC Station Name in AKF12 menu e g CLC Step5 Select menu Special Copy Files Step 6 To specify source files type A CLC12 note is the name of disk drive in which youve inserted the CLC12 dis kette eventually this drive can be B Step 7 When entering the return key in the Target line empty line the files on the inserted diskette will be copied into the PC station determined with SeTup CLC12 Menu entries for step 6 and Start Copying Files step 7 SOurce A CLC12 parameter V Target Parameter V From this PC station the required FBs can be copied to the actual PC station containing the user program the recommendation mentioned above is automati cally kept when proceeding in this way For this Step 4 to Step 7 have to be repeated To Step 4 Type the name of PC station you want to work with To Step 6 Source is the directory of PC station CLC Instead of insert the number of required FB To Step
30. gineering Arrangement of This Guide General This part contains the preface of the documents de scribes the handling of install disks and contains a de tailed table of contents of this manual Part Checklist for proceeding with present software kit Part Requirements installation and specification of closed loop control function blocks Part III Installation and specification of application I amp C HVAC 20 xi Part IV Appendix Addresses Contain the ad dresses of the sales agencies at home and abroad Publicatons Comment Form Please use this form a lot if you have any questions or correc tions regarding the doumentation or soft ware Related Documents Software Kit Dolog gt A120 Type AKF12 E No 424 271521 Validity Note This manual is assigned for software CLC12 version 1 1 Translation of description DOK 275578 20 xii 20 Handling 3 1 2 Diskettes i i Store diskettes in protective No cleaning of diskettes containers and boxes Temperature 10 to 60 Humidity 8 to 80 No water on diskettes Insert diskettes correctly Diskettes tolerate no heat Label diskettes at the sunshine right spot No diskettes near mag No forcing diskettes into Don t move the metal slide netic fields disk drive e 5 Always keep in mind i 20 xiii Handling 5 1 4 Diskettes No diskettes near mag netic fields
31. gn of the deviation Inside the hysteresis area ZR1 operates like a dead zone with stored output To select the sampling time is an option that can be done to synchronize ZR1 with other controllers If synchronizing is not necessary the Function Blocks can be enabled to work in every program cycle by setting sampling time TA 0 3 2 Reset of Function Block ER 1 reset of output marker YA EF 0 no change in output marker condition even when the system deviation or controller parameters are changing 3 3 FB operating times gt Note The given operating times are valid when using ALU 202 Operating conditions ER 1 0 52 ms 0 0 47 ms 0 1 1 5 20 ZR1 29 3 4 Program memory first FB call in OB 1 596 Byte every further call 75 Byte given value represents worst case value and is valid when the function block is the only one called in OB If however commands used in your closed loop control functions already exist in your program only the additional program parts will cause an increase in the total linked program length hence saving in program memory 30 481 20 FB311 PDSR1 PD step action controller for A120 1 Function The Function Block PDSR1 consists of a three position controller hysteresis and a 1st order lag feedback loop The internal coupling of 1st order lag element from controller output to the input summing point approaches controller charac teristics of those in contin
32. ion data word VIW5 MW adar internal organization data word VIW6 MW internal organization data word VIW7 MW adar internal organization data word VIW8 MW adar internal organization data word 20 PID1 16 17 6LNS cOWS VL MOI 1 Bumu coc DH 2777 UC IIHQ 77777 0 AUO NL 49014 HM uomouns AL p h 511 O NL NVA me OVA O NL HA Controller design Figure 1 20 PID1 16 18 3 Configuration The function block can be copied from the source file PADT or Diskette to the target file of the selected PC station ref chapter LEERER MERKER 3 1 Parametrization The parametrization of PID 1 16 controller has no restrictions Arithmetic over flows will be kept MAXINT limits the way that direction sign of substituted vari able is the same as the direction of the unrepresentable overshoot one no un defined saw teeth effects Controller operation without limited output value can be reached with regards to the overall arrangement of control loop Note Step changes in setpoint value will be amplified with a gain of 5 KP at the in stant of step change and are given out additional to the actual controller ou
33. ions for operating the process will be described in the following 56 Applications 20 INOOu L ns Figure 9 HVAC air conditioning 57 Applications 20 SIOMOUS OM WOOH X3 o SA 2159 d 95 ONILSAL Zou 01354 NST 6S8 11 ZW 9S8 0211 9N ysa E WS SdlHO1VHO8VI CHRD SIN 9S8 E 11 IN Susa d ONILSAL WO Ou L ns Figure 10 HVAC air distribution 20 Applications 58 2 1 1 Open Loop Control In the automatic mode the system is turned on with I amp C remote key located on the operating and monitoring module MAB64 The following operating modes can be additionally activated from there and from VIP101 I amp C Day On Supply air fan M1 2nd speed Exhaust air fan M2 2nd speed Exhaust air fan M4 1st speed Exhaust air fan M11 1st speed Night Off low fan speed Supply air fan M1 1st speed Exhaust air fan M2 1st speed Exhaust air fan M4 OFF Exhaust air fan M11 OFF Remote Control If EXair fans M4 and M11 are in turned on state 2nd speed the SUair fan M1 runs with 3rd speed If EXair fans M4 or M11 and 2 from 4 laboratory tables are activated also the SUa
34. ir fan M1 is running with 3rd speed If 3 from 4 laboratory tables are in active state the SUair fan M1 also runs with 3rd speed With the FBs assigned for testing area and II the corresponding EXair fans M4 and M11 will be changed to 2nd speed 20 Applications 59 Exhaust Air Fans The EXair fans M6 M9 for the solvent boxes LSM are continuously operating The EXair fan for the adjoining rooms M12 is turned on by the light switch and turned off with time delay after turning off the light The EXair fan for WC and showers is activated by the light switch with time delay when using WC or by humidity sensor hygrostat when using the shower cabins When using only one room the fan runs with 1st speed When using both rooms the EXair fan runs with 2nd speed Circulating Pump of Supply Air Heater The circulating pump M3 is activated when the heater valve is opened and turned off when the heater valve is shut Frost Protection If the outside temperature sinks below the protection value of 5 C the fans M1 M2 M4 and M11 are turned off In this turned off mode of the ventilation system the circulating pump is activated without respect to the key positions The heater valve is opened and the cooler valve is shut Filter Maintenance Signal The differential pressure switches S1 and S4 signalize polluted filters which have to be exchanged if the increasing differential pressure overranges given limits V belt Control The diffe
35. le the unit failures are signalling by blinking LEDs The failure can be acknowledged with Ackn failure key After proceeding in this way the blinking LEDs are turning to a steady light This light is finally extin quished when the failed unit is repaired or exchanged by a new one Manual Control Every drive fan circulating pump can be activated separately in its different speeds by the corresponding keys of control module 20 Applications 61 2 1 2 Mixed air temperature control Application Ventilation and air conditioning systems in which a for save of heating energy the mixed air temperature is kept constant a minimum supply of outside air is to guarantee for save of cooling energy the supply of outside air is to minimize to a given limit with change between summer and winter mode the system has to be con trolled by outside and exhaust air temperature Function The sensors B1 B2 and B3 measure the temperature of the outside air mixed air and exhaust air The P controller N1 compares the determinated setpoint value with the actual value of mixed air In cases of deviation the actuating signal of P controller output N1 changes the flap positions in a way that system deviation can be compensated The CLC FB prevents the underrange of the determinated limiting value for ensuring a minimum supply of outside air Closed Loop Control Simultaneously with increasing outside air temperature the corr
36. may be reproduced or transmitted in any form or by any means electronic or mechanical including copying pro cessing or any information storage without permission in writing by the AEG Ak tiengesellschaft You are not authorized to translate this document into any other language Trademarks All terms used in this user manual to denote AEG products are trademarks of the AEG Aktiengesellschaft IBM IBM PC IBM XT and IBM AT are registered trademarks of International Business Machines Corporation Microsoft and MS DOS are registered trademarks of Microsoft Corporation 1990 AEG Aktiengesellschaft viii 20 Terminology Note This symbol emphasizes very important facts A Caution This symbol refers to frequently appearing error sources Warning This symbol points to sources of danger that may cause financial and health damages or may have other aggravat ing consequences ES Expert This symbol is used when a more detailed information is given which is intended exclusively for experts special training re quired Skipping this information does not interfere with understand ing the publication and does not restrict standard application of the product Path This symbol identifies the use of paths in software menus Figures are given in the spelling corresponding to international practice and ap proved by SI Systeme International d Unit s l e a space between the thousands and the usage of a decimal poi
37. ms 3 02 ms PID 5 41 ms 4 46 ms 4 03 ms 4 94 ms Operating times in other cycles always 2 32 ms 3 3 Program memory first FB call in OB 5 010 Byte every further call 159 Byte fl part works The given value represents worst case value and is valid when the Function Block is the only one called in the OB If however commands used in your closed loop control functions already exist in your program only the additional program parts will cause an increase in the total linked program length hence saving in program memory 20 PID1 16 20 FB306 PID1 32 PID controller with 1 The Closed Loop Control Function Block PID 1 16 is a freely parameterizable PID controller with 16 bit fixed point arithmetics for input and output The calcula 32 bit fixed point arithmetics Function tion of I and DT1 part and the summing of the internal values for building the controller output signal are done with 32 bit accuracy a a 20 negative KP values possible change of control direction D and can separately and bumplessly turned on off D part with bumpless change over to system deviation or actual value D part part combined with 1st order lag element for controlled step response DT1 Operation with anti windup reset AWR Manual input with setpoint correction of integral part for bumpless return to automatic mode Operating mode HALT for keeping the last value of
38. n 465 Fr Kytzia 536 D sseldorf Wiesenstra e 21 Appel 02 11 50 80 01 378 4000 D sseldorf 11 Steiner 364 Henkel 360 K ln Oskar J ger Stra e 125 143 Goebel 02 21 54 91 0 642 5000 K ln 30 Eich 687 H ring 672 Fr Sch fer 616 Aachen Gr ner Weg 22 24 Gille en 02 41 1 08 0 125 5100 Aachen 1 Kamps 133 Koblenz Rheinstra e 17 Sander 02 61 3 94 0 227 5400 Koblenz 1 Frankfurt Mainzer Landstra e 351 367 Roos 069 75 07 0 444 6000 Frankfurt 1 T dtemann 336 Trosch 393 Hadamik 276 Gie en Schanzenstra e 1 5 Emmerich 06 41 7 06 0 248 6300 GieBen 1 Kassel LilienthalstraBe 150 D nkel 05 61 5 02 0 2820 3500 Kassel Keilmann 2823 Cramer 2825 Wittemeier 2828 Specht 2824 Mainz Fischtorplatz 14 M ller Veit 0 61 31 2 06 0 221 6500 Mainz 1 Hensel 216 Mannheim N7 5 6 KunststraBe Schulz 06 21 2 97 1 281 6800 Mannheim 1 Lanzet 229 Karlsruhe Neureuter StraBe 5 7 J ngling 07 21 59 69 0 7500 Karlsruhe 21 Reinhard Saarbr cken Mainzer Stra e 176 Braun 06 81 81 03 0 238 6600 Saarbr cken 3 Stuttgart Dornierstra e 7 Eisele 0 70 31 66 68 1 210 7030 B blingen Hulb G hringer 651 Heim 652 Diessl 214 Liersch 214 Pfalzgraf 213 Freiburg TullstraBe 84 H hne 07 61 51 01 1 236 7800 Freiburg 1 Gutmann 585 24 Addresses 73 Regional Sales Offices Addresses Representat Phone No Ext M nchen Arnulfstra e 205 Detzner 089 13 05 0 620 8000 M nchen 19 Hart 615 Ulmann 289 Dups 667 Rautenstrau 558 Augsburg Raif
39. nd S k liikkeiden Oy S hk mets SF 01301 Vantaa 30 Tel 0 83 81 OY E Sarlin AB Automation Kaivokselantie 3 5 Vantaa SF 00101 Helsinki Tel 0 53 50 22 France AEG Modicon Automation S N C Rue Einstein ZI Vaux le P nil F 77015 Melun C dex Tel 1 64 37 15 10 MODICON France S A R L Rue Michael Faraday F 78180 Montigny Le Bretonneux Tel 1 34 60 61 01 Great Britain AEG UK Ltd Eng Division Eskdale Road Berkshire GB Winnersh RG 11 5 PF Tel 734 69 83 30 MODICON Electronics Ltd 6 Beechwood Chineham Business Park GB Basingstoke Hants RG 24 OWA Tel 256 84 31 84 Florinis Str 15 GR 18346 Moschaton Athens Tel 1 4 89 21 11 Hungary MERCATOR S A R L Th k ly ut 156 H 1145 Budapest XIV Tel 1 63 03 55 Iceland Braedurnier Ormsson H F L gm la 9 15 108 Reykjavik Tel 1 3 88 20 Ireland Process Control amp Automation Systems Ltd Strawhall Industrial Estate IRL Carlow Tel 503 4 23 77 Italy AEG Italiana S p A Via Stephenson 94 1 20157 Milan Tel 2 3 32 12 1 MODICON Italiana S r L Via Stephenson 94 1 20157 Milan Tel 2 3 32 12 1 Elettronucleonica S p A Piazza de Angeli 7 1 20146 Milan Tel 2 49 82 451 Luxembourg AEG Luxembourg S r L 2 Rue Albert Borschette L 1246 Luxembourg Kirchberg Tel 43 88 81 24 Netherlands AEG Nederland N V Aletta Jacobslaan 7 NL 1066 BP Amsterdam Tel 20 5 10 59 11 MODICON B V H
40. nt e g 12 345 67 20 ix AKF IL FPF DT1 part FB HVAC NW P controller Pl controller PID controller PADT CLC FB PC 1 amp lt Cr gt lt Return gt lt Ctrl gt lt Alt gt lt Del gt abbr instruction list IL ladder diagram LD unction block diagram FBD instruction list fire protection flap real differential part of controller function block heating ventilation and air conditioning network proportional action controller proportional plus integral controller proportional plus integral plus derivative controller programming and debugging tool closed loop control function block programmable controller central instrumentation and control use carriage return key use control key all three keys use alternate key held down use delete key warm restart 20 Objectives Present software and documentation can only be used together with software package Dolog AKF A120 This manual is designed for configuration of closed loop control programs on Modicon A120 It contents information about installing the software on personal computer and the use of function blocks The configuring of FBs parameters time etc will be described As an introduction into the configuration of closed loop control pro grams using CLC 12C software the software kit contains an application example of heating ventilation and air conditioning and the application of controlling an reacting tank in process en
41. nt on the handling characteristics of non CLC process appliances like fans or flaps or activities like operating and monitoring of process The open loop function therefore is only briefly de scribed 54 Applications 20 912 d3d 5 912 ava lt 9 E o O 912 daa 5 g 912 dad 5 S 9 c 8 i E 9 E 8 8 5 b gc 9 2 8 9 102 SO 7 a N soz lt Loz mv 2_ 8 ES i S IU 8 voz Nav S 23 91z z 912 dvd 5 SE di 28 IDID Eg A soz co x 5 202 NIV amp 5 er Er 7 e e 2 o E 2 S 2 901 2 D lt N 2 amp 3 utc a D a F 191 2 2 o Figure 8 Application I amp C techniques HVAC techniques 20 Applications 55 2 1 Open Loop and Temperature Control of a Ventilation System in HVAC Techniques The process scheme is represented in Figure 9 and Figure 10 The CLC part de scribed in chapter LEERER MERKER is located in PC station HVAC on the en closed diskette please read network comments and hints in NW1 of OB1 For better understanding of the technology the essential open loop funct
42. ons Comment Form We are constantly striving to improve the contents and usability of our techni cal documents If you have any suggestions for improvement please let us know and mail this form to us Name E No 424 Version Factory No Automation Device GSW Firmware Version Progr Device PADT MS DOS Version Graphic Module 23 81 Suggestions for improvement Software Product Product Documentation Thank you for your help 82 23
43. other work on the given plant AKF12 part programming chap Programming Sequence 4 Checklist 20 Part Il Closed Loop Control Function Blocks 20 Chapter 1 Requirements This chapter enables you to perform closed loop control using software package Dolog gt A120 and the loop control software CLC 12 20 Requirements 7 To guarantee proper operation of software ensure the following conditions a IBM compatible programming and debugging tool personal computer with fixed disk drive and external disk drive 3 1 2 or 5 1 4 and with installed software Dolog AKF A120 a software conditions Kind of software type number A120 ALU 200 basic software BSW 124 275121 00 ALU 201 basic software BSW 123 275120 00 ALU 202 basic software BSW 123 275120 00 PADT Dolog A120 programming software AKF12 E Nr 424 247197 version 2 0 or higher Loop CTRL A120 gt Closed loop control FBs CLC12 E Nr 424 271575 version 1 0 a Knowledge about project planning of the A120 using the software kit Dolog AKF gt A120 8 Requirements 20 Chapter 2 Installation of Function Blocks This chapter describes you how to copy closed loop control func tion blocks 20 Installation of Function Blocks 9 The loop control function blocks CLC FBs are equipped with AEG defined num bers Nevertheless these numbers can be freely changed by the customer when copyin
44. re controller is acti vated with its first temperature setpoint value The actual value is read as an analog value from input module The temperature control is performed as a split range control for both of the setpoint values The control inlet valve AV2 of the heating system here operated binary is opened together with drain valve V5 for heating For cooling the tank the valves V3 and V4 are opened Hystere sis and dead band of controller are selecting way that there is no need for cool 66 Applications 20 ing pulses during the heating period and no need for heating pulses during the cooling period If setpoint temperature can not be reached in a given sequence time the following batch is carried out with a reduced temperature of the tank contents By changing over to the second internally determined temperature setpoint in FB1 the cooling period begins If the setpoint temperature cannot be reached in the given sequence time the chemical product is discharged with its temperature reached up to that time The time for discharging the tank is calculated in such a way that the complete clearing is guaranteed 20 Applications 67 Figure 14 Reacting tank in process engineering 68 Applications 20 Part IV Appendix 69 70 20 Addresses Addresses 71 Regional Sales Modicon Addresses of Technical Sales Offices Regional Sales Offices Addresses Representat Phone No Ext
45. rential pressure switches S2 S3 S5 and S6 are controlling the differen tial pressure of the respecting fans When a V belt is broken the differential pres sure vanishes the respecting fan is turned off and the ventilation system signal izes a failure in process Fire Protecting Flap FPF The Fire protecting flaps are shut by fusible links in the case of fire or fire haz ard The appropriate process units SUair fans EXair fans are turned off 60 Applications 20 Smoke Ventilation The appliances for exhausting smoke are installed according to the regulations of the fire department In this ventilation system the activating of smoke ventila tion mode sets SUair fan to run with 3rd speed and the EXair fans M2 M4 and M11 to run with 2nd speed With manual control Man On at the switchgear cu bicle the EXair fans can be turned on if required The fire protecting flaps have to be opened before activating the smoke ventilation Signalling The operating state of every system unit is displayed by the control module LED Ready steady light Failure blinking light If one single system unit has failed the system is turned off automatically by PC program The display lamps then turn off and the lamp corresponding to the fail ured unit starts blinking After repair the ventilation system has to be turned into automatic mode acknowledge All failure signals are collected in a special fail ure module In this modu
46. rlapping of hysteresis loops can be done up to HYS 2 UZ 2 Display o Assigning hysteresis dead band and sampling time a Operation up to HYS 2 UZ possible a Continuous operation setting TA O 2 4 Function block symbol Condition M M MW MW MW MW MW 20 FB 315 DR1 ER YN M WE 1 T XE VIMI M HYS VIW1 MW UZ VIW2 MW TA DR1 37 2 2 FB structure Assignable parameter Meaning DR1 Operation Call ER B addr function block reset ER 1 reset of YA EF B addr enable EF 0 freezes YA WE MW adar setpoint value XE MW adar actual value HYS MW adar hysteresis UZ MW adar dead band TA MW adar sampling time in 0 1 TA 0 for continuous operation YA M addr manipulated variable controller output signal TM T addr timer VIM1 M addr internal organization data bit MW addr internal organization data word viw2 MW adar internal organization data word TM UZ HYS TA P Mt Cycle time YP HYS DZ Xd YA WE Xd E 07 YN neg ym XE EF ER Figure 5 controller design 38 DR1 20 3 Configuration The Function Block can be copied from the source file PADT or diskette to the target file of the sel
47. rther call 87 Byte The given value represents worst case value and is valid when the function block is the only one called in OB If however commands used in your closed loop control functions already exist in your program only the additional program parts will cause an increase in the total linked program length hence saving in program memory 40 DRI 20 FB320 PBM1 Pulse duration Modulator for A120 1 Function Function Block PBM1 transforms an input signal related to the given limiting val ue OBGR into a periodical pulse string with proportionally modulated pulse width The Function Block can be used as a P controller input WE XE and even as a transformer for continual signals input WE with XE 0 e g PID con troller output connected to PBM1 for operating a two point actuator of controlla ble system 2 Display 2 4 Function block symbol Condition M M MW MW MW MW MW MW 20 FB 320 PBM1 ER YP EF YN WE TM1 XE TM2 OBGR VIM1 TTK VIM2 TMAX VIM3 TMIN VIM4 VIW1 VIW2 VID1 VID2 SS 8 HHS PBM1 o Assign of sampling time absolute input value causing permanent output sig nal and minimum maximum pulse width a Transformation of negative values YN 41 2 2 FB structure Assignable parameter Meaning PBM1 Operation Call ER B adar function block reset ER
48. t ing pump 20 Applications 65 2 2 Closed Loop Control of a Reacting Tank in Process Engineering The process scheme is represented in Figure 14 The software described in chapter LEERER MERKER is located in PC station REACT on the enclosed dis kette please note network comments and hints in NW1 of OB1 2 2 1 Sequence Control and Closed Loop Control By controlled enabling of every function block the AKF program realizes batch processing with fixed clock grid ref NW comment NW3 FB999 resp NW2 FB1 The time sequences are a filling of tank to give setpoint value heating to given setpoint value O cooling to fixed setpoint value clearing of tank On the enabling the level controller the reacting tank starts filling to the given setpoint value The actual value is read as analogue value from the input mod ule The assigned two position controllers operate as limit monitors Distur bances caused by opening of 2nd inlet valve leads to an earlier attainment of the setpoint and to an earlier turn off of the controller operated valve V2 Overfilling is not compensated for additional emptying of the tank because the tank con tents should not be taken out before the heating and cooling periods are com plete If the setpoint level can not be reached in the given sequence time the following batch is carried out with a small quantity of product tank level After locking the level controller the three position temperatu
49. t Anlagenmontage Inbetriebsetzung und Service St tzpunkt Konstanz Herr Werner Oligm ller B ckelstra e 1 5 7750 Konstanz Telefon 0 75 31 86 27 20 AEG Aktiengesellschaft Anlagenmontage Inbetriebsetzung und Service St tzpunkt Frankfurt Herr Max Kummer Lyoner Stra e 19 6000 Frankfurt Niederrad Telefon 0 69 66 46 78 0 69 6 69 92 43 0 69 6 69 93 72 AEG Aktiengesellschaft Anlagenmontage Inbetriebnahme und Service St tzpunkt Stuttgart Herr Knut Seyerle Dornierstra e 7 7030 B blingen Hulb Telefon 0 70 31 66 68 203 0 70 31 66 68 201 AEG Aktiengesellschaft Anlagenmontage Inbetriebnahme und Service St tzpunkt M nchen Herr Helmut Serfas Arnulfstra e 199 8000 M nchen 19 Telefon 0 89 13 05 5 98 0 89 13 05 5 99 AEG Aktiengesellschaft Anlagenmontage Technischer Dienst St tzpunkt Berlin Herr Heinz Rudolf Hohenzollerndamm 150 1000 Berlin 33 Au endienst Proze technik Telefon 0 30 8 28 21 68 0 30 8 28 27 62 AEG Aktiengesellschaft Automatisierungstechnik Technischer Dienst St tzpunkt Hannover Herr Wilhelm St mpel Max M ller Stra e 50 56 3000 Hannover 1 Telefon 05 11 63 04 4 44 AEG Aktiengesellschaft Automatisierungstechnik Technischer Dienst St tzpunkt Hamburg Herr Jan Helmut Peters Holstenkamp 42 2000 Hamburg 54 Telefon 0 40 8 53 95 3 28 0 40 8 53 95 2 49 AEG Aktiengesellschaft Automatisierungstechnik Technischer Dienst St tzpunkt Essen Herr Horst Lohmann Teilungswe
50. tem deviation or setpoint to the limiting value OBGR WE OBGR WE XE ym 100 OBGR If the pulse width underranges the given value TMIN the controller outputs are turned to low If pulse width overranges the given value TMAX the pulse width will be limited to TMAX Both measures ensure correct opeation between the modulator and the characteristics of a given actuator When assigning TMIN 0 and TMAX TTK the pulse width is not restricted this way gt Note To keep the developing controller attributes as close to the de terminated parameters the following values should be selected Parameter min type max OBGR 10 TTK 3200 s TMAX lt TMIN 0 lt TMAX 20 PBM1 43 3 2 Reset of Function Block ER 1 reset of output markers YP and YN EF 0 no change in condition of output markers even when the system devi ation or controller parameters are changing 3 3 FB operating times Note The given operating times are valid when using ALU 202 Operating conditions ER 1 0 83 ms EF 0 0 73 ms ER 0 EF 1 gt 1 5 ms 3 45 ms maximum 3 4 Program memory first FB call in OB 3 309 Byte every further call 129 Byte The given value represents worst case value and is valid when the function block is the only one called in OB If however commands used in your closed loop control functions already exist in your program only the additional
51. tor and the scaled process gain The gain of the 1st order lag feedback element is a function of scaled process gain KSN Therefore KSN has to be determinated in relation to input scaling of controller setpoint and actual value For instance a theoretical temperature range of 400 C that refers to 4000 integer value e g scaling an input voltage signal of ADU204 results an input scaling of 10 C If the maximum difference in process temperature actual value between the states shut down valve and widely opened valve results to KS 200 C the scaled process gain is given to KSN 2000 The scaling accommodates the switching of the controller outputs to the appro priate switching of an integer value for feedback circuitry In this way the trans position of the given parameters will be guaranteed and the handling of control loop can be done close to that of continuously operating loops To keep the developing controller attributes close to the determinated parame ters the following values have to be selected Parameter min type max KP 1 TN 120 gt 4TS s TS 30 lt TN 4 s The hysteresis determines the controller sensitivity and is internally calculated the way HYS KSN KP TS 34 PDSRi 20 When the scaling setpoint and actual value to a function of twice the process gain exampled above the resolution error reaches at the most 1 66 If the user determination of integer range not the s
52. tput value once amplified by controller gain and four times by DT1 part because of internal determination TV T1 4 The following course of the controller output value is essentially determined by the additional conditions of the control loop mostly by system time constants The limiting of controller output in this connection is in the main dependant on the course of the integral part whose settling to an fixed value can only be done over the system loop Step changes in setpoint value can be preferably in Pl mode transformed into a slower settling of the control loop with bumpless change in controller output val ue when simultaneous causing a positive edge trigger at DHLT input In that case DHLT forces the controller to take over the normally occuring step change in the controller output into the integral part one cycle The former controller output value temporary remains as the output value The following course of controller output value is essentially determinated by the changing of the integral part 20 PID1 16 19 Table 1 Determination of sampling time Controller min typ max P 0 Pl lt 0 2 TN PD lt 0 05 PID lt 0 05 3 2 FB operating times Note The given operating times are valid when using ALU 202 Operating times during sampling cycle mode Controller normal AWR HAND HALT P 3 08 ms 3 20 ms 2 98 ms 3 01 ms Pl 5 06 ms 4 25 ms 4 02 ms 4 03 ms PD 3 79 ms 3 62 ms 2 99
53. trol software in the best way 20 Checklist 3 Before using loop control function blocks take a look at the following checklist and note the software details in the corresponding chapters Get familiar with the conditions for using loop control software part Il chapter 1 Have you fullfilled the conditions of the first point r1 Install the loop control function blocks part chapter 2 To check software operation install one of the applications part chapter1 Start program using the AKF12 command on your PADT see also soft ware kit AKF12 rj With SeTup menu type the name of PLant and PC Station that you want to choose for applications see also software kit AKF 12 rj Print closed loop control program using print menu program list see also software kit AKF12 Get familiar to functionality of application using the program list and the manu ale descriptions see also software kit AKF 12 Edit your open loop program using AKF12 see also software kit AKF12 Copy the neecessary loop control Function Blocks to your actual plant using the Special and Copy Files commands see also software kit AKF12 Create your closed loop program under using the function blocks see also part II The specific closed loop control parts are now complete Finally you can prepare the AKF program for loading it to the connect PC or return to
54. ue is essentially determinated by the changing of the integral part 20 PID1 32 25 Table 2 Determination of sampling time Controller min typ max P 0 Pl lt 0 2 TN PD lt 0 05 PID lt 0 05 3 2 FB operating times Note The given operating times are valid when using ALU 202 Operating times during sampling cycle mode Controller normal AWR HAND HALT P 3 43 ms 3 64 ms 3 27 ms 3 27 ms Pl 8 74 ms 6 42 ms 6 29 ms 8 7 ms PD 3 79 ms 40 ms 3 27 ms 3 27 ms PID 9 1 ms 6 78 ms 6 29 ms 8 73 ms Operating times in other cycles always 2 56 ms 3 3 Program memory first FB call in OB 6 150 Byte every further call 177 Byte The given value represents worst case value and is valid when the function block is the only one called in OB If however commands used in your closed loop control functions already exist in your program only the additional program parts will cause an increase in the total linked program length hence saving in program memory 26 PID1 32 20 FB310 ZR1 Two position controller for A120 1 Function The Function Block ZR1 transforms an internally formed system deviation into a binary state for the output marker YA If the absolute value of the system devi ation WE XE overranges by a half of the hysteresys value HYS the output will be set dependant sign on the deviation value Assigning hysteresis and sampling time a Continuous operation setting TA O 2
55. uously sampling PD controllers supposing relatively high system and actuator time constants for efficient filtering of switched output signal When connected with an integral actuator e g control valve the actua tor controller combination has PI characteristics The parameterization is simpli fied by the direct assignment of the actuator action time nominal value of the valve and the required parameters KP and TN The determination of feedback and hysteresis value is done by the controller itself Parameterization of controller gain integral action time actuator action time and scaling value a Internal determination of feedback and hysteresis values Accommodation of the controller operation to the process conditions by the use of the scaling value KSN 20 PDSR1 31 2 Display 2 4 Function block symbol FB 311 Condition PDSR1 M ER MW M EF YN MW MW WE 1 T MW XE VIM M MW KP virgi MW MW TN VIW2 MW MW TS VIW3 MW MW KSN VIWA MW VID1 MD VID2 MD 22 FB structure Assignable parameter Meaning PDSR1 ER EF WE XE KP TN TS KSN YP YN TM1 VIM1 VIw2 VIWS VIW4 VID1 VID2 32 B addr B addr MW addr MW addr MW addr MW addr MW addr MW addr addr M addr T addr M addr MW addr MW addr
Download Pdf Manuals
Related Search
Related Contents
Knoll Systems Projector HD108 User's Manual Système de test ZEUS IFA nDNA G 450R SM Moving ahead. 文京区における印刷業をめぐるネットワーク LED 表示、ブザーによる通知 - E 低圧 RS-1P 取扱説明書 Anleitung_BT_TS_1500_SPK2:Anleitung TKS 15 es!lok® Operators Manual Copyright © All rights reserved.
Failed to retrieve file