Difference between revisions of "MC-Basic:WDDELETE"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Write-Only" to "Write only")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:WDDELETE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
 
  
 
|SYNTAX=
 
|SYNTAX=
Line 11: Line 11:
 
|DESCRIPTION=
 
|DESCRIPTION=
 
A task is detached from the watch dog Terminal mechanism using WDDELETE. A new WDINIT command is necessary to re-attach the task.
 
A task is detached from the watch dog Terminal mechanism using WDDELETE. A new WDINIT command is necessary to re-attach the task.
 
{{Note/Important| '''THIS COMMAND IS OBSOLETE'''}}
 
  
 
|TYPE=
 
|TYPE=
''<watch dog variable>'': Long
+
<''watch dog variable''>: Long
  
 
|RANGE=
 
|RANGE=
Line 30: Line 28:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write only
+
*Write only
 +
*Not supported in EtherCAT system
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 36: Line 35:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:WDCYCLE|WDCYCLE]]
+
* [[MC-Basic:WDCYCLE|WDCYCLE]]
* [[Axystems:MC-Basic:WDINIT|WDINIT]]
+
* [[MC-Basic:WDINIT|WDINIT]]
  
[[Category:Axystems:Obsolete|WDDELETE]]
+
[[Category:Obsolete|WDDELETE]]
 
}}
 
}}

Latest revision as of 16:28, 2 May 2017

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