MC_AxRtGoErrorState_BkPlcMc (from V3.0)

MC_AxRtGoErrorState_BkPlcMc (from V3.0) 1:

(not recommended) This function block places the axis into a fault state.

MC_AxRtGoErrorState_BkPlcMc (from V3.0) 2: Inputs

VAR_INPUT
    Trigger:        BOOL;
    ErrorID:        UDINT;
    NoLogging:      BOOL;
END_VAR

Name

Type

Description

Trigger

BOOL

A rising edge at this input places the axis in a fault state.

ErrorID

UDINT

An encoded indication of the cause of the error is provided here.

NoLogging

BOOL

TRUE at this input suppresses the output of a message.

MC_AxRtGoErrorState_BkPlcMc (from V3.0) 3: Inputs/outputs

VAR_INOUT
    Axis:           Axis_Ref_BkPlcMc;
END_VAR

Name

Type

Description

Axis

Axis_Ref_BkPlcMc

Here, the address of a variable of type Axis_Ref_BkPlcMc should be transferred.

Behavior of the function block

The axis is placed into a fault state by a rising edge at the Trigger input.

Requirements:

MC_AxRtGoErrorState_BkPlcMc (from V3.0) 4:

If NoLogging is FALSE (default state), message containing information on the affected axis and the ErrorCode is generated during the transition of the axis to the error state. This default message should be replaced with a message that is meaningful for the application. In this case the default message should be suppressed by setting NoLogging to TRUE.