Open Sylv63 opened 3 years ago
Extract from https://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm084_-en-p.pdf
Tip: If the decorated data for a tag exceeds 100 KB, the decorated data format will not be exported. In this case, the raw data format will preserve the data values of the tag.
Raw data format: Raw data format is a hex dump of the data and includes hidden (config) data. It is not intended to be readable. It is exported in the same format for all types of data types. The raw data format is the default format. A format attribute is not present if the element is in raw format
Yes, I've encountered this before. Unfortunately, due to Rockwell's poor implementation, there's not much I can do about it. First, they don't document the raw data format. Second, 100kB is stupid in today's 64-bit computing world.
Jason Valenzuela
On 3/23/2021 10:35 PM, Sylvain Laurent wrote:
Extract from https://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm084_-en-p.pdf
Tip: If the decorated data for a tag exceeds 100 KB, the decorated data format will not be exported. In this case, the raw data format will preserve the data values of the tag.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jvalenzuela/l5x/issues/8#issuecomment-804953560, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJI5N76Z6KGGSKJS6JVQDDTFCRJLANCNFSM4ZVH5VGA.
Work is in progress to convert tags to use raw data, which will resolve this problem.
Work is in progress to convert tags to use raw data, which will resolve this problem.
Hello, I you need I can do some test :)
Hello,
Seems doesn't work in case of UDT with big Dim 1 dimension.
Example with MyTag with data type MyUDT[100] it works well :
prj.controller.tags['MyTag'][int(0)]['Member1'].value
returns"17.5"
but if MyUDT[10000]
prj.controller.tags['MyTag'][int(0)]['Member1'].value
returns"RuntimeError: Decoded data content not found for MyTag tag. Ensure Encode Source Protected Content option is disabled when saving L5X"
I'm sure that I have saving L5x without source protection..