Link Operation with LS_MoveLink

LS_MoveLink is used to synchronize the speed of the master and slave axes using the set gear ratio and synchronization positions. The Master axis must always operate in the forward direction while using LS_MoveLink. RatioNumerator and RatioDenominator set the ratio of the slave’s speed to the master’s speed. If the RatioNumerator value is set to a negative number, the slave will move in the opposite direction of the master.

  • The MasterValueSource input is used to set the synchronization to master commanded or current position.

  • The slave axis will enter SynchronizedMotion state while this function block is executing.

  • MasterSyncPosition and SlaveSyncPosition inputs can be used to control when the gearing starts.

  • MasterStartDistance input starts synchronization at the set distance from the MasterSyncPosition and should be greater than 0.

  • When the gear operation starts and the SlaveEndPosition is reached, the gear operation ends and the main axis moves the distance set in the MasterEndDistance input, while the slave axis performs the release action to reach the SlaveWaitPositon.

  • LS_Connect and MC_Power/MC_PowerAll must be executed before these function blocks can be used.

  • The following examples can be found in the XMC_LSDedicated_FBs.zip downloadable from Example Applications.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LM800