Professional Documents
Culture Documents
Rev. 3
February 3, 2005
Webster, Texas
Contents i
Contents
Contents .................................................................................................................... i
ILLUSTRATIONS ..............................................................................................................................I
Introduction to the Turbomachinery Control Function Libraries ....................... 1
CONVENTIONS................................................................................................................................ 1
PROGRAM EXECUTION ORDER .................................................................................................. 1
Warnings .................................................................................................................. 2
Installation ................................................................................................................ 3
INSTALLATION INSTRUCTIONS ................................................................................................. 3
Inter-Connecting Words (ICWs).............................................................................. 4
INTRODUCTION TO ICWS............................................................................................................. 4
What are ICWs? ............................................................................................................................. 4
Enable/Disable Vs. Auto/Manual................................................................................................... 4
Enable/Disable Control.............................................................................................................. 4
Auto/Manual Control.................................................................................................................. 5
Setting up ICWs in a Program........................................................................................................ 6
DESCRIPTION OF ICW BITS.......................................................................................................... 7
How an ICW Breaks Down Into Status Bits .................................................................................. 7
ICW Status Bit Description............................................................................................................ 8
Revision Discussion................................................................................................ 9
Illustrations
Figure 1. Function Blocks vs. Functions ............................................................................................... 1
Figure 2. ICW Usage Example.............................................................................................................. 6
Figure 3. ICW Status Bits...................................................................................................................... 7
Introduction to the
Turbomachinery Control Function Libraries
Conventions
Throughout this manual there are descriptions of various function blocks which combine a series of
Boolean values into a numerical two-byte integer (of type DINT) to be used as inputs or outputs. The
individual bits of these status words represent Boolean values TRUE (0) and FALSE (1). It is
important to note that though these status bits represent Boolean values, they are actually stored as
bits in a numerical integer value. As such, they must be converted to or from Boolean values to be
used by the programmer. Furthermore, the convention in this manual refers to the bits as bit zero (the
least significant bit or LSB) to bit fifteen (the most significant bit or MSB).
Also, in this manual a distinction is made between functions and function blocks. This distinction is
illustrated in the figure below:
NOTES:
1.
1 Input Function 1 Output
2.
Function
Multiple Inputs Multiple Outputs
Block
Last?
3. True = On = 1
False = Off = 0 Function/ Setpoint
Function
Block ICW
Last? Last?
CI CO
Setpoint AM
Setpoint Function/ Setpoint Function/ ICW
Function Function Setpoint
ICW Block ICW Block Last?
ICW
CI (Enables/Disables CO CI CO
Function/Block) Function/ Setpoint
Function
AM Block ICW
AM (If Function/Block is enabled,
places in Auto or Manual)
CI CO
AM
Warnings
• Equip the engine, turbine, or other type of prime mover with an overspeed (overtemperature or
overpressure, where applicable) shutdown device that operates totally independently of the prime
mover control device. This protects against a run-away condition or damage to the engine,
turbine, or other prime mover, or personal injury or loss of life, should the mechanical-hydraulic
or electronic governor, actuator, fuel control, driving mechanism, linkage, or controlled device
fail.
• Improper use or application of the functions contained in these software libraries may result in
damage to equipment or bodily harm. It is assumed that you have a suitable level of expertise to
design software that combines these functions in a proper and safe manner. You assume the
entire risk as to the results, quality and performance of the functions contained in these libraries
and any resulting applications that use them.
Installation
Installation Instructions
Since installing the libraries is simply a matter of copying them to your hard drive, no automated
setup program is provided.
Each library consists of two files: an export library file (.LT2) and a library specification file (.LSP).
Additionally, there is a user manual .PDF file for each library.
Copy each library’s .LSP and .LT2 file from the CD to the library repository on your hard drive. For
Tristation 1131 Version 4, the default directory location of the libraries is as follows:
Once you have copied the library files to your hard drive, you may then import them into your 1131
application. In Tristation 1131 Version 4, follow these steps:
• Right click Library Documents in the Workspace tree view, then click Manage on the resulting
pop-up menu.
• Click the Add… push button
• Choose the just-copied library from the list on the window, then click OK
• Click Yes on the Confirmation dialog box
Auto/Manual Control
The auto/manual status of a function block is not nearly as clear cut and consistent as that of the
enable/disable method of control. In fact, it differs from the latter in a fundamental way.
Auto/manual control is generally used to place the function block in one of two modes of operation,
rather than causing it to cease processing altogether. Inputs and outputs will generally continue to be
processed according to the purpose of the function, and ICWs will continue to be acted upon or
passed as appropriate. Regardless of the auto/manual status of the function block, the block must be
enabled for this processing to occur. Thus, the auto/manual status of a function block is irrelevant if
the block is disabled.
Every function block has the enable/disable method of control, and most function blocks have
auto/manual control, but there can be exceptions to the latter.
Some function blocks perform very complex functions, and may have several other modes of control
which operate when the block is in automatic control. Generally, these function blocks will revert to
one mode of operation (usually Tracking) when they are in manual mode.
NOTE: Although the ICW bits represent Boolean values TRUE and FALSE, they are stored as bits
in the ICW, which is a double integer value. The programmer must convert the values to
and/or from Boolean values using standard library functions in order to properly utilize
them outside of the library function blocks. Throughout this manual the value of the ICW
status bits is referred to as TRUE or FALSE. Wherever this is done, it may be safely
assumed that the Boolean value TRUE is equivalent to a numerical (binary) value of one
and FALSE is equivalent to a numerical (binary) value of zero within the ICW word.
MSB 8 7 6 5 4 3 2 1 0 LSB
Thus, as seen in the above example, the FTRACK, ENAB, CTLSTAT, TRACK, and AM bits represent a
Boolean value of TRUE, while the INPFAIL, POSRMP, LMT (and SPARE) bits represent a Boolean
value of FALSE.
Revision Discussion
Each library includes two files. The files are identified by the same filename with different three-
character extensions. The filename is a unique identifier for that library, with the last two characters
being a dash and the numeric revision number. An exception is that for the initial release, the two
revision characters are not included. Furthermore, the three characters preceding the revision number
indicate the version of Tristation for which the library will function. For example, the initial release
of the Common library for Tristation 3.1.2 is named CMN312. The first revision to this library will
be named CMN312-2, the next revision, CMN312-3, etc. The number suffix “-1” will not be used to
avoid confusion with the initial release.
The two-character revision number appended to the file name is not the same and is not to be
confused with the internal revision number that Tristation stores within the library files. The product
group will always create a new file with a new revision number (e.g. CMN312-3 is revision 3 of the
library CMN312) whenever a library revision is released; therefore, the internal Tristation version
number is not required to identify the content of the library file.
Invensys Systems Inc. (hereafter referred to as Invensys or Invensys/Triconex) hereby grants you a
non-exclusive license to use the enclosed Software subject to the terms and restrictions set forth in
this License Agreement (“Agreement”). In addition, the terms and restrictions set forth in this
Agreement also cover any and all firmware embedded in Invensys/Triconex hardware products.
Proprietary Rights of Invensys/Triconex
The Invensys and Triconex logos, product names, software manuals, documentation and other support
materials are either patented, copyrighted, trademarked, or owned by Invensys/Triconex as trade
secrets and/or proprietary information. You agree not to remove any product identification or notices
of such proprietary restrictions from Invensys products. Invensys retains exclusive ownership of the
Software Product, Invensys printed materials, and Invensys patents, copyrights and trademarks. The
Software Product and any modifications or extraction thereof constitute trade secrets and/or
proprietary information of Invensys and will be protected by you.
Restrictions on Use and Transfer
Pursuant to this Agreement, you may: (a) Use the Software on a computer or computers used in
conjunction with a single Invensys/Triconex control system.; (b) Copy the Software into any
computers for back-up purposes in support of your use of the Software for a single Invensys/Triconex
control system.
You may not transfer the Software Product electronically from one computer to another over a
network which is located at a site other than the site at which the Software Product was initially
operated. You may not distribute copies of the Software Product or documentation relating thereto to
others. Neither the Software Product nor its documentation may be modified or transferred without
written permission from Invensys/Triconex. You agree to take all reasonable actions required to
ensure that the Software Product is not used, transferred or copied except as expressly provided in this
agreement.
YOU MAY NOT USE, COPY, MODIFY OR TRANSFER THE SOFTWARE PRODUCT, OR ANY
COPY, MODIFICATION, OR MERGED PORTION, IN WHOLE OR IN PART, EXCEPT AS
EXPRESSLY PROVIDED FOR IN THIS AGREEMENT. IF YOU TRANSFER POSSESSION OF
ANY COPY, MODIFICATION, OR MERGED PORTION OF THE SOFTWARE PRODUCT TO
ANOTHER PARTY, OR TO A LOCATION OTHER THAN THE SITE AT WHICH THE
SOFTWARE PRODUCT WAS INITIALLY OPERATED, THIS LICENSE IS AUTOMATICALLY
TERMINATED. YOU MAY NOT MODIFY, TRANSLATE, REVERSE ENGINEER,
DECOMPILE, OR DISASSEMBLE THE SOFTWARE, OR ANY PORTION THEREOF.
License Fee
You agree to pay a fee for the License hereunder in accordance with Invensys/Triconex’s standard
Price List. Failure to pay this fee will result in termination of this Agreement.
Term
This license is effective until terminated. You may terminate it at any other time by returning or
providing evidence of destruction of the Software Product together with all copies, modifications and
merged portions in any form. It will also terminate upon conditions set forth elsewhere in this
Agreement or if you fail to comply with any term or condition of this agreement. You agree upon
such termination to return or provide evidence of destruction of the Software Product together with all
copies, modifications, and merged portions in any form. The provisions of this Agreement which
protect the proprietary rights of Invensys shall continue in force after termination.
Limitation of Liability
NEITHER INVENSYS NOR ANYONE ELSE WHO HAS BEEN INVOLVED IN THE
CREATION, PRODUCTION, OR DELIVERY OF THIS SOFTWARE PRODUCT SHALL BE
LIABLE FOR ANY DIRECT INCIDENTAL OR CONSEQUENTIAL DAMAGES, SUCH AS BUT
NOT LIMITED TO LOSS OF ANTICIPATED PROFITS OR BENEFITS RESULTING FROM
THE USE OF THE SOFTWARE PRODUCT OR ARISING OUT OF ANY BREACH OF ANY
WARRANTY, UNLESS SUCH EXCLUSION IS IN CONFLICT WITH STATE LAW.
General
You may not sublicense, assign, or transfer the license or the Software Product except as expressly
provided in this Agreement. Any attempt to otherwise sublicense, assign, or transfer any of the
rights, duties, or obligations hereunder will make the license null and void.
If you have any questions concerning this Agreement, including warranty service, you should contact
Invensys Systems Inc., Triconex Product Line, 15345 Barranca Parkway, Irvine, CA 92618, or by
phone at 1-866-PHON-IPS (1-866-746-6477) or Worldwide 1-508-549-2424.
YOUR USE OF THE SOFTWARE PRODUCT ACKNOWLEDGES THAT YOU HAVE READ
THIS LICENSE AGREEMENT AND AGREE TO ITS TERMS. YOU FURTHER AGREE THAT
THIS LICENSE AGREEMENT IS THE COMPLETE AND EXCLUSIVE STATEMENT OF THE
AGREEMENT BETWEEN US AND SUPERCEDES ANY PROPOSAL OR PRIOR
AGREEMENT, ORAL OR WRITTEN, AND ANY OTHER COMMUNICATIONS RELATING TO
THE SUBJECT MATTER OF THIS AGREEMENT.