Re: [foxboro] Trapping calls

  • From: David Johnson <DRJohn@xxxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Fri, 20 May 2005 09:30:28 -0500

The simplest way to find Sequence code that references a specific B is to 
use the find command with grep.  In the following example I am trying to 
determine if X1 is being referenced by any .s files.

replace X1 with the block that you are looking for, beware of searching for 
C:B since ::B has an implied Compound.  Run this on all AP/AWs that host CPs.

here's the command
find /opt/fox/ciocfg -name "*.s" -exec grep :X1 {} \; -print

here is what it looks like in real life
bash# find /opt/fox/ciocfg -name "*.s" -exec grep :X1 {} \; -print
  ::X1.OUT := LOOP;
/opt/fox/ciocfg/TEST/SBX_TEST.s
bash#

So you see X1.OUT is being set in TEST:SBX_TEST.

Hope this helps.
Regards,
David


Johnson in 2008
He's constitutionally qualified! 

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