SetInital
Initialize internal values of the algorithm.
Syntax
Definition:
METHOD SetInitial : BOOL
VAR_INPUT
nCountOn : ULINT;
nCountOff : ULINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
nCountOn | ULINT | Initializes the number of detected On events. |
nCountOff | ULINT | Initializes the number of detected Off events. |
Return value
Name | Type | Description |
---|---|---|
SetInitial | BOOL | Returns |