Speed and Position Synchronization with XPM_SSP, XPM_SSS, and XPM_SSSP

XEM CPU has a few options for synchronizing a sub-axis with a master. The axes being controlled must already be configured using the XG-PM software before using the synchronization function blocks.

Function Block Description in XG5000 Function
XPM_SSP Position synchronization Execute a step in the Position Data table of the slave axis after the master axis reached the defined position.
XPM_SSS Speed synchronization Control the speed of the slave axis according to the ratio setup with the master axis.
XPM_SSSP Positioning speed sync Control the speed of the slave axis according to the ratio setup with the master axis until the slave axis reaches the defined position.

XPM__SSP Details

XPM_SSP is used for position synchronization of a sub-axis.

  • A step in the position data table is executed when the master axis reaches synchronization position (MST_ADDR).

  • The axis that uses the XPM_SSP function block is considered the sub-axis.

Element Name Element Type Description
REQ Input Edge detected request to execute the function block
BASE Input Base number of the motion controller.Equal to 0 for built-in position control.
SLOT Input Slot number of the motion controller.Equal to 1 for built-in position control
AXIS Input Axis number to control.Set to 1 thru 6 for built-in axes. This can be a constant or variable.
STEP Input Step in the position table to execute when master axis reaches MST_ADDR position.
MST_AXIS Input Master axis number.For XEM this is 1~6 and must not be the axis executing the XPM_SSP.
MST_ADDR Input Master position to execute the position synchronization for the sub-axis.
DONE Output Status that function block is done.
STAT Output Current status of the function block.Non-zero numbers will be an error or warning.

XPM_SSS Details

XPM_SSS is used to control the operating speed between two axes at the set ratio.

  • The synchronization is done with the Master Ratio and Sub-axis Ratio.

  • If master ratio value is larger, then the sub-axis will move slower than the master.

  • If sub-axis ratio value is larger, then the sub-axis will move faster than the master.

  • The sub-axis will move in the same direction as the master axis if the ratio is positive.

  • The sub-axis will move in the opposite direction of the master axis if the ratio is negative.

Element Name Element Type Description
REQ Input Edge detected request to execute the function block
BASE Input Base number of the motion controller.Equal to 0 for built-in position control.
SLOT Input Slot number of the motion controller.Equal to 1 for built-in position control
AXIS Input Axis number to control.Set to 1 thru 6 for built-in axes. This can be a constant or variable.
MST_AXIS Input Master axis number.For XEM this is 1~6 and must not be the axis executing the XPM_SSS.
MST_RAT Input Master speed ratio value. Value can be between -32,768 thru 32767.
SLV_RAT Input Sub-axis speed ratio value can be between -32,768 thru 32767.
DONE Output Status that function block is done.
STAT Output Current status of the function block.Non-zero numbers will be an error or warning.

XPM_SSSP Details

XPM_SSSP is used to control the operating speed between two axes at the set ratio.

  • The sub-axis will stop when its position reaches the POS value.

  • The synchronization is done with the Master Ratio and Sub-axis Ratio.

  • If master ratio value is larger, then the sub-axis will move slower than the master.

  • If sub-axis ratio value is larger, then the sub-axis will move faster than the master.

  • The sub-axis will move in the same direction as the master axis if the ratio is positive.

  • The sub-axis will move in the opposite direction of the master axis if the ratio is negative.

Element Name Element Type Description
REQ Input Edge detected request to execute the function block
BASE Input Base number of the motion controller.Equal to 0 for built-in position control.
SLOT Input Slot number of the motion controller.Equal to 1 for built-in position control
AXIS Input Axis number to control.Set to 1 thru 6 for built-in axes. This can be a constant or variable.
MST_AXIS Input Master axis number.For XEM this is 1~6 and must not be the axis executing the XPM_SSS.
MST_RAT Input Master speed ratio value. Value can be between -32,768 thru 32767.
SLV_RAT Input Sub-axis speed ratio value. Value can be between -32,768 thru 32767.
POS Input Target position of the sub-axis.
DONE Output Status that function block is done.
STAT Output Current status of the function block.Non-zero numbers will be an error or warning.

 

 

 

 

 

 

 

LP531