Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDT long dimension #8

Open
Sylv63 opened this issue Mar 23, 2021 · 4 comments
Open

UDT long dimension #8

Sylv63 opened this issue Mar 23, 2021 · 4 comments

Comments

@Sylv63
Copy link

Sylv63 commented Mar 23, 2021

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..

@Sylv63
Copy link
Author

Sylv63 commented Mar 23, 2021

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

@jvalenzuela
Copy link
Owner

jvalenzuela commented Mar 28, 2021 via email

@jvalenzuela
Copy link
Owner

Work is in progress to convert tags to use raw data, which will resolve this problem.

@Sylv63
Copy link
Author

Sylv63 commented Jul 1, 2022

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants