Threaded View
-
02-03-2025 #3
Hi Chaz,
In Mach4, using the same switch for both limit and home functions is possible, but it depends on the controller and configuration.
With a CS Labs controller, you need to set it up correctly to avoid the "limit hit" error when homing...
Wiring: Ensure your limit switches are wired correctly, Typically, normally-closed (NC) wiring is more reliable for this setup as I think you know?
Mach4 Configuration:
Go to Configure > Control... > Input Signals.
Set up the limit switches for each axis under Limits (e.g., X++, X--, Y++, Y--, Z++, Z--).
Then, configure the same input as a Home switch under Homing/Soft Limits.
Home and Limit Sharing:
In the Homing/Soft Limits tab, enable "Home in Place" for axes that don't need to move during homing...
Set the homing direction and speed as needed.
Ensure the "Home Order" is set correctly to avoid conflicts.
CS Labs Controller Specifics:
Open the CSMIO/IP plugin configuration...
There should be an option to share limit and home switches, enable this setting and if you need to, you can adjust the de-bounce settings as well (to prevent false triggers etc).
Testing:
Manually move the machine to ensure it triggers the limit switches without error.
I would do a homing cycle at this point and observe the behaviour/outcome. It should approach the switch, trigger it, then back off to set the home position without tripping the limits.
If the problem persists, double-check the Input Polarity and Debounce Interval settings. Also, make sure the limit switch is not still active when Mach4 tries to move away from the home position, as this can trigger the "limit hit" error...
Good luck :).Me
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Mach 3 / CS Labs Smoothing
By Chaz in forum Control Hardware & SystemsReplies: 10Last Post: 21-08-2019, 07:24 PM -
EMC2 home/limit switches... only acting as limit?
By vputz in forum LinuxCNC (EMC)Replies: 4Last Post: 15-10-2014, 09:51 AM -
Another Home - Limit switch question
By Cube3 in forum General ElectronicsReplies: 6Last Post: 26-12-2013, 07:51 PM -
Limit and Home Switch Choice
By Wobblycogs in forum General ElectronicsReplies: 25Last Post: 02-12-2013, 06:16 PM -
FOR SALE: Z axis with Home/limit switch and Nema 23 3nm
By Shinobiwan in forum Items For SaleReplies: 6Last Post: 02-02-2013, 10:54 AM
Bookmarks