Difference between revisions of "MC-Basic:SYSTEM.ERRORHANDLERMODE"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= Sys.ErrorHandlerMode = <value><br> ?System. ErrorHandlerMode |AVAILABILITY= |DESCRIPTION= ErrorHandlerMode defines the effect of the err…') |
m (1 revision) |
(No difference)
|
Revision as of 16:10, 13 December 2010
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 R/W
Examples
?Sys.ErrorHandlerMode
Sys.ErrorHandlerMode = 1