MC_AxRtGoErrorState_BkPlcMc

MC_AxRtGoErrorState_BkPlcMc 1:
MC_AxRtGoErrorState_BkPlcMc 2:

Available from version 3.0

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

MC_AxRtGoErrorState_BkPlcMc 3: 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 4: Inputs/outputs

VAR_IN_OUT
    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 5:

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.