Limit Parameters
Limit parameters are parameters related to limit switches and software limits. These parameters are set using functions such as SetParam and SetLimitParam.
This page contains explanations for the following limit parameters:
LS Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
In addition to the action set by this parameter, the servo may also execute an action depending on the servo settings, such as raise an amp alarm.
Even when this parameter is set to None, the limit switch is not disabled. The servo may execute an action depending on the servo settings, the limit switch signal will affect homing (see Limit Switches During Homing), and the Positive LS and Negative LS statuses will return the state of the limit switches. Because of this, even if no limit switch is connected, the Invert Positive LS Polarity and Invert Negative LS Polarity parameters must be set depending on whether the limit switch signal is active high or active low.
The positive limit switch will not trigger while the axis is traveling in the negative direction. Similarly, the negative limit switch will not trigger while the axis is traveling in the positive direction. This allows the axis to return to the valid position range after it triggers the limit switch.
Also see Hardware Limit Switch.
Affected limit switches:
This parameter affects hardware limit switches.
Positive LS Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
Affected limit switches:
This parameter affects hardware limit switches.
Negative LS Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
Affected limit switches:
This parameter affects hardware limit switches.
Invert Positive LS Polarity |
|
|---|---|
Variable Name: |
|
Type: |
bool |
Default Value: |
FALSE |
FALSE: The positive limit switch polarity will be normal and be active high.
This parameter only affects the limit switch action of the WMX3 engine (the limit switch action that is determined by the LS Type parameter). It will not affect the limit switch action that is executed by the servo.
Affected limit switches:
This parameter affects hardware limit switches.
Invert Negative LS Polarity |
|
|---|---|
Variable Name: |
|
Type: |
bool |
Default Value: |
FALSE |
FALSE: The negative limit switch polarity will be normal and be active high.
This parameter only affects the limit switch action of the WMX3 engine (the limit switch action that is determined by the LS Type parameter). It will not affect the limit switch action that is executed by the servo.
Affected limit switches:
This parameter affects hardware limit switches.
Near LS Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
If this parameter is set to None, the near limit switch will be disabled.
The positive near limit switch will not trigger while the axis is traveling in the negative direction. Similarly, the negative near limit switch will not trigger while the axis is traveling in the positive direction. This allows the axis to return to the valid position range after it triggers the near limit switch.
Also see Near and External Limit Switch.
Affected limit switches:
This parameter affects near limit switches.
Near Positive LS Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
Affected limit switches:
This parameter affects near limit switches.
Near Negative LS Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
Affected limit switches:
This parameter affects near limit switches.
Near Positive LS Byte |
|
|---|---|
Variable Name: |
|
Type: |
int |
Minimum Value: |
0 |
Maximum Value: |
7999 |
Default Value: |
0 |
Affected limit switches:
This parameter affects near limit switches.
Near Positive LS Bit |
|
|---|---|
Variable Name: |
|
Type: |
int |
Minimum Value: |
0 |
Maximum Value: |
7 |
Default Value: |
0 |
Affected limit switches:
This parameter affects near limit switches.
Invert Near Positive LS Polarity |
|
|---|---|
Variable Name: |
|
Type: |
bool |
Default Value: |
FALSE |
FALSE: The positive near limit switch polarity will be normal and be active high.
Affected limit switches:
This parameter affects near limit switches.
Near Negative LS Byte |
|
|---|---|
Variable Name: |
|
Type: |
int |
Minimum Value: |
0 |
Maximum Value: |
7999 |
Default Value: |
0 |
Affected limit switches:
This parameter affects near limit switches.
Near Negative LS Bit |
|
|---|---|
Variable Name: |
|
Type: |
int |
Minimum Value: |
0 |
Maximum Value: |
7 |
Default Value: |
0 |
Affected limit switches:
This parameter affects near limit switches.
Invert Near Negative LS Polarity |
|
|---|---|
Variable Name: |
|
Type: |
bool |
Default Value: |
FALSE |
FALSE: The negative near limit switch polarity will be normal and be active high.
Affected limit switches:
This parameter affects near limit switches.
External LS Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
If this parameter is set to None, the external limit switch will be disabled.
The positive external limit switch will not trigger while the axis is traveling in the negative direction. Similarly, the negative external limit switch will not trigger while the axis is traveling in the positive direction. This allows the axis to return to the valid position range after it triggers the external limit switch.
Also see Near and External Limit Switch.
Affected limit switches:
This parameter affects external limit switches.
External Positive LS Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
Affected limit switches:
This parameter affects external limit switches.
External Negative LS Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
Affected limit switches:
This parameter affects external limit switches.
External Positive LS Byte |
|
|---|---|
Variable Name: |
|
Type: |
int |
Minimum Value: |
0 |
Maximum Value: |
7999 |
Default Value: |
0 |
Affected limit switches:
This parameter affects external limit switches.
External Positive LS Bit |
|
|---|---|
Variable Name: |
|
Type: |
int |
Minimum Value: |
0 |
Maximum Value: |
7 |
Default Value: |
0 |
Affected limit switches:
This parameter affects external limit switches.
Invert External Positive LS Polarity |
|
|---|---|
Variable Name: |
|
Type: |
bool |
Default Value: |
FALSE |
FALSE: The positive external limit switch polarity will be normal and be active high.
Affected limit switches:
This parameter affects external limit switches.
External Negative LS Byte |
|
|---|---|
Variable Name: |
|
Type: |
int |
Minimum Value: |
0 |
Maximum Value: |
7999 |
Default Value: |
0 |
Affected limit switches:
This parameter affects external limit switches.
External Negative LS Bit |
|
|---|---|
Variable Name: |
|
Type: |
int |
Minimum Value: |
0 |
Maximum Value: |
7 |
Default Value: |
0 |
Affected limit switches:
This parameter affects external limit switches.
Invert External Negative LS Polarity |
|
|---|---|
Variable Name: |
|
Type: |
bool |
Default Value: |
FALSE |
FALSE: The negative external limit switch polarity will be normal and be active high.
Affected limit switches:
This parameter affects external limit switches.
Soft Limit Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
When the axis command position exceeds the positive software limit position while moving in the positive direction, this action is executed, and the axis will not be able to receive further motion commands in the positive direction until it returns to a position below the positive software limit.
When the axis command position exceeds the negative software limit position while moving in the negative direction, this action is executed, and the axis will not be able to receive further motion commands in the negative direction until it returns to a position above the negative software limit.
If this parameter is set to None, no software limit will be applied. The axis will be able to move to any position, regardless of the values set for the positive and negative software limits.
Software limits are triggered only after homing has completed and the Home Done status is TRUE. If the Home Done status becomes FALSE, the software limit will not trigger until homing is completed again.
Also see Software Limit.
Affected limit switches:
This parameter affects software limits.
Positive Soft Limit Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
Affected limit switches:
This parameter affects software limits.
Negative Soft Limit Type |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
Affected limit switches:
This parameter affects software limits.
Soft Limit Positive Pos |
|
|---|---|
Variable Name: |
|
Type: |
double |
Unit: |
user unit |
Default Value: |
0 |
No software limit will be set for the positive direction if this parameter is set to 0.
Software limits are triggered only after homing has completed and the Home Done status is TRUE. If the Home Done status becomes FALSE, the software limit will not trigger until homing is completed again.
Affected limit switches:
This parameter affects software limits.
Soft Limit Negative Pos |
|
|---|---|
Variable Name: |
|
Type: |
double |
Unit: |
user unit |
Default Value: |
0 |
No software limit will be set for the negative direction if this parameter is set to 0.
Software limits are triggered only after homing has completed and the Home Done status is TRUE. If the Home Done status becomes FALSE, the software limit will not trigger until homing is completed again.
Affected limit switches:
This parameter affects software limits.
LS Dec |
|
|---|---|
Variable Name: |
|
Type: |
double |
Unit: |
user unit / second^2 |
Minimum Value: |
1e-6 |
Maximum Value: |
274877906943 |
Default Value: |
10000 |
Affected limit switches:
This parameter affects hardware limit switches, near limit switches, external limit switches, and software limits.
LS Slow Dec |
|
|---|---|
Variable Name: |
|
Type: |
double |
Unit: |
user unit / second^2 |
Minimum Value: |
1e-6 |
Maximum Value: |
274877906943 |
Default Value: |
10000 |
Affected limit switches:
This parameter affects hardware limit switches, near limit switches, external limit switches, and software limits.
All LS During Homing |
|
|---|---|
Variable Name: |
|
Type: |
bool |
Default Value: |
FALSE |
FALSE: The positive limit switch will not trigger while the axis is moving in the negative direction, and the negative limit switch will not trigger while the axis is moving in the positive direction.
Normally, the positive limit switch will not trigger while the axis is traveling in the negative direction, and the negative limit switch will not trigger while the axis is traveling in the positive direction. This allows the axis to return to the valid position range after it triggers the limit switch.
If this parameter is set to TRUE, the positive limit switch will be able to trigger while the axis is moving in the negative direction and the negative limit switch will be able to trigger while the axis is moving in the positive direction, but only during homing.
For certain home types, the limit switch in the direction of homing will be used as part of the homing procedure (see Limit Switches During Homing). For these home types, the limit switch in the direction of homing will not be affected by this parameter. The limit switch opposite the direction of homing will be affected by this paramter.
This parameter only affects the limit switch action of the WMX3 engine (the limit switch action that is determined by the LS Type, Near LS Type, and External LS Type parameters). It will not affect the limit switch action that is executed by the servo.
This parameter is intended to prevent accidents caused by reversing the placement of the positive and negative limit switches. Limit switches are often triggered during homing for many home types. The user will be alerted to the reverse placement of the positive and negative limit switches because homing will be aborted and the limit switch signal will be set.
This parameter has no effect if the LS Type, Near LS Type, or External LS Type of the triggered limit switch is None.
This parameter has no effect while the axis is not executing a homing operation.
Affected limit switches:
This parameter affects hardware limit switches, near limit switches, and external limit switches. This parameter does not affect software limits, as software limits become inactive during homing (as the home done flag is cleared).
LS Direction |
|
|---|---|
Variable Name: |
|
Type: |
|
Default Value: |
|
If this parameter is set to Normal, the positive limit switch should be attached in the positive direction of the axis and the negative limit switch should be attached in the negative direction of the axis. If this parameter is set to Reverse, the positive limit switch should be attached in the negative direction of the axis and the negative limit switch should be attached in the positive direction of the axis.
Setting this parameter to Reverse will cause WMX3 to interchange the positive and negative limit switch signals from the servo. The positive limit switch signal from the servo will trigger the negative limit switch in WMX3, and the negative limit switch signal from the servo will trigger the positive limit switch in WMX3.
This parameter may be useful if the direction of the axis is reversed with the Axis Polarity parameter. Normally, this requires the positive and negative limit switches to be detached and swapped with each other. By setting this parameter to Reverse, the positive and negative limit switches can operate without swapping them.
Affected limit switches:
This parameter only affects hardware limit switches.