FunctionClearCtrlErrorsPLCopen motion iconPipe Network motion icon

Clears the active errors and alarms on the controller. Only clearable errors will be cleared. See PDMM and PCMM Errors and Alarms for a list of errors and alarms that may be generated.

Arguments

Input

EN Data Type Enable the function

Output

Q Data Type BOOL

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

Examples

FBD

FFLD

ST

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