So as the WatchDog wouldn't restart the PROMOTIC application, the application must regularly call the WDogRefresh method. This application sets its counter in the WatchDog program to the nCounter value.
Aby WatchDog PROMOTIC aplikaci nerestartoval, musí tato aplikace pravidelně volat metodu WDogRefresh . Takto aplikace nastaví svůj čítač v programu WatchDog na hodnotu nCounter .