MC_AxRtHybridAxisActuals_BkPlcMc (from V3.0.44)

MC_AxRtHybridAxisActuals_BkPlcMc (from V3.0.44) 1:

The function block determines the essential actual values of a servo-electric/hydraulic hybrid axis.

MC_AxRtHybridAxisActuals_BkPlcMc (from V3.0.44) 2: Inputs

VAR_INPUT
    stSystem_PrsIn:    ST_TcPlcInputAnalog;
    stAside_PrsIn:     ST_TcPlcInputAnalog;
    stBside_PrsIn:     ST_TcPlcInputAnalog;

    nTorqueFeedback:   INT;
    udiMotorEnc_Count: UDINT;

    bUpdateActForce:   ST_ BOOL;

    bPumpSwitch_Ext:   BOOL;
    bAreaSwitch_Ext:   BOOL;

Name

Type

Description

stSystem_PrsIn

ST_TcPlcInputAnalog

If a pressure sensor is present at the pressurized reservoir, the input variables of the terminal are transferred here.

stAside_PrsIn

ST_TcPlcInputAnalog

If a pressure sensor is present on the positive area of the cylinder, the input variables of the terminal are transferred here.

stBside_PrsIn

ST_TcPlcInputAnalog

If a pressure sensor is present on the negative area of the cylinder, the input variables of the terminal are transferred here.

nTorqueFeedback

INT

The torque feedback signal of the drive is to be transferred here.

udiMotorEnc_Count

UDINT

The counter value of the motor encoder must be transferred here.

bUpdateActForce

ST_ BOOL

With this signal, the function block calculates the current actual force of the axis and updates it in stAxRtData.fActForce.

bPumpSwitch_Ext

BOOL

This signal notifies the function block that pump switching of the axis is active.

bAreaSwitch_Ext

BOOL

This signal notifies the function block that area switching of the axis is active.

MC_AxRtHybridAxisActuals_BkPlcMc (from V3.0.44) 3: 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 AxisRef_BkPlcMc should be transferred.

MC_AxRtHybridAxisActuals_BkPlcMc (from V3.0.44) 4: Outputs

VAR_OUTPUT
    Error:   BOOL;
    ErrorId: BOOL;
END_VAR

Name

Type

Description

Error

BOOL

The occurrence of an error is indicated here.

ErrorId

BOOL

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

Behavior of the function block

If the axis is identified as 'hybrid', the function block performs the following steps.

Irrespective of whether the axis is identified as 'hybrid', this function block calls a local instance of MC_AxRtEncoder_BkPlcMc() for the axis.

MC_AxRtHybridAxisActuals_BkPlcMc (from V3.0.44) 5:

If no function block of this type is called for a servo-electric/hydraulic axis, changeovers are not handled correctly. This could lead to unexpected behavior of the axis. In this case, the axis is set to the error state and a message is output.