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. Labels may also be on or inside the equipment to provide specific precautions.
Reference Manual Rockwell Automation Library of Process Objects: Analog/Pulsed Control Valve (P_ValveC) 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. Preface Analog/Pulsed Control Valve (P_ValveC) Table of Contents Software Compatibility and Content Revision. . . . . . . . . . . . . . . . . . . . 5 Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Required Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Controller File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Visualization Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Controller Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Analog/Pulsed Control Valve Input Structure . . . . . . . . . . . . . . . 13 Analog/Pulsed Control Valve Output Structure . . . . . . . . . . . . . 17 Analog/Pulsed Control Valve Local Configuration Tags . . . . . . 21 Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Alarms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Programming Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Example 1: Manual Loading Station. . . . . . . . . . . . . . . . . . . . . . . . . 24 Example 2: Ratcheting Control Valve . . . . . . . . . . . . . . . . . . . . . . . 25 Display Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Status/Quality Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Mode Indicators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Alarm Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Maintenance Bypass Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Using Display Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Quick Display. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Faceplate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Operator Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Maintenance Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Engineering Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Diagnostics Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Alarms Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Analog/Pulsed Control Valve Faceplate Help . . . . . . . . . . . . . . . . 54 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 3 Table of Contents Notes: 4 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Preface Software Compatibility and Table 1 - Summary of Changes Content Revision Topic Page Visualization Files: Global Objects (.ggfx) - Process Diagnostic Objects 11 P_ValveC Local Configuration Tags - Navigation Tag 21 For the latest compatible software information and to download the Rockwell Automation® Library of Process Objects, see the Product Compatibility and Download Center at http://www.rockwellautomation.com/rockwellautomation/support/pcdc.page. For general library considerations, see Rockwell Automation Library of Process Objects, publication PROCES-RM002. Additional Resources These documents contain additional information concerning related products from Rockwell Automation. Resource PlantPAx® Distributed Control System Selection Guide, publication PROCES-SG001 PlantPAx Distributed Control System Reference Manual, publication PROCES-RM001 Rockwell Automation Library of Process Objects, publication PROCES-RM002 FactoryTalk® View Machine Edition User Manual, publication VIEWME-UM004 FactoryTalk View Site Edition User Manual, publication VIEWSE-UM006 Logix5000TM Controllers Add On Instructions Programming Manual, publication 1756-PM010 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 SYSLIB-RM004 Rockwell Automation Library of Process Objects Common Mode Block (P_Mode) Reference Manual, publication SYSLIB-RM005 Description 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 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. 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 select 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. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 5 Preface 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. 6 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) The P_ValveC (Analog/Pulsed Control Valve) Add-On Instruction manipulates a control valve by using an analog signal or discrete signals, and monitors the valve by using an analog position feedback. The global objects and following faceplate are examples of the graphical interface tools for this Add-On Instruction. Global Objects Faceplate Add-On Instruction Guidelines Use this instruction in these situations: · You want to use a control (modulating) valve where 0...100% is mapped to the percentage open. · The valve requires an analog output (or analog value over a network) for the target position, or the valve requires a pair of discrete outputs (or discrete signals over a network) to tell it when to move toward fully closed and when to move toward fully open. The discrete outputs can be held (for a motor-operated control valve) or pulsed (for a ratcheting control valve). · If you use discrete outputs, and optionally if you use the analog output, the valve provides an actual position feedback signal. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 7 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Do not use this instruction in these situations: · You are using a single analog output control valve with a PID loop (the P_PIDE Add-On Instruction or the PIDE built-in instruction). The CVEU signal can be used directly to drive the valve or you can use the P_AOut (Analog Output) Add-On Instruction. · You are using a two-state valve, such as a motor-operated or solenoid-operated valve that is driven only fully open or fully closed and not used to control flow or pressure. Use the appropriate two-state valve instruction instead: · P_ValveMO for motor operated valve (also for a dual solenoid operated valve) · P_ValveSO for a single solenoid operated valve Functional Description The P_ValveC Instruction provides the following capabilities: · Program and operator entry of the target valve position (percentage of the valve opening). · Ramping of the valve position to the entered target at a specified rate of change (percent per second). · Scaling of the Position Feedback from the valve from raw (I/O card or network value) units to percent open. · Monitoring of Interlock conditions. When an Interlock condition is not OK, the valve can be configured to hold its current position or shed to a configured Interlock position. · Monitoring for I/O communication faults. When an I/O communication fault occurs, this instruction can be configured to alarm only, or to shed, either to hold the current position or go to the configured Interlock position. · Provides alarms for Interlock trip, I/O fault, or an actuator-declared fault. · Provides full-open and full-closed status based on user-specified ranges for analog position feedback, or based on optional valve travel limit switches. · Provides an `available' status when the control valve instruction is in Program mode and the valve is capable of being controlled. The diagram shows the functional characteristics of the P_ValveC Add-On Instruction. 8 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 9 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) 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_ValveC_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 http://www.rockwellautomation.com/rockwellautomation/support/pcdc.page. IMPORTANT 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 Table 2 - Visualization Files: Images (.png) FactoryTalk View SE Software All .png files in the images folder 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. FactoryTalk View ME Software All .png files in the images folder Description These 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 Software (RA-BAS) Common Faceplate Objects FactoryTalk View ME Software (RA-BAS-ME) Common Faceplate Objects Description Global objects used on process object faceplates. 10 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Table 3 - Visualization Files: Global Objects (.ggfx) FactoryTalk View SE Software (RA-BAS) P_LLS Graphics Library FactoryTalk View ME Software (RA-BAS-ME) P_LLS Graphics Library (RA-BAS) Process Alarm Objects (RA-BAS-ME) Process Alarm Objects (RA-BAS) Process Diagnostic Objects (RA-BAS-ME) Process Diagnostic Objects (RA-BAS) Process Faceplate Motor Objects (RA-BAS) Process Help Objects (RA-BAS) Process Interlock Objects (RA-BAS-ME) Process Faceplate Motor Objects (RA-BAS-ME) Process Help Objects (RA-BAS-ME) Process Interlock Objects (RA-BAS) Process Mode Objects (RA-BAS-ME) Process Mode Objects Description P_LLS global object device symbols used to build process graphics. Global objects used for managing alarms on process object faceplates. Diagnostic global objects used on process object faceplates. Motor global objects used on process object faceplates. Global objects used for all process objects help displays. Global objects used for managing interlocks and permissives on process object faceplates. Global objects used for managing modes on process object faceplates. The Standard Display files (.gfx file type) in the following table are the Process Library displays that you see at runtime. Table 4 - Visualization Files: Standard Displays (.gfx) FactoryTalk View SE Software (RA-BAS) Common-AnalogEdit (RA-BAS) P_Alarm-Faceplate (RA-BAS) P_Alarm-Help (RA-BAS) P_LLS-Faceplate (RA-BAS) P_LLS-Quick (RA-BAS) P_Mode-Config (RA-BAS) Process Motor Family-Help (RA-BAS) P_Intlk-Faceplate (RA-BAS) P_Perm-Faceplate (RA-BAS) Process Interlock Family-Help FactoryTalk View ME Software N/A (RA-BAS-ME) P_Alarm-Faceplate (RA-BAS-ME) P_Alarm-Help (RA-BAS-ME) P_LLS-Faceplate (RA-BAS-ME) P_LLS-Quick (RA-BAS-ME) P_Mode-Config (RA-BAS-ME) Process Motor Family-Help (RA-BAS-ME) P_Intlk-Faceplate (RA-BAS-ME) P_Perm-Faceplate (RA-BAS-ME) Process Interlock Family-Help Description Faceplate used for analog input data entry. The FactoryTalk View ME faceplates use the native analog input data entry so no file is required. The faceplate that is used for managing alarms for the object. Alarm Help information that is accessed from the P_AIarm faceplate. The faceplate that is used for the object The Quick display that is used for the object The Configuration Display used to configure the P_Mode object. The Help display for Motor objects Optional The interlock faceplate used for the object. Use this file if your Discrete Output has an associated P_Intlk object and you enable navigation to its faceplate from the Discrete Output faceplate. Optional 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. Optional 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. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 11 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Table 5 - Visualization Files: HMI Tags (.csv) FactoryTalk View SE Software N/A FactoryTalk View ME Software FTVME_PlantPAxLib_Tags_3_5_xx.csv where xx = the service release number. Description These tags must be imported into the FactoryTalk View ME project to support switching tabs on any Process Object faceplate. Table 6 - Visualization Files: Macros (.mcr file) FactoryTalk View SE Software NavToP_LLS_Motor In a FactoryTalk View SE application, a macro is a series of commands stored in a text file. In FactoryTalk View ME application, a macro is a list of tag assignments stored in a text file. The following table lists the Macros (.mcr file type) used by the Process Library. FactoryTalk View ME Software N/A Description This macro must be imported into the FactoryTalk View SE project to support navigation to the Motor faceplate from the P_LLS faceplate. 12 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Controller Code This section describes the parameter references for this Add-On Instruction. Analog/Pulsed Control Valve Input Structure Table 7 - P_ValveC Input Parameters Input Parameter Data Type EnableIn BOOL Inp_PosFdbk REAL Inp_OpenLS BOOL Inp_ClosedLS BOOL Inp_ActuatorFault BOOL Inp_IntlkOK BOOL Inp_NBIntlkOK BOOL Inp_IOFault BOOL Inp_Sim BOOL Inp_Hand BOOL Inp_Ovrd BOOL Inp_OvrdCV REAL Inp_Reset BOOL 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. · Command data elements (PCmd_, OCmd_, MCmd_) are used by program logic, operators, and maintenance personnel to request instruction actions. · Setting data elements (PSet_, OSet_) are used by program logic, operators, and maintenance personnel to establish runtime setpoints, thresholds, and so forth. Alias For Mode.Inp_Hand Mode.Inp_Ovrd Default 1 0.0 0 0 0 1 1 0 0 0 0 0.0 0 Description Ladder Diagram: 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. Position feedback from valve (in raw input units). Valve open limit switch. 1 = Confirmed fully open. Valve closed limit switch. 1 = Confirmed fully closed. Valve actuator fault (overload, and so forth): 0 = OK 1 = Fault 1 = Interlocks OK, pulse output valve can be moved. 1 = Non-bypassable interlocks OK, pulse output valve can be moved. Input/output communication status: 0 = OK 1 = Fail Simulation input. When set to 1, the instruction holds the analog output at zero and holds the discrete pulse outputs off while simulating a working valve. When set to 0, the instruction controls the valve position normally. 1 = Select Hand (hard-wired) mode. 1 = Select override (Ovrd) mode. CV target in Override mode (CV engineering units). Input parameter used to programatically reset alarms. When set to 1, all alarms requiring reset are reset. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 13 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Table 7 - P_ValveC Input Parameters Input Parameter Data Type Cfg_ShedHold BOOL Alias For Cfg_ShedOnIOFault BOOL Cfg_SkipRoCLim BOOL Cfg_SetTrack BOOL Cfg_SetTrackOvrdHand BOOL Cfg_HasOpenLS BOOL Cfg_HasClosedLS BOOL Cfg_UseOpenLS BOOL Cfg_UseClosedLS BOOL Cfg_LSFail BOOL Cfg_HasIntlkObj BOOL Cfg_HasCVNav Cfg_PCmdClear Cfg_ProgDefault BOOL BOOL Mode.Cfg_PCmdClear BOOL Mode.Cfg_ProgDefault Cfg_OvrdIntlk Cfg_HasIntlkTripAlm Cfg_HasActuatorFaultAlm Cfg_HasIOFaultAlm BOOL BOOL IntlkTrip.Cfg_Exists ActuatorFault.Cfg_Exists IOFault.Cfg_Exists Default 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 Description 1 = Hold output on interlock or bad CV. 0 = Go to Cfg_IntlkCV. 1 = Take shed action (hold or interlock CV) and alarm on I/O Fault. 0 = Alarm only on I/O Fault. IMPORTANT: If a condition is configured to shed the device on a fault, a reset is required to clear the shed fault to command the device. 1 = Skip Rate of Change limiting in Interlock, Maintenance, Override modes. This parameter is used to set up bumpless behavior of setting parameters 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 programset and operator-set values. 1 = Program/operator settings track override/hand CV. 1 = Valve provides an open limit switch signal. 1 = Valve provides a closed limit switch signal. 1 = Valve Open LS - use for open/closed status. 1 = Valve Closed LS - use for open/closed status. 1 = Both switches On = fail. 0 = Both switches Off = fail. 1 = Tells HMI an interlock object (for example, P_Intlk) is used for Inp_IntlkOK 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_ValveC object has the name 'ValveC123', then its interlock object must be named `ValveC123_Intlk'. 1 = Tells HMI to enable navigation to a connected CV object. When this parameter is 1, program commands are cleared once they are acted 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. This parameter defines the default mode. When this parameter is 1, the mode 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. 1 = Override ignores bypassable interlock. 0 = Override mode uses all interlocks. These parameters determine whether the corresponding alarm exists and is checked or if the alarm does not exist and is not used. When these parameters are 1, the corresponding alarm exists. 14 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Table 7 - P_ValveC Input Parameters Input Parameter Data Type Cfg_IntlkTripResetReqd BOOL Cfg_ActuatorFaultResetReqd Cfg_IOFaultResetReqd Alias For IntlkTrip.Cfg_ResetReqd ActuatorFault.Cfg_ResetReqd IOFault.Cfg_ResetReqd Default 0 Cfg_IntlkTripAckReqd BOOL IntlkTrip.Cfg_AckReqd 1 Cfg_ActuatorFaultAckReqd ActuatorFault.Cfg_AckReqd Cfg_IOFaultAckReqd IOFault.Cfg_AckReqd Cfg_IntlkTripSeverity INT IntlkTrip.Cfg_Severity 500 Cfg_ActuatorFaultSeverity ActuatorFault.Cfg_Severity 1000 Cfg_IOFaultSeverity IOFault.Cfg_Severity 1000 Cfg_MinCV REAL 0.0 Cfg_MaxCV REAL 100.0 Cfg_MaxCVRoCInc REAL 10.0 Cfg_MaxCVRoCDec REAL 10.0 Cfg_IntlkCV REAL 0.0 Cfg_CVEUMin REAL 0.0 Cfg_CVEUMax 100.0 Cfg_CVRawMin REAL 0.0 Cfg_CVRawMax 100.0 Cfg_FdbkRawMin REAL 0.0 Cfg_FdbkRawMax 100.0 Cfg_CycleT REAL 10.0 Cfg_OpenRate REAL 1.0 Cfg_CloseRate REAL 1.0 Cfg_MaxOnT REAL 5.0 Cfg_MinOnT REAL 1.0 Description These parameters determine whether a reset is required to clear the alarm 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 IOFault.OCmd_Reset are required to clear Alm_IOFault 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. These parameters determine whether an acknowledgement is required for an alarm. When these parameters are 1, the acknowledge (ack) bit is cleared when the alarm occurs. An acknowledge command (for example, PCmd_IOFaultAck or IOFault.OCmd_Ack) are 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. These parameters determine the severity of each alarm that gauges the color 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 priorities drive only the indication on the global object and faceplate. The Alarm & Events definition severity drives the color and symbol that is used on the alarm banner and alarm summary as well a the value returned by the FactoryTalk Alarm and Events software display commands. Minimum CV (in CV engineering units, for limiting). Maximum CV (in CV engineering units, for limiting). Maximum allowed CV Rate of Change (increasing) setting (engineering units/second). Maximum allowed CV Rate of Change (decreasing) setting (engineering units/second). CV (target in engineering units) when interlocked (used when Cfg_ShedHold is configured to 0). These parameters must be set to the range of the signal connected to the setting inputs (for example, PSet_CV). The output is then scaled to the values set by Cfg_CVRawMin and Cfg_CVRawMax. These parameters must be set to match the CV range of the output signals (Out_CV) in raw units. EXAMPLE: If your output card expects a value in the range of 4...20 and the P_ValveC's CV is ranged 0...100% , P_ValveC can scale the outputs for you by setting Cfg_CVRawMin to 4, Cfg_CVRawMax to 20, Cfg_CVEUMin to 0, and Cfg_CVEUMax to 100. These parameters must be set to the range of the signal connected to the feedback signal (Inp_PosFdbk). The inputs are then scaled to the values set by Cfg_CVEUMin and Cfg_CVEUMax. Open and close pulse output overall period (seconds). Rate at which valve moves when opening (CV engineering units/second). Rate at whcih valve moves when closing (CV engineering units/second). Open and close pulse output maximum on time (seconds). Open and close pulse output minimum on time (seconds). Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 15 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Table 7 - P_ValveC Input Parameters Input Parameter Data Type Cfg_BumpT REAL Alias For Cfg_Deadtime REAL Cfg_MaxClosedPos REAL PSet_CV REAL PSet_CVRoCLimInc REAL PSet_CVRoCLimDec REAL PSet_Owner DINT OSet_CV REAL OSet_CVRoCLimInc REAL OSet_CVRoCLimDec REAL PCmd_Acq PCmd_Rel BOOL Mode.PCmd_Acq Mode.PCmd_Rel Default 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 PCmd_Lock PCmd_Unlock BOOL Mode.PCmd_Lock 0 Mode.PCmd_Unlock PCmd_Reset BOOL PCmd_IntlkTripAck BOOL PCmd_ActuatorFaultAck PCmd_IOFaultAck PCmd_IntlkTripSuppress BOOL PCmd_ActuatorFaultSuppress PCmd_IOFaultSuppress PCmd_IntlkTripUnsuppress PCmd_ActuatorFaultUnsuppress PCmd_IOFaultUnsuppress PCmd_IntlkTripUnshelve BOOL PCmd_ActuatorFaultUnshelve PCmd_IOFaultUnshelve OCmd_BumpOpen BOOL 0 IntlkTrip.PCmd_Ack 0 ActuatorFault.PCmd_Ack IOFault.PCmd_Ack IntlkTrip.PCmd_Suppress 0 ActuatorFault.PCmd_Suppress IOFault.PCmd_Suppress IntlkTrip.PCmd_Unsuppress ActuatorFault.PCmd_Unsuppress IOFault.PCmd_Unsuppress IntlkTrip.PCmd_Unshelve 0 ActuatorFault.PCmd_Unshelve IOFault.PCmd_Unshelve 0 Description Time to bump valve open or closed (by operator) when feedback bad (seconds). Additional time on first pulse after stop or direction change. Position above which valve is assumed open if limit switches are not used. Program setting of controlled variable (output) (CV engineering units). Program setting of CV Rate of Change limit, increasing (in engineering units/second). Program setting of CV Rate of Change limit, decreasing (in engineering units/second). Program owner Request ID (non-zero) or Release (zero). Operator setting of controlled variable (output) (CV engineering units). Operator setting of CV Rate of Change limit, increasing (in engineering units/second). Operator setting of CV Rate of Change limit, decreasing (in engineering units/second). When Cfg_PCmdClear is 1: · 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 When Cfg_PCmdClear is 1: · 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 · Set PCmd_Reset to 1 to reset all alarms requiring reset · This parameter is always reset automatically · Set PCmd_<Alarm>Ack to 1 to Acknowledge alarm · The parameter is reset automatically When Cfg_PCmdClear is 1: · 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 automaticallyS · Set PCmd_<Alarm>Unshelve to 1 to Unshelve alarm · The parameter is reset automatically Operator command to bump valve open (available if feedback bad). 16 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Table 7 - P_ValveC Input Parameters Input Parameter Data Type OCmd_BumpClose BOOL OCmd_Bypass BOOL OCmd_Check BOOL MCmd_Disable BOOL MCmd_Enable BOOL MCmd_Acq BOOL Alias For Mode.MCmd_Acq MCmd_Rel BOOL Mode.MCmd_Rel OCmd_AcqLock OCmd_Unlock OCmd_Reset OCmd_ResetAckAll BOOL Mode.OCmd_AcqLock BOOL Mode.OCmd_UnlockRel BOOL BOOL Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Default 0 0 0 0 0 0 0 0 0 0 0 Description Operator command to bump valve closed (available if feedback bad). Operator command to bypass all bypassable interlocks. Operator command to check (not bypass) all interlocks. Maintenance command to disable control valve. Maintenance command to enable control valve. Maintenance command to acquire ownership (Operator/Program/Override to Maintenance) Maintenance command to release ownership (Maintenance to Operator/ Program/Override) Operator command to acquire (Program to Operator)/lock ownership. Operator command to unlock/release (Operator to Program) ownership. Operator command to reset all alarms requiring reset. Operator command to acknowledge and reset all alarms and latched shed conditions. Analog/Pulsed Control Valve 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 also can 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 also can 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. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 17 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Table 8 - P_ValveC Output Parameters Output Parameter EnableOut Data Type BOOL Out_CV REAL Out_Open BOOL Out_Close BOOL Val_Pos REAL Val_CVSet REAL Val_CVOut REAL Val_CVRoCLimInc REAL Val_CVRoCLimDec REAL Val_CVEUMin REAL Val_CVEUMax REAL SrcQ_IO SINT SrcQ Val_Fdbk SINT Val_Sts SINT Val_Fault SINT · Ready data elements (Rdy_) are bit outputs of the instruction used by the HMI to enable and disable Command buttons and Setting entry fields. Alias For Description Enable Output: The EnableOut signal is not manipulated by this instruction. Its output state always reflects EnableIn input state. CV output in raw (I/O Card) units. Pulse output to drive valve open. Pulse output to drive valve closed. Valve actual position from feedback (CV engineering units). Value of selected CV Setting (before rate limiting, CV engineering units). Value of CV output (after clamping and ramping) (CV engineering units). Value of CV Rate of Change Limit, increasing (in engineering units/second). Value of CV Rate of Change Limit, decreasing (in engineering units/second). Minimum of scaled range = Min (Cfg_CVEUMin, Cfg_CVEUMax). Maximum of scaled range = Max (Cfg_CVEUMin, Cfg_CVEUMax.) I/O signal source and quality. Final position 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) Device feedback includes the following: 0 = Moving 1 = Closed 2 = Opened 3 = Limit Switch Failure Device status includes the following: 0 = At Target 1 = Ramping to close 2 = Ramping to open 3 = Clamped at minimum 4 = Clamped at maximum 5 = Closing to target (bump) 6 = Opening to target (bump) 33 = Disabled Device fault status includes the following: 0 = None 32 = I/O Fault 34 = Configuration Error 18 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Table 8 - P_ValveC Output Parameters Output Parameter Val_Mode Data Type SINT Alias For Mode.Val Val_Owner DINT Val_Notify SINT Sts_CVInfNaN BOOL Sts_PosInfNaN BOOL Sts_BumpOpen BOOL Sts_BumpClose BOOL Sts_Ramping BOOL Sts_Clamped BOOL Sts_SkipRoCLim BOOL Sts_Active BOOL Sts_Available BOOL Sts_Bypass BOOL Sts_BypActive BOOL Sts_Disabled BOOL Sts_LSFail BOOL Sts_NotRdy BOOL Nrdy_Disabled BOOL Nrdy_CfgErr Nrdy_Intlk Nrdy_IOFault Nrdy_NoMode Sts_MaintByp BOOL Sts_AlmInh BOOL Sts_Err BOOL Description The current mode is shown with status bits and also as an enumeration `Val_Mode' as 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) Current object owner ID (0 = not owned). Current alarm level and acknowledgement (enumeration): 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) 1 = Selected CV is Infinite or Not A Number (1.$, 1.#NaN). 1 = Inp_PosFdbk is Infinite or Not A Number. 1 = Bump open requested or active. 1 = Bump close requested or active. 1 = CV is ramping to target. 1 = CV Set is clamped at CVMinimum or CVMaximum. 1 = Rate of Change limiting was skipped this scan (Maintenance, Override, Interlock, Hand). 1 = CV is greater than Cfg_MaxClosedPos, show graphic symbol as `active'. 1 = Control valve available for control by automation (Program). 1 = Bypassable interlocks are bypassed. 1 = Bypassing active (Bypassed or Maintenance). 1 = Output is disabled. 1 = Limit switch overlap failure. 1 = Device is not ready to be operated. 1 = Device Not Ready: · Device disabled by Maintenance · Configuration error · Interlock not OK · I/O Fault (shed requires reset) · Device Logic disabled/No mode. 1 = Device has a maintenance bypass function active. 1 = One or more alarms shelved, disabled or suppressed. 1 = Error in configuration: see detail bits for reason. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 19 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Table 8 - P_ValveC Output Parameters Output Parameter Err_Limit Err_EU Err_Raw Err_Fdbk Err_Timer Err_Alarm Sts_Hand Sts_Maint Sts_Ovrd Sts_Prog Sts_Oper Sts_ProgOperLock Sts_NoMode Sts_MAcqRcvd Sts_IntlkTrip Sts_ActuatorFault Sts_IOFault Data Type BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL Alm_IntlkTrip BOOL Alm_ActuatorFault Alm_IOFault Ack_IntlkTrip BOOL Ack_ActuatorFault Ack_IOFault Sts_IntlkTripDisabled BOOL Sts_ActuatorFaultDisabled Sts_IOFaultDisabled Sts_IntlkTripShelved BOOL Sts_ActuatorFaultShelved Sts_IOFaultShelved Sts_IntlkTripSuppressed BOOL Sts_ActuatorFaultSuppressed Sts_IOFaultSuppressed Rdy_BumpOpen BOOL Rdy_BumpClose Rdy_Bypass Rdy_Check Rdy_Reset Alias For Description 1 = Error in configuration: CV limits swapped. 1 = Error in configuration: Scaled CV engineering units minimum = maximum. 1 = Error in configuration: Raw output scaling minimum = maximum. 1 = Error in configuration: Raw feedback scaling minimum = maximum. 1 = Error in configuration: Invalid timer preset (use 0...2,147,483). 1 = Error in configuration: Alarm minimum on time or severity. Mode.Sts_Hand 1 = Mode is Hand (supersedes Maintenance, Override, Program, Operator). Mode.Sts_Maint 1 = Mode is Maintenance (supersedes Override, Program, Operator). Mode.Sts_Ovrd 1 = Mode is Override (supersedes Program, Operator). Mode.Sts_Prog 1 = Mode is Program (auto). Mode.Sts_Oper 1 = Mode is Operator (manual). Mode.Sts_ProgOperLock 1 = Program or operator has requested Mode Lock. Mode.Sts_NoMode 1 = No mode (disabled because EnableIn is false). Mode.Sts_MAcqRcvd 1 = Maintenance Acquire command received this scan. IntlkTrip.Inp 1 = Status: CV held or forced by interlock not OK. ActuatorFault.Inp 1 = Actuator fault detected (input). IOFault.Inp 0 = I/O communication OK. 1 = I/O communication failure. IntlkTrip.Alm 1 = Alarm: CV held or forced by interlock not OK. ActuatorFault.Alm 1 = Alarm: Actuator fault detected. IOFault.Alm 1 = I/O Fault alarm. IntlkTrip.Ack 1 = Interlock trip alarm, actuator fault alarm, or I/O fault alarm is acknowledged. ActuatorFault.Ack IOFault.Ack IntlkTrip.Disabled 1 = Interlock trip alarm, actuator fault alarm, or I/O fault alarm is disabled by maintenance. ActuatorFault.Disabled IOFault.Disabled IntlkTrip.Shelved 1 = Interlock trip alarm, actuator fault alarm, or I/O fault alarm is shelved by operator. ActuatorFault.Shelved IOFault.Shelved IntlkTrip.Suppressed 1 = Interlock trip alarm, actuator fault alarm, or I/O fault alarm is suppressed by program. ActuatorFault.Suppressed IOFault.Suppressed 1 = Ready to receive OCmd_BumpOpen, OCmd_BumpClose, OCmd_Bypass, OCmd_Check, or OCmd_Reset (enables HMI button). 20 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Table 8 - P_ValveC Output Parameters Output Parameter Rdy_Disable Rdy_Enable Rdy_ResetAckAll Rdy_CV Rdy_CVRoCLimInc Rdy_CVRoCLimDec P_ValveC Data Type BOOL BOOL BOOL BOOL Alias For Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Description 1 = Ready to receive MCmd_Disable or MCmd_Enable (enables HMI button). 1 = At least one alarm or latched shed condition requires reset or acknowledgment. 1 = Ready to receive OSet_CV, OSet_CVRoCLimInc, or OSet_CVRoCLimDec (enables data entry field). Unique parameter name for auto-discovery. Analog/Pulsed Control Valve Local Configuration Tags Configuration parameters that are array, string, or structure data types cannot be configured as parameters for Add-On Instructions. Configuration parameters of these types appear as local tags to the Add-On Instruction. Local tags can be configured through the HMI faceplates or in Studio 5000 Logix Designer® application by opening the Instruction Logic of the Add-On Instruction instance and then opening the Data Monitor on a local tag. These parameters cannot be modified by using controller logic or Logix Designer application export/import functionality. Table 9 - P_ValveC Local Configuration Tags Tag Name Cfg_CVNavTag Data Type Default STRING_NavTag ' ' Cfg_Desc Cfg_EU Cfg_Label Cfg_Tag STRING_40 STRING_8 STRING_20 STRING_20 'Control Valve' '% Open' 'Control Valve' 'P_ValveC' Description Tagname for destination of CV Navigation button. IMPORTANT: This tag does not work in FactoryTalk ME Software. Description for display on HMI. This string is shown in the title bar of the faceplate. Engineering units for display on HMI. Label for graphic symbol displayed on HMI. This string appears on the graphic symbol. Description for display on HMI. This string is shown in the title bar of the faceplate. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 21 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Operations This section describes the primary operations for Add-On Instructions. Modes This instruction uses the following standard modes, which are implemented by using an embedded P_Mode Add-On Instruction. Table 10 - Modes Mode Operator Program Override Maintenance Hand No Mode Description The Operator owns control of the group. Operator commands (OCmd_) and Operator settings (OSet_) from the HMI are accepted. Program logic owns control of the group. Program commands (PCmd_) and Program settings (PSet_) are accepted. Priority logic owns control of the group and supersedes Operator and Program control. Override Inputs (Inp_OvrdCmd and other Inp_OvrdXxxx values) are accepted. If so configured, bypassable interlocks and permissives are bypassed. Maintenance owns control of the group and supersedes Operator, Program, and Override control. Operator commands and settings from the HMI are accepted. Bypassable interlocks and permissives are bypassed, and device timeout checks are not processed. Hardwired logic or other logic outside the instruction owns control of the group. The instruction tracks the state of the device for bumpless transfer back to one of the other modes. The device is disabled and has no owner because the EnableIn input is false. The main instruction Logic routine is not being scanned. See Execution section for more information on EnableInFalse processing. See Rockwell Automation Library of Process Objects: Common Mode Block (P_Mode) Reference Manual, publication SYSLIB-RM005, for more information. Alarms This instruction uses the following alarms, which are implemented by using embedded P_Alarm and P_Gate Add-On Instructions. Alarm Name Can't Start Can't Stop Interlock Trip P_Alarm Name P_Gate Name CantStart None CantStop None IntlkTrip None Description Raised when there are not enough motors available to start to satisfy the entered Demand. Too many motors are faulted or stopped in a mode other than Program. Raised when there are not enough motors available to stop to satisfy the entered Demand. Too many motors are running in a mode other than Program. Raised when the motor is running and an interlock 'not OK' condition causes the motor to stop. If interlocks are not bypassed, a bypassable interlock or a non-bypassable interlock 'not OK' condition initiates an interlock trip. If interlocks are bypassed, only a non-bypassable interlock 'not OK' condition initiates an interlock trip. Parameters of the P_Alarm object can be accessed by using the following convention: [P_Alarm Name].[P_Alarm Parameter]. 22 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Simulation Simulation in P_ValveC holds the analog output at zero and holds the discrete pulse outputs off while simulating a working valve. The I/O fault input is ignored. You must set the Inp_Sim parameter in the controller to `1' to enable simulation. The Loopback Test icon is displayed at the bottom left of the Operator faceplate indicating the device is in simulation. When you have finished in simulation, set the Inp_Sim parameter in the controller to `0' to return to normal operation. Execution The following table explains the handling of instruction execution conditions. Condition EnableIn False (false rung) Powerup (prescan, first scan) Postscan Description Processing for EnableIn False (false rung) is handled the same as if the Control Valve were Disabled by Command. The discrete open and close outputs are de-energized. The analog CV output is de-energized (zeroed). The Control Valve instruction is shown as Disabled on the HMI. The mode is shown as NO MODE. Processing of modes and alarms on pre-Scan and Powerup is handled by the embedded P_Mode and P_Alarm instructions - refer to their specifications for details. On Power-up, the Control Valve ownership is cleared and any commands received while the controller was in PROG mode are discarded; otherwise, all data remains in the state it was in at power down. No SFC Postscan logic is provided. See the Logix5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010, for more information. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 23 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Programming Examples This section shows two examples for using the P_Valve C instruction. Example 1: Manual Loading Station This example uses the P_ValveC instruction to implement a manual loading station for a pressure control valve that is used to regulate gas supply to a process. The control valve in our example has open and closed limit switches and a position feedback. The desired valve position is provided by the operator through the HMI faceplate. The field inputs for position feedback, open limit switch, and closed limit switch (as shown in the illustration) are connected to the instruction inputs Inp_PosFdbk, Inp_OpenLS, and Inp_ClosedLS. The Out_CV is connected to the field output going to the valve. The parameters Cfg_HasOpenLS and Cfg_HasClosedLS are both set to 1 so the instruction knows the field is providing open and closed limit switches. The parameters Cfg_UseOpenLS and Cfg_UseClosedLS are set to 1 so that these limit switches are used to determine device status. The analog output card is expecting an output in units of 4...20 mA; however, the faceplate shows the value in terms of 0...100% open. Therefore, the scaling parameters are set as follows: Cfg_CVEUMin: 0 Cfg_CVEUMax: 100 Cfg_CVRawMin: 4 Cfg_CVRawMax: 20 The feedback signal is also provided in units of 4...20 mA, so the parameters Cfg_FdbkRawMin and Cfg_FdbkRawMax are set to 4 and 20, respectively. We want to limit the operator entry of the desired valve position to 80% open by setting Cfg_MaxCV to 80. 24 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 The parameters Cfg_HasIOFaultAlm, Cfg_HasActuatorFaultAlm, and Cfg_HasIntlkTripAlm are all set to 0 to indicate that no alarms are necessary for this device. Lastly, configure the following local configuration tags to drive the text on the HMI faceplate. In this example, they are set as follows: Cfg_Tag : Cfg_Label: Cfg_Desc: Cfg_EU: PV110812 Gas Supply Valve Gas Supply Valve Manual Loading Station % Example 2: Ratcheting Control Valve This example uses the P_ValveC instruction to automate a ratcheting valve that is driven open or closed by using two discrete outputs to control flow. The flow valve in our example has a position feedback. The desired valve position is provided by an output of a control algorithm that is elsewhere in logic. In this example, the field inputs for position feedback are wired (or connected) to the instruction input Inp_PosFdbk. Out_Open and Out_Close are connected to the field outputs going to the valve. The input to the instruction to set valve position is wired to PSet_CV. Cfg_ProgDefault is set to 1 so the instruction defaults to Program mode. The analog output is not used; however, the faceplate shows the value in terms of 0...100% open. Therefore, the scaling parameters are set as follows: Cfg_CVEUMin: Cfg_CVEUMAx: Cfg_CVRawMin: Cfg_CVRawMax: 0 100 0 - default 100 - default The feedback signal is provided in units of 4...20 mA, so the parameters Cfg_FdbkRawMin and Cfg_FdbkRawMax are set to 4 and 20, respectively. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 25 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) In this example, the ratcheting control valve is to be adjusted by cycling the open or close valve command for a period of time proportional to the amount the valve is to be moved. Cfg_CycleT is set to 10, to define the overall period of the cycle to cycle on and off the open or close output. Cfg_OpenRate and Cfg_OpenCloseRate are both set to 1, which means the required valve output is energized 1 second for every 1% difference between the desired position and the feedback position. Cfg_MaxOnT is set to 5 so that the output is energized for no more than 5 seconds of the 10-second cycle time to allow for the valve to move, and the feedback to be verified before the next cycle. Cfg_MinOnT is set to 1 so that the output does not pulse if the calculated pulse time is less than 1 second. The parameters Cfg_HasIOFaultAlm, Cfg_HasActuatorFaultAlm, and Cfg_HasIntlkTripAlm are all set to 0 to indicate that no alarms are necessary for this device. Lastly, configure the following local configuration tags to drive the text on the HMI faceplate. In this example, they are set as follows: Cfg_Tag : Cfg_Label: Cfg_Desc: Cfg_EU: FV110813 Flow Control Valve Flow Ratcheting Control Valve % 26 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Display Elements A display element (global object) is created once and can be referenced multiple times on multiple displays in an application. When changes are made to the original (base) object, the instantiated copies (reference objects) are automatically updated. Use of global objects, in conjunction with tag structures in the ControlLogix system, aid consistency and save engineering time. Table 11 - P_ValveC Display Elements Description Display Element Name GO_ProcessControlValve Display Element Description Normal controlled valve symbol for horizontal pipe. GO_ProcessControlValve1 Inverted controlled valve symbol for horizontal pipe. GO_ProcessControlValve2 GO_ProcessControlValve3 Controlled valve symbol for vertical pipe (pipe to the left). Controlled valve symbol for vertical pipe (pipe to the right). Common attributes of the P_ValveC global objects include the following: · Animated graphic symbol representing the device · Current value of the CV with engineering unit text · Status/Quality indicators · Mode indicator · Maintenance Bypass indicator · Label · Color changing alarm border that blinks on unacknowledged alarm · Alarm indicator that changes color and symbol with the severity of an alarm Border Valve Graphic Symbol Label Alarm Indicator Maintenance Bypass Indicator Status / Quality Indicator Mode Indicator Status/Quality Indicator Current CV Engineering Units Text Value Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 27 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Status/Quality Indicators One of these symbols appears on the graphic symbol when the described condition is true. Graphic Symbol Description Invalid configuration. Data quality bad/failure. Data Quality degraded: uncertain, test, simulation, substitution, or out of specification. The group has been disabled. Device not ready to operate. Motor running. Motor idle. Motor not controllable. No symbol displayed I/O communication and quality good, configuration valid. TIP When the Invalid Configuration Indicator appears, you can find what configuration setting is invalid by following the indicators. Click the graphic symbol to open the faceplate. The Invalid Configuration indicator appears next to the appropriate tab at the top of the faceplate to guide you in finding the configuration error. Once you navigate to the tab, the misconfigured item is flagged with this indicator or appear in a magenta box. For the Analog/Pulsed Control Valve Instruction, the Invalid Configuration indicator appears under the following conditions: · CV Scaled EU Minimum and EU Maximum scaling parameters are set to the same value. · CV Output Raw Minimum and Raw Maximum scaling parameters are set to the same value. · Position Feedback Raw Minimum and Raw Maximum scaling parameters are set to the same value. · Maximum CV clamp value is less than the Minimum CV clamp value. · Pulse output Cycle Time is set to a value less than zero or greater than 2,147,483 seconds. · Alarm Minimum On Time is set to a value less than zero or greater than 2,147,483 seconds. · Alarm Severity is set to a value less than 1 or greater than 1000. 28 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 TIP When the Not Ready indicator appears, you can find what condition is preventing operation by following the indicators. Click the graphic symbol to open the faceplate. The Not Ready indicator appears next to the appropriate tab at the top of the faceplate to guide you in finding the condition. When you navigate to the tab, the condition preventing operation is flagged. For the Analog/Pulsed Control Valve Instruction, the Device Not Ready indicator appears under the following conditions: · Device has been disabled by Maintenance. · There is a configuration error. · Interlock is not OK. · There has been an I/O Fault and shed requires reset. Device Logic has been disabled or there is no mode. Mode Indicators One of these symbols appears on the right side of the graphic symbol to indicate the mode of the object instruction. Graphic Symbol Transparent Description Operator mode (if the default mode is Operator and the current mode is Operator, the mode indicator is transparent). Operator mode (if the default mode is Program). Operator mode locked. Transparent Program mode (if the default mode is Program and the current mode is Program, the mode indicator is transparent). Program mode (if the default mode is Operator). Program mode locked. Override mode Maintenance mode. Hand mode No mode. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 29 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) TIP The images provided for the Operator and Program default modes are transparent; therefore, no mode indicators are visible if the device is in its default mode. This behavior can be changed by replacing the image files for these mode indicators with images that are not transparent. See Rockwell Automation Library of Process Objects: Common Mode Block (P_Mode) Reference Manual, publication SYSLIB-RM005, for more information. Alarm Indicators One of these symbols appears on the left side of the label to indicate the described alarm condition and the alarm border and label background change color. The alarm border and label background blink if acknowledgement of an alarm condition is required. Once the alarm is acknowledged, the alarm border and label background remain the color that corresponds to the severity of the alarm. Symbol Border and Label Background No change in color White Blue Description Alarm Inhibit: an alarm is suppressed by the Program, disabled by Maintenance, or shelved by the Operator. Return to normal (no alarm condition), but a previous alarm has not been acknowledged. Low severity alarm. Yellow Medium severity alarm. Red High severity alarm. Magenta Urgent severity alarm. No symbol No change in color No alarm or alarm inhibit condition, and all alarms are acknowledged. See Rockwell Automation Library of Process Objects: Common Alarm Block (P_Alarm) Reference Manual, publication SYSLIB-RM002, for more information. Maintenance Bypass Indicator This symbol appears to the right of the label to indicate that a maintenance bypass has been activated. 30 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 TIP When the Maintenance Bypass Indicator appears, you can find what condition was bypassed by following the indicators. Click the graphic symbol to open the faceplate. The Maintenance Bypass Indicator appears next to the appropriate tab at the top of the faceplate to guide you in finding the bypass. Once you navigate to the tab, the bypassed item is flagged with this indicator. For the Analog/Pulsed Control Valve Instruction, the Maintenance bypass indicator appears when the bypassable interlocks and permissives have been bypassed. Using Display Elements The global objects for P_ValveC can be found in the global object file (RA-BAS) Process Graphics Library.ggfx. Complete the following steps to use a global object. 1. Copy it from the global object file and paste it in the display file. 2. In the display file, right-click the global object file and choose Global Object Parameter Values. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 31 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) The Global Object Parameter Values dialog box appears. 3. Type the tag or value in the Value column as specified in the Description column. TIP You can click the ellipsis (...) to browse and select a tag. Values for items marked `(optional)' can be left blank. 4. Click OK. The global object parameters are as follows. Parameter #102 #103 #120 #121 #122 Required Y Y N N Y Description Object tag to point to the name of the associated object Add-On Instruction in the controller. Path used for display navigation features to other objects. Include program scope if tag is a program scope tag. Additional parameter to pass to the display command to open the faceplate. Typically used to define position for the faceplate. Additional parameter to pass to the display command to open the faceplate. if defining X and Y coordinate, separate parameters so that X is defined by #120 and Y is defined by #121. This lets the same parameters be used in subsequent display commands originating from the faceplate. These are the options for the global object display: 0 = Always show faceplate 1 = Show Quick Display for users without Maintenance access (Code C) 2 = Always show Quick Display 32 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Quick Display Analog/Pulsed Control Valve (P_ValveC) Chapter 4 The Quick Display screen provides a means for operators to perform simple interactions with the P_ValveC instruction instance. From the Quick Display, you can navigate to the faceplate for full access for operation, maintenance, and configuration. Click to Navigate to Full Faceplate Faceplate The P_ValveC faceplate consists of five tabs and each tab consists of one or more pages. Each faceplate contains the value of local configuration tags Cfg_Tag and Cfg_Desc in the title bar. The Operator tab is displayed when the faceplate is initially opened. Click the appropriate icon at the top of the faceplate to access a specific tab. Maintenance Diagnostics Help Operator Engineering Alarms Exit The faceplate provides the means for operators, maintenance personnel, engineers, and others to interact with the P_ValveC Instruction instance, including viewing its status and values and manipulating it through its commands and settings. When a given input is restricted via FactoryTalk View security, the required user security code letter is shown in the tables that follow. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 33 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Operator Tab The Faceplate initially opens to the Operator (`Home') tab. From here, an operator can monitor the device status and manually operate the device when it is in Operator mode. The Operator tab for an analog output shows the following information: · Current mode (Operator, Program, Override, Maintenance, or Hand) · Requested Mode indicator (appears only if the Operator or Program mode has been superseded by another mode) · Bar graph that displays the current output Controlled Variable (CV) as a yellow pointer and the target CV as a gray line · Bar graph range is the minimum and maximum engineering units (scaled) values · Target CV (before rate limiting) · Increasing and decreasing rates of change for the output CV · Analog output state (At Target, Ramping Up, or Ramping Down) · Interlock state · Input Source and Quality indicator (See 'SrcQ' in the Output parameters table on page 18 for details). 34 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Mode Indicator Ramping Status Bump Valve Closed and Bump Valve Open Buttons Current Controlled Variable Bargraph Controlled Variable (CV) Object Reset and Acknowledge All Alarms Button Operator Mode Unlock and Lock Command Buttons Controlled Variable Output Value Interlock Indicator Input Source and Quality Indicator Simulation Input Source and Quality Icon The following table shows the functions included on the Operator tab. Table 12 - Operator Tab Description Function Action Click to release Operator mode lock. Security Manual Device Operation (Code B) Click to lock in Operator mode. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 35 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Table 12 - Operator Tab Description Function Action Click to request Program mode. Click to request Operator mode. Security Manual Device Operation (Code B) Click to bump valve open (visible only when position feedback is bad). Click to bump valve closed (visible when only position feedback is bad). Click to reset and acknowledge all alarms. Click to open the Interlock faceplate. Acknowledge Alarms (Code F) None Controlled Variable (CV) Output Value Increase Change Limit Decrease Change Limit Controlled Variable (CV) Object Type a new value for the CV. This entry is available only in Operator or Maintenance mode unless Bumpless Program/Operator Transition is not selected on the configuration screen. Normal Production (Code A) Click to enter a new value for the CV maximum Rate of Change when increasing. This entry is available only in Operator or Maintenance mode unless Bumpless Program/Operator Transition is not selected on the configuration screen. Click to enter a new value for the CV maximum Rate of Change when decreasing. This entry is available only in Operator or Maintenance mode unless Bumpless Program/Operator Transition is not selected on the configuration screen. Click this object to navigate to the faceplate specified by the None associated tag name. Allow Navigation on Engineering Tab Page 3 on page 49 must be checked and a tag name typed in to enable this object. If the object is configured to have an interlock object (for example, Cfg_HasIntlkObj is true), the interlock indication becomes a button that opens the faceplate of the source object used as an interlock (often this is a P_Intlk interlock object). If the object is not configured in this way, the interlock is indicator only. See the Rockwell Automation Library of Process Objects: Interlocks with First Out and Bypass (P_Intlk) Reference Manual, publication SYSLIB-RM004. 36 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 One of these symbols appears to indicate the described interlock condition. Graphic Symbol Description One or more conditions not OK Non-bypassed conditions OK All conditions OK, bypass active All conditions OK Alarm indicators appear on the Operator tab when the corresponding alarm occurs. Actuator Fault Alarm Interlock Trip Alarm I/O Fault Alarm Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 37 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) The following table shows the alarm status on the Operator tab. Table 13 - Operator Tab Alarm Status Graphic Symbol Alarm Status In alarm (active alarm) In alarm and acknowledged Out of alarm but not acknowledged Alarm suppressed (by Operator; alarm is logged but not displayed) Alarm disabled (by Maintenance) Alarm Shelved (by Operator) 38 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Maintenance Tab Maintenance personnel use the information and controls on the Maintenance tab to make adjustments to device parameters, troubleshoot and temporarily work around device problems, and disable the device for routine maintenance. The Maintenance tab has three pages. Maintenance Tab Page 1 Page 1 of the Maintenance tab shows the following information: · Current mode (Operator, Program, Override, Maintenance, or Hand) · Requested Modes indicator - This display highlights all modes that have been requested. The leftmost highlighted mode is the active mode. · Whether the analog output is enabled or disabled · Interlock Bypassed/Enabled Indicator Mode Indicator Requested Modes Indicator Maintenance Mode Acquire and Release Command Buttons Analog Output Enable and Disable Command Buttons Interlock Check Enable and Bypass Buttons Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 39 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) The following table shows the functions on page 1 of the Maintenance tab. Table 14 - Maintenance Tab Page 1 Description Function Action Click to release valve from Maintenance mode. Security Equipment Maintenance (Code C) Configuration Parameters None Click to place valve in Maintenance None mode. Click to Enable valve. None Click to Disable valve. None Click to enable checking of all interlocks and permissives. Disable None Alarms (Code H) Click to bypass checking of None bypassable interlocks and permissives. In Override Mode, bypass interlocks that can be bypassed Check so that bypassable interlocks and permissives are bypassed in Override mode. Bumpless Program/ Operator Transition Check so that program settings track operator settings in Operator mode, and operator settings track program settings in Program mode for bumpless transfer. Equipment Maintenance (Code C) Bumpless Transition from Override/Hand to Program/Operator Check so that program and operator settings of the CV track the output CV when the mode is Hand or Override. Cfg_OvrdIntlk Cfg_SetTrack Cfg_SetTrackOvrdHand See the Operations section for more information on modes. 40 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Maintenance Tab Page 2 Page 2 of the Maintenance tab shows the following information: · Source of the data that is used to determine the Output CV along with the configuration and device states that affect the final output value · Program mode CV Target · Override mode CV Target · Hand mode CV Target · Current Target CV · Program mode Rate of Change Limits · Operator mode Rate of Change Limits · Maximum allowed Rate of Change Limit entry values · Output CV Current Value that is being used Operator/Maintenance CV Entry (in Engineering Units) Hold Last Good Value CV Target on I/O Fault or Interlock Maximum/Minimum CV Configuration Maximum Increase/Decrease Rate of Change Configuration CV Out (Scaled) TIP A green path indicates normal operation while a yellow path indicates non-normal operation. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 41 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) The following table shows a function on page 2 of the Maintenance tab. Table 15 - Maintenance Tab Page 2 Description Function Action Security Configuration Parameters Operator/Maintenance Type the CV in engineering units. Normal None CV Entry (in This entry is available in Operator Operation of engineering units) mode and Maintenance mode. It is Devices available in other modes if Bumpless (Code A) Program/Operator Transition is not selected on Maintenance Tab Page 1. Maximum/Minimum CV Configuration Type the clamping limits for the Controlled Variable in engineering units. Clamping limits are enforced in Operator and Program modes only. Configuration · Cfg_MinCV & Tuning · Cfg_MaxCV Maintenance (Code D) CV Target When Interlocked or I/O Fault When Hold Not Enabled Type the interlock target CV in engineering units. This value is used for the CV when interlocked or on an I/O Fault, but only if Hold Last Good Value is not selected. Cfg_IntlkCV Increase/Decrease Rate Type the CV Rate of Change Limit in Normal None of Change Limits engineering units per second. This Operation of value determines the rate at which Devices the CV output changes upon a (Code A) change in CV target. A value of zero disables rate of change limiting. The maximum allowed value for this entry is determined by the Maximum Rate of Change Limit (below). This entry is available in Operator mode and Maintenance mode. It is available in other modes if Bumpless Program/Operator Transition is not selected on Maintenance Tab Page 1. Maximum Rate of Change Limits Type the maximum allowed value for Configuration · Cfg_MaxCVRoCInc the Rate of Change Limits in & Tuning · Cfg_MaxCVRoCDec engineering units per second. Maintenance (Code D) Hold Last Good Value When checked, the CV holds at the last good value when an Interlock trips or an I/O Fault occurs. When cleared, the CV is set to the configured Interlock CV value when an Interlock trips or an I/O Fault occurs. Engineering Cfg_ShedHold Configuration (Code E) 42 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Maintenance Tab Page 3 Page 3 of the Maintenance tab lets you define settings for failure checking and valve position. The following table shows a function on page 3 of the Maintenance tab. Table 16 - Maintenance Tab Page 3 Description Function Action Security Configuration Parameters Use Valve Closed limit switch for failure checking Check to enable the Valve Closed limit Equipment Cfg_UseClosedLS switch for failure checking. Maintenance (Code C) Use Valve Open limit switch for failure checking Check to enable the Valve Open limit switch for failure checking. Cfg_UseOpenLS Position above which valve is assumed open if limit switches not used Type a value to indicate the position assumed open if limit switches are not used. Configuration Cfg_MaxClosedPos & Tuning Maintenance (Code D) Open and close Type a value to indicate the time (in pulse output overall seconds) for an open and close pulse. period (seconds) Cfg_CycleT Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 43 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Table 16 - Maintenance Tab Page 3 Description Function Action Security Configuration Parameters Additional time on Type a value to indicate the first pulse after stop additional time (in seconds) on the or direction change first pulse after a stop or direction (seconds) change. Configuration Cfg_Deadtime and Tuning Maintenance (Code D) Open and close pulse output maximum on time (seconds) Type a value to indicate the maximum pulse output time (in seconds) for opening and closing a value. Cfg_MaxOnT Open and close pulse output minimum on time (seconds) Type a value to indicate the minimum pulse output time (in seconds) for opening and closing a value. Cfg_MinOnT Time to bump valve open or closed (by Operator) when feedback is Bad (seconds) Type a value to indicate the amount of time to bump the valve open or closed when feedback is bad. Cfg_BumpT 44 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Engineering Tab The Engineering tab provides access to device configuration parameters and ranges, options for device and I/O setup, displayed text, and faceplate-to-faceplate navigation settings, and for initial system commissioning or later system changes. The Engineering tab has three pages. Engineering Tab Page 1 Page 1 of the Engineering tab lets you configure the description, label, tag, and CV units for the device. Mode Configuration Button Configure Device Description, Label, and Tag Text Maximum/Minimum Raw Feedback Maximum/Minimum Scaled Output Maximum/Minimum Scaled CV CV Engineering Units Text Maximum/Minimum Unscaled Output Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 45 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) The following table lists the functions on page 1 of the Engineering tab. Table 17 - Engineering Tab Page 1 Description Function Action Click to navigate to the Mode Configuration display. Security None Configuration Parameters See Mode Configuration display on page 46 Description Label Type the device description to show on the faceplate title bar. Type the label to show on the Graphic Symbol. Engineering Configuration (Code E) Cfg_Desc Cfg_Label Tag Type the tag name to show on the Cfg_Tag faceplate title bar and in the tooltip. IMPORTANT: Pausing the mouse over these fields displays a tool tip with the configured Logix tag/path. Maximum/Minimum Type a maximum and minimum range Raw Feedback for the raw feedback signal. Cfg_FdbkRawMax Cfg_FdbkRawMin Maximum/Minimum Type a maximum and minimum range Scaled Feedback for the controlled variable in engineering units (for scaling). Cfg_CVEUMax Cfg_CVEUMin Units for Scaled Range Type an engineering unit for the controlled variable. Cfg_EU Maximum/Minimum Type a maximum and minimum range Scaled Output for the controlled variable in engineering units for scaling). Cfg_CVEUMax Cfg_CVEUMin Maximum/Minimum Type maximum and minimum range Unscaled Output (in raw units) to use for output unscaling to I/O. Cfg_CVRawMax Cfg_CVRawMin Mode Configuration Display This display lets you select the default mode for the object by selecting the appropriate mode. IMPORTANT If no mode is being requested, changing the default mode changes the mode of the instruction. You must have FactoryTalk View security code E to select the default mode on this display. 46 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Engineering Tab Page 2 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 The following table shows the functions on page 2 of the Engineering tab. Table 18 - Engineering Tab Page 2 Description Function Valve has Closed Limit Switch Valve has Open Limit Switch Fault when both limit switches are On Off Clear Program Commands on Receipt Action Check if the valve provides a closed limit switch signal. Check if the valve provides an open limit switch signal. Click to enable a fault when both limit switches are On, or when both switches are Off. Security Configuration Parameters Engineering Cfg_HasClosedLS Configuration (Code E) Cfg_HasOpenLS Cfg_LSFail Check to set this parameter to the following: · ON to use Edge-triggered Program Commands (default). · OFF to use Level-triggered Program Commands. Cfg_PCmdClear Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 47 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Table 18 - Engineering Tab Page 2 Description Function Action Security Configuration Parameters Skip Rate of change Limiting in Interlock Trip, Maintenance, and Override modes Check to have the CV immediately go to its target value or configured Interlock CV value when an Interlock trips or the instruction is placed in Maintenance or Override mode. Clear the checkbox to have the CV always use rate of change limiting (ramping) of the CV output. Engineering Configuration (Code E) Cfg_SkipRoCLim Enable navigation to interlock object Check if an interlock instruction is used with this output. 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_ValveC object has the name 'ValveC123', then its Interlock object must be named `ValveC123_Intlk'. Cfg_HasIntlkObj Rate at which valve Type a value to indicate the rate the moves when value moves when opening. opening (% open per second) Cfg_OpenRate Rate at which valve Type a value to indicate the rate the moves when value moves when closing. closing % open per second) Cfg_CloseRate If the object is configured to have an interlock object (for example, Cfg_HasIntlkObj is true), the interlock indication becomes a button that opens the faceplate of the source object used as an interlock (often this is a P_Intlk interlock object). If the object is not configured in this way, the interlock is indicator only. See Rockwell Automation Library of Process Objects: Interlock with First Out and Bypass (P_Intlk) Reference Manual, publication SYSLIB-RM004 for more information. 48 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Engineering Tab Page 3 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 The following table shows the functions on page 3 of the Engineering tab. Table 19 - Engineering Tab Page 3 Description Function Shed Action: Hold Last Good Value Shed Action: Use set value Action Security Configuration Parameters Click to have the output hold its Engineering Cfg_ShedHold current value when an Interlock trips Configuration or an I/O Fault occurs (if configured (Code E) as shed trigger). Click to have the output go to its configured Interlock CV value when an Interlock trips or an I/O Fault occurs (if configured as a shed trigger). Type a value for the interlock CV value to be used if shed is configured to go to a set value. Cfg_IntlkCV Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 49 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Table 19 - Engineering Tab Page 3 Description Function Shed on I/O Fault Shed on Interlock Trip Allow Navigation to CV Object Object Tag name Action Security Configuration Parameters Check to have the CV perform the configured Shed Action (hold or go to the Interlock CV value) when an I/O Fault occurs. When checked, the Shed Trigger is latched; that is, it is necessary to issue a Reset command to return to normal operation after the I/O Fault condition clears. Clear the checkbox to have an I/O Fault not trigger the configured Shed Action. The output continues to operate normally. Engineering Configuration (Code E) Cfg_ShedOnIOFault The device always performs the None shed action on an Interlock Trip. This item cannot be unchecked. It is displayed as a reminder of the Interlock Trip function. Check to permit navigation to the faceplate of the object which is the source of this object's CV. Cfg_HasCVNav Type the name of the CV object to navigate to when the CV display on the Home tab is clicked. Cfg_CVNavTag 50 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Diagnostics Tab The Diagnostic tab provides indications helpful in diagnosing or preventing device problems, which can include specific reasons a device is 'Not Ready', device warnings and faults, warning and fault history, and predictive/preventive maintenance data. The previous figure shows that the valve is not ready because the Device Logic is disabled or there is no mode. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 51 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Alarms Tab The Alarms tab displays each configured alarm for the P_ValveC instruction. The icon on the tab for the alarms page changes color based on the current active alarms. A blinking alarm icon indicates that one or more alarms must be acknowledged or the device must be reset. Alarm Names Alarm Acknowledge Command Button Alarm Severity Indicators Reset and Acknowledge All Alarms Command Button Click an alarm name to open the P_Alarm faceplate for that alarm. From the P_Alarm faceplate, you can configure and perform additional operations on the alarm. If an alarm is active, the panel behind the alarm changes color to match the severity of the alarm. The color of the bell icon at the top of the faceplate shows the severity of the highest active alarm, and the icon blinks if any alarm is unacknowledged or requires reset. 52 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Analog/Pulsed Control Valve (P_ValveC) Chapter 4 Table 20 - Alarm Severity Colors Color Magenta Red Yellow Blue White (bell icon) Background (Light Gray) Definition Urgent High Medium Low Alarm has cleared but is unacknowledged No alarm The following table shows the functions on the Alarms tab. Table 21 - Alarms Tab Description Function Alarm Name Action Click an alarm name to open the associated P_Alarm faceplate. Click to acknowledge the alarm. Security None Acknowledge Alarms (Code F) Click to reset and acknowledge all alarms. When the Reset and Acknowledge All Alarms button is enabled, the panel behind the alarm blinks, indicating the alarm requires acknowledgement or reset. The Alarm Acknowledge button is enabled if the alarm requires acknowledgment. Click the button with the check mark to acknowledge the alarm. See Rockwell Automation Library of Process Objects: Common Alarm Block (P_Alarm) Reference Manual, publication SYSLIB-RM002, for more information. Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 53 Chapter 4 Analog/Pulsed Control Valve (P_ValveC) Analog/Pulsed Control Valve Faceplate Help The Faceplate Help is divided into two pages. Faceplate Help Page 1 Faceplate Help Page 2 54 Rockwell Automation Publication SYSLIB-RM034E-EN-P - February 2017 Rockwell Automation Support Rockwell Automation provides technical information on the Web to assist you in using its products. At http://www.rockwellautomation.com/support you can find technical and application notes, sample code, and links to software service packs. You can also visit our Support Center at https://rockwellautomation.custhelp.com/ for software updates, support chats and forums, technical information, FAQs, and to sign up for product notification updates. In addition, we offer multiple support programs for installation, configuration, and troubleshooting. For more information, contact your local distributor or Rockwell Automation representative, or visit http://www.rockwellautomation.com/services/online-phone. Installation Assistance If you experience a problem within the first 24 hours of installation, review the information that is contained in this manual. You can contact Customer Support for initial help in getting your product up and running. United States or Canada 1.440.646.3434 Outside United States or Canada Use the Worldwide Locator at http://www.rockwellautomation.com/rockwellautomation/support/overview.page, or contact your local Rockwell Automation representative. New Product Satisfaction Return Rockwell Automation tests all of its products to help ensure that they are fully operational when shipped from the manufacturing facility. However, if your product is not functioning and needs to be returned, follow these procedures. United States Outside United States Contact your distributor. You must provide a Customer Support case number (call the phone number above to obtain one) to your distributor to complete the return process. Please contact your local Rockwell Automation representative for the return procedure. Documentation Feedback Your comments will help us serve your documentation needs better. If you have any suggestions on how to improve this document, complete this form, publication RA-DU002, available at http://www.rockwellautomation.com/literature/. Rockwell Automation maintains current product environmental information on its website at http://www.rockwellautomation.com/rockwellautomation/about-us/sustainability-ethics/product-environmental-compliance.page. Rockwell Otomasyon Ticaret A.., Kar Plaza Merkezi E Blok Kat:6 34752 çerenköy, stanbul, Tel: +90 (216) 5698400 Publication SYSLIB-RM034E-EN-P - February 2017 Supersedes Publication SYSLIB-RM034D-EN-P - January 2016 Copyright © 2017 Rockwell Automation, Inc. All rights reserved. Printed in the U.S.A.Acrobat Distiller 11.0 (Windows)