Re: [foxboro] timestamp

Sound of hand slapping head!


I've used those a thousand times. Just use the contract transition as the
key to get new times or set 0 outputs on the CALC block.


Is my face red?


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:   Stear, Bo [mailto:stear@xxxxxxx] 
Sent:   Monday, February 03, 2003 6:47 PM
To:     'foxboro@xxxxxxxxxxxxx'
Subject:        Re: [foxboro] timestamp


What's the problem with using the CP station block time????  That works for
me.

-----Original Message-----
From: duc.do@xxxxxxxxxxxxxx [mailto:duc.do@xxxxxxxxxxxxxx]
Sent: Monday, February 03, 2003 8:44 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] timestamp



Alex's instructions will get you the time all the time (!) but I found a
quirk that allows me to read the real time and date as OM abjects.

If you have a Triconex Tricon that is connected to the I/A system (via a
DNBT), its ECB block has several objects that contain the date and time.
Let's say the Tricon letterbug is 01TX01, then the following
self-explanatory objects are what we're interested in:

01TX01_ECB:TRICON_ECB.MONTH    (1-12)
01TX01_ECB:TRICON_ECB.DAY      (1-31)
01TX01_ECB:TRICON_ECB.YEAR     (in 4 digits)
01TX01_ECB:TRICON_ECB.HOUR     (1-23)
01TX01_ECB:TRICON_ECB.MINUTE
01TX01_ECB:TRICON_ECB.SECOND

ECB85 is where I found this information. Pretty neat, huh?

Duc

-- 
Duc M. Do
Dow Corning Corp.
Carrollton Plant
Carrollton, KY, US


-----Original Message-----
From: Johnson, Alex (Foxboro) [mailto:ajohnson@xxxxxxxxxxx]
Sent: Sunday, February 02, 2003 10:40 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] timestamp

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 email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
 
 
_______________________________________________________________________
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
 
 
 
_______________________________________________________________________
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: