Rockwell Automation Library of Process Objects:
Proportional + Integral + Derivative Enhanced (P_PIDE)
Version 3.5
IMPORTANT
This manual applies to the Rockwell Automation Library of Process Objects version 3.5 or earlier.
For Rockwell Automation Library of Process Objects version 5.0, see
• PROCES-RM200
For Rockwell Automation Library of Process Objects version 4.0 or later, use the following manuals:
• PROCES-RM013 contains logic instructions
• PROCES-RM014 contains display elements
Important User Information
Read this document and the documents listed in the additional resources section about installation, configuration, and
operation of this equipment before you install, configure, operate, or maintain this product. Users are required to
familiarize themselves with installation and wiring instructions in addition to requirements of all applicable codes, laws,
and standards.
Activities including installation, adjustments, putting into service, use, assembly, disassembly, and maintenance are required
to be carried out by suitably trained personnel in accordance with applicable code of practice.
If this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be
impaired.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the
use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and
requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or
liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or
software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation,
Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property damage, or economic loss.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence.
IMPORTANT
Identifies information that is critical for successful application and understanding of the product.
Labels may also be on or inside the equipment to provide specific precautions.
SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous
voltage may be present.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may
reach dangerous temperatures.
ARC FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to
potential Arc Flash. Arc Flash will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL
Regulatory requirements for safe work practices and for Personal Protective Equipment (PPE).
Allen-Bradley, Rockwell Software, and Rockwell Automation are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 20173
Table of Contents
Notes:
4Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 2017
Preface
Software Compatibility and
Content Revision
Table 1 - Summary of Changes
TopicPage
Visualization Files: Global Objects (.ggfx) - Process Diagnostic Objects10
Input Local Configuration Tags - Navigation Tags23-24
For the latest compatible software information and to download the Rockwell
Automation® Library of Process Objects, see the Product Compatibility and
Download Center at
Rockwell Automation Library of Process Objects: Common
Alarm Block (P_Alarm) Reference Manual, publication
SYSLIB-RM002
Rockwell Automation Library of Process Objects: Interlocks
with First Out and Bypass (P_Intlk) Reference Manual,
publication
Rockwell Automation Library of Process Objects: Common
Mode Block (P_Mode) Reference Manual, publication
SYSLIB-RM005
Rockwell Automation Library of Process Objects: Condition
Gate Delay (P_Gate) Reference Manual, publication
RM041
PROCES-SG001
PROCES-RM001
PROCES-RM002
VIEWME-UM004
VIEWSE-UM006
1756-RM006
1756-PM010
SYSLIB-RM004
SYSLIB-
Provides information to assist with equipment
procurement for your PlantPAx system.
Provides characterized recommendations for
implementing your PlantPAx system.
Provides general considerations for the PlantPAx system
library of process objects.
Provides details on how to use this software package for
creating an automation application.
Provides details on how to use this software package for
developing and running human-machine interface
(HMI) applications that can involve multiple users and
servers, distributed over a network.
Provides detailed information on the built-in
(firmware) PIDE instruction that is used within
the P_PIDE Add-On Instruction for PID
algorithm implementation.
Provides information for designing, configuring, and
programming Add-On Instructions.
Details how to monitor an input condition to raise an
alarm. Information includes acknowledging, resetting,
inhibiting, and disabling an alarm. Generally the
P_Alarm faceplate is accessible from the Alarms tab.
Explains how to collect (sum up) the interlock
conditions that stop or de-energize a running or
energized piece of equipment or prevent it from
starting or being energized.
Explains how to choose the Mode (owner) of an
instruction or control strategy. The Mode instruction is
usually embedded within other instructions to extend
their functionality. It is possible to use a standalone
Mode instruction to enhance a program where modes
are wanted.
Provides details of the P_Gate instruction for
processing status and alarm conditions, including gate
delay, on-delay, and off-delay timing.
You can view or download publications at
http:/www.rockwellautomation.com/literature/. To order paper copies of
technical documentation, contact your local Allen-Bradley distributor or
Rockwell Automation sales representative.
6Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 2017
Add-On Instruction
Proportional + Integral + Derivative Enhanced
(P_PIDE)
The P_PIDE (Proportional + Integral + Derivative Enhanced) Add-On
Instruction provides the functionality of the Studio 5000 Logix Designer® PIDE
function block with a user experience consistent with the rest of the Rockwell
Automation Library of Process Objects. The global object and following
faceplate are examples of the graphical interface tools for this Add-On
Instruction.
Faceplate
Global Object
Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 20177
Proportional + Integral + Derivative Enhanced (P_PIDE)
Guidelines
Functional Description
Use this instruction when you plan to use the PIDE for loop control and provide
visualization to the operator.
The primary operations of the P_PIDE Add-On Instructions and its faceplate
include the following:
• All functions of the PIDE built-in instruction for PID loop control
• Process Library alarm objects for deviation alarms, and additional alarm
status information and functionality, including limits, deadbands, and
severities
• Additional context for display, including a description, label, tag, and
engineering units
• P_Mode (mode) object for ownership
• Links for the P_Intlk (interlocks) instruction for interlocking
• Power-up Setpoint, Output, and Loop mode settings
Autotune
You must have a license to edit the autotune tag entry field on the PIDE
instruction. Do these steps to enable the functionality.
1. Open the Logic routine of the ‘P_PIDE_only’ Add-On Instruction.
2. Edit the function block diagram to set the autotune tag to 'Ref_Autotune'.
3. Save your changes and download to your controller.
Once this change has been made, the outer P_PIDE instruction automatically
checks on powerup for response from the Autotune function and automatically
enables the Autotune button on the faceplate. This is a supported
end-user/solution-provider enhancement that does not void tech support.
For information on how to use the Autotune function, refer to the following
Logix Designer online help topics:
8Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 2017
Proportional + Integral + Derivative Enhanced (P_PIDE)
Required Files
Add-On Instructions are reusable code objects that contain encapsulated logic
that can streamline implementing your system. This lets you create your own
instruction set for programming logic as a supplement to the instruction set
provided natively in the ControlLogix® firmware. An Add-On Instruction is
defined once in each controller project, and can be instantiated multiple times in
your application code as needed.
Controller File
The P_PIDE_3_5-00_AOI.L5X Add-On Instruction must be imported into
the controller project to be used in the controller configuration. The service
release number (boldfaced) can change as service revisions are created.
Visualization Files
This Add-On Instruction has associated visualization files that provide a
common user interface. These files can be downloaded from the Product
Compatibility and Download Center at
The visualization file dependencies require Process Library content imports to
occur in a specific order as reflected in the following tables:
• Images
• Global Objects
• Standard Displays
• HMI Tags
• Macros
Images are external graphic files that can be used in displays. They must be
imported for FactoryTalk View to make use of them.
When PNG files are imported, they are renamed by FactoryTalk View with
a .bmp file extension, but retain a .png format.
Table 2 - Visualization Files: Images (.png)
FactoryTalk View SE SoftwareFactoryTalk View ME SoftwareDescription
All .png files in the images folderAll .png files in the images folderThese are the common icons used in the global objects and
standard displays for all Process Objects.
The Global Object files (.ggfx file type) in the following table are Process Library
display elements that are created once and referenced multiple times on multiple
displays in an application. When changes are made to a Global Object, all
instances in the application are automatically updated.
Table 3 - Visualization Files: Global Objects (.ggfx)
FactoryTalk View SE SoftwareFactoryTalk View ME SoftwareDescription
(RA-BAS) Common Faceplate Objects(RA-BAS-ME) Common Faceplate ObjectsGlobal objects used on process object faceplates.
Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 20179
Proportional + Integral + Derivative Enhanced (P_PIDE)
Table 3 - Visualization Files: Global Objects (.ggfx)
FactoryTalk View SE SoftwareFactoryTalk View ME SoftwareDescription
(RA-BAS) P_PID Graphics Library(RA-BAS-ME) P_PID Graphics Library PID global object device symbols used to build
(RA-BAS) Process Alarm Objects(RA-BAS-ME) Process Alarm ObjectsGlobal objects used for managing alarms on process
(RA-BAS) Process Diagnostic Objects(RA-BAS-ME) Process Diagnostic ObjectsDiagnostic global objects used on process object
(RA-BAS) Process Faceplate Analog Objects(RA-BAS-ME) Process Faceplate Analog ObjectsAnalog global objects used on process object faceplates.
(RA-BAS) Process Help Objects(RA-BAS-ME) Process Help ObjectsGlobal objects used for all process objects help displays.
(RA-BAS) Process Interlock Objects(RA-BAS-ME) Process Interlock ObjectsGlobal objects used for managing interlocks and
(RA-BAS) Process Mode Objects(RA-BAS-ME) Process Mode ObjectsGlobal objects used for managing modes on process
Permissive faceplate that is used for the object
Use this file if your object has an associated P_Perm object
and you enable navigation to the P_Perm faceplate from
the object faceplate.
(RA-BAS) Process Interlock Family-Help(RA-BAS-ME) Process Interlock Family-HelpOptional
Interlock/permissives help display that is used for
the object
Use this file if you use the P_Intlk or P_Perm faceplate.
HMI Tags are created in a FactoryTalk View ME application to support tab
switching on Process Library faceplates. The HMI tags may be imported via the
comma-separated values file (.csv file type) in the following table.
Table 5 - Visualization Files: HMI Tags (.csv)
FactoryTalk View SE SoftwareFactoryTalk View ME SoftwareDescription
N/AFTVME_PlantPAxLib_Tags_3_5_xx.csv
where xx = the service release number.
These tags must be imported into the
FactoryTalk View ME project to support switching tabs on
any Process Object faceplate.
Controller Code
This section describes the parameter references for this Add-On Instruction.
Proportional + Integral + Derivative Enhanced Input Structure
Input parameters include the following:
• Input data elements (Inp_) are typically used to connect field inputs from
I/O modules or signals from other objects.
• Configuration data elements (Cfg_) are used to set configurable
capabilities and features of the instruction.
• Commands (PCmd_, OCmd_, MCmd_) are used by program logic,
operators, and maintenance personnel to request instruction actions.
• Settings (PSet_, OSet_, MSet_) are used by program logic, operators, and
maintenance personnel to establish runtime setpoints, thresholds, and so
forth. A Setting (without a leading P, O, or M) establishes runtime settings
regardless of role or mode.
Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 201711
Proportional + Integral + Derivative Enhanced (P_PIDE)
Table 7 - P_PIDE Input Parameters
Input ParameterData
Type
EnableInBOOL1Ladder Diagram:
Inp_PVREALWrk_PIDE.PV0.0Input signal Process Variable (PV) from sensor (PV engineering units).
Inp_CascSPREALWrk_PIDE.SPCascade0.0Setpoint in cascade, independent PV in Ratio (PV engineering units).
Inp_FFREALWrk_PIDE.FF0.0FeedForward term (Controlled Variable (CV)%).
Inp_FFPrevREALWrk_PIDE.FFPrevious0.0FeedForward feedback from downstream block (CV%).
Inp_CVInitValREALWrk_PIDE.CVInitValue0.0Value to initialize the CV to when requested (CV engineering units).
Inp_CVPrevREALWrk_PIDE.CVPrevious0.0CV feedback from downstream block (CV%).
Inp_PVSrcQSINT0Source and Quality of Inp_PV (enumeration)
Inp_OvrdCmdSINT0Override Loop mode command:
Inp_OvrdRatioREAL1.0Ratio to use in Override mode (unitless).
Inp_OvrdSPREAL0.0Setpoint (SP) to use in Override mode (PV engineering units).
Inp_OvrdCVREAL0.0CV to use in Override mode (CV%).
Inp_HandFdbkREALWrk_PIDE.HandFB0.0CV feedback used in Hand mode (CV%).
Inp_PVBadBOOLWrk_PIDE.PVFault0Bad signal quality/communication status for inputs (1 = Bad, 0 = OK). If PV is
Inp_PVUncertainBOOL0Uncertain quality for inputs (1 = Uncertain, 0 = OK). This is optional status for
Inp_CVIOFaultBOOLWrk_PIDE.CVFault01 = CV I/O communication status bad
Inp_UseFFPrevBOOLWrk_PIDE.FFSetPrevious01 = Use Inp_FFPrev as previous FF value
Inp_UseCVInitValBOOLWrk_PIDE.CVInitReq01 = Initialize CV to Inp_CVInitValue
Inp_UseCVPrevBOOLWrk_PIDE.CVSetPrevious01 = Use Inp_CVPrev as previous CV value
Inp_WindupHiBOOLWrk_PIDE.WindupHIn0Windup high signal
Inp_WindupLoBOOLWrk_PIDE.WindupLIn0Windup low signal
Inp_OvrdBOOLMode.Inp_Ovrd01 = Acquire Override (higher priority program logic) mode
Inp_HandBOOLMode.Inp_Hand01 = Acquire Hand (hard-wired local) mode
Inp_HandFdbkBadBOOLWrk_PIDE.HandFBFault01 = Inp_HandFdbk input quality or I/O communication status bad
Alias ForDefaultDescription
If the rung-in condition is true, the instruction’s Logic routine executes. If the
rung-in condition is false, the instruction’s EnableInFalse routine executes.
Function Block Diagram:
If true, or not connected, the instruction’s Logic routine executes. If the
parameter is exposed as a pin and wired, and the pin is false, the instruction’s
EnableInFalse routine executes.
Structured Text:
No effect. The instruction’s Logic routine executes.
0 = None
1 = Manual
2 = Automatic
3 = Cascade
read from an analog input, then this is normally read from the analog input
channel fault status.
the input that can be used to drive the status of the output (Sts_PVUncertain).
0 = OK
0 = Use last scan value
0 = Use last scan value
1 = Regulator does not increase the output
1 = Regulator does not decrease the output
0 = Release Override mode
0 = Release Hand mode
0 = OK
12Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 2017
Table 7 - P_PIDE Input Parameters
Proportional + Integral + Derivative Enhanced (P_PIDE)
Input ParameterData
Type
Inp_IntlkOKBOOL11 = Interlocks and non-bypassable Interlocks OK, analog output can be set.
Inp_NBIntlkOK
Inp_HiHiDevGateBOOLHiHiDevGate.Inp_Gate1High-High deviation status gate:
Inp_HiDevGateHiDevGate.Inp_GateHigh deviation status gate:
Inp_LoDevGateLoDevGate.Inp_GateLow deviation status gate:
Inp_LoLoDevGateLoLoDevGate.Inp_GateLow-Low deviation status gate:
Inp_ResetBOOL0Input parameter used to programmatically reset alarms. When set to 1, all
Cfg_HasRatioBOOLWrk_PIDE.UseRatio01 = Cascade Loop mode uses ratio
Cfg_HasCascBOOLWrk_PIDE.AllowCasRat01 = Enable the loop to be placed into Cascade/ratio mode
Cfg_PVTrackBOOLWrk_PIDE.PVTracking11 = SP tracks PV in manual
Cfg_CtrlActionBOOLWrk_PIDE.ControlAction01 = Direct acting (E = PV-SP)
when switching modes. When this parameter is 1, in Program mode the
operator settings track the program settings; in Operator mode the program
settings track the operator settings; and the simulation inputs match the
output values (transitions are bumpless).
When this parameter is 0, the operator settings and program settings are not
modified by this instruction. In this case, when the mode is changed, the
effective value of the setting can change depending on the program-set and
operator-set values.
Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 201713
Proportional + Integral + Derivative Enhanced (P_PIDE)
Table 7 - P_PIDE Input Parameters
Input ParameterData
Type
Cfg_HasIntlkObjBOOL01 = Tells HMI an interlock object (for example, P_Intlk) is used for Inp_IntlkOK
Cfg_HasCascSPNavBOOL01 = Tells HMI to enable navigation to a connected cascade SP object
Cfg_HasPVNavBOOL01 = Tells HMI to enable navigation to a connected PV object
Cfg_HasCVNavBOOL01 = Tells HMI to enable navigation to a connected CV object
Cfg_PCmdClearBOOLMode.Cfg_PCmdClear1When this parameter is 1, program commands are cleared once they are acted
Cfg_ProgDefaultBOOLMode.Cfg_ProgDefault0This parameter defines the default mode. When this parameter is 1, the mode
Cfg_HasHiHiDevAlmBOOLHiHiDev.Cfg_Exists0These parameters determine whether the corresponding alarm exists and is
Cfg_HasHiDevAlmHiDev.Cfg_Exists
Cfg_HasLoDevAlmLoDev.Cfg_Exists
Cfg_HasLoLoDevAlmLoLoDev.Cfg_Exists
Cfg_HasIntlkTripAlmIntlkTrip.Cfg_Exists
Cfg_HasFailAlmFail.Cfg_Exists
Cfg_HiHiDevResetReqdBOOLHiHiDev.Cfg_ResetReqd0These parameters determine whether a reset is required to clear the alarm
Cfg_HiDevResetReqdHiDev.Cfg_ResetReqd
Cfg_LoDevResetReqdLoDev.Cfg_ResetReqd
Cfg_LoLoDevResetReqdLoLoDev.Cfg_ResetReqd
Cfg_IntlkTripResetReqdIntlkTrip.Cfg_ResetReqd
Cfg_FailResetReqdFail.Cfg_ResetReqd
Cfg_HiHiDevAckReqdBOOLHiHiDev.Cfg_AckReqd1These parameters determine whether an acknowledgement is required for an
Cfg_HiDevAckReqdHiDev.Cfg_AckReqd
Cfg_LoDevAckReqdLoDev.Cfg_AckReqd
Cfg_LoLoDevAckReqdLoLoDev.Cfg_AckReqd
Cfg_IntlkTripAckReqdIntlkTrip.Cfg_AckReqd
Cfg_FailAckReqdFail.Cfg_AckReqd
Alias ForDefaultDescription
and navigation to the interlock object’s faceplate is enabled
IMPORTANT: The name of the Interlock object in the controller must be this
object's name with the suffix ‘_Intlk’. For example, if your P_PIDE object has
the name ’PIDE123’, then its Interlock object must be named ‘PIDE123_Intlk’.
0 = Always use interlock
upon. When set to 0, program commands remain set until cleared by the
application program logic.
IMPORTANT: Clearing this parameter online can cause unintended program
command execution.
defaults to Program if no mode is being requested. When this parameter is 0,
the mode defaults to Operator if no mode is being requested.
IMPORTANT: Changing this parameter online can cause unintended mode
changes.
checked or if the alarm does not exist and is not used. When these parameters
are 1, the corresponding alarm exists.
status. When these parameters are 1, the alarm is latched ON when the alarm
occurs. After the alarm condition returns to normal, a reset is required to clear
the alarm status (for example, OCmd_Reset, Inp_Reset, or
HiHiDev.OCmd_Reset are required to clear Alm_HiHiDev alarm after the alarm
is set and the value returns to normal). When these parameters are 0, no reset
is required and the alarm status is cleared when the alarm condition returns to
normal.
IMPORTANT: If the reset clears the alarm, it also acknowledges the alarm.
alarm. When these parameters are 1, the acknowledge (ack) bit is cleared
when the alarm occurs. An acknowledge command (for example,
PCmd_FailAck or Fail.OCmd_Ack) is required to acknowledge the alarm. When
set to 0, the Acknowledge bit is set when an alarm occurs indicating an
acknowledged alarm and no acknowledge command is required.
14Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 2017
Table 7 - P_PIDE Input Parameters
Proportional + Integral + Derivative Enhanced (P_PIDE)
Input ParameterData
Type
Cfg_HiHiDevSeverityINTHiHiDev.Cfg_Severity750These parameters determine the severity of each alarm. This drives the color
Cfg_HiDevSeverityHiDev.Cfg_Severity500
Cfg_LoDevSeverityLoDev.Cfg_Severity500
Cfg_LoLoDevSeverityLoLoDev.Cfg_Severity750
Cfg_IntlkTripSeverityIntlkTrip.Cfg_Severity500
Cfg_FailSeverityFail.Cfg_Severity1000
Cfg_MinRatioREALWrk_PIDE.RatioLLimit1.0Minimum and maximum allowed ratio (unitless).
Cfg_MaxRatioWrk_PIDE.RatioHLimit1.0
Cfg_MinSPREALWrk_PIDE.SPLLimit0.0Minimum allowed setpoint (SP) value (PV engineering units).
Cfg_MaxSPREALWrk_PIDE.SPHLimit100.0Maximum allowed setpoint (SP) value (PV engineering units).
Cfg_PVEUMinREALWrk_PIDE.PVEUMin0.0PV engineering units Minimum value (PV engineering units).
Cfg_PVEUMaxREALWrk_PIDE.PVEUMax100.0PV (Output) maximum for scaling to engineering units.
Cfg_CVEUMinREALWrk_PIDE.CVEUMin0.0CV engineering units minimum value (CV engineering units).
Cfg_CVEUMaxREALWrk_PIDE.CVEUMax100.0CV engineering units maximum value (CV engineering units).
Cfg_CVRoCLimREALWrk_PIDE.CVROCLimit0.0CV rate of change limit (CV%/s), zero means do not limit.
Cfg_PGainREALWrk_PIDE.PGain0.0Proportional (independent) or loop (dependent) gain (unitless).
Cfg_IGainREALWrk_PIDE.IGainIntegral gain (1/min independent or min/repeat dependent).
Cfg_DGainREALWrk_PIDE.DGainDerivative gain (min).
Cfg_ZCDBREALWrk_PIDE.ZCDeadband0.0Normal zero crossing deadband (PV engineering units).
Cfg_MinCVREALWrk_PIDE.CVLLimit0.0Minimum or maximum allowed controlled variable (CV) value (CV%).
Cfg_MaxCVREALWrk_PIDE.CVHLimit100.0
Cfg_MaxInactiveCVREAL0.0When Val_CV is greater than this value (CV%) set Sts_Active (for HMI).
Cfg_IntlkCVREALWrk_PIDE.CVOverride0.0CV to use when interlocks not OK (CV%).
Cfg_PwrupSPREAL0.0Loop SP on powerup, used if Cfg_PwrupLM = 1 (manual) or 2 (automatic).
Cfg_PwrupCVREAL0.0Loop CV (CV %) on powerup, used if Cfg_PwrupLM <> 0 (none).
Cfg_HiHiDevOnDlyDINTHiHiDevGate.Cfg_OnDly0These parameters determine the minimum time (in seconds) the loop
Cfg_HiDevOnDlyHiDevGate.Cfg_OnDly
Cfg_LoDevOnDlyLoDevGate.Cfg_OnDly
Cfg_LoLoDevOnDlyLoLoDevGate.Cfg_OnDly
Cfg_HiHiDevOffDlyDINTHiHiDevGate.Cfg_OffDly0These parameters determine the amount of time (in seconds) the loop
Cfg_HiDevOffDlyHiDevGate.Cfg_OffDly
Cfg_LoDevOffDlyLoDevGate.Cfg_OffDly
Cfg_LoLoDevOffDlyLoLoDevGate.Cfg_OffDly
Alias ForDefaultDescription
and symbol that are used to indicate alarm status on the faceplate and global
object.
The following are valid values:
1…250 = Low
251…500 = Medium
501…750 = High
751…1000 = Urgent
IMPORTANT: For FactoryTalk View software version 7.0, these severity
parameters drive only the indication on the global object and faceplate. The
FactoryTalk Alarms and Events definition of severity drives the color and
symbol that is used on the alarm banner and alarm summary as well as the
value returned by FactoryTalk Alarms and Events display commands.
TIP: The P_PIDE instruction supports reverse CV EU scaling, Cfg_CVEUMax can
be less than (but not equal to) Cfg_CVEUMin.
deviation must remain beyond the status threshold for the status to be set. Ondelay times are used to avoid unnecessary alarms when the deviation
momentarily overshoots its threshold (for example, Val_HiHiDevLim).
deviation must stay within each status threshold to clear the status. Off delay
times are used to reduce chattering alarms.
EXAMPLE: If Cfg_HiDevOffDly is 5 seconds, the loop deviation must be below
the status limit (Val_HiHiDevLim) minus deadband (Cfg_DevDB) for 5 seconds
before the status is returned to normal.
Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 201715
Proportional + Integral + Derivative Enhanced (P_PIDE)
Table 7 - P_PIDE Input Parameters
Input ParameterData
Type
Cfg_HiHiDevGateDlyDINTHiHiDevGate.Cfg_GateDly0These parameters determine the amount of time (in seconds) the gate input
Cfg_HiDevGateDlyHiDevGate.Cfg_GateDly
Cfg_LoDevGateDlyLoDevGate.Cfg_GateDly
Cfg_LoLoDevGateDlyLoLoDevGate.Cfg_GateDly
PSet_RatioREAL1.0Program setting for ratio (loop cascade and ratio enabled) (unitless).
PSet_SP0.0Program setting for setpoint (loop auto) (PV engineering units).
PSet_CV0.0Program setting for controlled variable (loop manual) (CV%).
PSet_HiHiDevLimREAL3.40282347e+038Program setting for High-High, High, Low, or Low-Low deviation status
PSet_HiDevLim
PSet_LoDevLim-3.40282347e+038
PSet_LoLoDevLim
PSet_OwnerDINT0Program owner request ID (non-zero) or release (zero).
OSet_RatioREAL1.0Operator setting for ratio (loop cascade and ratio enabled) (unitless).
OSet_SP0.0Operator setting for setpoint (loop auto) (PV engineering units).
OSet_CV0.0Operator setting for controlled variable (loop manual) (CV%).
OSet_HiHiDevLim3.40282347e+038Operator settings for High-High, High, Low, or Low-Low deviation status
OSet_HiDevLim
OSet_LoDevLim-3.40282347e+038
OSet_LoLoDevLim
PCmd_CascBOOL0When Cfg_PCmdClear is 1:
PCmd_Auto
PCmd_Man
PCmd_AcqBOOLMode.PCmd_Acq0When Cfg_PCmdClear is 1:
PCmd_RelMode.PCmd_Rel
PCmd_LockBOOLMode.PCmd_Lock0When Cfg_PCmdClear is 1:
PCmd_UnlockMode.PCmd_Unlock
PCmd_ResetBOOL0• Set PCmd_Reset to 1 to reset all alarms requiring reset
Alias ForDefaultDescription
must be turned on for threshold detection to be enabled. On delays and off
delays are applied after the gate delay is complete.
threshold (PV engineering units).
threshold (PV engineering units).
• Set PCmd_Casc to 1 to select Cascade/Ratio Loop mode
• Set PCmd_Auto to 1 to select Automatic Loop mode
• Set PCmd_Man to 1 to select Manual Loop mode
• These parameters reset automatically
When Cfg_PCmdClear is 0:
• Set PCmd_Casc to 1 to select Cascade/Ratio Loop mode
• Set PCmd_Auto to 1 to select Automatic Loop mode
• Set PCmd_Auto and PCmd_Casc to 0 to select Manual Loop mode
• PCmd_Man is not used
• These parameters do not reset automatically
• Set PCmd_Acq to 1 to Acquire
• Set PCmd_Rel to 1 to Release
• These parameters reset automatically
When Cfg_PCmdClear is 0:
• Set PCmd_Acq to 1 to Acquire
• Set PCmd_Acq to 0 to Release
• PCmd_Rel is not used
• These parameters do not reset automatically
• Set PCmd_Lock to 1 to Lock
• Set PCmd_Unlock to 1 to Unlock
• These parameters reset automatically
When Cfg_PCmdClear is 0:
• Set PCmd_Lock to 1 to Lock
• Set PCmd_Lock to 0 to Unlock
• PCmd_Unlock is not used
• These parameters do not reset automatically
• This parameter is always reset automatically
16Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 2017
Table 7 - P_PIDE Input Parameters
Proportional + Integral + Derivative Enhanced (P_PIDE)
Input ParameterData
Type
PCmd_HiHiDevAckBOOLHiHiDev.PCmd_Ack0• Set PCmd_<Alarm>Ack to 1 to Acknowledge alarm
PCmd_HiDevAckHiDev.PCmd_Ack
PCmd_LoDevAckLoDev.PCmd_Ack
PCmd_LoLoDevAckLoLoDev.PCmd_Ack
PCmd_IntlkTripAckIntlkTrip.PCmd_Ack
PCmd_FailAckFail.PCmd_Ack
PCmd_HiHiDevSuppressBOOLHiHiDev.PCmd_Suppress0When Cfg_PCmdClear is 1:
PCmd_HiHiDevUnshelveBOOLHiHiDev.PCmd_Unshelve0• Set PCmd_<Alarm>Unshelve to 1 to Unshelve alarm
PCmd_HiDevUnshelveHiDev.PCmd_Unshelve
PCmd_LoDevUnshelveLoDev.PCmd_Unshelve
PCmd_LoLoDevUnshelveLoLoDev.PCmd_Unshelve
PCmd_IntlkTripUnshelveIntlkTrip.PCmd_Unshelve
PCmd_FailUnshelveFail.PCmd_Unshelve
OCmd_CascBOOL0Operator commands to select Cascade/ratio (Casc), Automatic (Auto), or
OCmd_AutoBOOL0
OCmd_ManBOOL0
OCmd_BypassBOOL0Operator command to bypass the bypassable interlocks.
OCmd_CheckBOOL0Operator command to check (not bypass) all interlocks.
MCmd_DisableBOOL0Maintenance command to disable or enable PID loop.
MCmd_Enable
MCmd_AcqBOOLMode.MCmd_Acq0Maintenance command to acquire ownership (operator/program/override to
MCmd_RelBOOLMode.MCmd_Rel0Maintenance command to release ownership (maintenance to operator/
OCmd_AcqLockBOOLMode.OCmd_AcqLock0Operator command to acquire (program to operator)/lock ownership.
OCmd_UnlockBOOLMode.OCmd_UnlockRel0Operator command to unlock/release (operator to program) ownership.
OCmd_ResetBOOL0Operator command to reset all alarms requiring reset.
OCmd_ResetAckAllBOOL0Operator command to reset all alarms and latched shed conditions.
Alias ForDefaultDescription
• The parameter is reset automatically
• Set PCmd_<Alarm>Suppress to 1 to suppress alarm
• Set PCmd_<Alarm>Unsuppress to 1 to unsuppress alarm
• These parameters reset automatically
When Cfg_PCmdClear is 0:
• Set PCmd_<Alarm>Suppress to 1 to suppress alarm
• Set PCmd_<Alarm>Suppress to 0 to unsuppress alarm
• PCmd_<Alarm>Unsuppress is not used
• These parameters do not reset automatically
• The parameter is reset automatically
Manual (Man) Loop mode.
Maintenance).
program/override).
Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 201717
Proportional + Integral + Derivative Enhanced (P_PIDE)
Table 8 - P_PIDE Output Parameters
Proportional + Integral + Derivative Enhanced Output Structure
Output parameters include the following:
• Output data elements (Out_) are the primary outputs of the instruction,
typically used by hardware output modules; however, they can be used by
other application logic.
• Value data elements (Val_) are numeric outputs of the instruction for use
by the HMI. Values can also be used by other application logic or software
packages.
• Source and Quality data elements (SrcQ_) are outputs of the instruction
used by the HMI to indicate PV source and quality.
• Status data elements (Sts_) are bit outputs of the instruction for use by the
HMI. Status bits can also be used by other application logic.
• Error data elements (Err_) are outputs of the instruction that indicate a
particular configuration error. If any Err_ bit is set, then the Sts_Err
configuration error summary status is set and the Invalid Configuration
indicator is displayed on the HMI.
• Not Ready data elements (Nrdy_) are bit outputs of the instruction for use
by the HMI for displaying the Device Not Ready indicator. Not Ready bits
can also be used by other application logic.
• Alarm data elements (Alm_) are outputs of the instruction that indicate a
particular alarm has occurred.
• Acknowledge data elements (Ack_) are outputs of the instruction that
indicate the corresponding alarm has been acknowledged.
• Ready data elements (Rdy_) are bit outputs of the instruction used by the
HMI to enable or disable Command buttons and Setting entry fields.
Output ParameterData TypeAlias ForDescription
EnableOutBOOLEnable output: The EnableOut signal is not manipulated by this instruction. Its output state
Out_CVREALWrk_PIDE.CVEUCV to final control element (CV engineering units).
Val_PVREALLoop PV (PV engineering units).
Val_RatioREALWrk_PIDE.RatioThe current ratio (unitless).
Val_SPSetREALValue of selected SP (before clamping) (PV engineering units).
Val_SPREALWrk_PIDE.SPValue of SP being used (after clamping) (PV engineering units).
Val_CVSetREALValue of CV output (before ramping and clamping (CV%).
Val_CVOutREALWrk_PIDE.CVValue of CV output (after ramping and clamping (CV%).
Val_PVPercentREALWrk_PIDE.PVPercentLoop PV (percent of span).
Val_SPPercentREALWrk_PIDE.SPPercentLoop SP (percent of span).
Val_EPercentREALWrk_PIDE.EPercentLoop error (PV-SP) (percent of span).
Val_ActExecTREALWrk_PIDE.DeltaTActual PID algorithm execution time (elapsed time between updates) (seconds).
Val_InitREALInitialization value for this loop's cascade primary (PV engineering units).
Val_PVEUMinREALMinimum of PV scaled range (PV engineering units).
always reflects EnableIn input state.
18Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 2017
Proportional + Integral + Derivative Enhanced (P_PIDE)
Table 8 - P_PIDE Output Parameters
Output ParameterData TypeAlias ForDescription
Val_PVEUMaxREALMaximum of PV scaled range (PV engineering units).
Val_CVEUMinREALMinimum of CV scaled range (CV engineering units).
Val_CVEUMaxREALMaximum of CV scaled range (CV engineering units).
SrcQ_IOSINTI/O signal source and quality.
SrcQFinal source and quality.
GOOD 0 = I/O live and confirmed good quality
1 = I/O live and assumed good quality
2 = No feedback configured, assumed good quality
TEST 8 = Device simulated
9 = Device loopback simulation
10 = Manually entered value
UNCERTAIN 16 = Live input, off-specification
17 = Value substituted at device/bus
18 = Value substituted by maintenance (Has and not Use)
19 = Shed, using last good value
20 = Shed, using replacement value
BAD 32 = Signal failure (out-of-range, NaN, invalid combination)
33 = I/O channel fault
34 = I/O module fault
35 = Bad I/O configuration (for example, scaling parameters)
Val_StsSINTLoop status enumeration:
0 = Unknown
1 = Manual
2 = Auto
3 = Cascade
4 = Ratio
33 = Disabled
Sts_RatioClampedBOOL1 = Selected ratio (PSet/OSet_Ratio or Inp_OvrdRatio) has been clamped.
Sts_SPBadBOOLWrk_PIDE.SPOperInv1 = SP Value is bad (quality) or invalid or Casc SP communication fault.
Sts_SPClampedBOOL1 = Selected SP is being clamped (for faceplate animation).
Sts_PVBadBOOLWrk_PIDE.PVFaulted1 = PV Value, communication, quality, or engineering units limit is bad.
Sts_PVUncertainBOOL1 = PV Value is uncertain (quality).
Sts_FFBadBOOLWrk_PIDE.FFInv1 = Feedforward term value is invalid.
follows:
0 = No mode
1 = Hand
2 = Maintenance
3 = Override
4 = Program (locked)
5 = Operator (locked)
6 = Program (unlocked, Operator is default)
7 = Operator (unlocked, Program is default)
8 = Program (unlocked, Program is default)
9 = Operator (unlocked, Operator is default)
0 = No alarm
1 = Alarm cleared: a reset or acknowledge is required
2 = Low (acknowledged)
3 = Low (unacknowledged)
4 = Medium (acknowledged)
5 = Medium (unacknowledged)
6 = High (acknowledged)
7 = High (unacknowledged)
8 = Urgent (acknowledged)
9 = Urgent (unacknowledged)
These parameters are aliased to parameter DevHHLimit, DevHLimit, DevLLimit, or DevLLLimit
of the contained PIDE built-in instruction.
PIDE Block Status 1 Instruction Fault bits (see PIDE Instruction Help).
PIDE Block Status 2 Instruction Fault bits (see PIDE Instruction Help).
1 = Error is within zero-crossing deadband and CV does not change
20Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 2017
Proportional + Integral + Derivative Enhanced (P_PIDE)
Table 8 - P_PIDE Output Parameters
Output ParameterData TypeAlias ForDescription
Sts_FFPrevBadBOOLWrk_PIDE.FFPreviousInv1 = Inp_FFPrev is <-100.0, >100.0, or not a number (NaN).
Sts_CVBadBOOLWrk_PIDE.CVFaulted1 = CV Value is bad (quality) or invalid or there is a CV communication fault.
Sts_CVPrevBadBOOLWrk_PIDE.CVPreviousInv1 = Inp_CVPrev is <0.0, >100.0, or not a number (NaN).
Sts_CVInitValBadBOOL1 = Inp_CVInitVal is <0.0, >100.0, or not a number (NaN).
Sts_HandFdbkBadBOOLWrk_PIDE.HandFBFaulted1 = Hand feedback (tieback) value is bad (quality), invalid, or communication fault.
Sts_IntlkCVBOOL1 = CV value being set by shed to Interlock CV.
Sts_CVClampedBOOL1 = Selected CV is being clamped (for faceplate animation).
Sts_CVRampingBOOLWrk_PIDE.CVROCAlarm1 = CV is ramping toward Val_CVSet
0 = Ramp complete
Sts_ActiveBOOL1 = CV is greater than Cfg_MaxInactiveCV, show graphic symbol as ‘active’ (for example.
Sts_AvailableBOOL1 = Instruction available for control by automation (Program).
Sts_BypassBOOL1 = Bypassable interlocks are bypassed.
Sts_BypActiveBOOL1 = Bypassing active (Bypassed or Maintenance).
Sts_DisabledBOOL1 = Loop is disabled (held at configured Interlock CV).
Sts_NotRdyBOOL1 = Loop is not ready to be operated. See detail Not Ready bit for reason.
Nrdy_DisabledBOOL1 = Loop Not Ready:
Nrdy_CfgErr
Nrdy_Intlk
Nrdy_Init
Nrdy_IOFault
Nrdy_NoMode
Sts_MaintBypBOOL1 = Loop has a maintenance bypass function active.
Sts_AlmInhBOOL1 = One or more alarms shelved, disabled, or suppressed.
Sts_ErrBOOL1 = Error in configuration: see detail error bits for reason.
Err_RatioLimBOOLWrk_PIDE.RatioLimitsInv1 = Error in configuration: ratio clamping limits invalid.
Err_SPLimBOOLWrk_PIDE.SPLimitsInv1 = Error in configuration: setpoint clamping limits invalid.
Err_PVEUBOOLWrk_PIDE.PVSpanInv1 = Error in configuration: PV engineering units (EU) maximum/minimum invalid.
Err_CVLimBOOLWrk_PIDE.CVLimitsInv1 = Error in configuration: CV clamping limits invalid.
Err_CVEUBOOLWrk_PIDE.CVEUSpanInv1 = Error in configuration: CV engineering units (EU) maximum/minimum invalid.
Err_TimerBOOL1 = Error in configuration: status on-delay or off-delay time invalid.
Err_DBBOOLWrk_PIDE.ZCDeadbandInv1 = Error in configuration: zero-crossing deadband invalid.
Err_AlarmBOOL1 = Error in configuration: alarm severity, minimum on time, or shelf time invalid.
Sts_HandBOOLMode.Sts_Hand1 = Mode is Hand (supersedes Operator, Program, Override, and Maintenance), Maintenance
Sts_MaintMode.Sts_Maint
Sts_OvrdMode.Sts_Ovrd
Sts_ProgMode.Sts_Prog
Sts_OperMode.Sts_Oper
Sts_ProgOperLockBOOLMode.Sts_ProgOperLock1 = Program or Operator has requested mode lock.
Sts_NoModeBOOLMode.Sts_NoMode1 = No mode selected (instruction scanned false).
valve open).
• Loop disabled by Maintenance
• Configuration error
• Interlock not OK
• Initialized to Manual mode
• I/O Fault (shed requires reset)
• Loop logic disabled/no mode
(supersedes Operator, Program, and Override), Override (supersedes Operator and Program),
Program, or Operator.
Rockwell Automation Publication SYSLIB-RM045D-EN-P - February 201721
Loading...
+ 49 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.