registerNode
Short Summary
This method is used for initialization of the nodes.
┌───────────┐
│ │ parentNode.registerNode( subNode :=THIS^, modeData := THIS^.modeData )
│node.FB_init────────────────────────────┐
│ │ │
└───────────┘ │
│
┌───────▼────────┐
│ │ the parent node appends
│ parent node │ the subnode to its subnode array list
└────────────────┘
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| subNode | INodeApi | the node that should be registered, usually THIS^ | input |
Code
Declaration
METHOD registerNode
VAR_INPUT
(* the node that should be registered, usually THIS^ *)
subNode : INodeApi;
END_VAR