1527
SIMATIC PCS 7 Advanced Process Library V71 _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ _ _____________ Basics of APL 1 Operator control blocks 2 Generator blocks 3 Control blocks 4 Motor and valve blocks 5 Channel blocks 6 Conversion blocks 7 Message blocks 8 Dosing blocks 9 Mathematical blocks 10 Interlock blocks 11 Monitoring blocks 12 Counter blocks 13 Logical analog blocks 14 Logical digital blocks 15 Maintenance blocks 16 System blocks 17 PCS 7 Advanced Process Control Templates 18 Definitions 19 SIMATIC Process Control System PCS 7 PCS 7 Advanced Process Library V71 Function Manual 03/2009 A5E02102723-01

PCS 7 Advanced Process Library V71 - Siemens AG · SIMATIC PCS 7 Advanced Process Library V71 ... 1.3.4 Standard view of FM ... 1.3.18 Batch view

Embed Size (px)

Citation preview

  • SIMATIC PCS 7 Advanced Process Library V71

    __________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________Basics of APL 1

    Operator control blocks

    2

    Generator blocks

    3

    Control blocks

    4

    Motor and valve blocks

    5

    Channel blocks

    6

    Conversion blocks

    7

    Message blocks

    8

    Dosing blocks

    9

    Mathematical blocks

    10

    Interlock blocks

    11

    Monitoring blocks

    12

    Counter blocks

    13

    Logical analog blocks

    14

    Logical digital blocks

    15

    Maintenance blocks

    16

    System blocks

    17PCS 7 Advanced Process Control Templates

    18

    Definitions

    19

    SIMATIC

    Process Control System PCS 7PCS 7 Advanced Process Library V71

    Function Manual

    03/2009 A5E02102723-01

  • Legal information Legal information Warning notice system

    This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.

    DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

    WARNING indicates that death or severe personal injury may result if proper precautions are not taken.

    CAUTION with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.

    CAUTION without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.

    NOTICE indicates that an unintended result or situation can occur if the corresponding information is not taken into account.

    If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.

    Qualified Personnel The device/system may only be set up and used in conjunction with this documentation. Commissioning and operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes in this documentation qualified persons are defined as persons who are authorized to commission, ground and label devices, systems and circuits in accordance with established safety practices and standards.

    Proper use of Siemens products Note the following:

    WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be adhered to. The information in the relevant documentation must be observed.

    Trademarks All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.

    Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.

    Siemens AG Industry Sector Postfach 48 48 90026 NRNBERG GERMANY

    A5E02102723-01 01/2009

    Copyright Siemens AG 2009. Technical data subject to change

  • PCS 7 Advanced Process Library V71 Function Manual, 03/2009, A5E02102723-01 3

    Table of contents

    1 Basics of APL .......................................................................................................................................... 25

    1.1 Block modes.................................................................................................................................25 1.1.1 Overview of the modes ................................................................................................................25 1.1.2 On ...............................................................................................................................................27 1.1.3 Out of service...............................................................................................................................27 1.1.4 Manual and Automatic mode for control blocks...........................................................................29 1.1.5 Manual and automatic mode for motors, valves and dosers .......................................................32 1.1.6 Program mode for closed-loop controllers...................................................................................34 1.1.7 Local mode...................................................................................................................................36 1.1.8 Status diagram for the operating modes......................................................................................39 1.2 General functions of the blocks....................................................................................................42 1.2.1 Operating, monitoring and reporting ............................................................................................42 1.2.1.1 Display and operator input area for process values and setpoints..............................................42 1.2.1.2 Calling further faceplates .............................................................................................................43 1.2.1.3 Operator permissions...................................................................................................................45 1.2.1.4 Generating instance-specific messages ......................................................................................46 1.2.1.5 Maintenance release....................................................................................................................47 1.2.1.6 Time stamp ..................................................................................................................................51 1.2.1.7 Displaying auxiliary values...........................................................................................................52 1.2.1.8 Selecting a unit of measure .........................................................................................................53 1.2.2 Monitoring functions.....................................................................................................................70 1.2.2.1 Monitoring functions at the Advanced Process Library ...............................................................70 1.2.2.2 Limit monitoring............................................................................................................................70 1.2.2.3 Alarm delays ................................................................................................................................79 1.2.2.4 Feedbacks....................................................................................................................................83 1.2.3 Signals .........................................................................................................................................86 1.2.3.1 Output signal as a static signal or pulse signal............................................................................86 1.2.3.2 Recording the first signal for interlock blocks ..............................................................................87 1.2.3.3 Forming and outputting signal status for blocks ..........................................................................88 1.2.3.4 Selecting signals for processing ..................................................................................................93 1.2.3.5 Simulating signals ........................................................................................................................93 1.2.3.6 Setpoint input - internal and external ...........................................................................................96 1.2.3.7 Using a setpoint ramp ..................................................................................................................98 1.2.3.8 Deadband.....................................................................................................................................99 1.2.4 Interlocking functions .................................................................................................................100 1.2.4.1 Interlocks....................................................................................................................................100 1.2.4.2 Trip function ...............................................................................................................................102 1.2.4.3 Rapid stop for motors.................................................................................................................102 1.2.4.4 Influence of the signal status on the interlock............................................................................103 1.2.4.5 Forming the group status for interlock information ....................................................................105 1.2.4.6 Disabling interlocks ....................................................................................................................107

  • Table of contents

    PCS 7 Advanced Process Library V71 4 Function Manual, 03/2009, A5E02102723-01

    1.2.5 General functions for controllers ............................................................................................... 108 1.2.5.1 Ramp limiting of the setpoint..................................................................................................... 108 1.2.5.2 Inverting the control sense........................................................................................................ 108 1.2.5.3 Control error generation and deadband.................................................................................... 109 1.2.5.4 Using control zones................................................................................................................... 109 1.2.5.5 Setpoint limiting for external setpoints ...................................................................................... 110 1.2.5.6 Setpoint tracking the process variable in manual mode ........................................................... 110 1.2.5.7 Tracking and limiting a manipulated value................................................................................ 111 1.2.5.8 Activating and limiting disturbance variable .............................................................................. 113 1.2.5.9 Structure segmentation at controllers ....................................................................................... 113 1.2.6 Forcing operating states............................................................................................................ 115 1.2.7 Error handling............................................................................................................................ 117 1.2.8 Resetting the block in case of interlocks or errors .................................................................... 119 1.2.9 Safe position for motors, valves and controllers ....................................................................... 120 1.2.10 Specifying warning times for control functions at motors and valves ....................................... 122 1.2.11 SIMATIC BATCH functionality .................................................................................................. 122 1.3 General functions of the faceplates .......................................................................................... 123 1.3.1 Structure of the faceplate .......................................................................................................... 123 1.3.2 Switching operating states and operating modes ..................................................................... 127 1.3.3 Changing values ....................................................................................................................... 129 1.3.4 Standard view of FM controllers (analog) ................................................................................. 131 1.3.5 Standard view of FM controllers (pulse controller) ................................................................... 135 1.3.6 Standard view of FM controllers (step controller with position feedback)................................. 139 1.3.7 Standard view of FM controllers (step controller without position feedback)............................ 143 1.3.8 Standard view of interlock blocks.............................................................................................. 147 1.3.9 Parameter view of PID controllers ............................................................................................ 151 1.3.10 Parameter view of FM controllers ............................................................................................. 153 1.3.11 Parameter view for motors and valves...................................................................................... 155 1.3.12 Limit value view of FM controllers............................................................................................. 157 1.3.13 Limit value view of PID controllers ............................................................................................ 160 1.3.14 Limit value view of motors......................................................................................................... 163 1.3.15 Preview of FM controllers.......................................................................................................... 165 1.3.16 Ramp view................................................................................................................................. 167 1.3.17 Message view ........................................................................................................................... 169 1.3.18 Batch view................................................................................................................................. 170 1.3.19 Memo view ................................................................................................................................ 171 1.3.20 Trend view................................................................................................................................. 172 1.4 General functions of the block icons ......................................................................................... 174 1.4.1 Block icon structure................................................................................................................... 174 1.4.2 Configuring the block icons....................................................................................................... 180 1.4.3 Operation via the block icon...................................................................................................... 181 1.4.4 Block icons for PID and FM controller....................................................................................... 181 1.4.5 Block icon for interlock blocks................................................................................................... 184

  • Table of contents

    PCS 7 Advanced Process Library V71 Function Manual, 03/2009, A5E02102723-01 5

    1.5 Selectable block response .........................................................................................................186 1.5.1 Functions that can be set via the Feature I/O............................................................................186 1.5.2 Stopping dosing at a flow alarm.................................................................................................187 1.5.3 Setting the startup response......................................................................................................187 1.5.4 Automatic dribble correction for underdosing in automatic mode..............................................188 1.5.5 Switching operator controls for external setpoint to visible........................................................189 1.5.6 Enabling direct changeover between forward and reverse .......................................................189 1.5.7 Specifying the dosing type .........................................................................................................189 1.5.8 Unit for the rate of change .........................................................................................................190 1.5.9 Issuing substitute value if raw value is invalid ...........................................................................190 1.5.10 Activating recording of the first signal ........................................................................................191 1.5.11 Issuing last valid value if raw value is invalid.............................................................................191 1.5.12 Selecting values associated with messages..............................................................................192 1.5.13 Enabling rapid stop via faceplate...............................................................................................192 1.5.14 Enabling program mode.............................................................................................................192 1.5.15 Update acknowledgment and error status of the message call.................................................193 1.5.16 Resetting the commands for changing the mode ......................................................................193 1.5.17 Enabling resetting of commands for the control settings...........................................................193 1.5.18 Resetting the dosing quantity when dosing starts .....................................................................194 1.5.19 Resetting via input signals in the event of interlocks or errors ..................................................194 1.5.20 Setting switch or button mode....................................................................................................195 1.5.21 Creep rate is always detected in the dosing quantity ................................................................195 1.5.22 Safety value of the manipulated variable effective at startup ....................................................196 1.5.23 Safety manipulated variable with "out of service" operating mode in effect ..............................196 1.5.24 Activating bumpless changes to proportional gain ....................................................................196 1.5.25 Disabling bumpless changeover to automatic mode for controllers ..........................................197 1.5.26 Enabling bumpless changeover to automatic mode for valves, motors, and dosers ................197 1.5.27 Output invalid raw value.............................................................................................................198 1.5.28 Reaction to the out of service mode ..........................................................................................199 1.5.29 Exiting local mode......................................................................................................................199

    2 Operator control blocks.......................................................................................................................... 201 2.1 OpAnL- check and output analog signals ..................................................................................201 2.1.1 Description of OpAnL.................................................................................................................201 2.1.2 OpAnL modes ............................................................................................................................203 2.1.3 OpAnL functions ........................................................................................................................204 2.1.4 OpAnL error handling.................................................................................................................206 2.1.5 OpAnL messaging .....................................................................................................................207 2.1.6 OpAnL I/Os ................................................................................................................................209 2.1.7 OpAnL block diagram ................................................................................................................214 2.1.8 Operator control and monitoring ................................................................................................214 2.1.8.1 Views of OpAnL .........................................................................................................................214 2.1.8.2 OpAnL standard view.................................................................................................................215 2.1.8.3 OpAnL parameter view ..............................................................................................................217 2.1.8.4 OpAnL preview...........................................................................................................................218 2.1.8.5 Block icon for OpAnL .................................................................................................................219 2.2 OpTrig - Manipulating a digital value (1 pushbutton).................................................................222 2.2.1 Description of OpTrig .................................................................................................................222 2.2.2 OpTrig modes ............................................................................................................................224 2.2.3 OpTrig functions.........................................................................................................................225 2.2.4 OpTrig error handling.................................................................................................................227 2.2.5 OpTrig messaging......................................................................................................................227 2.2.6 OpTrig I/Os.................................................................................................................................228 2.2.7 OpTrig block diagram.................................................................................................................230

  • Table of contents

    PCS 7 Advanced Process Library V71 6 Function Manual, 03/2009, A5E02102723-01

    2.2.8 Operator control and monitoring ............................................................................................... 230 2.2.8.1 Views of OpTrig......................................................................................................................... 230 2.2.8.2 OpTrig standard view................................................................................................................ 231 2.2.8.3 OpTrig preview.......................................................................................................................... 232 2.2.8.4 Block symbol for OpTrig............................................................................................................ 233 2.3 OpDi01 - Manipulating a digital value (2 pushbuttons) ............................................................. 234 2.3.1 Description of OpDi01 ............................................................................................................... 234 2.3.2 OpDi01 modes .......................................................................................................................... 236 2.3.3 OpDi01 functions....................................................................................................................... 237 2.3.4 OpDi01 error handling............................................................................................................... 239 2.3.5 OpDi01 messaging.................................................................................................................... 239 2.3.6 OpDi01 I/Os .............................................................................................................................. 240 2.3.7 OpDi01 block diagram............................................................................................................... 243 2.3.8 Operator control and monitoring ............................................................................................... 243 2.3.8.1 Views of OpDi01 ....................................................................................................................... 243 2.3.8.2 OpDi01 standard view............................................................................................................... 244 2.3.8.3 OpDi01 preview......................................................................................................................... 246 2.3.8.4 Block symbol for OpDi01........................................................................................................... 248 2.4 OpDi03 - Manipulating a digital value (3 pushbuttons) ............................................................. 249 2.4.1 Description of OpDi03 ............................................................................................................... 249 2.4.2 OpDi03 modes .......................................................................................................................... 251 2.4.3 OpDi03 functions....................................................................................................................... 252 2.4.4 OpDi03 error handling............................................................................................................... 255 2.4.5 OpDi03 messaging.................................................................................................................... 256 2.4.6 OpDi03 I/Os .............................................................................................................................. 257 2.4.7 OpDi03 block diagram............................................................................................................... 260 2.4.8 Operator control and monitoring ............................................................................................... 261 2.4.8.1 Views of OpDi03 ....................................................................................................................... 261 2.4.8.2 OpDi03 standard view............................................................................................................... 261 2.4.8.3 OpDi03 preview......................................................................................................................... 263 2.4.8.4 Block symbol for OpDi03........................................................................................................... 265

    3 Generator blocks ................................................................................................................................... 267 3.1 NoiseGen - Rauschgenerator ................................................................................................... 267 3.1.1 Description of NoiseGen ........................................................................................................... 267 3.1.2 NoiseGen I/Os........................................................................................................................... 268

    4 Control blocks........................................................................................................................................ 269 4.1 ConPerMon - monitoring of the control performance of control loops ...................................... 269 4.1.1 Description of ConPerMon........................................................................................................ 269 4.1.2 ConPerMon modes ................................................................................................................... 274 4.1.3 ConPerMon functions................................................................................................................ 275 4.1.4 ConPerMon error handling........................................................................................................ 286 4.1.5 ConPerMon messaging............................................................................................................. 287 4.1.6 ConPerMon I/Os ....................................................................................................................... 289 4.1.7 ConPerMon block diagram........................................................................................................ 295 4.1.8 Operator control and monitoring ............................................................................................... 295 4.1.8.1 ConPerMon views ..................................................................................................................... 295 4.1.8.2 ConPerMon standard view........................................................................................................ 296 4.1.8.3 ConPerMon limit value view...................................................................................................... 298 4.1.8.4 ConPerMon parameter view ..................................................................................................... 300 4.1.8.5 ConPerMon preview.................................................................................................................. 302 4.1.8.6 ConPerMon's setpoint view....................................................................................................... 303 4.1.8.7 Block symbol for ConPerMon.................................................................................................... 305

  • Table of contents

    PCS 7 Advanced Process Library V71 Function Manual, 03/2009, A5E02102723-01 7

    4.2 FmCont - Interface to module FM 355.......................................................................................306 4.2.1 Description of FmCont ...............................................................................................................306 4.2.2 FmCont modes...........................................................................................................................310 4.2.3 FmCont functions.......................................................................................................................311 4.2.4 FmCont error handling ...............................................................................................................321 4.2.5 FmCont messaging....................................................................................................................323 4.2.6 FmCont I/Os...............................................................................................................................326 4.2.7 FmCont block diagram...............................................................................................................340 4.2.8 Operator control and monitoring ................................................................................................342 4.2.8.1 FmCont views ............................................................................................................................342 4.3 FmTemp - Interface to temperature controller modules FM 355-2............................................343 4.3.1 Description of FmTemp..............................................................................................................343 4.3.2 FmTemp modes.........................................................................................................................347 4.3.3 FmTemp functions .....................................................................................................................348 4.3.4 FmTemp error handling .............................................................................................................358 4.3.5 FmTemp messaging ..................................................................................................................360 4.3.6 FmTemp I/Os .............................................................................................................................363 4.3.7 FmTemp block diagram .............................................................................................................378 4.3.8 Operator control and monitoring ................................................................................................380 4.3.8.1 FmTemp views...........................................................................................................................380 4.4 GainSched - Adapting parameter values for a PID controller....................................................381 4.4.1 Description of GainSched ..........................................................................................................381 4.4.2 GainSched modes .....................................................................................................................384 4.4.3 GainSched functions..................................................................................................................385 4.4.4 GainSched error handling ..........................................................................................................385 4.4.5 GainSched messaging...............................................................................................................386 4.4.6 GainSched I/Os..........................................................................................................................387 4.4.7 GainSched block diagram..........................................................................................................390 4.4.8 Operator control and monitoring ................................................................................................390 4.4.8.1 GainSched views .......................................................................................................................390 4.4.8.2 GainSched standard view..........................................................................................................391 4.4.8.3 GainSched parameter view........................................................................................................392 4.5 ModPreCon - Model predictive controller ..................................................................................393 4.5.1 Description of ModPreCon.........................................................................................................393 4.5.2 ModPreCon modes ....................................................................................................................397 4.5.3 ModPreCon functions ................................................................................................................398 4.5.4 ModPreCon error handling.........................................................................................................409 4.5.5 ModPreCon messaging .............................................................................................................410 4.5.6 ModPreCon I/Os ........................................................................................................................411 4.5.7 ModPreCon block diagram ........................................................................................................419 4.5.8 Operator control and monitoring ................................................................................................419 4.5.8.1 ModPreCon views......................................................................................................................419 4.5.8.2 ModPreCon standard view.........................................................................................................420 4.5.8.3 ModPreCon parameter view ......................................................................................................423 4.5.8.4 Parameter view channel 1 to 4 of ModPreCon..........................................................................425 4.5.8.5 ModPreCon preview ..................................................................................................................427 4.5.8.6 Block icon for ModPreCon .........................................................................................................429

  • Table of contents

    PCS 7 Advanced Process Library V71 8 Function Manual, 03/2009, A5E02102723-01

    4.6 PIDConL - Continuous PID controller ....................................................................................... 431 4.6.1 Description of PIDConL............................................................................................................. 431 4.6.2 PIDConL modes........................................................................................................................ 435 4.6.3 PIDConL functions .................................................................................................................... 436 4.6.4 PIDConL error handling ............................................................................................................ 445 4.6.5 PIDConL messaging ................................................................................................................. 446 4.6.6 PIDConL I/Os ............................................................................................................................ 449 4.6.7 PIDConL block diagram ............................................................................................................ 460 4.6.8 Operator control and monitoring ............................................................................................... 462 4.6.8.1 PIDConL views.......................................................................................................................... 462 4.6.8.2 Standard view of PIDConL and PIDConR ................................................................................ 463 4.6.8.3 Preview of PIDConL and PIDConR .......................................................................................... 467 4.7 PIDConR - Continuous PID controller with external reset ........................................................ 469 4.7.1 Description of PIDConR............................................................................................................ 469 4.7.2 PIDConR modes ....................................................................................................................... 475 4.7.3 PIDConR functions.................................................................................................................... 478 4.7.4 PIDConR error handling............................................................................................................ 489 4.7.5 PIDConR messaging................................................................................................................. 490 4.7.6 PIDConR I/Os ........................................................................................................................... 493 4.7.7 PIDConR block diagram............................................................................................................ 504 4.7.8 Operator control and monitoring ............................................................................................... 504 4.7.8.1 PIDConR views ......................................................................................................................... 504 4.8 PIDStepL - step controller ......................................................................................................... 505 4.8.1 Description of PIDStepL............................................................................................................ 505 4.8.2 PIDStepL modes ....................................................................................................................... 509 4.8.3 PIDStepL functions ................................................................................................................... 510 4.8.4 PIDStepL error handling............................................................................................................ 519 4.8.5 PIDStepL messaging ................................................................................................................ 521 4.8.6 PIDStepL I/Os ........................................................................................................................... 524 4.8.7 PIDStepL block diagram ........................................................................................................... 536 4.8.8 Operator control and monitoring ............................................................................................... 540 4.8.8.1 PIDStepL views......................................................................................................................... 540 4.8.8.2 Standard view of PIDStepL without position feedback ............................................................. 541 4.8.8.3 Standard view of PIDStepL with position feedback .................................................................. 545 4.8.8.4 PIDStepL preview ..................................................................................................................... 549 4.9 Ratio - ratio controlling .............................................................................................................. 551 4.9.1 Description of Ratio................................................................................................................... 551 4.9.2 Ratio modes .............................................................................................................................. 553 4.9.3 Ratio functions .......................................................................................................................... 554 4.9.4 Ratio error handling................................................................................................................... 557 4.9.5 Ratio messaging ....................................................................................................................... 558 4.9.6 Ratio I/Os .................................................................................................................................. 559 4.9.7 Ratio block diagram .................................................................................................................. 563 4.9.8 Operator control and monitoring ............................................................................................... 563 4.9.8.1 Ratio views................................................................................................................................ 563 4.9.8.2 Ratio standard view................................................................................................................... 564 4.9.8.3 Ratio parameter view ................................................................................................................ 567 4.9.8.4 Ratio preview ............................................................................................................................ 569 4.9.8.5 Block symbol for ratio................................................................................................................ 570

  • Table of contents

    PCS 7 Advanced Process Library V71 Function Manual, 03/2009, A5E02102723-01 9

    4.10 SplRange - signal splitter ...........................................................................................................572 4.10.1 Description of SplRange ............................................................................................................572 4.10.2 SplRange modes .......................................................................................................................574 4.10.3 SplRange functions....................................................................................................................575 4.10.4 SplRange error handling ............................................................................................................578 4.10.5 SplRange messaging.................................................................................................................578 4.10.6 SplRange I/Os............................................................................................................................579 4.10.7 SplRange block diagram............................................................................................................581

    5 Motor and valve blocks .......................................................................................................................... 583 5.1 MotL - Motor...............................................................................................................................583 5.1.1 Description of MotL ....................................................................................................................583 5.1.2 MotL modes ...............................................................................................................................587 5.1.3 MotL functions............................................................................................................................589 5.1.4 MotL error handling....................................................................................................................594 5.1.5 MotL messaging.........................................................................................................................595 5.1.6 MotL I/Os....................................................................................................................................597 5.1.7 MotL block diagram....................................................................................................................604 5.1.8 Operator control and monitoring ................................................................................................604 5.1.8.1 MotL views .................................................................................................................................604 5.1.8.2 MotL standard view....................................................................................................................605 5.1.8.3 MotL preview..............................................................................................................................608 5.1.8.4 Block symbol for MotL................................................................................................................611 5.2 MotRevL - Reversible motor ......................................................................................................613 5.2.1 Description of MotRevL..............................................................................................................613 5.2.2 MotRevL modes.........................................................................................................................617 5.2.3 MotRevL functions .....................................................................................................................619 5.2.4 MotRevL error handling .............................................................................................................625 5.2.5 MotRevL messaging ..................................................................................................................627 5.2.6 MotRevL I/Os .............................................................................................................................629 5.2.7 MotRevL block diagram .............................................................................................................637 5.2.8 Operator control and monitoring ................................................................................................637 5.2.8.1 MotRevL views...........................................................................................................................637 5.2.8.2 MotRevL standard view .............................................................................................................638 5.2.8.3 MotRevL preview .......................................................................................................................641 5.2.8.4 Block icon for MotRevL ..............................................................................................................644 5.3 MotSpdCL - Controllable motor with two directions of rotation..................................................646 5.3.1 MotSpdCL description................................................................................................................646 5.3.2 MotSpdCL modes ......................................................................................................................651 5.3.3 MotSpdCL functions...................................................................................................................653 5.3.4 MotSpdCL error handling...........................................................................................................659 5.3.5 MotSpdCL messaging................................................................................................................661 5.3.6 MotSpdCL I/Os...........................................................................................................................663 5.3.7 MotSpdCL block diagram...........................................................................................................672 5.3.8 Operator control and monitoring ................................................................................................672 5.3.8.1 MotSpdCL views ........................................................................................................................672 5.3.8.2 MotSpdCL standard view...........................................................................................................673 5.3.8.3 Limit view for readback values of MotSpdCL.............................................................................678 5.3.8.4 MotSpdCL parameter view ........................................................................................................679 5.3.8.5 MotSpdCL preview.....................................................................................................................681 5.3.8.6 Block symbol for MotSpdCL.......................................................................................................684

  • Table of contents

    PCS 7 Advanced Process Library V71 10 Function Manual, 03/2009, A5E02102723-01

    5.4 MotSpdL - Two-speed motor..................................................................................................... 687 5.4.1 Description of MotSpdL............................................................................................................. 687 5.4.2 MotSpdL modes ........................................................................................................................ 691 5.4.3 Functions of MotSpdL ............................................................................................................... 693 5.4.4 MotSpdL error handling............................................................................................................. 699 5.4.5 MotSpdL messaging ................................................................................................................. 701 5.4.6 MotSpdL I/Os ............................................................................................................................ 703 5.4.7 MotSpdL block diagram ............................................................................................................ 710 5.4.8 Operator control and monitoring ............................................................................................... 711 5.4.8.1 MotSpdL views.......................................................................................................................... 711 5.4.8.2 MotSpdL standard view............................................................................................................. 712 5.4.8.3 MotSpdL preview ...................................................................................................................... 715 5.4.8.4 Block symbol for MotSpdL ........................................................................................................ 718 5.5 Vlv2WayL - Two-way valve....................................................................................................... 720 5.5.1 Description of Vlv2WayL........................................................................................................... 720 5.5.2 Vlv2WayL modes ...................................................................................................................... 724 5.5.3 Vlv2WayL functions................................................................................................................... 726 5.5.4 Vlv2WayL error handling........................................................................................................... 731 5.5.5 Vlv2WayL messaging................................................................................................................ 733 5.5.6 Vlv2WayL I/Os .......................................................................................................................... 735 5.5.7 Vlv2WayL block diagram........................................................................................................... 743 5.5.8 Operator control and monitoring ............................................................................................... 743 5.5.8.1 Vlv2WayL views ........................................................................................................................ 743 5.5.8.2 Vlv2WayL standard view........................................................................................................... 744 5.5.8.3 Vlv2WayL parameter view ........................................................................................................ 747 5.5.8.4 Vlv2WayL preview..................................................................................................................... 749 5.5.8.5 Block symbol for Vlv2WayL....................................................................................................... 752 5.6 VlvL - Valve ............................................................................................................................... 754 5.6.1 Description of VlvL .................................................................................................................... 754 5.6.2 VlvL modes ............................................................................................................................... 758 5.6.3 VlvL functions............................................................................................................................ 760 5.6.4 VlvL error handling .................................................................................................................... 765 5.6.5 VlvL messaging......................................................................................................................... 766 5.6.6 VlvL I/Os.................................................................................................................................... 768 5.6.7 VlvL block diagram.................................................................................................................... 775 5.6.8 Control and monitoring.............................................................................................................. 775 5.6.8.1 VlvL views ................................................................................................................................. 775 5.6.8.2 VlvL standard view .................................................................................................................... 776 5.6.8.3 VlvL preview.............................................................................................................................. 779 5.6.8.4 VlvL block icon .......................................................................................................................... 782 5.7 VlvMotL - Motor valve ............................................................................................................... 785 5.7.1 Description of VlvMotL .............................................................................................................. 785 5.7.2 VlvMotL modes ......................................................................................................................... 789 5.7.3 VlvMotL functions...................................................................................................................... 791 5.7.4 VlvMotL error handling .............................................................................................................. 797 5.7.5 VlvMotL messaging................................................................................................................... 799 5.7.6 VlvMotL I/Os.............................................................................................................................. 801 5.7.7 VlvMotL block diagram.............................................................................................................. 809 5.7.8 Operator control and monitoring ............................................................................................... 809 5.7.8.1 VlvMotL views ........................................................................................................................... 809 5.7.8.2 VlvMotL standard view.............................................................................................................. 810 5.7.8.3 VlvMotL preview........................................................................................................................ 813 5.7.8.4 Block symbol for VlvMotL.......................................................................................................... 816

  • Table of contents

    PCS 7 Advanced Process Library V71 Function Manual, 03/2009, A5E02102723-01 11

    6 Channel blocks ...................................................................................................................................... 821 6.1 Notes on using driver blocks......................................................................................................821 6.2 FbAnIn - Analog input driver for field devices ............................................................................822 6.2.1 Description of FbAnIn ................................................................................................................822 6.2.2 FbAnIn modes............................................................................................................................823 6.2.3 FbAnIn functions ........................................................................................................................824 6.2.4 FbAnIn error handling ................................................................................................................827 6.2.5 FbAnIn messaging .....................................................................................................................828 6.2.6 FbAnIn I/Os................................................................................................................................829 6.2.7 FbAnIn block diagram................................................................................................................831 6.3 FbAnOu - Analog output driver for field devices ........................................................................832 6.3.1 Description of FbAnOu...............................................................................................................832 6.3.2 FbAnOu modes..........................................................................................................................835 6.3.3 FbAnOu functions ......................................................................................................................836 6.3.4 FbAnOu error handling ..............................................................................................................838 6.3.5 FbAnOu messaging ...................................................................................................................839 6.3.6 FbAnOu I/Os ..............................................................................................................................839 6.3.7 FbAnOu block diagram ..............................................................................................................844 6.4 FbDiIn - Digital input driver for field devices ..............................................................................845 6.4.1 Description of FbDiIn .................................................................................................................845 6.4.2 FbDiIn modes.............................................................................................................................847 6.4.3 FbDiIn functions .........................................................................................................................847 6.4.4 FbDiIn error handling .................................................................................................................850 6.4.5 FbDiIn messaging ......................................................................................................................851 6.4.6 FbDiIn I/Os.................................................................................................................................851 6.4.7 FbDiIn block diagram.................................................................................................................854 6.5 FbDiOu - Digital output driver for field devices ..........................................................................855 6.5.1 Description of FbDiOu................................................................................................................855 6.5.2 FbDiOu modes...........................................................................................................................858 6.5.3 FbDiOu functions .......................................................................................................................858 6.5.4 FbDiOu error handling ...............................................................................................................860 6.5.5 FbDiOu messaging ....................................................................................................................861 6.5.6 FbDiOu I/Os ...............................................................................................................................862 6.5.7 FbDiOu block diagram ...............................................................................................................866 6.6 Pcs7AnIn - Analog input driver ..................................................................................................867 6.6.1 Description of Pcs7AnIn.............................................................................................................867 6.6.2 Pcs7AnIn modes........................................................................................................................869 6.6.3 Pcs7AnIn functions ....................................................................................................................869 6.6.4 Pcs7AnIn error handling ............................................................................................................874 6.6.5 Pcs7AnIn messaging .................................................................................................................875 6.6.6 Pcs7AnIn I/Os ............................................................................................................................875 6.6.7 Pcs7AnIn block diagram ............................................................................................................878 6.7 Pcs7AnOu - Analog output driver ..............................................................................................879 6.7.1 Description of Pcs7AnOu...........................................................................................................879 6.7.2 Pcs7AnOu modes ......................................................................................................................881 6.7.3 Pcs7AnOu functions ..................................................................................................................882 6.7.4 Pcs7AnOu error handling...........................................................................................................884 6.7.5 Pcs7AnOu messaging ...............................................................................................................885 6.7.6 Pcs7AnOu I/Os ..........................................................................................................................885 6.7.7 Pcs7AnOu block diagram ..........................................................................................................888

  • Table of contents

    PCS 7 Advanced Process Library V71 12 Function Manual, 03/2009, A5E02102723-01

    6.8 Pcs7DiIn - Digital input driver.................................................................................................... 889 6.8.1 Description of Pcs7DiIn............................................................................................................. 889 6.8.2 Pcs7DiIn modes ........................................................................................................................ 891 6.8.3 Pcs7DiIn functions .................................................................................................................... 891 6.8.4 Pcs7DiIn error handling............................................................................................................. 893 6.8.5 Pcs7DiIn messaging ................................................................................................................. 893 6.8.6 Pcs7DiIn I/Os ............................................................................................................................ 894 6.8.7 Pcs7DiIn block diagram ............................................................................................................ 896 6.9 Pcs7DiIT - Digital input driver with time stamp ......................................................................... 897 6.9.1 Description of Pcs7DiIT............................................................................................................. 897 6.9.2 Pcs7DiIT modes........................................................................................................................ 899 6.9.3 Pcs7DiIT functions .................................................................................................................... 899 6.9.4 Pcs7DiIT error handling ............................................................................................................ 901 6.9.5 Pcs7DiIT messaging ................................................................................................................. 901 6.9.6 Pcs7DiIT I/Os ............................................................................................................................ 902 6.9.7 Pcs7DiIT block diagram ............................................................................................................ 904 6.10 Pcs7DiOu - Digital output driver................................................................................................ 905 6.10.1 Description of Pcs7DiOu........................................................................................................... 905 6.10.2 Pcs7DiOu modes ...................................................................................................................... 907 6.10.3 Pcs7DiOu functions................................................................................................................... 907 6.10.4 Pcs7DiOu error handling........................................................................................................... 909 6.10.5 Pcs7DiOu messaging................................................................................................................ 910 6.10.6 Pcs7DiOu I/Os .......................................................................................................................... 910 6.10.7 Pcs7DiOu block diagram........................................................................................................... 912 6.11 Annex for channel blocks .......................................................................................................... 913 6.11.1 Mode Settings for SM Modules................................................................................................. 913 6.11.2 Mode settings for PA field devices............................................................................................ 920 6.11.3 Mode settings for FF field devices ............................................................................................ 921

    7 Conversion blocks ................................................................................................................................. 923 7.1 StruAnIn - separating an analog structured variable ................................................................ 923 7.1.1 Description of StruAnIn ............................................................................................................. 923 7.1.2 StruAnIn modes ........................................................................................................................ 924 7.1.3 StruAnIn functions..................................................................................................................... 924 7.1.4 StruAnIn error handling ............................................................................................................. 925 7.1.5 StruAnIn messaging.................................................................................................................. 925 7.1.6 StruAnIn I/Os............................................................................................................................. 926 7.1.7 StruAnIn block diagram............................................................................................................. 927 7.2 StruAnOu - creating an analog structured variable................................................................... 928 7.2.1 Description of StruAnOu ........................................................................................................... 928 7.2.2 StruAnOu modes....................................................................................................................... 929 7.2.3 StruAnOu functions ................................................................................................................... 929 7.2.4 StruAnOu error handling ........................................................................................................... 930 7.2.5 StruAnOu messaging ................................................................................................................ 930 7.2.6 StruAnOu I/Os........................................................................................................................... 931 7.2.7 StruAnOu block diagram........................................................................................................... 932

  • Table of contents

    PCS 7 Advanced Process Library V71 Function Manual, 03/2009, A5E02102723-01 13

    7.3 StruDiIn - separating a digital structured variable......................................................................933 7.3.1 Description of StruDiIn ...............................................................................................................933 7.3.2 StruDiIn modes ..........................................................................................................................934 7.3.3 StruDiIn functions.......................................................................................................................934 7.3.4 StruDiIn error handling...............................................................................................................935 7.3.5 StruDiIn messaging....................................................................................................................935 7.3.6 StruDiIn I/Os...............................................................................................................................936 7.3.7 StruDiIn block diagram...............................................................................................................937 7.4 StruDiOu - creating a digital structured variable ........................................................................938 7.4.1 Description of StruDiOu .............................................................................................................938 7.4.2 StruDiOu modes ........................................................................................................................939 7.4.3 StruDiOu functions.....................................................................................................................939 7.4.4 StruDiOu error handling .............................................................................................................940 7.4.5 StruDiOu messaging..................................................................................................................940 7.4.6 StruDiOu I/Os.............................................................................................................................941 7.4.7 StruDiOu block diagram.............................................................................................................942 7.5 StruScIn - separating a display area into two variables.............................................................943 7.5.1 Description of StruScIn ..............................................................................................................943 7.5.2 StruScIn modes .........................................................................................................................944 7.5.3 StruScIn functions......................................................................................................................944 7.5.4 StruScIn error handling ..............................................................................................................945 7.5.5 StruScIn messaging...................................................................................................................945 7.5.6 StruScIn I/Os..............................................................................................................................946 7.5.7 StruScIn block diagram..............................................................................................................947 7.6 StruScOu - merging two variables into a display area...............................................................948 7.6.1 Description of StruScOu ............................................................................................................948 7.6.2 StruScOu modes........................................................................................................................949 7.6.3 StruScOu functions ....................................................................................................................949 7.6.4 StruScOu error handling ............................................................................................................950 7.6.5 StruScOu messaging .................................................................................................................950 7.6.6 StruScOu I/Os............................................................................................................................951 7.6.7 StruScOu block diagram............................................................................................................952 7.7 STIn - separating the signal status into individual binary displays ............................................953 7.7.1 Description of STIn ....................................................................................................................953 7.7.2 STIn modes................................................................................................................................954 7.7.3 STIn functions ............................................................................................................................954 7.7.4 STIn error handling ....................................................................................................................955 7.7.5 STIn messaging .........................................................................................................................955 7.7.6 STIn I/Os ....................................................................................................................................956 7.7.7 STIn block diagram ....................................................................................................................957 7.8 STOu - merging individual binary signals into a signal status ...................................................958 7.8.1 Description of STOu...................................................................................................................958 7.8.2 STOu modes..............................................................................................................................959 7.8.3 STOu functions ..........................................................................................................................959 7.8.4 STOu error handling ..................................................................................................................960 7.8.5 STOu messaging .......................................................................................................................960 7.8.6 STOu I/Os ..................................................................................................................................961 7.8.7 STOu block diagram ..................................................................................................................962

  • Table of contents

    PCS 7 Advanced Process Library V71 14 Function Manual, 03/2009, A5E02102723-01

    7.9 MSTIn - separating the maintenance status into individual status displays ............................. 963 7.9.1 Description of MSTIn................................................................................................................. 963 7.9.2 MSTIn modes............................................................................................................................ 964 7.9.3 MSTIn functions ........................................................................................................................ 964 7.9.4 MSTIn error handling ................................................................................................................ 965 7.9.5 MSTIn messaging ..................................................................................................................... 965 7.9.6 MSTIn I/Os ................................................................................................................................ 966 7.9.7 MSTIn block diagram ................................................................................................................ 967 7.10 MSTOu - merging individual status displays into a maintenance status .................................. 968 7.10.1 Description of MSTOu............................................................................................................... 968 7.10.2 MSTOu modes .......................................................................................................................... 969 7.10.3 MSTOu functions ...................................................................................................................... 969 7.10.4 MSTOu error handling............................................................................................................... 970 7.10.5 MSTOu messaging ................................................................................................................... 970 7.10.6 MSTOu I/Os .............................................................................................................................. 971 7.10.7 MSTOu block diagram .............................................................................................................. 972

    8 Message blocks ..................................................................................................................................... 973 8.1 Event - Creating messages....................................................................................................... 973 8.1.1 Description of Event .................................................................................................................. 973 8.1.2 Event modes ............................................................................................................................. 976 8.1.3 Event functions.......................................................................................................................... 977 8.1.4 Event error handling.................................................................................................................. 979 8.1.5 Event messaging....................................................................................................................... 980 8.1.6 Event I/Os.................................................................................................................................. 982 8.1.7 Event block diagram.................................................................................................................. 986 8.2 EventNck - Generating messages without acknowledgment.................................................... 987 8.2.1 Description of EventNck............................................................................................................ 987 8.2.2 EventNck modes ....................................................................................................................... 990 8.2.3 EventNck functions ................................................................................................................... 991 8.2.4 EventNck error handling............................................................................................................ 993 8.2.5 EventNck messaging ................................................................................................................ 994 8.2.6 EventNck I/Os ........................................................................................................................... 996 8.2.7 EventNck block diagram ......................................................................................................... 1000 8.3 EventTs - Creating messages with time stamp....................................................................... 1001 8.3.1 Description of EventTs ............................................................................................................ 1001 8.3.2 EventTs modes ....................................................................................................................... 1004 8.3.3 EventTs functions.................................................................................................................... 1005 8.3.4 EventTs error handling............................................................................................................ 1007 8.3.5 EventTs messaging................................................................................................................. 1008 8.3.6 EventTs I/Os ........................................................................................................................... 1010 8.3.7 EventTs block diagram............................................................................................................ 1015

  • Table of contents

    PCS 7 Advanced Process Library V71 Function Manual, 03/2009, A5E02102723-01 15

    9 Dosing blocks ...................................................................................................................................... 1017 9.1 DoseL - Dosing device.............................................................................................................1017 9.1.1 Description of DoseL................................................................................................................1017 9.1.2 DoseL modes...........................................................................................................................1021 9.1.3 DoseL functions .......................................................................................................................1023 9.1.4 DoseL error handling ...............................................................................................................1034 9.1.5 DoseL messaging ....................................................................................................................1036 9.1.6 DoseL I/Os ...............................................................................................................................1039 9.1.7 DoseL block diagram ...............................................................................................................1053 9.1.8 Operator control and monitoring ..............................................................................................1053 9.1.8.1 Views of DoseL ........................................................................................................................1053 9.1.8.2 DoseL standard view ...............................................................................................................1054 9.1.8.3 DoseL limit value view .............................................................................................................1058 9.1.8.4 DoseL parameter view .............................................................................................................1060 9.1.8.5 Flow setpoint view of DoseL ....................................................................................................1062 9.1.8.6 Quantity setpoint view of DoseL ..............................................................................................1064 9.1.8.7 DoseL preview .........................................................................................................................1066 9.1.8.8 Block symbol for DoseL ...........................................................................................................1069

    10 Mathematical blocks ............................................................................................................................ 1071 10.1 Add04 - Adder with 4 values ....................................................................................................1071 10.1.1 Description of Add04................................................