KMotion has the ability to monitor limit switch inputs for each axis and stop motion when a physical limit switch is detected. The limit switch options allow this feature to be enabled or disabled for each limit (positive or negative), what specific bit to be monitored for each limit, what polarity of the bit indicates contact with the limit, and what action to perform when a limit is detected.
Select Watch Limit to enable limit switch monitoring.
Select Stop when low to select negative true logic for the limit (motion will be stopped when a low level is detected).
Specify a bit no. for which bit is to be monitored for the limit condition. See the Digital IO Screen for current I/O bit status and a recommended bit assignment for limit switches (bits 12 through 19). If in a particular application it isn't critical to determine which Limit Switch (either positive or negative, or even which axis) the number of digital I/O bits consumed by limit switches may be reduced by "wire ORing" (connecting in parallel) multiple switches together. In this case, the same bit number may be specified more than one place.
The Action drop down specifies what action should be performed when a limit is encountered.
Kill Motor Drive - will completely disable the axis whenever the limit condition is present. Note that it will not be possible to re-enable the axis (and move out of the limit) while the limit condition is still present and this mode remains to be selected.
Disallow drive into limit - will disable the axis whenever the limit condition is present and a motion is made into the direction of the limit. This mode will allow the axis to be re-enabled while inside the limit and will allow a move away from the limit.
Stop Movement - this action will keep the axis enabled, but will freeze the commanded position as soon as the limit is detected, and stop any motion trajectory in progress for the axis.
Furthermore, in all the above cases and a limit condition is detected, if the axis belongs to the set of axis in the coordinated group, then any coordinated motion trajectory will be halted.