Jogging an Axis with XPM_JOG

Axis jog functionality is done using the XPM_JOG function block. The axis being controlled must already be configured using the XG-PM software before using XPM_JOG.

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.
JOG_DIR Input Set the direction of the JOG. 0: Forward Direction.1: Reverse Direction.
LOW/HIGH Input Set the Speed of the JOG operation.0: Uses Low Speed Axis setting.1: Uses High Speed Axis setting.
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.

 

 

 

 

 

 

LP512