Setting the current position using MC_SetPosition

MC_SetPosition is used to set the current position of the selected axis. This function block will set Origin Fix to On if using absolute position value change.

  • 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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LM516