MC_AxStandardBody_BkPlcMc (V3.0)

MC_AxStandardBody_BkPlcMc (V3.0) 1:

This function block calls a function block of each of the following types: MC_AxRtEncoder_BkPlcMc, MC_AxRuntime_BkPlcMc, MC_AxRtFinish_BkPlcMc and MC_AxRtDrive_BkPlcMc.

MC_AxStandardBody_BkPlcMc (V3.0) 2: 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.

MC_AxStandardBody_BkPlcMc (V3.0) 3: Outputs

VAR_OUTPUT
    Error:      BOOL;
    ErrorID:    UDINT;
END_VAR

Name

Type

Description

Error

BOOL

The occurrence of an error is indicated here.

ErrorID

UDINT

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

Behavior of the function block

The usual components of the axis are called, depending on the value in ST_TcHydAxParam. If one of the called function blocks reports an Error, it will be returned with its ErrorID at the outputs of this function block.

MC_AxStandardBody_BkPlcMc (V3.0) 4:

In the event of multiple problems, they are prioritized according to the following sequence: encoder, generator, finish, drive.