Hello, For a client I need to add a hmi button to there web service. The Link looks like follows. http://Example.Client_Website.net/Client?token=~ZU%407_%7C$%5BG%7CE%5E-~A5%26y57%26%23!4+%5EEVB%5B.sWx%5COpqS8Y%25%7BG%5Cx%5DnJV%7C%274ll%7D5%3ET%7DFwpuT%40rD-!%22!z~%60b%7Bs.$%26x%5ERD2__$cw_%3D$%5BY%27I%3ELOdQ%3F%5CLQ%27rk!LcxM%3EW2j(9z51%3D I know how to use a URL link with a button to open a webpage. Now I need to store the link inside a string so it can be changed. Exept it seems like the string has difficulties excepting the $ Sign. How can I store this link?
Hi Kenneth, Unfortunately there are some characters that are not handled well by PLCnext Engineer. It is possible to construct strings containing these characters using a technique like this: MyString := CONCAT('The price is ', TO_STRING(BYTE#16#24, '{0:C}'), '42.00'); Since the URL is longer than 80 characters, you will need to define a custom-length string type (but you probably know this already).
Ok. My client wants to be able to change the URL on the HMIwebserver. With this method, it will not be possible? Because you cannot directly put it in an input box with string variable.
Sorry for the delay. I have now had confirmation that, because of the dollar signs, it will not be possible to enter this URL via an eHMI text box. The requirement has been noted, but there is not likely to be a solution in the short term.