Restricting input values to variable tags

Hi all,

I am using  Text input to input data into a variable tag (numeric and string).
I need to restrict inputting the data into the variable unless I give a command.

I need to create an edit button on the screen, only after pressing which the text input is activated or ready to store data into the variable tags.

Is there any way to implement this??

Thanks
Nayana

Parents
  • Hi Nayana,
    One approach could be to use a page variable (numeric or string) to store the text input. Once the user is happy with the input, they can then press a button which executes the tagwrite of the value to the PLC.
    I'm sure there could be other approaches, with more complex UI elements and code, but simple is sometimes best!
    Let me know how you go. I'm sure others in the community will also share some tips.
    Kind regards
    Olivier
Reply
  • Hi Nayana,
    One approach could be to use a page variable (numeric or string) to store the text input. Once the user is happy with the input, they can then press a button which executes the tagwrite of the value to the PLC.
    I'm sure there could be other approaches, with more complex UI elements and code, but simple is sometimes best!
    Let me know how you go. I'm sure others in the community will also share some tips.
    Kind regards
    Olivier
Children
No Data