# MCV_SuppressSoftLimSw

The “MCV_SuppressSoftLimSw” FB executes the output of diagnosis messages in conjunction with software limits switches.

Blockdiagramm

Parameters of the FB

VAR_IN_OUT
Variable name | Data type | Description
axis | AXIS_REF | Axis reference

VAR_INPUT
Variable name | Data type | Description
enable | BOOL | TRUE, the output of diagnosis messages referring to software limit switches is suppressed.

VAR_OUTPUT
Variable name | Data type | Description
Valid | BOOL | TRUE, output suppression is activated.
Error | BOOL | Indicates TRUE if an error occurs in the FB.
ErrorID | WORD | Error code.

Behaviour of the FB

- Suppressed diagnosis messages include: P-ERR-50041, P-ERR-50042, P-ERR-60158 and P-ERR-60159.