ClearCtrlErrors

PLCopen motion icon Pipe Network motion icon

 Function - Clears the list of active errors and alarms on the controller.

Inputs

Input

Data Type

Range

Unit

Default

Description

EN

BOOL

FALSE, TRUE

N/A

No default

Enable the function.

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

FALSE, TRUE

N/A

Returns TRUE if the function succeeded.

Remarks


  • If clearable and non-clearable errors are present and this function is called, the Output Q is turned to TRUE but the non-clearable errors remain.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Attempt to clear active controller level errors and alarms(such as E33)
IF ClearControllerErrors THEN
   ClearCtrlErrors();
END_IF;