Re: [foxboro] timestamp

  • From: "Johnson, Alex (Foxboro)" <ajohnson@xxxxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Sun, 2 Feb 2003 10:39:51 -0500

I suggest building a CALC block that outputs the current hour, minute, and
second on three ROxx outputs.

The update of the outputs would be tied to the change of a Boolean input.
When it goes into alarm, put out the time. When it comes out of alarm, put
out zeros on the output.

The TIM instruction will give you seconds since midnight. A few calc block
steps will give you the hour, minutes, and seconds.


Alex Johnson
Invensys Systems, Inc.
10707 Haddington
Houston, TX 77043
713.722.2859 (office)
713.722.2700 (switchboard)
713.932.0222 (fax)
ajohnson@xxxxxxxxxxx
For the latest information on ArchestrA, go to
www.invensys.com/Archestra.html.

 -----Original Message-----
From:   Doron Sani [mailto:DoronS@xxxxxxxxxxx] 
Sent:   Sunday, February 02, 2003 7:30 PM
To:     foxboro@xxxxxxxxxxxxx
Cc:     Maurice Moshe
Subject:        [foxboro] timestamp


HI all,
I need some help with developing an application as follows:
on an overlay, display the timestamp of time when the CIN went ON.

possible approach:
in CAD, I can filter on the name of the block, and get one line.
if I can get this result in a command line, then I can awk on the relevant
field, in order to insert in the overlay text.

how can I get the result of a match from CAD, from command prompt, into a
file.


Doron Sani
tel: +972-3-9392525
fax: +972-3-9244249
cell: +972-55-324245
e-mail: dorons@xxxxxxxxxxx;dorons@xxxxxxxxxxx

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