Re: [foxboro] FoxView momentary contact and close problem - solution
- From: "Johnson, Alex P \(IPS\)" <alex.johnson@xxxxxxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Tue, 23 Jan 2007 10:18:02 -0500
You can also write a shell script to do it and not tie up the DM.
#!/bin/sh
LOGS=3D/opt/myScripts/logs
mkdir -p $LOGS
exec >$LOGS/`basename $0`.$1 2>&1
set -x
/opt/fox/bin/tools/omset -b T C1:B1.P1 C2:B2.P2
sleep 2
/opt/fox/bin/tools/omset -b F C1:B1.P1 C2:B2.P2
Save it as:
/opt/myScripts/scripts/Pulse
Invoke it as:
dmcmd run /opt/myScripts/scripts/Pulse
Good things should happen.
Regards,
=20
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 David Johnson
Sent: Tuesday, January 23, 2007 3:00 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] FoxView momentary contact and close problem -
solution
You can do the following in Foxview to do multiple momentary contacts=20
with a few issues.
1) configure the ACTION as a Display Command
in the Command String Window
setb C1:B1.P1 1
setb C2:B2.P2 1
sleep 2
setb C1:B1.P1 0
setb C2:B2:P2 0
This will set both C:B.P high for 2 seconds, then set them low=20
again. The equivalent of a timed momentary contact in the old DM.
HOWEVER ! Sleeps put the entire display to sleep for the 2 second=20
interval, so no values update, and nothing else can be picked during=20
the sleep time. We have used this (judiciously) in special=20
instances. Not a great solution, but a good stop gap workaround.
Regards,
David
=20
=20
_______________________________________________________________________
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
=20
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20
Confidentiality Notice: =0AThe information contained in this electronic m=
essage and any attachment(s) to this message are intended for the exclusi=
ve use of the recipient(s) and may contain confidential, privileged or pr=
oprietary information. If you are not the intended recipient, please noti=
fy the sender immediately, delete all copies of this message and any atta=
chment(s). Any other use of the E-Mail by you is prohibited.=0A
_______________________________________________________________________
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
- References:
- [foxboro] FoxView momentary contact and close problem - solution
- From: Adam.Pemberton
- Re: [foxboro] FoxView momentary contact and close problem - solution
- From: terry.lloyd
- Re: [foxboro] FoxView momentary contact and close problem - solution
- From: David Johnson
Other related posts:
- » Re: [foxboro] FoxView momentary contact and close problem - solution
- » Re: [foxboro] FoxView momentary contact and close problem - solution
- » Re: [foxboro] FoxView momentary contact and close problem - solution
- » Re: [foxboro] FoxView momentary contact and close problem - solution
- » Re: [foxboro] FoxView momentary contact and close problem - solution
- » Re: [foxboro] FoxView momentary contact and close problem - solution
- [foxboro] FoxView momentary contact and close problem - solution
- From: Adam.Pemberton
- Re: [foxboro] FoxView momentary contact and close problem - solution
- From: terry.lloyd
- Re: [foxboro] FoxView momentary contact and close problem - solution
- From: David Johnson