Re: [foxboro] parse alarm info of a block into a shell script

  • From: Venu Navuluri <venunavuluri@xxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Tue, 30 Nov 2010 17:49:40 -0600

Thanks Tadeo ... that really helped.......
On Tue, Nov 30, 2010 at 2:04 PM, Tadeo Armenta <tadeoarmenta@xxxxxxxxx>wrote:

> Subject:  Compound Block Parameter Values without Direct Connection
> Source:    TAC
>
>
> A customer had an application that required moving the  value of one
> C:B.P to another C:B.P without using direct block connections.   For
> example: using a display pick that when selected runs a script  file
> that will move one C:B.P to another  C:B.P
>
>
>    VALUE=`/usr/fox/bin/tools/omget -v C:B.P|awk '{print  $3}'`
>    sleep 2
>    /usr/fox/bin/tools/omset -v -f $VALUE  C:B.P
>
>
> NOTES:
>
> VALUE = is a temporary variable
>
> Because omset / omget  are broadcast messages the execution of
> omset's  / omget's  must be limited to less than TWO per second.
> (as per document # B0193LX  Version 3.1 Operational Recommendations
> page 23)
>
> Because of this  limitation, if multiple omget's / omset's are to be
> used in a script file, the sleep  command should be used between the
> omget's  and omset's.
>
> For  the 50 series product, omget / omset can be found in the
> /opt/fox/bin/tools/  directory.
>
> It also works with omgetimp and omsetimp. Its actually recommended to use
> these
> two, for recurrent calls
>
> Best Regards
>
>
>
>
>
>
> ________________________________
> De: Venu Navuluri <venunavuluri@xxxxxxxxx>
> Para: foxboro@xxxxxxxxxxxxx
> Enviado: mar, noviembre 30, 2010 1:22:28 PM
> Asunto: Re: [foxboro] parse alarm info of a block into a shell script
>
> Tadeo,
>          is there a pdf on these commands.............
> Regards
> Venu
> On Tue, Nov 30, 2010 at 11:12 AM, Tadeo Armenta <tadeoarmenta@xxxxxxxxx
> >wrote:
>
> > You can execute omget in a shell script on the variable you are looking
> for
> > Regards
> >
> >
> > ________________________________
> > De: Venu Navuluri <venunavuluri@xxxxxxxxx>
> > Para: foxboro@xxxxxxxxxxxxx
> > Enviado: mar, noviembre 30, 2010 11:42:29 AM
> > Asunto: [foxboro] parse alarm info of a block into a shell script
> >
> > Hello All ,
> >              can anyone share their experience of parsing an alarm of a
> > block into a shell script, or is there a dmcmd command that can be
> executed
> > in a shell script to get the current alarm of a tag .
> > Thanks
> > Venu
> >
> >
> >
> >
> > _______________________________________________________________________
> > 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
> >
> >
> >
> >
> >
> > _______________________________________________________________________
> > 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
> >
> >
>
>
>
>
> _______________________________________________________________________
> 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
>
>
>
>
>
> _______________________________________________________________________
> 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
>
>


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