Re: [foxboro] hlbl msglin

  • From: "Lowell, Timothy" <TLowell@xxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Fri, 19 Oct 2007 21:40:24 -0500

I have a follow-up question on this.  We have a sequence block that kicks off a 
script file every 30 seconds which records the value of some important 
totalizers into a text file.  The idea is, if the CP should fail and set the 
totalizers to zero, this sequence block will run upon the initialization of the 
CP and read the text file it has been writing to every 30 seconds and omset the 
totalizer values back to what they should be.

This works well, but the problem is, the sequence code uses the :AW0101DMCMD 
call to kick off the script, and every time it does, this gets recorded to the 
OAJ.  This means there are 2880 useless messages per day in the OAJ.

Is there a way to kick off a script from a sequence block so that no message 
gets recorded to the OAJ?  This script uses wp_applic to invoke the script, and 
I was wondering if using just applic would work better.  Does anyone know?

Tim

----- Original Message -----
From: foxboro-bounce@xxxxxxxxxxxxx <foxboro-bounce@xxxxxxxxxxxxx>
To: foxboro@xxxxxxxxxxxxx <foxboro@xxxxxxxxxxxxx>
Sent: Fri Oct 19 21:29:42 2007
Subject: Re: [foxboro] hlbl msglin

If memory serves, the object is to have the Sequence block
set the DM/FV variable "DMCMD" with the text of a display
manager command.

That variable can be accessed from outside the DM/FV by using
a name which is the DM/FV name followed by the variable name
"DMCMD".  So, for FoxView name 05WP01, the variable is named
05WP01DMCMD.  

In Sequence code an OM name is preceded by ":", so the statement
to set it is:

     : 05WP01DMCMD := "dmcmd msglin Hola"

Be careful to remember that if the DM/FV instance isn't running,
the Sequence block gets a -1 error (because the variable doesn't
exist), also that it will fail the same way if the DM/FV station
is dead or is rebooting, etc.  There are also some nodebus conditions 
which can also make the command fail, at least temporarily, so it
is a good idea to have an error handler.

William C Ricker
FeedForward, Inc.



-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On
Behalf Of Ron Schafer
Sent: Friday, October 19, 2007 12:17 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] hlbl msglin

 
 

 

Does anyone know the command for hlbl (ind block) to send text to the
message line?

 

Ronald G. Schafer

Distrubuted Controls System Administrator

White Birch Paper

Bear Island L.L.C. Division
10026 Old Ridge Rd.
Ashland Va. 23005
804-227-4034
Email: rschafer@xxxxxxxxxxxxxxxxxxxxxx

 

 

 


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