You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After that PR, pytmc picks up on and happily tries to make records out of aliased types. That is, if you have a type definition that is just a thin alias on e.g. a user defined and pytmc'd struct, it will create the relevant records now.
Pytmc here still doesn't quite work for built-in and basic types. For example, pytmc will now know to make records out of pragma'd AMSNETID instances (ARRAY[0..5] OF BOOL) but will fail to figure out which record should be built.
There's some discussion in the linked thread about what record to build and how to accomplish this.
The text was updated successfully, but these errors were encountered:
See discussion in #311
After that PR, pytmc picks up on and happily tries to make records out of aliased types. That is, if you have a type definition that is just a thin alias on e.g. a user defined and pytmc'd struct, it will create the relevant records now.
Here's the twincat docs page on type aliases: https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_plc_intro/3928317323.html&id=
Pytmc here still doesn't quite work for built-in and basic types. For example, pytmc will now know to make records out of pragma'd AMSNETID instances (
ARRAY[0..5] OF BOOL
) but will fail to figure out which record should be built.There's some discussion in the linked thread about what record to build and how to accomplish this.
The text was updated successfully, but these errors were encountered: