Programming question:
I'm using an Analog output (VTS Datatype) writing to a PLC DINT by way of a "Numeric Input" on the page to allow user to enter a passcode (EQU in PLC) to permit the action of a selector switch, right below the numeric input box.
When you enter the correct number, "it is retained in the VTS tag browser" and will work okay. But I need a way to clear it out after a minute or so. VTS Help file says "it is retained".
Workaround right now is they have to change the value from the correct number to a different one and then it's all set for the second time.
Otherwise it only works the first time because of the tag browser doesn't have the correct number in the space.
A script or an expression? but where does it go? I found lots of possibilities for the expression, value equals the correct number and after time lapses 30 seconds analog output : 0.
Help would be awesome!