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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...