Writing to multiple tags with one user input in Wonderware

Walks

Member
Join Date
Jun 2018
Location
Midwest
Posts
47
Hi, I'm designing an HMI using the Wonderware Archestra IDE (2017) and I'm trying to figure out the best way to use a user input to pass a value to multiple tags (object attributes as Wonderware calls them).

The user input only lets you write to a single tag but I was thinking I could write a script so that when the enter key is pressed it writes the entered value to the other object attributes. The problem I'm having with this is that I don't know how to assign the enter key as the trigger to execute the script.

Another option would be to have the user enter the value into a custom property tag and then use a push button to send the custom property to the various object attributes. I would prefer to avoid this method for various reasons.

If anyone has done something like this before your help would be much appreciated!
 
You can try an "On True" Condition script on $OperatorEntered, or $OperatorEntered = "USER"

Script start...
IF $OperatorEntered = "USER" THEN
 
Last edited:
Ahh ok, so the trigger condition could just be $OperatorEntered and it would run the script once the enter button is pressed? I'll try to test that out. Thank you for the help
 
Not necessarily in Wonderware, but I have used a button object turn a boolean tag on. The off to on transition of the tag triggers the script. The script writes to whatever tags I need to update as well as writing a zero to the bit that triggered the script in the first place.
 
Ahh ok, so the trigger condition could just be $OperatorEntered and it would run the script once the enter button is pressed? I'll try to test that out. Thank you for the help

Doesn't sound to me like the OP is interested in which user is logged on.

He wants a user to be be able to perform certain functions...
So he can still use IF $OperatorEntered = "USER" scripts on the button to allow functions based on User.
 

Similar Topics

Platform: CCW, 2080-LC50-24QBB, Using 2080-SERIALISOL card Task: Writing Multiple Registers Using Modbus RTU (RS485) Problem: I am attempting...
Replies
4
Views
1,350
Is there any way to write a zero or to clear multiple registers in RSLogix 500? I want to set N46:208 - N46:254 all to zero without having to...
Replies
5
Views
2,130
Attempting to write 1600 word addresses for testing purposes. Any ideas,suggestions for the simplest way?
Replies
5
Views
3,171
Hi, I'm having an issue in crimson 3.0 when I create a programme using a case statement referencing a fault word that each bit needs to change the...
Replies
4
Views
156
Hello all, I'm currently working on a servo motor linear positioning system (ball screw). I'm all set up regarding communication between my HMI...
Replies
1
Views
89
Back
Top Bottom