
PID Temperature Control
A5E00125039-02 ix
Contents
1Introduction 1-1
1.1 FB 58 "TCONT_CP"..........................................................................................1-3
1.2 FB59 "TCONT_S" .............................................................................................1-4
2Continuous Temperature Controller FB 58 "TCONT_CP" 2-1
2.1 Controller Section..............................................................................................2-1
2.1.1 Forming the Error..............................................................................................2-1
2.1.2 PID Algorithm....................................................................................................2-4
2.1.3 Calculating the Manipulated Variable ...............................................................2-6
2.1.4 Saving and Reloading Controller Parameters...................................................2-9
2.2 Pulse Generator PULSEGEN (PULSE_ON)...................................................2-11
2.3 Block Diagram.................................................................................................2-13
2.4 Including the Function Block in the User Program..........................................2-14
2.4.1 Calling the Controller Block.............................................................................2-14
2.4.2 Call without Pulse Generator (continuous controller) .....................................2-15
2.4.3 Call with Pulse Generator (pulse controller) ...................................................2-15
2.4.4 Initialization......................................................................................................2-18
3Controller Tuning in FB 58 "TCONT_CP" 3-1
3.1 Introduction........................................................................................................3-1
3.2 Process Types ..................................................................................................3-2
3.3 Area of Application............................................................................................3-3
3.4 The Phases of Controller Tuning ......................................................................3-4
3.5 Preparations......................................................................................................3-6
3.6 Starting Tuning (Phase 1 -> 2)..........................................................................3-8
3.7 Searching for the Point of Inflection (Phase 2)
and Calculating the Control Parameters (Phase 3, 4, 5) ................................3-10
3.8 Checking the Process Type (Phase 7) ...........................................................3-10
3.9 Result of the Tuning........................................................................................3-11
3.10 Tuning Stopped by the Operator.....................................................................3-11
3.11 Error Situations and Remedies.......................................................................3-12
3.12 Manual Fine Tuning in Control Mode..............................................................3-16
3.13 Parallel Tuning of Control Channels ...............................................................3-19
4Temperature Step Controller FB59 "TCONT_S" 4-1
4.1 Controller Section..............................................................................................4-1
4.1.1 Forming the Error..............................................................................................4-1
4.1.2 PI Step Controller Algorithm..............................................................................4-4
4.2 Block Diagram...................................................................................................4-5
4.3 Including the Function Block in the User Program............................................4-6
4.3.1 Calling the Controller Block...............................................................................4-6
4.3.2 Sampling Time ..................................................................................................4-7
4.3.3 Initialization........................................................................................................4-7
5Getting Started 5-1