Interfaces
Interfaces: Creating a user-defined interface.
Select the Methods node or click on the Edit Methods button to switch to this table:
Method parameters
Select the Methods node or double-click on the entry to view the details of the method.
Name: The name of the method.
RPC enable: enablement of remote procedure calls from outside this method.
Include Return Value: enablement of the forwarding of the return value of the method.
The fields correspond to those of the Data type properties.
Defining the method parameters
- Name:
- Type: Known from the Data type properties.
- Description: Known from the Data type properties.
- Default Value: Default value of this parameter; only numbers are allowed.
- RPC direction: As in the case of PLC function blocks, each parameter can either be IN, OUT or INOUT. Over and above that, it can be defined as NONE so that this parameter is ignored in the case of remote procedure calls (RPC).