<< Prev        Next >>

ID : 6761

ClrErr

Function

To cancel an error.

Syntax

ClrErr

Description

A currently active controller error is cleared.

As normal tasks cannot be performed when any error is existing, use this in supervisory tasks and control panel program.

Attention

-

Example

'!TITLE "Clearing Error"
' Acquire system status and clear any error if any abnormality or warning exists
Sub Sample_ClrErr

  Dim aaa As Integer

  ' Acquisition of system status
  aaa = SysState

  ' Clear an error in case of any abnormality or warning
  If ( aaa And &H0082 ) Then

    ClrErr

  End If

End Sub

ID : 6761

<< Prev        Next >>