|Language:||English • 中文（简体）|
Once a task has been attached to the watch dog mechanism (with the WDINIT), the watch dog must be serviced using WDCYCLE. The watch dog begins to Terminal the task after it is serviced for the first time. Thereafter, WDCYCLE is issued periodically, within the specified cycle time. Otherwise, a Watch Dog fault is generated (1006: “Task Stuck”).
WDCycle(<watch dog variable>)
<watch dog variable>: Long
The value of the variable is given by WDINIT.
Task or Terminal
- Write only
- Not supported in EtherCAT system
WdCycle(MyVar) ‘service the watch dog