ClearCtrlErrors

PLCopen motion icon Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Clears the list of active errors and alarms on the controller.

Inputs

Input

Data Type

Range

Unit

Default

Description

EN

 

 

 

 

EnableClosed Enable signal for the drive, Hardware-Enable with 24V signal to X8, Software-Enable command by setup Software, fieldbus or permanently set. Both are required for enabling the drive. the function.

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

 

 

 

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;