XPM_LRD
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 read servo parameter information. |
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. |
L_CNT | Output | Latch Position data count. |
L_DATA | Output | Latched position data 1-10. |

XPM_LRD Configuration
This example shows using the XPM_LRD function block to read latched positions for Axis 1.
-
The REQ of XPM_LRD can be left TRUE to constantly read positions.
-
If more then 10 axis positions are latched, The newest data will be stored in array position 9 and the previous data will be shifted to positions 0 through 8.
XPM_LRD Results
XPM_LSET is executed prior to using XPM_LRD to read latched positions.
LP614-2