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?
TYPE STATES :(NOP, DISABLE, STOP, ENABLE); END_TYPE FUNCTION_BLOCK FB100 VAR Data : STATES; END_VAR BEGIN // Statement Section ; END_FUNCTION_BLOCK
Structures used here will help you to implement
what you want.
Human beings are members of a whole , In creation of one essence and soul