XPM_LSET
The XPM_LSET works with the touch probe 1 input of the iX7NH EtherCAT servo drive.
-
XPM_LSET works with other EtherCAT servos that support touch probe.
-
XPM_LSET must be enabled again after performing an XPM_LCLR to clear data.
Element Name | Element Type | Description |
---|---|---|
REQ | Input | Edge detected request to execute the function block. |
BASE | Input | Base number of the motion controller. Set 0 to the Base Number. |
SLOT | Input | Slot number of the motion controller. Set to the slot number of the XBF-PN04B or XBF-PN08B module. |
AXIS | Input | Axis to command with function block. |
ENABLE | Input |
Latch enable/disable.
|
MODE | Input |
Latch Mode.
|
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_LSET Configuration
This example shows using the XPM_LSET function block to setup position latching for Axis 1.
-
XPM_LSET must be executed before reading values with XPM_LRD.
-
It also must be executed again after executing an XPM_LCLR to clear values.
LP614-1