Limit Switch feature
Introduction
When using the MC with drives that has limit switches, the following behavior is expected:
When the limit switch is pressed:
- While the axis is moving, the axis will stop and an error will appear:
Error: 3336, "At axis A1. Trying to move towards the limit switch. This movement is not allowed", Task: ,tEthernInp, Line: none, Module: Motion
- While the axis is stationary an error will appear:
Error: 3335, "At axis A1. Limit Switch is Enabled.", Task: ,tEthernInp, Line: none, Module: Motion
In The Background:
The axis enters following mode if bit3 jumped from 1 to 0.
The axis exits following mode in the case that the drive is enabled and the PE (in counts units) is smaller than the value of LimitSwitchThreshold.
In case that the axis was stationary during limit switch scenario:
- Trying to issue a move in the direction of the pressed limit switch will throw no error since the MC has no information about the direction of the limit switch. Yet, the movement still will not be executed.
After that, for both cases:
- Trying to issue a move in the direction of the pressed limit switch will throw the error:
Error: 3336, "At axis A1. Trying to move towards the limit switch. This movement is not allowed", Task: ,tEthernInp, Line: none, Module: Motion - Issuing a movement in the opposite direction of the pressed limit switch will be executed (at any stage).
NOTE | |
This feature is disabled during homing cycle |
{{Note| The LimitSwitchThreshold property default value is set to 100 - More Information.
Configuration
The Limit Switches digital inputs for each axis should be defined in ServoStudio. There are 2 options for defining the limit switches: