Difference between revisions of "MC-Basic:SYSTEM.ERRORHANDLERMODE"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:SYSTEM.ERRORHANDLERMODE to MC-Basic:SYSTEM.ERRORHANDLERMODE: Global renaming of Axystems: namespace into (Main):)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:SYSTEM.ERRORHANDLERMODE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
 
  
 
|SYNTAX=
 
|SYNTAX=
Line 44: Line 44:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:SYSTEM.ERRORPRINTLEVEL|SYSTEM.ERRORPRINTLEVEL]]
+
* [[MC-Basic:SYSTEM.ERRORPRINTLEVEL|SYSTEM.ERRORPRINTLEVEL]]
  
[[Category:Axystems:MC-Basic:Error Handling|SYSTEM.ERRORHANDLERMODE]]
+
[[Category:MC-Basic:Error Handling|SYSTEM.ERRORHANDLERMODE]]
 +
[[Category:MC-Basic:System|MC-Basic:System]]
 
}}
 
}}

Latest revision as of 02:57, 2 May 2017

Language: English  • 中文(简体)‎

ErrorHandlerMode  defines the effect of the errors , generated directly by an action taken by the executing task .

When Sys.ErrorHandlerMode = TRUE (Default value). Stop all motion, idle all tasks that have attached elements, set Sys.MotionFlag to OFF.

When Sys.ErrorHandlerMode = FALSE (for debug purposes) Only the task producing the error is idled and motion elements attached to the task stop.

Syntax

Sys.ErrorHandlerMode = <value>

?System. ErrorHandlerMode

Type

Long

Range

0, 1

Default

1

Scope

Configuration,Task, Terminal

Write Access  Read/Write

Examples

?Sys.ErrorHandlerMode

Sys.ErrorHandlerMode = 1

See Also