Re: [foxboro] GDEV ignore limits listing

  • From: "Johnson, Alex P \(IPS\)" <alex.johnson@xxxxxxxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Wed, 1 Aug 2007 11:12:30 -0400

Nice, but you forgot to say what to feed to it and how to generate it.

Regards,

Alex Johnson
Invensys Systems, Inc.
10900 Equity Drive
Houston, TX 77041
713.329.8472 (voice)
713.329.1700 (fax)
713.329.1600 (switchboard)
alex.johnson@xxxxxxxxxxxxxxxx


-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of David Johnson
Sent: Wednesday, August 01, 2007 10:11 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] GDEV ignore limits listing

Getpars is good and quick,  but the initial question was are limits =

configured, and are they being ignored.  The implication is you would =

only turn on the IGNLM1 if a limit switch was failing.  So getpars =

isn't too helpful to see what is going on in this instance.  (Unless =

we assume that any block with the IGNLM[1,2] set to true is a hit and =

then we would have to still get the DEVLM[1,2] if that is what we are =

trying to fix.  You are fixing the bad limit switches right Ken?)

This awk script only took a couple of minutes to write and it gives a =

much better snapshot of what is configured.  (But not what is =

happening, it's like quantum physics.)

I'm cutting this from a unix session so CR/LFs might be wonky.

BEGIN{
       printf ("Block Name, Type, DEVLM1, IGNLM1, DEVLM2, IGNLM2 \n")
      }
{
  if ($1 =3D=3D "NAME") name =3D $3
  if ($1 =3D=3D "TYPE") type =3D $3
  if ($1 =3D=3D "DEVLM1") devlm1 =3D $3
  if ($1 =3D=3D "DEVLM2") devlm2 =3D $3
  if ($1 =3D=3D "IGNLM1") ignlm1 =3D $3
  if ($1 =3D=3D "IGNLM2") ignlm2 =3D $3
  if ($1 =3D=3D "END" && type =3D=3D "GDEV")
    {
     printf ("%-24s, %s, %24s, %s, %24s, =

%s\n",name,type,devlm1,ignlm1,devlm2,ignlm2)
    }
}

There, wasn't that easy?

Regards,
David

 =

 =

_______________________________________________________________________
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:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
 =




Confidentiality Notice:
The information contained in this electronic message and any attachment(s) =
to this message are intended for the exclusive use of the recipient(s) and =
may contain confidential, privileged or proprietary information. If you are=
 not the intended recipient, please notify the sender immediately, delete a=
ll copies of this message and any attachment(s). Any other use of the E-Mai=
l by you is prohibited.


 
 
_______________________________________________________________________
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:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: