XPM_LCLR
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. |
SEL | Input |
0: Reset the state when latch is completed. 1: Reset latch position data and state when latch is completed. |
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_LCLR Configuration
This example shows using the XPM_LCLR function block to clear latched positions for Axis 1.
-
XPM_LSET must be executed again after clearing latched positions.
XPM_LCLR Results
-
XPM_LCLR is used to clear latched positions.
-
XPM_LSET must be executed again to start latching new positions.
LP614-3