MC_MoveDirectAbsolute (FB)¶
FUNCTION_BLOCK FINAL MC_MoveDirectAbsolute
This function block commands a movement of an axis group to the specified absolute position in the specified coordinate system.
Each axis is moved to its target position independently, the movement is only synchronized such that all axes reach the target at the same time. This means that the path travelled by the TCP depends on the kinematic transformation used. In general, it will not be a line. (This is called a point to point or PTP movement.)
Bemerkung
The path travelled by the TCP results indirectly from the movement of the axes and the kinematic transformation. It is not easy to predict the path based on the start- and end-position of the movement. However, once a PTP movement has been taught-in, the path is not modified by changing the override, interrupting, halting, or stopping. In more detail:
The path is independent of the override.
The path is independent of the limits of the axes (limits for velocity, acceleration, deceleration, and jerk). The only exception is for determining the cutoff points in TMStartVelocity mode.
In TMCornerDistance mode, the path is independent of the blending type (BlendingHigh/Low/Previous/Next).
The path is not left on halt or stop (MC_GroupHalt/MC_GroupStop).
The path is not left on interrupt or continue (MC_GroupInterrupt/MC_GroupContinue).
The acceleration, constant velocity, and deceleration phase for all axes begins and ends at the same time.
Bemerkung
The velocity/acc-/deceleration/jerk limits of each axis are properties of each axis and not specified within this function block. See also inputs
VelFactor,AccFactorandJerkFactor.The transition mode TMCornerDistance is only supported if the start- and end-position of the movement are given in the ACS. Otherwise, an error is reported.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
AxisGroupReference to a group of axes
Input
ExecuteBOOLStart the motion at rising edge
PositionEnd position in the specified coordinate system
MovementTypeType of PTP movement. No longer supported. This obsolete input will be removed in future versions.
CoordSystemApplicable coordinate system
BufferModeMC_BUFFER_MODEDefines the chronological sequence of the FB relative to the previous block.
TransitionModeDefined the blending in case of a blending buffer mode
TransitionParameterARRAY [0..(SMC_RCNST.MAX_TRANS_PARAMS - 1)] OF LREAL
Parameters for blending
VelFactorLREAL1
The maximum velocity of each axis is multiplied by this factor, which must be in the range ]0, 1].
AccFactorLREAL1
The maximum acceleration of each axis is multiplied by this factor, which must be in the range ]0, 1].
JerkFactorLREAL1
The maximum jerk of each axis is multiplied by this factor, which must be in the range ]0, 1].
Output
DoneBOOLCommanded end positions reached for all axes
BusyBOOLThe FB is not finished
ActiveBOOLIndicates that the FB has control on the axis
CommandAbortedBOOLCommand is aborted by another command
CommandAcceptedBOOLCommand has been accepted by the axis group
ErrorBOOLSignals that an error has occurred within the function block
ErrorIDSMC_ERRORError identification
MovementIdSMC_Movement_IdThe unique identifier of the movement. Valid if
CommandAcceptedorDoneisTRUE.