12-04-2023, 03:03 PM
(12-03-2023, 08:58 PM)iliaslamprou Wrote: Hi,
you have to add a java script code.
1. Read all the variables from the script.
2. Convert the values to characters
3. Create a text from the characters.
4. Write the text to a new Variable
Your example worked great with the input from my Modbus connection after adding another character for the word "Manual"!! This gets me started, have to learn some Javascript to find the null character "0" in the string so that the Json output will always be valid for various string lengths. I haven't coded by line since the 80s so will have to hit the books to learn.
Thanks again!