Object Interface method

Symbol: Object Interface method 1:

An interface method is a means of object-oriented programming. The Interface method object can be added to an interface via the command Add > Method...

If a method is added under an interface, you can only add and instantiate variable declarations (input, output and input/output variables) in this method.

Program code can only be added to the method, once a function block "implements" the interface that belongs to the method. TwinCAT then adds the method under the function block.

See also: