
Richlinares (Customer) asked a question.
ascii to click plc
Hello,
looking for some guidance or previous threads that might help. am using an EA9 HMI and a click plus PLC. i would like to create ascii tags in the HMI internal memory then have the ability to select from those tags and load it into a defined text location in my click. as of now I have created an internal string tag and i can modify that using a text entry. i cant figure out how to move that value into the click
thanks
Create an ascii string tag the same character length as the internal tags you mentioned. Instead of internal, this tag should reference the Click device name that was set up in Panel Manager (DEV001?). The Click uses TXT registers to hold ascii strings, one character per TXT register. If your string is 40 characters long and your tag starts at TXT1, the string will use TXT1-TXT40 in the Click.
To copy the internal tags to the Click tag, you have a few options.
You could create internal discrete tags to use for your string selection buttons. One button per string, each using a different tag. Use the Event Manager and add an event for each button, each event using a Tag Copy action. Copying from your internal tag over to the Click tag.
Another option would be to use Recipe buttons to copy the strings.
I am including an example project you could run on simulator for clarity.
CopyStringEx