MC_GroupReadActualAcceleration (FB)

FUNCTION_BLOCK MC_GroupReadActualAcceleration

This function block returns the current acceleration of an axis group in the selected coordinate system. This is an administrative FB, since no movement is generated.

InOut:

Scope

Name

Type

Comment

Inout

AxisGroup

AXIS_GROUP_REF_SM3

Reference to a group of axes

Input

Enable

BOOL

Get the acceleration of the axis group in the selected coordinate system while enabled

CoordSystem

SMC_COORD_SYSTEM

Applicable coordinate system

Output

Valid

BOOL

TRUE if valid outputs are available

Busy

BOOL

The FB is not finished

Error

BOOL

Signals that an error has occurred within the function block

ErrorID

SMC_ERROR

Error identification

Acceleration

SMC_POS_REF

Current acceleration of the group. If a cartesian coordinate system is selected, Acceleration.c contains the cartesian acceleration: (X,Y,Z) is the acceleration vector, (A,B,C) is the angular acceleration around the x, y, z axis in degrees.