Error Handling of the Function Blocks

General Information

The function blocks have three outputs which are handling detected errors while executing the function block.

Output

Datatype

Description

q_xError

BOOL

A rising edge at the output q_xError provides information about an error detected during the execution of the function block.

The q_etResult and q_sResultMsg outputs are providing additional information on detected errors.

The error outputs of the relevant function block are reset with a falling edge of the i_xExecute or i_xEnable input.

q_etResult

ET_Result

Provides diagnostic and status information. Only valid if the q_xError output is TRUE.

q_sResultMsg

STRING[80]

Provides additional diagnostic and status information. Only valid if the q_xError output is TRUE.