Documente Academic
Documente Profesional
Documente Cultură
EIO0000001811 02/2014
Advanced Process
Control Library V2.0
PCR Library
PES Control and Supervision Services
Offer User Manual
02/2014
EIO0000001810.00
www.schneider-electric.com
The information provided in this documentation contains general descriptions and/or technical
characteristics of the performance of the products contained herein. This documentation is not
intended as a substitute for and is not to be used for determining suitability or reliability of these
products for specific user applications. It is the duty of any such user or integrator to perform the
appropriate and complete risk analysis, evaluation and testing of the products with respect to the
relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or
subsidiaries shall be responsible or liable for misuse of the information contained herein. If you
have any suggestions for improvements or amendments or have found errors in this publication,
please notify us.
No part of this document may be reproduced in any form or by any means, electronic or
mechanical, including photocopying, without express written permission of Schneider Electric.
All pertinent state, regional, and local safety regulations must be observed when installing and
using this product. For reasons of safety and to help ensure compliance with documented system
data, only the manufacturer should perform repairs to components.
When devices are used for applications with technical safety requirements, the relevant
instructions must be followed.
Failure to use Schneider Electric software or approved software with our hardware products may
result in injury, harm, or improper operating results.
Failure to observe this information can result in injury or equipment damage.
© 2014 Schneider Electric. All rights reserved.
2 EIO0000001810 02/2014
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Part I General Information . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1 Using the PCR Library . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Basic Features of the Library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Genie and Faceplate Representation of Symbol Objects . . . . . . . . . . 14
Generic Information on Faceplates . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Chapter 2 PCR Library Application Features . . . . . . . . . . . . . . . . 23
Sequence of Events (SOE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Multimonitor Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Multilanguage Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Part II PCR Library Objects. . . . . . . . . . . . . . . . . . . . . . . . 31
Chapter 3 AP_PSF1: Simple Predictive Controller Function
Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Public Variable Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Derived Data Type (DDT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Genie Representation and Features . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Faceplate Components and Features . . . . . . . . . . . . . . . . . . . . . . . . . 46
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Chapter 4 AP_PIF1: Predictive Controller Function for
Integrative First Order Process. . . . . . . . . . . . . . . . . . . 69
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Public Variable Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Derived Data Type (DDT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Genie Representation and Features . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Faceplate Components and Features . . . . . . . . . . . . . . . . . . . . . . . . . 82
EIO0000001810 02/2014 3
Chapter 5 AP_PZTR: Zone Control with Non-Linear Time
Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Public Variable Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Genie Representation and Features . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Faceplate Components and Features . . . . . . . . . . . . . . . . . . . . . . . . . 111
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Chapter 6 Use Case Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Use Case Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Use Case Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
4 EIO0000001810 02/2014
Safety Information
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with the device
before trying to install, operate, or maintain it. The following special messages may appear
throughout this documentation or on the equipment to warn of potential hazards or to call attention
to information that clarifies or simplifies a procedure.
EIO0000001810 02/2014 5
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by qualified
personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of
the use of this material.
A qualified person is one who has skills and knowledge related to the construction and operation
of electrical equipment and its installation, and has received safety training to recognize and avoid
the hazards involved.
6 EIO0000001810 02/2014
About the Book
At a Glance
Document Scope
This document provides information on Advanced Process Control Library V2.0 function blocks.
The Advanced Process Control (APC) Library components are for end users and system
integrators.
Users of the Advanced Process Control Library components are supposed to have a very good
knowledge in the employment of:
Unity Pro V7.0
Vijeo Citect V7.3 SP1 (Hotfix)
NOTE: This document does not cover any development procedures and internal functionality
details.
Validity Note
This manual is valid for Process Expert V3.1 SP1.
Related Documents
You can download these technical publications and other technical information from our website
at www.schneider-electric.com.
EIO0000001810 02/2014 7
Product Related Information
WARNING
LOSS OF CONTROL
Review potential failure modes of the control paths for critical control functions.
Provide a means to achieve a safe state during and after a path failure.
Provide separate or redundant control paths for critical control functions.
Review the implications of transmission delays or failure of communication links.
Apply local accident prevention and safety regulations and guidelines. 1
Test each implementation of this library for proper operation before placing it into service.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
1For additional information, refer to NEMA ICS 1.1 (latest edition), Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control and to NEMA ICS 7.1 (latest
edition), Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems or their equivalent governing your particular location.
The application of this product requires expertise in the design and operation of control systems.
WARNING
UNINTENDED EQUIPMENT OPERATION
Allow only authorized personnel with such expertise to program, install, alter, and apply this
product.
Follow local and national safety codes and standards.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and safety requirements of
your industrial application when you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
8 EIO0000001810 02/2014
Advanced Process Control Library V2.0
General Information
EIO0000001811 02/2014
Part I
General Information
General Information
Overview
This part explains about:
using the PCR library
the application features of the PCR library
EIO0000001810 02/2014 9
General Information
10 EIO0000001810 02/2014
Advanced Process Control Library V2.0
Using the PCR Library
EIO0000001811 02/2014
Chapter 1
Using the PCR Library
EIO0000001810 02/2014 11
Using the PCR Library
Introduction
The PCR library objects are designed to perform closed loop control in complex and sluggish first
order normal and integrative process. The PCR library algorithms/functions are based on the
model based predictive control technology and is dedicated to SISO (Single Input Single Output)
processes.
You can use this library objects with APC Standard library function blocks, PES system library
objects and any of the available segment-specific libraries. For example, Liquid Food Library,
Water Library, and so on.
The library object design is divided into three major parts:
Unity Pro Derived Function Block (DFB): Contains the data structure and functional logic for
the operation of the library block.
Vijeo Citect Genie Element: Provides the simplest visual representation of various aspects of the
device on HMI graphic page.
Vijeo Citect Faceplates: Enables you to operate the device with the help of faceplates to take
decisions on device operation, simulation, alarm management, device data, and so on.
The PCR library blocks perform the following functions:
Control and Supervision:
Management of owner (Program and Operator).
Management of operating modes (Auto, Manual, and Cascade).
Graphic and colored view of objects in runtime with status display (genies).
Alarms:
Enable/disable of the detected alarms.
NOTE: When the detected alarms are disabled, this information is listed in Alarm Summary
tab/alarm line that is available in the PES template.
Trend:
Process analyst for the measurements, loops, and actor status.
Customizable trend pens (at both design time and runtime).
Real time/historic mode.
Operator log:
Operator actions are logged.
12 EIO0000001810 02/2014
Using the PCR Library
User management:
Appropriate privilege levels are assigned in buttons and numeric entries.
Management of the users with rights and passwords.
Default roles and users.
NOTE: In this library, the labels are used to define the privilege level. The global privilege
philosophy is same as used in General Purpose Library.
EIO0000001810 02/2014 13
Using the PCR Library
14 EIO0000001810 02/2014
Using the PCR Library
EIO0000001810 02/2014 15
Using the PCR Library
16 EIO0000001810 02/2014
Using the PCR Library
Mode/Detail Tab The tab is selected. This tab enables you to:
select the operating mode.
The tab is not
enter the numeric value for the modes,
selected. such as Override, Simulation, and so on.
bypass and/or reset of interlocks.
Adjustment Tab The tab is selected. This tab enables you to change the parameter
settings.
The tab is not
selected.
About Tab The tab is selected. This tab displays information about the library,
versions, component name, and so on.
The tab is not
selected.
EIO0000001810 02/2014 17
Using the PCR Library
This table describes the display fields and action buttons of the faceplates that allows you to
interact with corresponding control module:
Numeric value entry and Displays the numeric value. The color of the
display rectangle background is black.
For PV value, font color is cyan.
For SP value, font color is green.
For CV/output value, font color is yellow.
Numeric entry and Used to enter the numeric entry and display in HH,
display for limit values H, L, and LL threshold limits.
The color of the rectangle background is black and
the value of the font color is white.
For high and low output range of the numeric entry,
the value of the font color is yellow.
Auto mode selection –
button
Value decrement by 5% –
of the span
Value decrement by 1% –
of the span
Value increment by 5% of –
the span
Value increment by 1% of –
the span
18 EIO0000001810 02/2014
Using the PCR Library
Internal component –
fault alarm display
Tracking mode-selected –
display
Bar graph For PV, fill color is cyan in the bar graph.
For SP, fill color is green in the bar graph.
For CV/output, fill color is yellow in the bar graph.
EIO0000001810 02/2014 19
Using the PCR Library
20 EIO0000001810 02/2014
Using the PCR Library
About Tab
This About tab displays information about the library name, library version, library supervision file
name, component details, and Process Expert library logo.
Trend Button
To operate this button on the top bar of the faceplate, you must be the Operator or above (privilege
level ≥ 2). If you do not have the proper privilege level, the button is disabled.
EIO0000001810 02/2014 21
Using the PCR Library
22 EIO0000001810 02/2014
Advanced Process Control Library V2.0
Library Application Features
EIO0000001811 02/2014
Chapter 2
PCR Library Application Features
Overview
This chapter describes the application features of the PCR library.
EIO0000001810 02/2014 23
Library Application Features
Introduction
The operator actions (such as operating mode selection, entering numeric values,
disabling/enabling detected alarms, incrementing/decrementing a numeric value through buttons,
and so on) are logged in a Sequence of Events (SOE) template available in the normal template
in tab style.
The following information is available in the SOE template:
Item Description
Date Date value on value change.
Time Time value on value change.
Tag Name of the Tag.
Name This field is blank for the operator actions.
Message Log message about the action.
State Off.
Classification Operator actions are classified as action.
User Name Name of the user logged who has changed the value.
User Location IP address of the machine on which an action is made.
The old value and the new value are displayed only when there is a change in the analog
parameters.
For the command operations, such as operating mode changed from Manual to Auto, the message
is logged as Mode control changed; the new value is Auto, and the old value is Manual.
24 EIO0000001810 02/2014
Library Application Features
EIO0000001810 02/2014 25
Library Application Features
Multimonitor Support
Overview
You can implement multimonitor by:
using the extended monitor property available on the inserted graphic card in the system
(desktop PC), or
adding an additional monitor with the notebook monitor
Default cicodes are defined in the library, which enables you to use the process library for the
double monitor feature.
Step Action
1 Insert a graphic card in the desktop PC or connect the additional monitor to the notebook.
2 Right-click on the desktop.
Result: A shortcut menu appears.
3 Select the Graphic Output →Output To →Extended Desktop display.
26 EIO0000001810 02/2014
Library Application Features
Step Action
4 In Vijeo Citect Computer Setup Editor, define the number of monitors as 2 in the Value field to
set the multiple monitor parameters and the resolution of each monitor.
EIO0000001810 02/2014 27
Library Application Features
Step Action
5 Run the Vijeo Citect application.
Result: Two runtime Start Windows appear.
28 EIO0000001810 02/2014
Library Application Features
Step Action
6 Right-click the Start Windows.
Result: A shortcut menu appears.
EIO0000001810 02/2014 29
Library Application Features
Multilanguage Support
Description
The HMI elements of the blocks are defined to support language localization. Language-based
DBF files are present in the library for successful localization. Standard localization languages,
such as English, French, Spanish, and German are supported.
Procedure for changing the Language:
Step Action
1 Set the language in the computer setup editor.
The language-based DBF files are located in the APC library project folder.
2 Before Vijeo Citect is put into Run mode, enter the translated meaning for the information
present in the NATIVE column into the LOCAL column present inside the DBF.
Make an entry in the LOCAL column with the reference from NATIVE column in the DBF as shown
in this figure:
30 EIO0000001810 02/2014
Advanced Process Control Library V2.0
PCR Library
EIO0000001811 02/2014
Part II
PCR Library Objects
Overview
This part explains the objects of the PCR Library.
These modules do not reflect any specific installation.
WARNING
MISAPPLICATION OF MODULES
Before adopting these modules for use in a specific application, you must:
Conduct a safety analysis for the application and equipment installed.
Verify that the modules are appropriate for the equipment or function in the installation.
Supply appropriate parameters particularly for limits.
Check that sensors and actuators are compatible with the modules selected.
Verify that the functions of the selected modules work properly during verification and
commissioning.
Provide independent and/or redundant paths for critical control functions according to the
safety analysis and applicable codes, and regulations.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000001810 02/2014 31
PCR Library
32 EIO0000001810 02/2014
Advanced Process Control Library V2.0
AP_PSF1
EIO0000001811 02/2014
Chapter 3
AP_PSF1: Simple Predictive Controller Function Block
Overview
This chapter describes the AP_PSF1 block.
EIO0000001810 02/2014 33
AP_PSF1
Introduction
General
The AP_PSF1 block is used for simple control of first order process with time delay.
The AP_PSF1 algorithm is based on predictive control principles:
An internal model of process is used to predict the future behavior of the system. The model is
composed of 3 parameters (see figure below):
WKM: static gain
WTM: time constant
WDM: time delay
Function Description
This table summarizes the main functions of the AP_PSF1 block:
Function Description
Mode control You can control the block in Auto, Manual, and Cascade modes.
There are two modes attributes:
Program
Operator
Measurements, setpoints The faceplate of the block displays the process value, setpoints, and
and controls in physical units manipulated value with the respective physical unit.
High/low control limits The block supports the high/low output limits configuration.
High/low setpoint limits The block supports the high/low setpoint limits configuration.
Setpoint-progression control The block supports setpoint-progression control using a ramp and/or a first-
using a ramp and/or a first- order filter.
order filter
Setpoint -measurement The block checks for setpoint-measurement deviation and indicates a detected
deviation checks alarm in case of setpoint/measurement deviation.
Bumpless transfer The block supports the bumpless transfer feature.
34 EIO0000001810 02/2014
AP_PSF1
Function Description
Tracking mode The block supports the tracking mode feature.
Alarm management The block displays detected process alarms (in case of high/low peak limiting
and SP/PV deviation) and detected internal component fault alarms (in case
block detects internal error). You can enable/disable these detected alarms
from the faceplate. These detected alarms are displayed both in the genie and
faceplate.
EIO0000001810 02/2014 35
AP_PSF1
DFB Representation
Overview
The DFB for AP_PSF1 is designed as a function block with the input pins connected to the input
data sources and the output pins provide DFB function results to the output destinations.
This figure shows the DFB representation of the AP_PSF1 block:
NOTE:
XCASIN is the setpoint of an upstream object.
XPV is the process variable.
XCLRT is the 95% close loop response time.
XBCKIN is the process variable of a downstream object.
XRCPY and XRCPYENA are used to activate the object external integral object.
ZOUT is the output value and status.
ZBCKOUT is the value and status of the output sent to an upstream object.
Parameter Description
Input Pin Details
The table below describes the input pins of the AP_PSF1 block:
36 EIO0000001810 02/2014
AP_PSF1
EIO0000001810 02/2014 37
AP_PSF1
2 SP follows PV:
0: disabled
1:enabled
38 EIO0000001810 02/2014
AP_PSF1
EIO0000001810 02/2014 39
AP_PSF1
Structure Description
The AP_PSF1 block consists of the following DDTs:
RATE_PARAM
DIV_PARAM
SCALE
THRESHOLD
PV_VC
Modb_VC
SC_APPSF1_DDT
RATE_PARAM
Provides the rate parameters.
This table describes the structure of RATE_PARAM DDT:
DIV_PARAM
Provides the divergence parameters.
This table describes the structure of DIV_PARAM DDT:
SCALE
Provides the high/low scale.
This table describes the structure of SCALE DDT:
40 EIO0000001810 02/2014
AP_PSF1
THRESHOLD
Provides high/low threshold.
This table describes the structure of THRESHOLD DDT:
PV_VC
Provides the process variable value with status.
This table describes the structure of PV_VC DDT:
Modb_VC
Provides the mode of component details.
This table describes the structure of Modb_VC DDT:
EIO0000001810 02/2014 41
AP_PSF1
SC_APPSF1_DDT
Provides the frequently needed data to monitor and control the regulator status from the sequential
control.
This table describes the structure of SC_APPSF1_DDT:
42 EIO0000001810 02/2014
AP_PSF1
The necessary data for the animation of the genie and the interaction between HMI and function
block are transferred through the public variables.
EIO0000001810 02/2014 43
AP_PSF1
Genie Elements
The AP_PSF1 genie contains various elements to animate the PSF1 functionality.
This table shows the representation of the icons in the AP_PSF1 genie:
44 EIO0000001810 02/2014
AP_PSF1
NOTE: In the genie, the priority of displaying the detected alarm is:
Detected Internal Component fault alarm > detected High Peak Limiting alarm > detected Low
Peak Limiting alarm.
It means that, if detected High Peak Limiting alarm and detected Low Peak Limiting alarm
appear, it displays only detected High Peak Limiting alarm bell symbol in the genie.
When the detected Internal Component Fault alarm appears along with detected High Peak
Limiting and detected Low Peak Limiting alarms, it displays only detected Internal Component
Fault alarm indication symbol.
You can click the alarm bell symbols or detected fault indication symbol to acknowledge the above
mentioned detected alarms in the genie.
To acknowledge the detected alarms, you must be the Operator or above (privilege ≥ 1).
EIO0000001810 02/2014 45
AP_PSF1
Introduction
Click the bottom rectangle (where detected deviation alarm and current operating mode are
displayed) of AP_PSF1 genie to open the AP_PSF1 faceplate. By default, the Control tab of the
faceplate is shown.
The AP_PSF1 faceplate:
opens at the bottom-right corner of the genie
contains the following tabs:
Mode
Adjustment
Alarm Configuration
About (Information)
46 EIO0000001810 02/2014
AP_PSF1
Faceplate
The faceplate of the AP_PSF1 has the following tabs:
Control
Adjustment
Alarm Configuration
About
Control Tab
The Control tab is the default tab of the AP_PSF1 faceplate.
The following figure displays the Control tab of AP_PSF1 faceplate (when the owner is Program):
EIO0000001810 02/2014 47
AP_PSF1
The following figure displays the Control tab of AP_PSF1 faceplate when owner is Operator and
Auto mode is selected:
48 EIO0000001810 02/2014
AP_PSF1
The following figure displays the Control tab of AP_PSF1 faceplate when owner is Operator and
Manual mode is selected:
EIO0000001810 02/2014 49
AP_PSF1
The following figure displays the Control tab of AP_PSF1 faceplate when owner is Operator and
Cascade mode is selected:
50 EIO0000001810 02/2014
AP_PSF1
Subsection Description
Trend display An instant trend window displays the real-time value of the output PV, SP and OP.
Click anywhere inside the Trend window to open the Process Analyst window, which
displays the trend of process value, setpoint, and PSF1 output value.
Bar graph The first and second bar graphs indicate the PV (filled with cyan color) and SP (filled with
green color).
Displays the value of the variable input maximum range on the top of these two bar graphs.
Displays the value of the variable input minimum range at the bottom of these two bar
graphs.
The PV bar graph also contains four level indicators for detected Very High Threshold
alarm, detected High Threshold alarm, detected Low Threshold alarm, and detected
Very Low Threshold alarm (the detected alarm level indicator is not visible when AP_AA
block of APC libraries is not linked).The colors of these indicators change according to the
state of the respective detected alarm. When any of these detected threshold alarms are
disabled, the alarm bell symbols and level indicator of that particular threshold disappear.
The third bar graph indicates the PSF1 controller output (filled with yellow color) is scaled
from WOUTSCAL.U0 to WOUTSCAL.U100.
Owner The DFB manages control system level, which is the owner (Operator or Program). As a
result, it is responsible for setting the setpoint to the desired position (in the Auto mode of
the PSF1 controller) or the manual output (in the Manual mode of the PSF1 controller).
Two mode attributes are:
Program: When owner is Program, the control/action of PSF1 controller is controlled by
sequential control (SC (see page 42) public variable for more details) and in this case,
the objects on the faceplate are disabled.
Operator: When owner is Operator, the control/action of PSF1 controller is controlled
by faceplate.
To operate these buttons, you must be the Operator or above (privilege level ≥ 2).
If you do not have the proper privilege level, these buttons are disabled.
PSF1 Operation Displays the numeric measure value PV, SP, and OP of the block with units.
Modes Allows you to select the PSF1 controller operating modes (for example, Auto, Manual, and
Cascade modes).
NOTE: Cascade button is activated only if external SP is selected in the parameters of
the instance while instantiating the object in PES. Otherwise, it is disabled.
To operate these buttons, you must be the Operator or above (privilege level ≥ 2).
If you do not have the proper privilege level, these buttons are disabled.
EIO0000001810 02/2014 51
AP_PSF1
Subsection Description
Setpoints The internal and external setpoint values with units are displayed as numeric display.
When Auto mode is selected, the numeric display of Int. SP changes to numeric entry
and you can enter the internal setpoint value. In this case, this internal setpoint becomes
the final setpoint of the PSF1 controller.
To enter the internal setpoint value, you must be the Operator or above (privilege level ≥ 2).
If you do not have the proper privilege level, the numeric entry is disabled.
If you enter an invalid value (that is, value out of the variable input maximum and minimum
range), a message appears displaying Value out of range.
The external setpoint numeric display is just below the internal setpoint. It displays the
value from XCASIN pin of the DFB (that is, externally coming from other block). When
Cascade mode is selected, this external setpoint becomes the final setpoint (SP) of the
PSF1 controller.
Current Mode This section is displayed only when Auto and Cascade modes are selected. This section
displays the current active mode of the PSF1 block.
Manual Control Appears only when the Manual mode is selected.
allows you to enter the PSF1 controller output value manually
displays the current manual output value, maximum output scale value, and minimum
output scale value.
You can enter the manual value from the numeric entry and from the increment/decrement
buttons (in 1% and 5% of the span).
When you enter any wrong value or any value outside the range of maximum and minimum
output scale value, a message appears displaying the text Value out of range.
2 buttons in Manual control section are as follows:
Max
Min
Max: Click the Max button; it assigns the PSF1 output value with the maximum output
scale value.
Min: Click the Min button; it assigns the PSF1 output value with the minimum output scale
value.
To operate these Min/Max and increment/decrement buttons and to enter the manual
value in numeric entry field, you must be the Operator or above (privilege level ≥ 2).
If you do not have the proper privilege level, these buttons and numeric entries are
disabled.
52 EIO0000001810 02/2014
AP_PSF1
Adjustment Tab
The following figure displays the Adjustment tab of the AP_PSF1 faceplate:
EIO0000001810 02/2014 53
AP_PSF1
The PV bar graph also contains 4 level indicators for detected Very High Threshold alarm,
detected High Threshold alarm, detected Low Threshold alarm, and detected Very Low
Threshold alarm (the detected alarm level indicator is not visible when AP_AA block of APC
libraries are not linked)
Bar graphs indicate OP value scaled from WOUTSCAL.U0 to WOUTSCAL.U100
PSF1 parameters: Gain, Delay Time, Time Constant, Coincidance Point, Closed Loop
Response Time, and Maximum Variation of Output
Access to Detailed Adjustment window
Current mode
You cannot edit these values from this tab. The Adjust Window button opens the Detailed
Adjustment window, where you can edit the PSF1 parameters. To access this Detailed Adjustment
window, you must be the Process Engineer or above (privilege level ≥ 3). If you do not have the
proper privilege level, it disables this Adjust Window button.
54 EIO0000001810 02/2014
AP_PSF1
The following figure displays the Detailed Adjustment window of the AP_PSF1 faceplate:
EIO0000001810 02/2014 55
AP_PSF1
The following figure displays the Detailed Adjustment window with PV Alarm Threshold sub-
popup:
56 EIO0000001810 02/2014
AP_PSF1
The following figure displays the Detailed Adjustment window with Setpoint sub-popup:
EIO0000001810 02/2014 57
AP_PSF1
The following figure displays the Detailed Adjustment window with Output sub-popup:
58 EIO0000001810 02/2014
AP_PSF1
The following figure displays the Detailed Adjustment window with PSF1 parameters sub-popup:
EIO0000001810 02/2014 59
AP_PSF1
The following figure displays the Detailed Adjustment window when AP_AA block of APC libraries
are not linked:
NOTE: If you enter incorrect tuning parameter (Gain, Delay Time, Time Constant, Coincidance
Point, Closed Loop Response Time, and Maximum Variation of Output) values, the PSF1 controller
block gives unexpected output and response.
60 EIO0000001810 02/2014
AP_PSF1
WARNING
UNINTENDED EQUIPMENT OPERATION
Enter correct tuning parameter (Gain, Delay Time, Time Constant, Coincidance Point, Closed
Loop Response Time, and Maximum Variation of Output) values.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
Section Description
PSF1 Genie A PSF1 symbol is displayed showing PV, SP and OP values and a status bar (where
owner, detected deviation alarm, current operating modes are displayed on the top-left
section of the Detailed Adjustment window).
Process Value This section displays the parameters of Process value of the variable. The Low Scale
and High Scale displays the maximum and minimum scaled value of the process value.
PV Alarm Displays the low threshold, very low threshold, high threshold, very high threshold, and
Threshold hysteresis of process value (This section is not visible when AP_AA block of APC
libraries is not linked). You can enter the values of high threshold and low threshold, if
you are the Process Engineer or above (privilege level ≥ 3). You can also enter the
hysteresis value only if you are a Maintenance Engineer or above (privilege level ≥ 5).
To enter the values of Very High Threshold and Very Low Threshold, you must be the
Maintenance Engineer or above (privilege level ≥ 5). If you do not have the proper
privilege level, these numeric entries are disabled. If you enter wrong/invalid values, a
message appears displaying Value out of limits.
Setpoint Mode Displays the Internal setpoint, the External setpoint, and the Real setpoint value.
The current setpoint mode is also displayed. When you click on this section, a sub pop-
up Setpoint opens at the bottom-right corner of the Detailed Adjustment window.
Output Displays the parameters from the associated AP_AP (positioner) block, which is linked
with the AP_PSF1 block.
Clicking on this section, a sub pop-up Output opens at the bottom-right corner of the
Detailed Adjustment window.
PSF1 Parameters This section:
shows the PSF1 High Limit and PSF1 Low Limit.
displays the PSF1 tuning parameters such as Gain, Delay Time, Time Constant,
Coincidance Point, Closed Loop Response Time, and Maximum Variation of Output
displays the High Threshold, Low Threshold and Filtering Time for SP/PV Deviation
in PSF1 block.
displays the PV tracking mode Enable/Disable state of PSF1 controller
displays the enable/disable state of external close loop response time state for the
AP_PSF1 controller.
Click anywhere in this section to open a sub pop-up PSF1 Parameters containing the
variables explained above with user accessibility.
EIO0000001810 02/2014 61
AP_PSF1
Section Description
Process Analyst This process analyst plots the real-time value of output value, setpoint, and process
value.
Sub Pop-ups There are four sub pop-ups:
PV Alarm Threshold
Setpoint
Output
PSF1 Parameters
PV Alarm Threshold
To enter the values of Very High Threshold and Very Low Threshold, you must be the
Maintenance Engineer or above (privilege level ≥ 5).
To enter the values of High Threshold and Low Threshold, you must be the Process
Engineer or above (privilege level ≥ 3).
You can also enter the hysteresis value only if you are a Maintenance Engineer or above
(privilege level ≥ 5).
If you do not have the proper privilege level, these numeric entries are disabled.
If you enter wrong/invalid values, a message appears displaying the text Value out of
limits.
Setpoints
In the Internal setpoint section, to enter the internal setpoint value, you must be the
Process Engineer or above (privilege level ≥ 3). You can also enter the maximum and
minimum limit of the internal setpoint. You must be the Process Engineer or above
(privilege level ≥ 3) to enter the maximum and minimum limits.
If you do not have proper privilege level, these buttons and numeric entries are disabled.
If you enter wrong/invalid values, a message appears displaying the text Value out of
limits.
It also displays the external setpoint and current setpoint values.
62 EIO0000001810 02/2014
AP_PSF1
Section Description
Sub Pop-ups Output
In this sub-popup, there are six sections:
Owner
Modes
Input
Manual Mode
Output
Current Mode
In the first section, the owner (Program/Operator)is selected.To operate these buttons,
you must be the Process Engineer or above (privilege level ≥ 3).
In second section, the following mode selection buttons are there:
Auto
Manual
Cascade
To operate these buttons, you must be the Process Engineer or above (privilege level
≥ 3).
In the third section, you can enter the input high and low peak limiting values of the
associated AP_AP block. To enter these values, you must be the Process Engineer or
above (privilege level ≥ 3).
In the fourth section, you can enter the output value manually. To enter this output value,
you must be the Process Engineer or above (privilege level ≥ 3).
In the fifth section, you can enter the output high/low scale value of associated AP_AP
block. To enter these values, you must be the Maintenance Engineer or above (privilege
level ≥ 5).
In sixth section, the Current mode is displayed.
If you do not have proper privilege level, these buttons and numeric entries are disabled.
If you enter wrong/invalid values, a message appears displaying the text Value out of
limits.
EIO0000001810 02/2014 63
AP_PSF1
Section Description
Sub Pop-ups PSF1 Parameters:
This has six sections:
PV Tracking
External CLRT
MSF1 Limits
MSF1 Parameters
SP/PV Deviation Parameters
Initialization
In the first section, you can select the PV tracking through Enable/Disable buttons. To
operate these buttons, you must be the Process Engineer or above (privilege level ≥ 3).
In the second section, you can activate option of the external close loop response time
through Enable/Disable buttons. To operate these buttons, you must be the Process
Engineer or above (privilege level ≥ 3).
In the third section, you can enter the PSF1 High Limit/Low Limit. To enter these values,
you must be the Process Engineer or above (privilege level ≥ 3).
In the fourth section, user can enter the PSF1 tuning parameters such as Gain, Delay
Time, Time Constant, Coincidance Point, Closed Loop Response Time, and Maximum
Variation of Output. To enter these values, you must be the Process Engineer or above
(privilege level ≥ 3).
In the fifth section, user can enter the High Threshold, Low Threshold and Filtering Time
values for SP/PV Deviation. To enter these values, you must be the Process Engineer
or above (privilege level ≥ 3).
The sixth section is for Initialization. The INIT button is available for the user to Initialize
the controller. To operate this button, you must be the Maintenance Engineer or above
(privilege level ≥ 5).
If you do not have proper privilege level, these buttons and numeric entries are disabled.
If you enter wrong/invalid values, then a message appears displaying the text Value out
of limits.
In time parameters, if you enter the hour value > 24 or < 0, a message displaying the
text Invalid value appears.
In time parameters, if you enter the minute value > 59 or < 0, a message displaying the
text Invalid value appears.
In time parameters, if you enter the second value > 59 or < 0, a message displaying the
text Invalid value appears.
64 EIO0000001810 02/2014
AP_PSF1
EIO0000001810 02/2014 65
AP_PSF1
Subsection Description
Process Alarms Displays the detected High Peak Limiting alarm, detected Low Peak Limiting alarm,
and detected SP/PV Deviation alarm text and alarm state with red/yellow flashing bell
in front of the respective text.
Click the respective alarm bell symbols only to acknowledge these detected alarms if
you are the Operator or above (privilege level ≥ 1).
You can enable or disable the detected High Peak Limiting alarm, detected High
Peak Limiting alarm, and detected SP/PV Deviation alarm.
To enable or disable these detected alarms, you must be the Process Engineer or
above (privilege level ≥ 3). If you do not have the proper privilege level, the
Enable/Disable buttons of the detected alarms are disabled.
Component Displays the detected Internal Component Fault alarm, detected Invalid Signal, and
Internal Alarms detected Configuration Fault alarm text and detected alarm state.
Displays the detected Internal Component Fault alarm with red/yellow flashing bell in
front of the respective text.
Displays the detected Configuration Fault alarm and detected Invalid Signal alarm
with red bell in front of the text.
Click the alarm bell symbol to acknowledge the detected Internal Component Fault
alarm if you are the Operator or above (privilege level ≥ 1).
You can enable or disable the detected Component Fault alarm and detected Invalid
Signal alarm.
To enable or disable these detected alarms, you must be the Maintenance Engineer or
above (privilege level ≥ 5).
If you do not have the proper privilege level, the Enable/Disable buttons of the detected
alarms are disabled.
Modes Displays the current active mode (Tracking mode) by displaying a green color check
mark in front of the text.
You can enable or disable the detected Tracking mode alarms. To enable or disable
these detected alarms, you must be the Process Engineer or above (privilege level ≥ 3).
If you do not have the proper privilege level, the Enable/Disable buttons of the detected
alarms are disabled.
66 EIO0000001810 02/2014
AP_PSF1
About Tab
The following figure displays the About tab of the AP_PSF1 block:
EIO0000001810 02/2014 67
AP_PSF1
Detailed Description
Initialization Mode
The XINIT flag is used to initialize the current and past states of the internal model. is needed
when the controller inputs (PV, actuator) are not representative of the process.
For instance, temperature measurement of an empty reactor or opened valve without real action
on the process.
Depending on the type of process on which the controller is applied (continuous or batch), the
initialization has to be performed once or at the beginning of each production.
XINIT has to be done when the process is stabilized, as follows:
Tracking Mode
The Tracking mode is applied if the input XTRKENA is TRUE.
Then, the output of the control block (ZOUT) takes the value of manual manipulated variable
XTRKIN.
68 EIO0000001810 02/2014
Advanced Process Control Library V2.0
AP_PIF1
EIO0000001811 02/2014
Chapter 4
AP_PIF1: Predictive Controller Function for Integrative First Order Process
Overview
This chapter describes the AP_PIF1 block.
EIO0000001810 02/2014 69
AP_PIF1
Introduction
General
The AP_PIF1 block is used for control of integrative first order process with time delay.
The AP_PIF1 algorithm is based on predictive control principles:
An internal model of process is used to predict the future behavior of the integrative system with
delay. The model is composed of 3 parameters (see figure below):
WKM: static gain
WTM: time constant
WDM: time delay
The integrative part is decomposed. This is tuned by WDECOMP variable. For stability sake, it is
better to set this input at the maximum value among:
30 x Sampling time
3 x Time constant
Close loop response time
Function Description
This table summarizes the main functions of the AP_PIF1 block:
Function Description
Mode control You can control the block in Auto, Manual, and Cascade modes.
There are two modes attributes:
Program
Operator
Measurements, The faceplate of the block displays the process value, setpoints, and manipulated value
setpoints and with the respective physical unit.
controls in
physical units
High/low control The block supports the high/low output limits configuration.
limits
High/low setpoint The block supports the high/low setpoint limits configuration.
limits
70 EIO0000001810 02/2014
AP_PIF1
Function Description
Setpoint- The block supports setpoint-progression control using a ramp and/or a first-order filter.
progression
control using a
ramp and/or a
first-order filter
Setpoint - The block checks for setpoint-measurement deviation and indicates a detected alarm in
measurement case of setpoint/measurement deviation.
deviation checks
Bumpless The block supports the bumpless transfer feature.
transfer
Tracking mode The block supports the tracking mode feature.
Alarm The block displays detected Process Alarms (in case of high/low peak limiting and
management SP/PV deviation) and detected Internal Component Fault alarms (in case block detects
internal error). You can enable/disable these detected alarms from the faceplate. These
detected alarms are displayed both in the genie and faceplate.
NOTE: When the process variable XPV varies as a ramp before switching on the controller, it is
necessary to estimate the slope of this process variable XPV to initialize correctly the model. This
estimation is performed during the initialization phase, as long as INIT (either from DFB or from the
faceplate) equals TRUE. The duration of this phase is long enough to perform an estimation not
biased by the noise. In case of heavy noise, more than 10 periods may be required.
EIO0000001810 02/2014 71
AP_PIF1
DFB Representation
Overview
The DFB for AP_PIF1 is designed as a function block with the input pins connected to the input
data sources and the output pins provide DFB function results to the output destinations.
This figure shows the DFB representation of the AP_PIF1 block:
NOTE:
XCASIN is the setpoint of an upstream object.
XPV is the process variable.
XCLRT is the 95% close loop response time.
XBCKIN is the process variable of a downstream object.
XRCPY and XRCPYENA are used to activate the object external integral object.
ZOUT is the output value and status.
ZBCKOUT is the value and status of the output sent to an upstream object.
Parameter Description
Input Pin Details
This table describes the input pins of the AP_PIF1 block:
72 EIO0000001810 02/2014
AP_PIF1
EIO0000001810 02/2014 73
AP_PIF1
74 EIO0000001810 02/2014
AP_PIF1
EIO0000001810 02/2014 75
AP_PIF1
Structure Description
The AP_PIF1 block consists of the following DDTs:
RATE_PARAM
DIV_PARAM
SCALE
THRESHOLD
PV_VC
Modb_VC
SC_APPIF1_DDT
RATE_PARAM
Provides the rate parameters.
This table describes the structure of RATE_PARAM DDT:
DIV_PARAM
Provides the divergence parameters.
This table describes the structure of DIV_PARAM DDT:
SCALE
Provides the high/low scale.
This table describes the structure of SCALE DDT:
76 EIO0000001810 02/2014
AP_PIF1
THRESHOLD
Provides high/low threshold.
This table describes the structure of THRESHOLD DDT:
PV_VC
Provides the process variable value with status.
This table describes the structure of PV_VC DDT:
Modb_VC
Provides the mode of component details.
This table describes the structure of Modb_VC DDT:
EIO0000001810 02/2014 77
AP_PIF1
SC_APPIF1_DDT
Provides the frequently needed data to monitor and control the regulator status from the sequential
control.
This table describes the structure of SC_APPIF1_DDT:
78 EIO0000001810 02/2014
AP_PIF1
The necessary data for the animation of the genie and the interaction between HMI and function
block are transferred through the public variables.
EIO0000001810 02/2014 79
AP_PIF1
Genie Elements
The AP_PIF1 genie contains various elements to animate the PIF1 functionality.
This table shows the representation of the icons in the AP_PIF1 genie:
80 EIO0000001810 02/2014
AP_PIF1
NOTE: In the genie, the priority of displaying the detected alarm is:
Detected Internal Component fault alarm > detected High Peak Limiting alarm > detected Low
Peak Limiting alarm
It means that, if detected High Peak Limiting alarm and detected Low Peak Limiting alarm
appear, it displays only detected High Peak Limiting alarm bell symbol in the genie.
When the detected Internal Component Fault alarm appears along with detected High Peak
Limiting and detected Low Peak Limiting alarms, it displays only detected Internal Component
Fault alarm indication symbol.
You can click the alarm bell symbol or detected fault indication symbol to acknowledge the above
mentioned detected alarms in the genie.
To acknowledge the detected alarms, you must be the Operator or above (privilege ≥ 1).
EIO0000001810 02/2014 81
AP_PIF1
Introduction
Click the bottom rectangle (where detected Deviation alarm and Current operating mode are
displayed) of AP_PIF1 genie to open the AP_PIF1 faceplate. By default, the Control tab of the
faceplate is shown.
The AP_PIF1 faceplate:
opens at the bottom-right corner of the genie
contains the following tabs:
Mode
Adjustment
Alarm Configuration
About (Information)
82 EIO0000001810 02/2014
AP_PIF1
Faceplate
The faceplate of the AP_PIF1 has the following tabs:
Control
Adjustment
Alarm Configuration
About
Control Tab
The Control tab is the default tab of the AP_PIF1.
The following figure displays the Control tab of AP_PIF1 faceplate when the owner is Program:
EIO0000001810 02/2014 83
AP_PIF1
The following figure displays the Control tab when owner is Operator and Auto mode is selected:
84 EIO0000001810 02/2014
AP_PIF1
The following figure displays the Control tab when owner is Operator and Manual mode is
selected:
EIO0000001810 02/2014 85
AP_PIF1
The following figure displays the Control tab when owner is Operator and Cascade mode is
selected:
86 EIO0000001810 02/2014
AP_PIF1
Subsection Description
Trend display An instant trend window displays the real-time value of the output PV, SP, and OP.
Click anywhere inside the Trend window to open the Process Analyst window,
which displays the trend of process value, setpoint, and PIF1 output.
Bar graph The first and second bar graphs indicate the PV (filled with cyan color) and SP (filled
with green color).
Displays the value of the variable input maximum range on the top of these two bar
graphs. Displays the value of the variable input minimum range at the bottom of these
two bar graphs.
The PV bar graph also contains four level indicators for detected very high
threshold alarm, detected high threshold alarm, detected low threshold alarm,
and detected very low threshold alarm (the detected alarm level indicator is not
visible when AP_AA block of APC libraries is not linked).The colors of these indicators
change according to the state of the respective detected alarm. When any of these
detected threshold alarms are disabled, the alarm bell symbol and level indicator of
that particular threshold disappear.
The third bar graph indicates the PIF1 controller output (filled with yellow color) is
scaled from WOUTSCAL.U0 to WOUTSCAL.U100.
Owner The DFB manages control system level, which is the owner (Operator or Program).
As a result, it is responsible for setting the setpoint to the desired position (in the Auto
mode of the PIF1 controller) or the manual output (in the Manual mode of the PIF1
controller).
2 mode attributes are:
Program: When owner is Program, the control/action of PIF1 controller is
controlled by sequential control (SC (see page 78) public variable for more details)
and in this case, the objects on the faceplate are disabled.
Operator: When owner is Operator, the control/action of PIF1 controller is
controlled by faceplate.
To operate these buttons, you must be the Operator or above (privilege level ≥ 2).
If you do not have the proper privilege level, the buttons are disabled.
PIF1 Operation Displays the numeric measure value PV, SP, and OP of the block with units.
Modes Allows you to select the PIF1 controller operating modes (for example, Auto, Manual,
and Cascade modes).
NOTE: Cascade button is activated only if external SP is selected in the parameters
of the instance while instantiating the object in PES. Otherwise, it is disabled.
To operate these buttons, you must be the Operator or above (privilege level ≥ 2).
If you do not have the proper privilege level, the buttons are disabled.
EIO0000001810 02/2014 87
AP_PIF1
Subsection Description
Setpoints The internal and external setpoint values with units are displayed as numeric display.
When Auto mode is selected, the numeric display of Int. SP changes to numeric
entry and you can enter the internal setpoint value. In this case, this internal setpoint
becomes the final setpoint of the PIF1 controller.
To enter the internal setpoint value, you must be the Operator or above (privilege
level ≥ 2). If you do not have the proper privilege level, this numeric entry is disabled.
If you enter an invalid value (that is, value out of the variable input maximum and
minimum range), a message appears displaying the text Value out of range.
The external setpoint numeric display is just below the internal setpoint. It displays
the value from XCASIN pin of the DFB (that is, externally coming from other block).
When Cascade mode is selected, this external setpoint becomes the final setpoint
(SP) of the PIF1 controller.
Current Mode This section will be displayed only when Auto and Cascade mode are selected. This
section displays the current active mode of the PIF1 block.
Manual Control Appears only when the Manual mode is selected.
allows you to enter the PIF1 controller output value manually
displays the current manual output value, maximum output scale value, and
minimum output scale value.
You can enter the manual value from the numeric entry and from the
increment/decrement buttons (in 1% and 5% of the span).
When you enter any wrong value or any value outside the range of maximum and
minimum output scale value, a message box appears displaying the text Value out
of range.
Two buttons in Manual control section are as follows:
Max
Min
Max: Click the Max button; it assigns the PIF1 output value with the maximum output
scale value.
Min: Click the Min button; it assigns the PIF1 output value with the minimum output
scale value.
To operate these Min/Max and increment/decrement buttons and to enter the
manual value in numeric entry field, you must be the Operator or above (privilege
level ≥ 2).
If you do not have the proper privilege level, these buttons and numeric entries are
disabled.
88 EIO0000001810 02/2014
AP_PIF1
Adjustment Tab
The following figure displays the Adjustment tab of the AP_PIF1 faceplate:
EIO0000001810 02/2014 89
AP_PIF1
The PV bar graph also contains 4 level indicators for detected Very High Threshold alarm,
detected High Threshold alarm, detected Low Threshold alarm, and detected Very Low
Threshold alarm (the detected alarm level indicator is not visible when AP_AA block of APC
libraries is not linked)
Bar graphs indicate OP value scaled from WOUTSCAL.U0 to WOUTSCAL.U100
PIF1 parameters: Gain, Delay Time, Time Constant, Coincidance Point, Closed Loop Response
Time, Maximum Variation of Output, and Decomposition Time
Access to Detailed Adjustment window
Current mode
You cannot edit these values from this tab. The Adjust Window button opens the Detailed
Adjustment window, where you can edit the PIF1 parameters. To access this Detailed Adjustment
window, you must be the Process Engineer or above (privilege level ≥ 3). If you do not have the
proper privilege level, it disables this Adjust Window button.
90 EIO0000001810 02/2014
AP_PIF1
The following figure displays the Detailed Adjustment Window of the AP_PIF1 faceplate:
EIO0000001810 02/2014 91
AP_PIF1
The following figure shows the Detailed Adjustment window with PV Alarm Threshold sub-popup:
92 EIO0000001810 02/2014
AP_PIF1
The following figure shows the Detailed Adjustment window with Setpoint sub-popup:
EIO0000001810 02/2014 93
AP_PIF1
The following figure shows the Detailed Adjustment window with Output sub-popup:
94 EIO0000001810 02/2014
AP_PIF1
The following figure shows the Detailed Adjustment window with PIF1 Parameters sub-popup:
EIO0000001810 02/2014 95
AP_PIF1
The following figure shows the Detailed Adjustment window when AP_AA block of APC libraries is
not linked:
96 EIO0000001810 02/2014
AP_PIF1
NOTE: If you enter incorrect tuning parameter (Gain, Delay Time,Time Constant, Coincidance
Point, Closed Loop Response Time, and Maximum Variation of Output, Decomposition Time
Constant) values, the PIF1 controller block gives unexpected output and response.
WARNING
UNINTENDED EQUIPMENT OPERATION
Enter correct tuning parameter (Gain, Delay Time,Time Constant, Coincidance Point, Closed
Loop Response Time, and Maximum Variation of Output, Decomposition Time Constant) values.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
Subsection Description
PIF1 Genie A PIF1 symbol is displayed showing PV, SP and OP values and a status bar (where
owner, detected deviation alarm, current operating modes are displayed on the top-left
section of the Detailed Adjustment window).
Process Value This section displays the parameters of Process value of the variable. The Low Scale and
High Scale displays the maximum and minimum scaled value of the process value.
PV Alarm Displays the Low threshold, very Low threshold, High threshold, very High threshold, and
Threshold Hysteresis of process value (This section is not visible when AP_AA block of APC libraries
is not linked). You can enter the values of high threshold and low threshold, if you are the
Process Engineer or above (privilege level ≥ 3). You can also enter the hysteresis value
only if you are a Maintenance Engineer or above (privilege level ≥ 5). To enter the values
of Very High Threshold and Very Low Threshold, you must be the Maintenance Engineer
or above (privilege level ≥ 5). If you do not have the proper privilege level, these numeric
entries are disabled. If you enter wrong/invalid values, a message appears displaying
Value out of limits.
Setpoint Mode Displays the Internal setpoint, the External setpoint, and the Real setpoint value.
The current setpoint mode is also displayed. When you click on this section, a sub pop-up
Setpoint opens at the bottom-right corner of the Detailed Adjustment window.
Output Displays the parameters from the associated AP_AP (positioner) block, which is linked
with the AP_PIF1 block.
Clicking on this section, a sub pop-up Output opens at the bottom-right corner of the
Detailed Adjustment window.
EIO0000001810 02/2014 97
AP_PIF1
Subsection Description
PIF1 Parameters This section:
shows the PIF1 High Limit and PIF1 Low Limit.
displays the PIF1 tuning parameters such as Gain, Delay Time, Time Constant,
Coincidance Point, Closed Loop Response Time, and Maximum Variation of Output
displays the High Threshold, Low Threshold and Filtering Time for SP/PV Deviation in
PIF1 block.
displays the PV tracking mode Enable/Disable state of PIF1 controller
displays the enable/disable state of external close loop response time state for the
AP_PIF1 controller.
Click anywhere in this section to open a sub pop-up PIF1 Parameters containing the
variables explained above with user accessibility.
Process Analyst This process analyst plots the real-time value of output value, setpoint, and process value.
Sub Pop-ups There are 4 sub pop-ups:
PV Alarm Threshold
Setpoint
Output
PIF1 Parameters
PV Alarm Threshold
To enter the values of Very High Threshold and Very Low Threshold, you must be the
Maintenance Engineer or above (privilege level ≥ 5).
To enter the values of High Threshold and Low Threshold, you must be the Process
Engineer or above (privilege level ≥ 3).
You can also enter the hysteresis value only if you are a Maintenance Engineer or above
(privilege level ≥ 5).
If you do not have the proper privilege level, these numeric entries are disabled.
If you enter wrong/invalid values, a message appears displaying the text Value out of
limits.
Setpoints
In the Internal setpoint section, to enter the internal setpoint value, you must be the
Process Engineer or above (privilege level ≥ 3). You can also enter the maximum and
minimum limit of the internal setpoint. You must be the Process Engineer or above
(privilege level ≥ 3) to enter the maximum and minimum limits.
If you do not have proper privilege level, these buttons and numeric entries are disabled.
If you enter wrong/invalid values, a message appears displaying the text Value out of
limits
It also displays the external setpoint and current setpoint values.
98 EIO0000001810 02/2014
AP_PIF1
Subsection Description
Sub Pop-ups Output:
In this sub-popup, there are 6 sections:
Owner
Modes
Input
Manual Mode
Output
Current Mode
In the first section, the owner (Program/Operator)is selected.To operate these buttons,
you must be the Process Engineer or above (privilege level ≥ 3).
In second section, the following mode selection buttons are there:
Auto
Manual
Cascade
To operate these buttons, you must be the Process Engineer or above (privilege level ≥ 3).
In the third section, you can enter the input high and low peak limiting values of the
associated Analog positioner block. To enter these values, you must be the Process
Engineer or above (privilege level ≥ 3).
In the fourth section, you can enter the output value manually. To enter this output value,
you must be the Process Engineer or above (privilege level ≥ 3).
In the fifth section, you can enter the output high/low scale value of associated Analog
positioner. To enter these values, you must be the Maintenance Engineer or above
(privilege level ≥ 5).
In sixth section, the Current mode is displayed.
If you do not have proper privilege level, then these buttons and numeric entries are
disabled.
If you enter wrong/invalid values, a message appears displaying the text Value out of
limits.
EIO0000001810 02/2014 99
AP_PIF1
Subsection Description
Sub Pop-ups PIF1 Parameters:
This has 7 sections:
PV Tracking
External CLRT
External DECOMP
MSF1 Limits
MSF1 Parameters
SP/PV Deviation Parameters
Initialization
In the first section, you can select the PV tracking through Enable/Disable buttons. To
operate these buttons, you must be the Process Engineer or above (privilege level ≥ 3).
In the second section, you can activate option of the external close loop response time
through Enable/Disable buttons. To operate these buttons, you must be the Process
Engineer or above (privilege level ≥ 3).
In the third section, you can activate option of the external decomposition time through
Enable/Disable buttons. To operate these buttons, you must be the Process Engineer or
above (privilege level ≥ 3).
In the fourth section, you can enter the PIF1 High Limit/Low Limit. To enter these values,
you must be the Process Engineer or above (privilege level ≥ 3).
In the fifth section, user can enter the PIF1 tuning parameters such as Gain, Delay Time,
Time Constant, Coincidance Point, Closed Loop Response Time, Maximum Variation,
and Decomposition Time Constant. of Output. To enter these values, you must be the
Process Engineer or above (privilege level ≥ 3).
In the sixth section, user can enter the High Threshold, Low Threshold and Filtering Time
values for SP/PV Deviation. To enter these values, you must be the Process Engineer or
above (privilege level ≥ 3).
The seventh section is for Initialization. The INIT button is available for the user to Initialize
the controller. To operate this button, you must be the Maintenance Engineer or above
(privilege level ≥ 5).
If you do not have proper privilege level, these buttons and numeric entries are disabled.
If you enter wrong/invalid values, then a message appears displaying the text Value out
of limits.
In time parameters, if you enter the hour value > 24 or < 0, a message displaying the text
Invalid value appears.
In time parameters, if you enter the minute value > 59 or < 0, a message displaying the
text Invalid value appears.
In time parameters, if you enter the second value > 59 or < 0, a message displaying the
text Invalid value appears.
Subsection Description
Process Alarms Displays the detected High Peak Limiting alarm, detected Low Peak Limiting alarm,
and detected SP/PV Deviation alarm text and alarm state with red/yellow flashing bell
in front of the respective text.
Click the respective alarm bell symbols only to acknowledge these detected alarms if
you are the Operator or above (privilege level ≥ 1).
You can enable or disable the detected High Peak Limiting alarm, detected Low Peak
Limiting alarm, and detected SP/PV Deviation alarm.
To enable or disable these detected alarms, you must be the Process Engineer or
above (privilege level ≥ 3). If you do not have the proper privilege level, these
Enable/Disable buttons for detected alarms are disabled.
Component Displays the detected Internal Component Fault, detected Invalid Signal, and
Internal Alarms detected Configuration Fault alarms text and alarm state.
Displays the detected Internal Component Fault alarm with red/yellow flashing bell in
front of the respective text.
Displays the detected Configuration Fault and Invalid Signal alarms with red bell in
front of the text.
Click the alarm bell symbol to acknowledge the detected Internal Component Fault
alarm if you are the Operator or above (privilege level ≥ 1).
You can enable or disable the detected Configuration Fault and detected Invalid
Signal alarms.
To enable or disable these detected alarms, you must be the Maintenance Engineer or
above (privilege level ≥ 5).
If you do not have the proper privilege level, these Enable/Disable buttons for detected
alarms are disabled.
Modes Displays the current active mode (Tracking mode) by displaying a green color check
mark in front of the text.
You can enable or disable the detected Tracking Mode alarms. To enable or disable
these detected alarms, you must be the Process Engineer or above (privilege level ≥ 3).
If you do not have the proper privilege level, these Enable/Disable buttons for detected
alarms are disabled.
About Tab
The following figure displays the About tab of the AP_PIF1 block:
Chapter 5
AP_PZTR: Zone Control with Non-Linear Time Response
Overview
This chapter describes the AP_PZTR block.
Introduction
General
The AP_PZTR block is used for changing automatically the closed-loop time-response (CLRT)
when the process variable (XPV) is inside or outside a zone.
The AP_PZTR algorithm is based on basic principles:
When the Process value is outside the zone, YCLRT is set to WCLRTLO. The controller puts the
PV back inside the zone.
When the Process value is inside the zone, YCLRT varies linearly between WCLRTLO and
WCLRTHI as a function of the (PV-SP) deviation.
DFB Representation
Overview
The DFB for AP_PZTR is designed as a function block with the input pins connected to the input
data sources and the output pins provide DFB function results to the output destinations.
The following figure shows the DFB representation of the AP_PZTR block:
NOTE:
XCASIN is the setpoint of an upstream object
XPV is the input parameter from a process variable.
ZCLRT is the 95% close loop response time.
Parameter Description
Input Pin Details
This table describes the input pins of the AP_PZTR block:
The necessary data for the animation of the genie and the interaction between HMI and function
block are transferred through the public variables.
Genie Elements
The AP_PZTR genie contains various elements to animate the PZTR functionality.
This table shows the representation of the icons in the AP_PZTR genie:
NOTE: You can click the detected fault indication symbol to acknowledge the above mentioned
detected alarms in the genie.
To acknowledge the detected alarms, you must be the Operator or above (privilege ≥ 1).
Introduction
Click the bottom rectangle (where detected Deviation alarm and Current operating mode are
displayed) of AP_PZTR genie to open the AP_PZTR faceplate. By default, the Control tab of the
faceplate is shown.
The AP_PIF1 faceplate:
opens at the bottom-right corner of the genie
contains the following tabs:
Mode
Alarm Configuration
About (Information)
Faceplate
The faceplate of the AP_PZTR has the following tabs:
Control
Alarm Configuration
About
Control Tab
The Control tab is the default tab of the AP_PZTR faceplate. The Control tab displays the
evolution of close loop response time.
This tab displays the zone details, minimum, and maximum values of closed loop response time
on the graph. The value of closed loop response time is displayed in yellow on the top of the graph.
Section Description
Component Displays the detected Internal Component Fault, detected Invalid Signal, and
Internal Alarms detected Configuration Fault alarm text and detected alarm state.
Displays the detected Internal Component Fault alarm with red/yellow flashing bell in
front of the respective text.
Displays the detected Configuration Fault alarm and detected Invalid Signal alarm
with red bell in front of the text.
Click the alarm bell symbol to acknowledge the detected Internal Component Fault
alarm if you are the Operator or above (privilege level ≥ 1).
You can enable or disable the detected Configuration Fault alarm and detected
Invalid Signal alarm.
To enable or disable these detected alarms, you must be the Maintenance Engineer or
above (privilege level ≥ 5).
If you do not have the proper privilege level, these Enable/Disable buttons of the
detected alarms are disabled.
About Tab
The following figure displays the About tab of the AP_PZTR block:
Detailed Description
Principles
The zone control is a way to obtain a smoother controller when the Process Value (XPV)is rather
close to its set point (XCASIN) in order to avoid active control actions produced by noisy
measurements.
The controller is thus less active than when the Process Value is far from the set point. This
technique is not equivalent to a dead zone, which does not act, as long as the Process Value is
within the dead zone.
The zone control does not leave any constant deviation. It will make the Process Value move back
slowly to the set point value.
When XPV is outside the zone, the YCLRT is set to WCLRTLO (fastest response).
When XPV is inside the zone, YCLRT is computed as follows:
YCLRT = WCLRTHI − (WCLRTHI − WCLRTLO) x |EPS|/WZONE
where EPS = XCASIN − XPV
This continuous variation of YCLRT with EPS avoids bumps when crossing the zone borders and
makes the controller strength proportional to the deviation.
This block will be used with Predictive controllers, as and when required.
Chapter 6
Use Case Examples
Overview
This section describes the various loops that can be made using PCR library blocks in various
scenarios.
Index
A block, 69
AP_PSF1: simple predictive controller
AP_PIF1
function block, 33
derived data types, 76
AP_PZTR: zone control with non-linear
faceplate components and features, 82
time response, 105
genie representation and features, 79
introduction, 70
public variable description, 74 U
AP_PSF1
using the PCR library
derived data types, 40
basic features of the library, 12
detailed description, 68
generic information on faceplates, 21
DFB representation, 36
genie and faceplate representation sym-
faceplate components and features, 46
bol objects, 14
genie representation and features, 43
introduction, 34
public variable description, 38
AP_PZTR
detailed description, 115
DFB representation, 107
faceplate components and features, 111
genie representation and features, 110
introduction, 106
public variable description, 109
G
general information
PCR library application features, 9
general Information
PCR library application features, 23
general information
using the PCR library, 9, 11
P
PCR library application features
multilanguage support, 30
Multimonitor support, 26
sequence of events (SOE), 24
PCR library objects
AP_PIF1: Predictive Controller Function