Galil Motion Control optcom Page 138
Optima DMC-1xxx and DMC-18x2 Command Reference
_LR*
i
127
_LR*
FUNCTION: Reverse Limit Switch Operand (Keyword)
DESCRIPTION:
The _LR operand contains the state of the reverse limit switch for the specified axis.
The operand is specified as: _LRn where n is the specified axis.
Note: This operand is affected by the configuration of the limit switches set by the command
CN:
For CN -1:
_LRn = 1 when the limit switch input is inactive*
_LRn = 0 when the limit switch input is active*
For CN 1:
_LRn = 0 when the limit switch input is inactive*
_LRn = 1 when the limit switch input is active*
* The term "active" refers to the condition when at least 1ma of current is flowing through the
input circuitry. The input circuitry can be configured to sink or source current to become
active. See Chapter 3 for further details.
EXAMPLES:
MG _LRA
Display the status of the A axis reverse limit switch
*Note: This is an Operand - Not a command