Inherited Methods
If in the Extends field, when creating a new Function Block, or inside it’s Object properties window, you specify the name of another Function Block, the current one will inherit all of it’s methods.Inherited methods are always considered as virtual methods, which means that if the children Function Block implements a method with the same protorype of a method implemented by the father, no error is raised, as the children method will override the father method.If you wish to explicitly call the father method, you can do it by using the super. Specifier:
You can also call the father Function Block body, instead of a specific method, using super(); alone.You can see if a Function Block extends another function block, by looking at its prop- erty window.