Using XPM_CAMO

  • XPM_CAMO is used for executing a CAM block of a sub-axis with an added master offset position.

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

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

XPM_CAMO 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_CAMO.
CAM_BLK Input CAM block number to execute. Must be 1~9. 9 allows the execution of a USER CAM Operation.
MST_OFFSET Input Set the master’s offset position.
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-2