there is a way to obtain the string of enum variables?
example:
I have this enum:
TYPEPLC_LOG_DEVICE:(  NONE:=0,    MANDREL :=1,  CLAMP  :=2,  STORE  :=3,      LAST_DEVICE);END_TYPE
How can I assign to a string the value "MANDREL", "CLAMP", etc. based on enum value?
I tried to search something about and I found this https://forum.codesys.com/viewtopic.php?f=11&t=5955 but I cannot start the project, it cannot find the "sys shm library" and I don't understand how to solve this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi forum,
there is a way to obtain the string of enum variables?
example:
I have this enum:
How can I assign to a string the value "MANDREL", "CLAMP", etc. based on enum value?
I tried to search something about and I found this https://forum.codesys.com/viewtopic.php?f=11&t=5955 but I cannot start the project, it cannot find the "sys shm library" and I don't understand how to solve this.
In SP11 or higher:
THANKS A LOT