MC-Basic:WDDELETE

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

A task is detached from the watch dog Terminal mechanism using WDDELETE. A new WDINIT command is necessary to re-attach the task.

Syntax

WDDelete(<watch dog variable>)

Availability

All versions

Type

<watch dog variable>: Long

Range

The value of the variable is given by WDINIT.

Scope

Task or Terminal

Limitations

  • Write only
  • Not supported in EtherCAT system

Examples

WdDelete(MyVar)                          ‘Detach the task from the watch dog

See Also