Re: [foxboro] DCI PAKOUT
- From: "Johnson, Alex P (IPS)" <alex.johnson@xxxxxxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Mon, 29 Sep 2008 19:08:33 -0400
If you want radio buttons on a FV display to change bits in a word, it's
not easy, but it can be done.
Use init.user to create RB01 through RB16 (or RB32).
Use init.user to create MRB01 thorugh MRB16 (or MRB32).
Create a display with three rows of boxes.
The first row of boxes will work as follows:
1) Fill with RED(0) or GREEN(1) based on the value of RBxx.
2) Toggle value of RBxx when clicked (or use two steps)
The second row of boxes will work as follows:
1) Fill with RED(0) or GREEN(1) based on the value of MRBxx.
2) Toggle value of MRBxx when clicked (or use two steps)
Before the 3rd row, add a COMMIT button. This runs a script to make the
change.
The 3rd row shows the actual state of the target packed Boolean using
the normal FV bit masking capabilities.
The COMMIT button should run a DM/FV script to invoke the omset (use
omsetimp by the way) just as you wrote it. Here's an example:
dmcmd script
dmcmd run /opt/fox/bin/tools/omset -pl $MRB01$MRB02...:$RB01$RB02...
where the ... is all the stuff I don't want to type.
Sequence blocks can run scripts as well and they can pass arguments to
the scripts. I'll send you a write-up to give you some clues on how to
do that.
Does this help?
Regards,
Alex Johnson
Invensys Process Systems
10900 Equity Drive
Houston, TX 77041
713 329 8472 (desk)
713 329 1600 (operator)
713 329 1944 (SSC Fax)
713 329 1700 (Central Fax)
alex.johnson@xxxxxxxxxxxxxxxx
-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Goldie, Shaun S
Sent: Monday, September 29, 2008 2:10 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] DCI PAKOUT
Hi List
I am trying to write the PAKCO parameter of a PAKOUT DCI block from both
graphics and IND sequence external write
The problem is the parameter is a packed long with a mask, the mask is
needed to set individual bits without overwriting others
omset -pl 0x80000000:0x80000000 will successfully set bit one but how do
you configure this inside a graphic or in sequence code
Shaun
NOTICE - This message and any attached files may contain information
that is confidential, legally privileged or proprietary. It is intended
only for use by the intended recipient. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, be advised that you have received this message in
error. Any dissemination, copying, use or re-transmission of this
message or attachment, or the disclosure of any information therein, is
strictly forbidden. BlueScope Steel Limited does not represent or
guarantee that this message or attachment is free of errors, virus or
interference.
If you have received this message in error please notify the sender
immediately and delete the message. Any views expressed in this email
are not necessarily the views of BlueScope Steel Limited.
_______________________________________________________________________
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
* 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 legally
privileged. This email is from the Invensys Process Systems business unit of
Invensys plc which is a company registered in England and Wales with its
registered office at Portland House, Bressenden Place, London, SW1E 5BF
(Registered number 166023). For a list of European legal entities within the
Invensys Process Systems business group, please click here
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.
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 Helpdesk on
+44 (0)20 7821 3859 / 2105 or email inet.hqhelpdesk@xxxxxxxxxxxxx This e-mail
and any attachments thereto may be subject to the terms of any agreements
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: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- References:
- [foxboro] Control Blocks missing in ICC Configuration on CP270
- From: Rocco Vanden Wyngaard
- Re: [foxboro] Control Blocks missing in ICC Configuration on CP270
- From: Corbera, Angel
- [foxboro] DCI PAKOUT
- From: Goldie, Shaun S
Other related posts:
- » Re: [foxboro] DCI PAKOUT
- » Re: [foxboro] DCI PAKOUT
- » Re: [foxboro] DCI PAKOUT
- » Re: [foxboro] DCI PAKOUT
- [foxboro] Control Blocks missing in ICC Configuration on CP270
- From: Rocco Vanden Wyngaard
- Re: [foxboro] Control Blocks missing in ICC Configuration on CP270
- From: Corbera, Angel
- [foxboro] DCI PAKOUT
- From: Goldie, Shaun S