Rockwell Automation Library of Steam Table Instructions

Similar documents
Reference Manual. Rockwell Automation Library of Process Objects: Condition Gate Delay (P_Gate) Version 3.5

PowerMonitor 1000 Unit Catalog Number Upgrade

Reference Manual. Rockwell Automation Sequencer Object Version 4.0

PowerMonitor 5000 USB Driver

InView Communication Modules

Disconnect Switch and Circuit Breaker Mechanism Specifications Bulletin Number 1494

PowerMonitor 5000 Unit Catalog Number Upgrade

PCI Expansion Slot Kit for 6181P (1500P) Series D Integrated Display Computer

InView Firmware Update

ControlLogix Redundancy Update and Module Replacement Guidelines

Logix5000 Controllers Nonvolatile Memory Card

SequenceManager Controls

PHOTOSWITCH Distance Measurement Sensor

Logix5000 Controllers Function Block Diagram

Kinetix 6000 Axis Module and Shunt Module

Application Technique. Products: Guardmaster 440C-CR30 Configurable Safety Relay, PowerFlex 755 Drive. Safety Rating: CAT. 3, PLe to ISO : 2008

Integrated Power and Automation

Color-Sensing Connected Components Building Block. Quick Start

Teaching Color-Sensing Connected Components Building Block. Quick Start

Catalog Numbers 9308-RSFB64ENE, 9308-RSFB256ENE, 9308-RSFB1024ENE

Adapter Kit for PanelView 1200/1200e Touch Screen Terminal Cutout

Kinetix 300 Memory Module Programmer

PowerFlex 755 Common DC Input Drives, Frames Interlock Assembly and Precharge Assembly Left-front Cover Retrofit Kit

Starter and Circuit Breaker Application with PowerFlex 7000

Logix5000 Control Systems: Connect a PanelView Plus Terminal over an EtherNet/IP Network

Logix5000 Control Systems: Connect POINT I/O Modules over a DeviceNet Network

Allen-Bradley Motors

Quick Start. PlantPAx System Application Templates System Release 3.0

MicroLogix 1400 Embedded Web Server

Rockwell Automation Library of Process Objects: EtherNet/IP Instrumentation for PlantPAx DCS Version 4.0

Logix5000 Controllers Messages

Import/Export Project Components. Programming Manual

Solar Combiner Enclosure

Studio 5000 View Designer Getting Started Guide

CompactLogix Power Supplies Specifications

GuardLogix: Dual Zone Gate Protection with E-stop and Trojan Interlock Switch

Quick Start. Original Instructions. ClearPlot Basic. Catalog Number 1492-PLOTBSC

GuardLogix: Safety Gate Application with SensaGuard Switch

ControlLogix SIL2 System Configuration

Allen-Bradley to-230V Conversion Kit Cat. Nos FC FC075

Using GuardShield Light Curtains (Safe 4, Micro 400, or 440L), with ArmorBlock Guard I/O and SmartGuard Controller

Simple Package Measurement Connected Components Building Block. Quick Start

Studio 5000 Architect Getting Results Guide

POINT I/O and ArmorPOINT I/O EtherNet/IP Adapters

GuardLogix Controller to Kinetix 6000 Drive with Safe-Off using EtherNet/IP CompactBlock Guard I/O Module

FLEX 5000 Digital I/O Modules

USB-to-DeviceNet Cable

1756 ControlLogix Chassis Specifications

GuardLogix: TLS Guardlocking Application

ProcessLogix R510.0 Server Installation Instructions

GV3000/SE General Purpose (Volts/Hertz) and Vector Duty AC Drive, HP, 230V AC

Quick Start. Logix5000 Control Systems: Connect Kinetix 350 Drives over an EtherNet/IP Network

Logix5000 Controllers Produced and Consumed Tags

Logix5000 Controllers Add On Instructions

Logix5000 Controllers Add-On Instructions

ControlLogix HART Analog I/O Modules

Differential Liquid/Gas Pressure Transmitter

Micro800 Programmable Controllers: Getting Started with Motion Control Using a Simulated Axis

Controller-based Temperature Control Application Building Block

PlantPAx Logix Batch and Sequence Manager

DeviceNet Communications

Digital ac/dc (24V) Input Module

Logix5000 Controllers Produced and Consumed Tags

Throughout this manual we use notes to make you aware of safety considerations:

Micro800 Controllers Starter Pack Quick Start

Using TLS3-GD2 Guardlocking Interlock with ArmorBlock Guard I/O and SmartGuard Controller

Product Compatibility and Download Center

IntelliCENTER IEC Integration Unit

Actuator Subsystems Stop Cat. 0 or 1 via an Integrated Safety Controller and PowerFlex 527 Drive with Hardwired Safe Torque Off Safety Function

Zener Barriers Bulletin 937Z

DeviceNet Network Configuration

PowerFlex 70 Safe-Off Control EtherNet/IP Guard I/O Safety Module and GuardLogix Integrated Safety Controller

Safety Function: Actuator Subsystems Stop Category 1 via the PowerFlex 525 and PowerFlex 527 Drives with Safe Torque-off

Logix 5000 Controllers Program Parameters

Fork Sensors. Technical Data. Plastic Fork Sensors

Application Technique. Products: Guardmaster 440C-CR30 Configurable Safety Relay, PowerFlex 525 AC Drive

PanelView Plus 7 Standard Terminals

PlantPAx Logix Batch and Sequence Manager

Rockwell Automation Library of Process Objects: HART Modules for PlantPAx DCS

Product Compatibility and Download Center

SensaGuard 18 mm Barrels

PowerFlex 700H AC Drive Safe Torque Off Option

DriveTools SP v5.05 Software Patch

Allen-Bradley Replacements

Micro800 Programmable Controllers: Getting Started with CIP Client Messaging

DriveGuard. Safe-Off Option for PowerFlex 70 AC Drives. User Manual.

Using a Guard Locking Interlock Switch and Light Curtains with DeviceNet Guard I/O and a GuardLogix Controller

PowerFlex 700H Drive Firmware Revision

L01 - Effective Design Methods for Integrating Safety Using Logix Controllers. For Classroom Use Only!

L12 - Studio 5000 and Logix: Basics Lab. For Classroom Use Only!

PanelView 5510 Terminal Specifications

Kinetix 6200 and Kinetix 6500 IAM and AM Power Modules

Trusted Output Power Distribution Unit (Diode Protected)

Installation Instructions

DriveTools SP Version 5.06 Software Patch

Getting Results Guide. FactoryTalk Gateway

Application Technique. Safety Function: Safety Camera with E-stop

Trusted Power Distribution Unit 15-Way Fused

Kinetix 5500 Servo Drives

Trusted 40 Channel Digital Input Versatile FTA

Transcription:

Reference Manual Original Instructions Rockwell Automation Library of Steam Table Instructions Version 4.0

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).

Table of Contents Preface Additional Resources........................................... 6 Chapter 1 General Steam Table (P_Steam) Guidelines..................................................... 7 Functional Description......................................... 7 Controller Code............................................... 8 General Steam Table Input Structure........................ 8 General Steam Table Output Structure....................... 8 Operations.................................................... 9 Execution.................................................. 9 Saturated Steam Pressure (P_PSat) Saturated Steam Temperature (P_TSat) Steam Properties Given Enthalpy and Entropy (P_Steam_hs) Chapter 2 Guidelines.................................................... 11 Functional Description........................................ 11 Controller Code.............................................. 12 Saturated Steam Pressure Input Structure.................... 12 Saturated Steam Pressure Output Structure.................. 12 Operations................................................... 13 Execution................................................. 13 Chapter 3 Guidelines.................................................... 15 Functional Description........................................ 15 Controller Code.............................................. 16 Saturated Steam Temperature Input Structure............... 16 Saturated Steam Temperature Output Structure............. 16 Operations................................................... 17 Execution................................................. 17 Chapter 4 Guidelines.................................................... 19 Functional Description........................................ 19 Controller Code.............................................. 20 Steam Given Enthalpy and Entropy Input Structure.......... 20 Steam Given Enthalpy and Entropy Output Structure........ 20 Operations................................................... 21 Execution................................................. 21 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 3

Table of Contents Steam Properties Given Pressure and Enthalpy (P_Steam_ph) Steam Properties Given Pressure and Entropy (P_Steam_ps) Chapter 5 Guidelines.................................................... 23 Functional Description........................................ 23 Controller Code.............................................. 24 Steam Given Pressure and Enthalpy Input Structure.......... 24 Steam Given Pressure and Enthalpy Output Structure........ 24 Operations................................................... 25 Execution................................................. 25 Chapter 6 Guidelines.................................................... 27 Functional Description........................................ 27 Controller Code.............................................. 28 Steam Given Pressure and Entropy Input Structure........... 28 Steam Given Pressure and Entropy Output Structure......... 28 Operations................................................... 29 Execution................................................. 29 4 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Preface Figure 1 - PlantPAx System Implementation and Documentation Strategy The Rockwell Automation Library of Steam Table Instructions is an extension of the Rockwell Automation Library of Process Instructions to provide steam table calculations. The Steam Table instructions can be used to calculate enthalpy, entropy, and specific volume for steam as well as temperature or pressure in saturated steam, in accordance with the International Association for the Properties of Water and Steam Industrial Formulation 1997 (IAPWS- IF97). Define and Procure Install Prep Develop Operate Selection Guide PROCES-SG001 Virtualization User Manual 9528-UM001 Infrastructure User Manual PROCES-UM001 Application User Manual PROCES-UM003 Verify and Troubleshoot User Manual PROCES-UM004 Reference Manual PROCES-RM001 Reference Manual PROCES-RM001 Reference Manual PROCES-RM001 Library of Process Objects PROCES-RM002 Define and Procure Helps you understand the elements of the PlantPAx system to make sure that you buy the proper components. Install Provides direction on how to install the PlantPAx system. Prep Provides guidance on how to get started and learn the best practices to follow before you develop your application. Develop Describes the actions and libraries necessary to construct your application that resides on the PlantPAx system. Operate Provides guidance on how to verify and maintain your systems for operation of your plant. For the latest compatible software information and to download the Rockwell Automation Library of Logix Diagnostic 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. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 5

Preface 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 Logix5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010 Rockwell Automation Library of Process Objects: Basic Analog Input (P_AIn) Reference Manual, publication SYSLIB-RM001 Description Provides information to assist with equipment procurement for your PlantPAx system. Provides characterized recommendations for implementing your PlantPAx system. Provides information for designing, configuring, and programming Add-On Instructions. Provides details on the Basic Analog Input (P_AIn) instructions for a Logix-based controller. 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 PROCES-RM004D-EN-P - July 2018

Chapter 1 General Steam Table (P_Steam) The P_Steam (General Steam Table) Add-On Instruction calculates the enthalpy, entropy, and specific volume for steam (or water) at the given pressure and temperature. Steam properties are calculated in accordance with the International Association for the Properties of Water and Steam Industrial Formulation 1997 (IAPWS-IF97). The table shows the allowable input range. Temperature Pressure Min Max Min Max 0.0 C (32.0 F) 800.0 C (1472 F) 0.0 MPa (0.0 psia) 100.0 MPa (14503.77 psia) 0.0 C (32.0 F) 2000 C (3632 F) 0.0 MPa (0.0 psia) 50 MPa (7251.885 psia) Guidelines Use this instruction when you have measured or calculated the temperature and pressure of steam and you need to know the steam s enthalpy, entropy, or specific volume. (Specific volume is the inverse of density.) Do not use this instruction in these situations: You are working with a substance other than liquid water or vapor (steam). You are working outside the range of validity for this instruction. Functional Description The steam table instructions are calculation functions only, and no HMI components are provided. If a faceplate or graphic symbol (bar, trend, numeric display) or alarms are required for a calculated variable, send the variable to a P_AIn (Analog Input) instruction for display and alarming. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 7

Chapter 1 General Steam Table (P_Steam) Controller Code This section describes the parameter references for this Add-On Instruction. General Steam Table Input Structure Table 1 - P_Steam Input Parameters 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. Input Parameter Data Type Default Description EnableIn BOOL 1 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. Inp_P REAL 14.696 Input steam pressure (absolute) (MPa or psia). Inp_T REAL 212 Input steam temperature ( C or F). Cfg_SI_Eng BOOL 1 1 = English units (psia, F, BTU, ft 3, lbm). 0 = SI units (MPa, C, kj, m 3, kg). General Steam Table Output Structure Table 2 - P_Steam Output Parameters 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. 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. Output Parameter Data Type Description EnableOut BOOL Enable output: System defined parameter. Out_Region DINT 1 = Liquid 2 = Superheated 3 = Supercritical 4 = Saturated 5 = HighTemp Out_Enthalpy REAL Enthalpy (kj/kg or BTU/lbm). Out_Entropy REAL Entropy (kj/kg K or BTU/lbm F). Out_Volume REAL Specific volume (m 3 /kg or ft 3 /lbm). Sts_InpErr BOOL Error: Input pressure/temperature is outside of calculation range. 8 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

General Steam Table (P_Steam) Chapter 1 Operations The P_Steam Add-On Instruction only performs calculations and does not have any modes or alarms. To provide High-High, High, Low, and/or Low-Low threshold alarms for any of the variables (enthalpy, entropy, and specific volume), use a P_AIn Input instruction for each such variable. Refer to the Rockwell Automation Library of Process Objects: Basic Analog Input (P_AIn) Reference Manual, publication SYSLIB-RM001, for more information. Execution The following table explains the handling of instruction execution conditions. Condition EnableIn False (false rung) Powerup (prescan, first scan) Postscan Description No EnableInFalse logic is provided. The instruction maintains its last state when EnableIn is false. No Prescan or First Scan logic is provided. The P_Steam instruction performs its calculation every scan when EnableIn is true. No SFC Postscan logic is provided. Refer to the Logix 5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010, for more information. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 9

Chapter 1 General Steam Table (P_Steam) Notes: 10 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Chapter 2 Saturated Steam Pressure (P_PSat) This instruction calculates the Absolute Pressure (in MPa or psia) of Saturated Steam given the temperature (in degrees Celsius or Fahrenheit). This instruction also reports the enthalpy, entropy, and specific volume for liquid and (saturated) vapor at the given temperature. Saturation curve and properties are calculated in accordance with the International Association for the Properties of Water and Steam Industrial Formulation 1997 (IAPWS-IF97). The table shows the allowable temperature range. Temperature Min Max 0.0 C (32.0 F) 373.946 C (705.1028 F) Guidelines Use this instruction when you have measured or calculated the temperature of steam and you need to know the corresponding pressure of saturated steam. This instruction also provides the enthalpy, entropy, and specific volume of liquid water and of saturated steam vapor at the given temperature. Do not use this instruction in these situations: You are working with a substance other than liquid water or vapor (steam). You are working outside the range of validity for this instruction. Functional Description The P_PSat instruction is a calculation function only, and no HMI components are provided. If a faceplate or graphic symbol (bar, trend, numeric display) or alarms are required for a calculated variable, send the variable to a P_AIn (Analog Input) instruction for display and alarming. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 11

Chapter 2 Saturated Steam Pressure (P_PSat) Controller Code This section describes the parameter references for this Add-On Instruction. Saturated Steam Pressure Input Structure Table 3 - P_PSat Input Parameters 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. Input Parameter Data Type Default Description EnableIn BOOL 1 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. Inp_T REAL 212 Input steam temperature ( C or F). Cfg_SI_Eng BOOL 1 1 = English units (psia, F, BTU, ft 3, lbm). 0 = SI units (MPa, C, kj, m 3, kg). Saturated Steam Pressure Output Structure Table 4 - P_PSat Output Parameters 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. 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. Output Parameter Data Type Description EnableOut BOOL Enable Output: system defined parameter. Out_PSat REAL Calculated saturated steam pressure (absolute) (MPa or psia). Out_Enthalpy_L REAL Liquid enthalpy (kj/kg or BTU/lbm). Out_Enthalpy_V REAL Vapor enthalpy (kj/kg or BTU/lbm). Out_Entropy_L REAL Liquid entropy (kj/kg K or BTU/lbm F). Out_Entropy_V REAL Vapor entropy (kj/kg K or BTU/lbm F). Out_Volume_L REAL Liquid specific volume (m 3 /kg pr ft 3 /lbm) Out_Volume_V REAL Vapor-specific volume (m 3 /kg or ft 3 /lbm) Sts_InpErr BOOL Error: Input temperature is outside of calculation range. 12 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Saturated Steam Pressure (P_PSat) Chapter 2 Operations The P_PSat Add-On Instruction only performs calculations and does not have any modes or alarms. To provide High-High, High, Low, and/or Low-Low threshold alarms for any of the variables (pressure, enthalpy, entropy, or specific volume), use a P_AIn Input instruction for each such variable. Refer to the Rockwell Automation Library of Process Objects: Basic Analog Input (P_AIn) Reference Manual, publication SYSLIB-RM001, for more information. Execution The following table explains the handling of instruction execution conditions. Condition EnableIn False (false rung) Powerup (prescan, first scan) Postscan Description No EnableInFalse logic is provided. The instruction maintains its last state when EnableIn is false. No Pre-scan or First Scan logic is provided. The P_PSat instruction performs its calculation every scan when EnableIn is true. No SFC Postscan logic is provided. Refer to the Logix 5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010, for more information. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 13

Chapter 2 Saturated Steam Pressure (P_PSat) Notes: 14 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Chapter 3 Saturated Steam Temperature (P_TSat) This instruction calculates the temperature (in degrees Celsius or Fahrenheit) of saturated steam given the absolute pressure (in MPa or psia). This instruction also reports the enthalpy, entropy, and specific volume for liquid and (saturated) vapor at the given pressure. Saturation curve and properties are calculated in accordance with the International Association for the Properties of Water and Steam Industry Formulation 1977 (IAPWS-IF97). The table shows the allowable pressure range. Pressure Min Max 0.000611213 MPa (0.08864893 psia) 22.064 MPa (3200.1118 psia) Guidelines Use this instruction when you have measured or calculated the pressure of steam and you need to know the corresponding temperature of saturated steam. This instruction also provides the enthalpy, entropy, and specific volume of liquid water and of saturated steam vapor at the given pressure. Do not use this instruction in these situations: You are working with a substance other than liquid water or vapor (steam). You are working outside the range of validity for this instruction. Functional Description The P_TSat instruction is a calculation function only, and no HMI components are provided. If you need a faceplate and/or alarms, send the calculated flow at standard conditions to a P_AIn (Analog Input) instruction for alarming and display. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 15

Chapter 3 Saturated Steam Temperature (P_TSat) Controller Code This section describes the parameter references for this Add-On Instruction. Saturated Steam Temperature Input Structure Table 5 - P_TSat Input Parameters 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. Input Parameter Data Type Default Description EnableIn BOOL 1 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. Inp_P REAL 14.696 Input steam pressure (absolute) (MPa or psia). Cfg_SI_Eng BOOL 1 1 = English units (psia, F, BTU, ft 3, lbm). 0 = SI units (MPa, C, kj, m 3, kg). Saturated Steam Temperature Output Structure Table 6 - P_TSat Output Parameters 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. 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. Output Parameter Data Type Description EnableOut BOOL Enable Output: system defined parameter. Out_TSat REAL Calculated saturated steam temperature ( C or F) Out_Enthalpy_L REAL Liquid enthalpy (kj/kg or BTU/lbm). Out_Enthalpy_V REAL Vapor enthalpy (kj/kg or BTU/lbm). Out_Entropy_L REAL Liquid entropy (kj/kg K or BTU/lbm F). Out_Entropy_V REAL Vapor entropy (kj/kg K or BTU/lbm F). Out_Volume_L REAL Liquid specific volume (m 3 /kg or ft 3 /lbm). Out_Volume_V REAL Vapor specific volume (m 3 /kg or ft 3 /lbm). Sts_InpErr BOOL Error: Input pressure is outside of calculation range. 16 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Saturated Steam Temperature (P_TSat) Chapter 3 Operations The P_TSat Add-On Instruction only performs calculations and does not have any modes or alarms. To provide High-High, High, Low, and/or Low-Low threshold alarms for any of the variables (temperature, enthalpy, entropy, and specific volume), use a P_AIn Input instruction for each such variable. Refer to the Rockwell Automation Library of Process Objects: Basic Analog Input (P_AIn) Reference Manual, publication SYSLIB-RM001, for more information. Execution The following table explains the handling of instruction execution conditions. Condition EnableIn False (false rung) Powerup (prescan, first scan) Postscan Description No EnableInFalse logic is provided. The instruction maintains its last state when EnableIn is false. No Pre-scan or First Scan logic is provided. The P_TSat instruction performs its calculation every scan when EnableIn is true. No SFC Postscan logic is provided. Refer to the Logix 5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010, for more information. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 17

Chapter 3 Saturated Steam Temperature (P_TSat) Notes: 18 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Chapter 4 Steam Properties Given Enthalpy and Entropy (P_Steam_hs) The P_Steam_hs (Steam Properties Given Enthalpy and Entropy) Add-On Instruction calculates the pressure, temperature, specific volume (Region 3), and vapor fraction (Region 4) at the given enthalpy and entropy. Steam properties are calculated by using the steam table inverse equations in accordance with the International Association for the Properties of Water and Steam Industrial Formulation 1997 (IAPWS-IF97). The table shows the allowable input range. Enthalpy Entropy Min Max Min Max -0.0416 kj/kg (0.0179 BTU/lbm) 4160.66 kj/kg (1789.95 BTU/lbm) -0.0086 kj/(kg. K (0.0 BTU/(lb. K)) 0.0021 kj/(kg. K (2.85 BTU/(lb. K)) Guidelines Use this instruction when you have measured or calculated the enthalpy and entropy of steam and you need to know the steam s temperature, pressure, specific volume, or vapor fraction. Do not use this instruction in these situations: You are working with a substance other than liquid water or vapor (steam). You are working outside the range of validity for this instruction. Functional Description The steam table instructions are calculation functions only, and no HMI components are provided. If a faceplate or graphic symbol (bar, trend, numeric display) or alarms are required for a calculated variable, send the variable to a P_AIn (Analog Input) instruction for display and alarming. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 19

Chapter 4 Steam Properties Given Enthalpy and Entropy (P_Steam_hs) Controller Code This section describes the parameter references for this Add-On Instruction. Steam Properties Given Enthalpy and Entropy Input Structure Table 7 - P_Steam_hs Input Parameters 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. Input Parameter Data Type Default Description EnableIn BOOL 1 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. Inp_h REAL 0.0 Input steam enthalpy (kj/kg or BTU/lbm). Inp_s REAL 0.0 Input steam entropy (kj/kg K or BTU/lbm F). Cfg_SI_Eng BOOL 1 1 = English units (psia, F, BTU, ft 3, lbm). 0 = SI units ( C, kj, m 3, kg). Steam Properties Given Enthalpy and Entropy Output Structure Table 8 - P_Steam_hs Output Parameters 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. 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. Output Parameter Data Type Description EnableOut BOOL Enable output: system-defined parameter. Out_Region DINT 1 = Liquid 2 = Superheated 3 = Supercritical 4 = Saturated Out_Temperature REAL Output steam temperature ( C or F). Out_Pressure REAL Output steam pressure (absolute) (MPa or PSIA). Out_Volume REAL Output-specific volume (m 3 /kg or ft 3 /lbm). 20 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Steam Properties Given Enthalpy and Entropy (P_Steam_hs) Chapter 4 Table 8 - P_Steam_hs Output Parameters Output Parameter Data Type Description Out_VaporFrac REAL Output vapor fraction (mass fraction, dimensionless). Sts_InpErr BOOL Error: Input pressure/temperature is outside of calculation range. Sts_OutErr BOOL Error: Inp_h and Inp_s produce an invalid result (not in Regions 1 4 or not valid properties of water/steam). Operations The P_Steam_hs Add-On Instruction only performs calculations and does not have any modes or alarms. To provide High-High, High, Low, and/or Low-Low threshold alarms for any of the variables (temperature, pressure, and vapor fraction), use a P_AIn Input instruction for each such variable. Refer to the Rockwell Automation Library of Process Objects: Basic Analog Input (P_AIn) Reference Manual, publication SYSLIB-RM001, for more information. Execution The following table explains the handling of instruction execution conditions. Condition EnableIn False (false rung) Powerup (prescan, first scan) Postscan Description No EnableInFalse logic is provided. The instruction maintains its last state when EnableIn is false. No Prescan or First Scan logic is provided. The P_Steam instruction performs its calculation every scan when EnableIn is true. No SFC Postscan logic is provided. Refer to the Logix 5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010, for more information. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 21

Chapter 4 Steam Properties Given Enthalpy and Entropy (P_Steam_hs) Notes: 22 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Chapter 5 Steam Properties Given Pressure and Enthalpy (P_Steam_ph) The P_Steam_ph (Steam Properties Given Pressure and Enthalpy) Add-On Instruction calculates the temperature and specific volume (Region 3) at the given pressure and enthalpy. Steam properties are calculated by using the steam table inverse equations in accordance with the International Association for the Properties of Water and Steam Industrial Formulation 1997 (IAPWS-IF97). The table shows the allowable input range. Pressure Enthalpy Min Max Min Max 0.0 MPa absolute (0.0 psia) 100.0 MPa absolute (14503.77 psia) -0.0416 kj/kg (-0.0179 BTU/lbm) 4160.66 kj/kg (1789.95 BTU/lbm) Guidelines Use this instruction when you have measured or calculated the pressure and enthalpy of steam and you need to know the steam s temperature and specific volume. Do not use this instruction in these situations: You are working with a substance other than liquid water or vapor (steam). You are working outside the range of validity for this instruction. Functional Description The steam table instructions are calculation functions only, and no HMI components are provided. If a faceplate or graphic symbol (bar, trend, numeric display) or alarms are required for a calculated variable, send the variable to a P_AIn (Analog Input) instruction for display and alarming. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 23

Chapter 5 Steam Properties Given Pressure and Enthalpy (P_Steam_ph) Controller Code This section describes the parameter references for this Add-On Instruction. Steam Properties Given Pressure and Enthalpy Input Structure Table 9 - P_Steam_ph Input Parameters 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. Input Parameter Data Type Default Description EnableIn BOOL 1 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. Inp_P REAL 0.0 Input steam pressure (absolute) (MPa or psia). Inp_h REAL 0.0 Input steam enthalpy (kj/kg or BTU/lbm) Cfg_SI_Eng BOOL 1 1 = English units (psia, F, BTU, ft 3, lbm). 0 = SI units (MPa, C, kj, m 3, kg). Steam Properties Given Pressure and Enthalpy Output Structure Table 10 - P_Steam_ph Output Parameters 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. 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. Output Parameter Data Type Description EnableOut BOOL Enable output: system-defined parameter. Out_Region DINT 1 = Liquid 2 = Superheated 3 = Supercritical 4 = Saturated Out_Temperature REAL Output steam temperature ( C or F). Out_Volume REAL Output-specific volume (m 3 /kg or ft 3 /lbm). Sts_InpErr BOOL Error: Inp_p or Inp_h is outside of calculation range. Sts_OutErr BOOL Error: Inp_p and Inp_h produce an invalid result (not in Regions 1 4 or not valid properties of water/steam). 24 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Steam Properties Given Pressure and Enthalpy (P_Steam_ph) Chapter 5 Operations The P_Steam_ph Add-On Instruction only performs calculations and does not have any modes or alarms. To provide High-High, High, Low, and/or Low-Low threshold alarms for any of the variables (temperature or specific volume), use a P_AIn Input instruction for each such variable. Refer to the Rockwell Automation Library of Process Objects: Basic Analog Input (P_AIn) Reference Manual, publication SYSLIB-RM001, for more information. Execution The following table explains the handling of instruction execution conditions. Condition EnableIn False (false rung) Powerup (prescan, first scan) Postscan Description No EnableInFalse logic is provided. The instruction maintains its last state when EnableIn is false. No Prescan or First Scan logic is provided. The P_Steam instruction performs its calculation every scan when EnableIn is true. No SFC Postscan logic is provided. Refer to the Logix 5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010, for more information. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 25

Chapter 5 Steam Properties Given Pressure and Enthalpy (P_Steam_ph) Notes: 26 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Chapter 6 Steam Properties Given Pressure and Entropy (P_Steam_ps) The P_Steam_ps (Steam Properties Given Pressure and Entropy) Add-On Instruction calculates the temperature and specific volume (Region 3) at the given pressure and entropy. Steam properties are calculated by using the steam table inverse equations in accordance with the International Association for the Properties of Water and Steam Industrial Formulation 1997 (IAPWS-IF97). The table shows the allowable input range. Pressure Entropy Min Max Min Max 0.0 MPa (0.0 psia) 100.0 MPa (14503.77 psia) -0.0086 kj/(kg. K) (-0.0021 BTU/ (lb. F)) 11.92 kj/(kg. K) (2.85 BTU/(lb. F)) Guidelines Use this instruction when you have measured or calculated the pressure and entropy of steam and you need to know the steam s temperature and specific volume. Do not use this instruction in these situations: You are working with a substance other than liquid water or vapor (steam). You are working outside the range of validity for this instruction. Functional Description The steam table instructions are calculation functions only, and no HMI components are provided. If a faceplate or graphic symbol (bar, trend, numeric display) or alarms are required for a calculated variable, send the variable to a P_AIn (Analog Input) instruction for display and alarming. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 27

Chapter 6 Steam Properties Given Pressure and Entropy (P_Steam_ps) Controller Code This section describes the parameter references for this Add-On Instruction. Steam Properties Given Pressure and Entropy Input Structure Table 11 - P_Steam Input Parameters 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. Input Parameter Data Type Default Description EnableIn BOOL 1 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. Inp_P REAL 0.0 Input steam pressure (absolute) (MPa or psia). Inp_s REAL 0.0 Input steam entropy (kj/kg K or BTU/lbm F). Cfg_SI_Eng BOOL 1 1 = English units (psia, F, BTU, ft 3, lbm). 0 = SI units (MPa, C, kj, m 3, kg). Steam Properties Given Pressure and Entropy Output Structure Table 12 - P_Steam_ps Output Parameters 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. 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. Output Parameter Data Type Description EnableOut BOOL Enable output: system defined parameter. Out_Region DINT 1 = Liquid 2 = Superheated 3 = Supercritical 4 = Saturated Out_Temperature REAL Output steam temperature ( C or F). Out_Volume REAL Output-specific volume (m 3 /kg or ft 3 /lbm). Sts_InpErr BOOL Error: Inp_p or Inp_s is outside of calculation range. Sts_OutErr BOOL Error: Inp_p and Inp_s produce an invalid result (not in Regions 1 4 or not valid properties of water/steam). 28 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

Steam Properties Given Pressure and Entropy (P_Steam_ps) Chapter 6 Operations The P_Steam_ps Add-On Instruction only performs calculations and does not have any modes or alarms. To provide High-High, High, Low, and/or Low-Low threshold alarms for any of the variables (temperature or specific volume), use a P_AIn Input instruction for each such variable. Refer to the Rockwell Automation Library of Process Objects: Basic Analog Input (P_AIn) Reference Manual, publication SYSLIB-RM001, for more information. Execution The following table explains the handling of instruction execution conditions. Condition EnableIn False (false rung) Powerup (prescan, first scan) Postscan Description No EnableInFalse logic is provided. The instruction maintains its last state when EnableIn is false. No Prescan or First Scan logic is provided. The P_Steam instruction performs its calculation every scan when EnableIn is true. No SFC Postscan logic is provided. Refer to the Logix 5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010, for more information. Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018 29

Chapter 6 Steam Properties Given Pressure and Entropy (P_Steam_ps) Notes: 30 Rockwell Automation Publication PROCES-RM004D-EN-P - July 2018

. Rockwell Automation Support Use the following resources to access support information. Technical Support Center Knowledgebase Articles, How-to Videos, FAQs, Chat, User Forums, and Product Notification Updates. https://rockwellautomation.custhelp.com/ Local Technical Support Phone Numbers Locate the phone number for your country. http://www.rockwellautomation.com/global/support/get-support-now.page Direct Dial Codes Literature Library Product Compatibility and Download Center (PCDC) Find the Direct Dial Code for your product. Use the code to route your call directly to a technical support engineer. Installation Instructions, Manuals, Brochures, and Technical Data. Get help determining how products interact, check features and capabilities, and find associated firmware. http://www.rockwellautomation.com/global/support/direct-dial.page http://www.rockwellautomation.com/global/literature-library/overview.page http://www.rockwellautomation.com/global/support/pcdc.page Documentation Feedback Your comments will help us serve your documentation needs better. If you have any suggestions on how to improve this document, complete the How Are We Doing? form at http://literature.rockwellautomation.com/idc/groups/literature/documents/du/ra-du002_-en-e.pdf. Rockwell Automation maintains current product environmental information on its website at http://www.rockwellautomation.com/rockwellautomation/about-us/sustainability-ethics/product-environmental-compliance.page. Allen-Bradley, Rockwell Automation, Rockwell Software, Logix5000, and PlantPAx are trademarks of Rockwell Automation, Inc. Trademarks not belonging to Rockwell Automation are property of their respective companies. Rockwell Otomasyon Ticaret A.Ş., Kar Plaza İş Merkezi E Blok Kat:6 34752 İçerenköy, İstanbul, Tel: +90 (216) 5698400 Publication PROCES-RM004D-EN-P - July 2018 Supersedes Publication PROCES-RM004C-EN-P - January 2016 Copyright 2018 Rockwell Automation, Inc. All rights reserved. Printed in the U.S.A.