Hi Everyone,
how can I generate an impuls on Button Click on Control Module Tag in DeltaV Live System?
thanks
Andre Dicaire
In reply to Andre Dicaire:
Hi Andre, thanks for your reply. I would like to make one shot, that means it should set a bit with the button click, and reset it by unclicking the button. At the same time I would like to visualise it on the button color. Is it possible? Thanks, Kobrizo
In reply to KoBriZo:
In reply to Maarten van der Waal:
1. Create button from palette.
2. Select action "Write Value to Destination"
3. Write conditional to change value based on value observed. Example: Dsp.intButton == 0 ? 1 : 0 check if Dsp.intButton equals 0 and sets value to 1, else sets value to 0. These conditionals can be nested.
4. Set destination as desired, usually the same thing that is driving the value. Example: Dsp.intButton.
5. If animation desired, choose or create animation. Text changing on click requires additional custom scripting (choose custom script as action, write TypeScript code to drive text of button object and value writing) or a layering of a text box that is driven by a script.
6. Test.
Ben Merryman