CODESYS supports object oriented programming with function blocks and for this purpose provides the following features and objects:
-
Methods
-
Interfaces
-
Properties
-
Inheritance
-
Method call, virtual function call
-
Definition of function blocks as extensions of other function blocks
Application example
Application example
Basic information on dealing with object-oriented programming (OOP) is given in an ⮫ application example.
Application example
Application example
Keywords can be used in object-oriented programming (OOP), e.g. to improve the programming style, debugging, etc. An ⮫ application note explains how these keywords are used.
See also