ENUM as base data type / Beckhoff TwinCat NG Treiber

ENUM as base data type / Beckhoff TwinCat NG Treiber

Hello, I'd like to implement an ENUM data type. How does that work? Sure I could add a new simple data type, call it ENUM and give it the IEC data type INT, but when I'm trying to import variables from a tpy file, that are from Type ENUM, they will not get listed. Did I do something wrong here? Is there a way to handle that case without modifing the tpy-file? Can I add a new ENUM "base" datatype? Thank you! Raphael

This is a migrated post! Originally posted on 31.01.2020 by user RaphaelVogt. Please be aware that information can be outdated.