Re: [foxboro] Listing all Configured Alarms

Although it doesn't use the iccprt output, it might be worth looking at=

Foxboro's HH1068.

I've included the text below.

Kevin FitzGerrell
Systems Engineer
Foxboro New Zealand
------------------------------------
Tel:  +64 (9) 573 7690
Fax:  +64 (9) 573 7691

HH#:  HH1068
                                               IA INFO:  sja0403
                                                  File:  Control, Alarm=
s
                                               Release:  All
                                                  Date:  Nov 04, 2004

Subject:  Determining Which Alarms Are Configured On Your System, Per B=
lock
 Source:  TAC


Here is a procedure that uses the utility program "getpars" to determin=
e
the alarm types that are set on your system for each of the blocks.

"getpars" is very flexible and has several options.  Look at the
getpars.man file (in /opt/fox/bin/tools) to see the complete list of
options.  The following is just one example.

Log into your system in VT100 and go to the tools directory.
     cd /opt/fox/bin/tools

Run the following command:
     getpars ?U\* -C\* -B\* -mCMPNM:%12s ?mTYPE:%6s ?mALMOPT:%8x >
alarm.txt

The command options are as follows:
     -U\*               all cp's
     -C\*               all compounds
     -B\*               all blocks
     -mCMPMN:%12s       prints the compound name as a 12-character stri=
ng
     -mTYPE:%6s         prints the type of block as a 6-characters stri=
ng
     -mALMOPT:%8x       prints the parameter ALMOPT as an 8-digit hex
number
     > alarm.txt        redirects the output to a file called alarm.txt=


The backslashes are required before the asterisks so that the Unix shel=
l
will not evaluate the * as filenames.

Here is an example of the output:

COMPOUND-NAME AC_PIDA    (CP-LETTERBUG: CP660F)
BLOCK-NAME    CMPNM        TYPE     ALMOPT

CALC          AC_PIDA      CALC     NA
AIN1          AC_PIDA      AIN      0
AIN           AC_PIDA      AIN      13430080
PIDA          AC_PIDA      PIDA     0
FBTUNE        AC_PIDA      FBTUNE   NA
AOUT          AC_PIDA      AOUT     0
LLAG          AC_PIDA      LLAG     NA
DTIME         AC_PIDA      DTIME    NA
DEP           AC_PIDA      DEP      0

In this example only AC_PIDA:AIN has alarm options set.

When the value shows "NA", it means that that parameter does not apply =
to
that block type.

To determine what is set for this block convert the hex number into bin=
ary.

     1     3     4     3     0     0     8     0  (Hex)
  0001  0011  0100  0011  0000  0000  1000  0000  (Bin)

Then look up the ALMOPT parameter in B0193AX, Control Block Description=
s.

Here is the ALMOPT parameter for an AIN block.
B4=3D Out-of-Range Alarm, B7=3DHHALM, B8=3DLLALM, B15=3DHABS, B16=3DLAB=
S, B7=3DAlarm
Group 1

This is for an AIN.  All the other blocks are listed in the document an=
d,
if they have an ALMOPT, parameter, the individual option bits will be
shown.

A general description of the parameter for all block types is given as =
a
table in B0193AW, Integrated Control Concepts.

                                HH1068
=


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: