Re: [foxboro] Spare I/O points

I have a small PERL script which generates spare I/O reports.  It uses iccprt
reports for it's FBM information.  I also use the script to generate vml cabinet
layout drawings for my control database browser, but I've made a copy without
the extra stuff.  

Email me if you want a copy -- it runs about 500 lines and you'll need PERL
installed  to use it.  (I use the free ActiveState PERL on my PC)  I've only
coded in the FBMs I normally see used, so if you include a list of FBM types you
use in your email, I'll make sure the script handles them before I send it off.

Summary report has information like:
---------------------------------------------------------
Summary: 1001CP -- 46 FBMs, 12 Expansion modules
  Digital   IN channels: 400     free 17         4 %
  Digital  OUT channels: 280     free 62         22 %
  Analog    IN channels: 124     free 2          2 %
  Analog   OUT channels: 36      free 1          3 %
  Thermocouple channels: 40      free 16         40 %
  RTD          channels: 8       free 4          50 %

Summary: 1002CP -- 38 FBMs, 7 Expansion modules
  Digital   IN channels: 192     free 36         19 %
  Digital  OUT channels: 160     free 39         24 %
  Analog    IN channels: 164     free 32         20 %
  Analog   OUT channels: 52      free 11         21 %
  Thermocouple channels: 8       free 2          25 %
  RTD          channels: 16      free 16         100 %

Detail report has information like:
---------------------------------------------------------
CP -- 1003CP

99B803  FBM3    SWTYPE=1
  TE0001        COMP0001        1       AIN 
free channel summary: di-0, do-0, ai-0, tc-0, rtd-7, ao-0

99C104  FBM4    SWTYPE=2
  TT0002        COMP0001        1       AIN 
  TT0003        COMP0001        2       AIN 
  TT0004        COMP0002        3       AIN 
  TT0005        COMP0002        4       AIN 
  TCV0006       COMP0002        6       AOUT 
  TCV0007       COMP0002        7       AOUT 
free channel summary: di-0, do-0, ai-1, tc-0, rtd-0, ao-2
.
.
.
Summary: 1003CP -- 18 FBMs, 3 Expansion modules
  Digital   IN channels: 104     free 39         37 %
  Digital  OUT channels: 56      free 2          4 %
  Analog    IN channels: 76      free 3          4 %
  Analog   OUT channels: 20      free 8          40 %
  Thermocouple channels: 0       free 0          0 %
  RTD          channels: 16      free 7          44 %

Regards,

Kevin FitzGerrell

 
 
_______________________________________________________________________
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: