Additive Positioning with MC_MoveAdditive

MC_MoveAdditive is used to add a distance to an active motion command for an axis. This function block should be executed when axis is in DiscreteMotion state. MC_MoveAdditive can be executed without the axis being homed.

  • A positive distance value will add distance to the current move.

  • A negative distance value will subtract distance from the current move.

  • LS_Connect and MC_Power 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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LM511