Hi all;
I want to use ENUMERATED DATA TYPES in SCL language, when i try to compile below code, compiling error coming. How can i do it?
Thanks...
TYPE STATES :(NOP, DISABLE, STOP, ENABLE); END_TYPE FUNCTION_BLOCK FB100 VAR Data : STATES; END_VAR BEGIN // Statement Section ; END_FUNCTION_BLOCK
Hello,
Structures used here will help you to implement
what you want.
Best regards,
Hamid Hosseini
Human beings are members of a whole , In creation of one essence and soul
Sa'adi