Re: [foxboro] timestamp

  • From:
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Mon, 3 Feb 2003 09:43:36 -0500

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.DAY      (1-31)
01TX01_ECB:TRICON_ECB.YEAR     (in 4 digits)
01TX01_ECB:TRICON_ECB.HOUR     (1-23)

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


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)
For the latest information on ArchestrA, go to

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

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
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
foxboro mailing list:   
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave

Other related posts: