MC_GroupReadActualPosition (FB)ΒΆ
FUNCTION_BLOCK MC_GroupReadActualPosition
This function block returns the current position 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 position 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
Position
Current position of the group
KinematicConfig
TRAFO.CONFIGDATA
Kinematic configuration of current position. Only set if the coordinate system is cartesian (i.e. not set in case ACS). Automatic periods are activated for any rotary axis with multiple periods. See SMC_KinConfigActivateAutomaticPeriods for more information. A kinematic configuration without automatic periods can be obtained by reading an ACS position and converting it to the MCS using SMC_GroupConvertPosition.