Академический Документы
Профессиональный Документы
Культура Документы
Identifies information that is critical for successful application and understanding of the product.
Allen-Bradley, Rockwell Software, Rockwell Automation, RSLogix, Logix5000, FactoryTalk, PlantPAx, and TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Table of Contents
Preface
Chapter 1
General Steam Table (P_Steam)
Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Controller Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
General Steam Table Input Structure . . . . . . . . . . . . . . . . . . . . . . . . . . 10
General Steam Table Output Structure . . . . . . . . . . . . . . . . . . . . . . . . 10
Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 2
Saturated Steam Pressure (P_PSat)
Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Saturated Steam Pressure Input Structure . . . . . . . . . . . . . . . . . . . . . .
Saturated Steam Pressure Output Structure. . . . . . . . . . . . . . . . . . . . .
Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
13
14
14
14
15
15
Chapter 3
Saturated Steam Temperature
(P_TSat)
Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Saturated Steam Temperature Input Structure . . . . . . . . . . . . . . . . . .
Saturated Steam Temperature Output Structure . . . . . . . . . . . . . . . .
Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
17
18
18
18
19
19
Table of Contents
Notes:
Preface
The PlantPAx Library of Steam Table Instructions is an extension of the
PlantPAx 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).
The Steam Table instructions can be downloaded from Knowledgebase Answer
ID 493854 at http://www.rockwellautomation.custhelp.com.
The PlantPAx Library of Steam Table Instructions is compatible with
RSLogix 5000 software, version 18 or later.
Library Programming
Considerations
Preface
IMPORTANT
Prescan
During the transition into Run mode, the controller performs a Prescan before
the first logic scan. Prescan is a special scan of all routines in the controller. The
controller scans all main routines and subroutines during Prescan, but ignores
jumps that could skip the execution of instructions. The controller executes all
FOR loops and subroutine calls. If a subroutine is called more than once, it is
executed each time it is called. The controller uses Prescan of built-in instructions
to reset non-retentive data values.
During Prescan, input values are not current and outputs are not written. The
following conditions generate Prescan:
Toggle from Program to Run mode
Automatically enter Run mode from a power-up condition
Prescan does not occur for a program when the following occurs:
Program becomes scheduled while the controller is running
Program is unscheduled when the controller enters Run mode
IMPORTANT
The Prescan performs the Steam Tables Add-On Instructions logic routine as all
false and then performs its Pre-scan routine as true.
Preface
Example
The instruction and faceplate are compatible if they have the same Major and
Minor Revision numbers. The Major Revision is the first number, before the
period. The Minor Revision is the second number, after the period and before the
hyphen or space.
Information after the hyphen or space indicates the Service Release. The
instruction and faceplate do not need to be the same Service Release to be
compatible. In the table above, the Add-On Instruction and faceplate shown are
compatible because they have the same Major.Minor (2.0).
Preface
Additional Resources
Description
Chapter
Guidelines
Use this instruction when you have measured or calculated the temperature and
pressure of steam and you need to know the steams 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.
Chapter 1
This section describes the parameter references for this Add-On Instruction.
Controller Code
Data Type
Default
Description
EnableIn
BOOL
Ladder Diagram:
Set to the rung-in condition of the instruction. If the rung-in condition is true, the instruction Logic routine
executes. If the rung-in condition is false, the EnableInFalse routine executes.
Function Block or Ladder Diagram:
If false the system performs the EnableInFalse routine. If set, the instruction executes.
Structured Text:
No effect. The instruction executes.
Inp_P
REAL
14.696
Inp_T
REAL
212
Cfg_SI_Eng
BOOL
Data Type
Description
EnableOut
BOOL
Out_Region
DINT
1=Liquid
2=Superheated
3=Supercritical
4=Saturated
5=HighTemp
Out_Enthalpy
REAL
10
Chapter 1
Data Type
Description
Out_Entropy
REAL
Out_Volume
REAL
Sts_InpErr
BOOL
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 (volumetric flow or differential pressure, temperature, pressure or
the calculated flow at standard conditions), use a P_AIn Input instruction for
each such variable.
Refer to the Process Add-On Instructions and graphics: 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
Description
Postscan
11
Chapter 1
Notes:
12
Chapter
This instruction calculates the Absolute Pressure (in MPa or psia) of Saturated
Steam given the temperature (in degrees Celsius or Fehrenheit). 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 allowable input temperature range is from 0.0373.946 C
(32.0705.1028 F) and pressures from 0.00061121322.064 MPa
(0.088648933200.1118 psia).
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
13
Chapter 2
This section describes the parameter references for this Add-On Instruction.
Controller Code
Data Type
Default
Description
EnableIn
BOOL
Ladder Diagram:
Set to the rung-in condition of the instruction.
Function Block or Ladder Diagram:
If false the system performs the EnableInFalse routine. If set, the instruction executes.
Structured Text:
No effect. The instruction executes.
Inp_T
REAL
212
Cfg_SI_Eng
BOOL
Data Type
Description
EnableOut
BOOL
Out_PSat
REAL
Out_Enthalpy_L
REAL
Out_Enthalpy_V
REAL
Out_Entropy_L
REAL
Out_Entropy_V
REAL
Out_Volume_L
REAL
Out_Volume_V
REAL
Sts_InpErr
BOOL
14
Operations
Chapter 2
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 (volumetric flow or differential pressure, temperature, pressure or
the calculated flow at standard conditions), use a P_AIn Input instruction for
each such variable.
Refer to the Process Add-On Instructions and Graphics: 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
Description
Postscan
15
Chapter 2
Notes:
16
Chapter
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
17
Chapter 3
This section describes the parameter references for this Add-On Instruction.
Controller Code
Data Type
Default
Description
EnableIn
BOOL
Ladder Diagram:
Set to the rung-in condition of the instruction.
Function Block or Ladder Diagram:
If false the system performs the EnableInFalse routine. If set, the instruction executes.
Structured Text:
No effect. The instruction executes.
Inp_P
REAL
14.696
Cfg_SI_Eng
BOOL
Data Type
Description
EnableOut
BOOL
Out_TSat
REAL
Out_Enthalpy_L
REAL
Out_Enthalpy_V
REAL
Out_Entropy_L
REAL
Out_Entropy_V
REAL
Out_Volume_L
REAL
Out_Volume_V
REAL
Sts_InpErr
BOOL
18
Operations
Chapter 3
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 (volumetric flow or differential pressure, temperature, pressure or
the calculated flow at standard conditions), use a P_AIn Input instruction for
each such variable.
Refer to the Process Add-On Instructions and Graphics: 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
Description
Postscan
19
Chapter 3
Notes:
20
Chapter 3
Notes:
21
Chapter 3
Notes:
22
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
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 Otomasyon Ticaret A.., Kar Plaza Merkezi E Blok Kat:6 34752 erenky, stanbul, Tel: +90 (216) 5698400