MC_GroupReadActualVelocity (FB)¶
FUNCTION_BLOCK MC_GroupReadActualVelocity
This function block returns the current velocity 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
Reference to a group of axes
Input
Enable
BOOL
Get the velocity of the axis group in the selected coordinate system while enabled
CoordSystem
Applicable coordinate system
Output
Valid
BOOL
TRUE
if valid outputs are availableBusy
BOOL
The FB is not finished
Error
BOOL
Signals that an error has occurred within the function block
ErrorID
SMC_ERROR
Error identification
Velocity
Current velocity of the group. If a cartesian coordinate system is selected,
Velocity.c
contains the cartesian velocity: (X,Y,Z) is the velocity vector, (A,B,C) is the angular velocity around the x, y, z axis in degrees.