There is no SECOND parameter in the STATION block. BTW, the STATION block updates YEAR, MONTH, DAY, HOUR, and MINUTE every 30 seconds. Regards, Alex Johnson Invensys Systems, Inc. 10900 Equity Drive Houston, TX 77041 713.329.8472 (voice) 713.329.1700 (fax) 713.329.1600 (switchboard) alex.johnson@xxxxxxxxxxxxxxxx -----Original Message----- From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On Behalf Of Rich A Bakke Sent: Wednesday, February 27, 2008 10:38 PM To: foxboro@xxxxxxxxxxxxx Subject: 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? =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D= =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D =3D3D=3D =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D= =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D =3D3D=3D =3D3D=3D3D 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: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave = = = _______________________________________________________________________ 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=3Djoin to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave = * Confidentiality Notice: This e-mail and any associated files are intended solely for the individual= or entity to whom they are addressed. Please do not copy it or use it for = any purposes, or disclose its contents to any other person. Further, this e= -mail and any associated files may be confidential and further may be legal= ly privileged. This email is from the Invensys Process Systems business uni= t of Invensys plc which is a company registered in England and Wales with i= ts registered office at Portland House, Bressenden Place, London, SW1E 5BF = (Registered number 166023). For a list of European legal entities within t= he Invensys Process Systems business group, please click here http://www.in= vensys.com/legal/default.asp?top_nav_id=3D77&nav_id=3D80&prev_id=3D77. If you have received this e-mail in error, you are on notice of its status.= Please notify us immediately by reply e-mail and then delete this message = from your system. Thank you for your co-operation. You may contact our Help= desk on +44 (0)20 7821 3859 / 2105 or email inet.hqhelpdesk@xxxxxxxxxxxxx T= his e-mail and any attachments thereto may be subject to the terms of any a= greements between Invensys (and/or its subsidiaries and affiliates) and the= recipient (and/or its subsidiaries and affiliates). _______________________________________________________________________ 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