7.5.4 Methods of MethodSet
In Table 30, the Methods of the ObjectType, referenced via the MethodSet Object are defined.
| References | Node Class | BrowseName | Modelling Rule |
| The following Methods are also referenced by the Management Object | |||
| HasComponent | Method | Restart | Mandatory |
| The following Methods are also referenced by the Statistics Object | |||
| HasComponent | Method | ResetStatisticsOnAllPorts | Optional |
7.5.4.1 Restart
The Method Restart restarts the IO-Link Master.
Signature
Restart (
[in] Duration Delay,
[out] Int32 Status
);
| Argument | Description |
| Delay | Time before the restart becomes effective. |
| Status | Returns the status of the operation. 0: OK, operation successful -1: Operation already running -2: Operation cannot be executed -3: Operation cannot be executed because master reconfiguration is disabled. |
7.5.4.2 ResetStatisticsOnAllPorts
The optional Method ResetStatisticsOnAllPorts resets all statistic data, including statistic data of the ports of the IO-Link Master. Statistic data of a port are all Parameters referenced by the Statistics Object of the IOLinkPortType Object starting with “NumberOf” and potentially vendor-specific extensions. Statistic data directly on the IO-Link Master includes the Variable NumberOfIOLinkMasterStarts and potential vendor-specific extensions. As soon as statistic data is provided by the server, the optional Method shall be provided.
Signature
ResetStatisticsOnAllPorts (
[out] Int32 Status
);
| Argument | Description |
| Delay | Time before the reset becomes effective. |
| Status | Returns the status of the operation. 0: OK, operation successful -1: Operation already running -2: Operation cannot be executed. |