Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Andre_DE on August 27, 2015, 04:54:16 PM
-
Hi all!
For two weeks I tried figuring out a solution but no success...
In two of my axis I would like to combine end- and ref switch in one physical switch.
How do I get Mach3 to differentiate between a homeing action and a end switch state? If I define the same pins for both always the end switch function is triggered and the machine goes into reset state. On the other hand I do not want to loose the end switch functionality in case something with the machine goes bad.
Thank you!
André
-
Hi Andre,
witch controller are you using ?
on my CSMIO-M and CSMIO-S this is working prefect,
just configure the same port and oin in input setup.
Thomas
-
Hi Thomas,
Thank you for your reply!
What a coincidence! I am using a CSMIO-S with input port/pin for home and limit set to the same values. With either one of them disabled, homing and limit functions correctly.
Regards,
André
-
I believe there's an override check box somewhere which also has to be set to allow homing to work with a switch which is both home and limit, I have this running on my Z but it's so long since I set it up ... ;-)
- Nick
-
it should not matter when you are homing if the same switch is set as a limit switch as its looking for home nothing else mach takes care of that, if it is a problem you have something wrong
-
I cannot find the error... Mach3 recognizes both switch states but does fire an emergency stop when homing.
My setup:
Z zero is 0 at the highest and 260mm at the lowest point
Z Axis with two inductive switches one on ++ (Bottom of axis) and one on -- (Top of axis)
My configuration
Pins >> Z++ Pin 2, Z-- Pin 3, Z Home Pin 2
Homing&Limits >> SoftMax: 0.00; SoftMin: -260.00, Home NEG and Auto Zero enabled
Homing
When homing, both M3++ Limit and M3Home light up, followed by an immediate emergency stop.
When I disable the home switch under ports and pins, homing works fine.
The end switch functionality in general always works.
-
Go to Config menu then General Config and change Home SW Safety setting to the opposite of what you have and see if that helps.
Hood
-
I cannot find the error... Mach3 recognizes both switch states but does fire an emergency stop when homing.
My setup:
Z zero is 0 at the highest and 260mm at the lowest point
Z Axis with two inductive switches one on ++ (Bottom of axis) and one on -- (Top of axis)
My configuration
Pins >> Z++ Pin 2, Z-- Pin 3, Z Home Pin 2
Homing&Limits >> SoftMax: 0.00; SoftMin: -260.00, Home NEG and Auto Zero enabled (Z home is + not -) and Z only needs a + limit, home switch the - is a wast of time not needed.
Homing
When homing, both M3++ Limit and M3Home light up, followed by an immediate emergency stop.
When I disable the home switch under ports and pins, homing works fine.
The end switch functionality in general always works.
and do what HOOD says
-
Your z lowest point should be a negative number as well..
Sent from my XT1080 using Tapatalk
-
correct but your lowest point is table top you home Z to the highest point of your Z axis what is up + not down -. home = machine position at the extremes of the machine`s travel in all axis in the - for x and y and + for z. so it left front or back corner at the extremes of the machine travel.
work is where the work pieces is relative to machine Zero.
but this is about Mach control of homing what need`s to be set correct for it to work in the first place, if it is set correct and plays up something else can be wrong. I have home/limits on the same switch it works fine
-
Maybe try adding some input debounce, 30-40 works on mine???
-
Go to Config menu then General Config and change Home SW Safety setting to the opposite of what you have and see if that helps.
Hood
Excellent, thank you very much.
No idea how I could overlook this obvious setting but this has solved the issue!
-
You can be excused for overlooking it as it is not what it usually does in Mach3. The CS-Labs people have used it differently and thus looking at the Mach3 manual would give you no clues :)
Hood