CODESYS supports object-oriented programming with function blocks and makes the following functions and objects available for this purpose:
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.
-
Extension of a Function Block
-
Implementation of an Interface
-
Extension of an interface
-
Calling a Method