Jump to content

Rename a text box on a V570?


Recommended Posts

I'm looking for tips on how I can allow an end user to change a text box from the PLC.

My program has a system name on the top of the HMI as a text box, currently "SYSTEM 1". I would like the user to be able to change this to anything they would like. Ex: "TOP SYSTEM", "BOB".

Currenlty, the only way I can think to do this would be create a numeric data table which assigns each letter a number, then let the user enter the numeric, and have the program convert the numeric to text.

Ex: If A=01, B=02, C=03... Z=26, [space]=27

User inputs: 021221052713010308091405

Program Outputs: BLUE MACHINE

Link to comment
Share on other sites

Why not simply make it a String Entry field?

You can also hide a string entry field on some other config screen that allows them to enter the string. That string will point to a location in your string library. Then your text field would also point to that same spot in the string library.

  • Upvote 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.