Using XPM_CAM

  • XPM_CAM is used for executing a CAM block of a sub-axis.

  • MST_AXIS should have the same unit configuration as the CAM block.

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

XPM_CAM Details

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_CAM.
CAM_BLK Input CAM block number to execute. Must be 1~9. 9 allows the execution of a USER CAM Operation.
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.

 

 

 

 

LP533-1