Re: [foxboro] Current Date & Time

Trevor,
        The STATION block of the CP has connectable parameters for 
sec,min,hour,day,month,year,etc, that might work for you.
Rich
 

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On 
Behalf Of Lango, Trevor M (GE Contractor)
Sent: Wednesday, February 27, 2008 2:14 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Current Date & Time

Does anyone know of a way to set a block parameter (i.e. SN0001 of a DEP
block) to the current system date and time?  I can do it with an external shell 
script executed from a display command; however, I want the date/time to be 
updated based on another block parameter, not an operator action.  On a related 
note, does anyone know of a way to execute a shell script from an I/A block?



=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Trevor M. Lango
Controls Engineer, R. J. Roberts, Inc.
Tesoro Petroleum, Golden Eagle Refinery
150 Solano Way, Martinez, CA 94553
Phone: (925) 228-1220 ext. 2338
Fax:   (925) 335-3582
Email: tlango.contractor@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: