MC_GroupSetPosition

Function block MC_GroupSetPosition
Sets the position of all axes in a group without moving the axes. The new coordinates are described in an array. With the coordinate system input the coordinate system is selected accordingly. The input coordinates will be converted from the provided coordinate system to the axis coordinate system (ACS) for the values to be sent to individual axes. The position will be updated for all available coordinate systems.
VAR_IN_OUT
B GroupIn AXES_GROUP_REF Reference to a group of axes. References are zero based. You can have up to 32 groups.
VAR_INPUT
B Execute BOOL Starts the action at rising edge.
B Position ARRAY [0..63] OF LREAL The array of coordinates that represents the desired position of the group, including positions and orientations. Each axis in the group needs one value. It means distance if Relative = TRUE.
E Relative BOOL

Mode of position inputs. TRUE if it's relative distance; FALSE if it's absolute position. By default, it is FALSE.

E CoordSystem MC_CoordSystem

A coordinate system.

E ExecutionMode MC_ExecutionMode Defines how to blend the velocity of two function blocks.
VAR_OUTPUT
B Done BOOL Position has a new value.
E Busy BOOL The function block is not finished.
B Error BOOL Signals that an error has occurred within the function block.
E ErrorID MC_Error Error identification.
This function block is similar to MC_SetPosition.

 

  MC_GroupSetPosition  
AXES_GROUP_REF   GroupIn   Group   AXES_GROUP_REF
BOOL   Execute   Done   BOOL
ARRAY [0..63] OF LREAL   Position   Busy   BOOL
BOOL   Relative   Error   BOOL
MC_CoordSystem   CoordSystem   ErrorID   MC_Error
MC_ExecutionMode   ExecutionMode