Closed contibru closed 4 months ago
Using the tag info only works with the "@tags" tag name - you can't get the tag info for a single tag.
To achieve what you're looking for, you'll need to
Yeah, I tried that, but the tag never shows on the list using that ListUdtDefinition example, but if I try get the value using the type related, it is working fine.
Based on the type name, this does not look like a standard string. Is it only 20 characters long? If it is not a standard size, you will need to add definitions so that the library knows how to interpret it. Also, note that on Micro8x0 PLCs you cannot fully list tags. You cannot get UDT definitions. At least there is no documented way that I have found.
You can look at the wiki for more information on how to handle strings.
Hello, I am starting to work with this library and I have one doubt about getting values from a variable which I don`t know the type.
As I see on the library, whenever I want to get a value I should know what is the Type of the variable, but when I don`t know it?
Is there a way to get the value as a String no matter the type is?
I gave a try on the example called ExampleListTags but I did not see my variable in there, and when I try to search for exatcly the name of the variable, I got this error bellow:
This is the code I am executing:
Thanks in advance.