Skip to content

[Bug]: ARRAY definition not compatible with UPPER_BOUND/LOWER_BOUND instructions #3

Description

@TatianaSiemens

Version

v1.0.0

Bug Description

Using the library from the registry I have the error "The operation (UPPER_BOUND/LOWER_BOUND) not defined for ARRAY [0..255] of Simatic.Ax.LStream.Models.LStream_TypeElement as left operand and USINT as right operand.

Image

On the other side if I am using the library locally in my src code I have a compile error "Cannot allocate type 'ARRAY [*] OF BYTE' happened during CodeGeneration.

Image

Expected Behavior

No errors related to the ARRAYs defined in the LStream library.

Steps to Reproduce

First case: Install library and see the error (line 179 and 180 in LStream_JsonDeserializer).

Second case: download .zip of the library, import in the src of the project, compile and see the error in the terminal.

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions