Skip to main content

Object: Interface Method

Symbol: _cds_icon_interface_method.png

The object is used for object-oriented programming.

You add the Interface Method object is added to an interface by means of the Project → Add Object command.

If a method is inserted underneath an interface, you can add and instance only variable declarations (input, output and input/output variables) in this method.

Program code can be added to the method only when a function block implements the interface to which the method belongs. CODESYSthen inserts the method underneath the function block.