Absolute Positioning that ends with a velocity move using MC_MoveContinuousAbsolute

MC_MoveContinuousAbsolute will perform an absolute move and transition to a velocity move when absolute positioning is complete. The value in the input EndVelocity will be the final speed for the continuous speed portion of the movement. If the function block is executed again while performing a previous MC_MoveContinuousAbsolute operation, the changes in parameters will be applied.

  • When using ‘infinite running repeat position’, Direction = 2 for shortest distance can be used to have the function block select the direction for shortest move.

  • This function block will cause the axis to transition to ContinuousMotion state.

  • The sign of the EndVelocity value will determine the direction of the speed move portion.

  • A negative EndVelocity value will move in the reverse direction and a positive EndVelocity value will move in the forward direction.

  • LS_Connect, MC_Power, and MC_Home must be executed before this function block can be used.

  • The examples in this topic can be found in the XMC_SingleAxis_FBs.zip downloadable from Example Applications.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LM513