Setting homing direction

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Post Reply
kmundt
Posts: 6
Joined: Sat Aug 30, 2025 3:14 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0008DC111213-0822243149
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Setting homing direction

Post by kmundt »

I am replacing the controller on a Lagunmatic 250 with the All-in-1 controller.
My X & Y axis home correctly.
The X-axis is homing to -Z. It needs to home to +Z.
The Z-axis motor is set to negative direction so that it jogs in the correct directions.
AX3_minuslimit is on input 5 and plus limit is on input 6.
On the machine input 5 is connected to the lower Z-axis limit switch.

When I try to home the Z-axis it travels toward negative direction.
If I use the MDI interface and type M92/Z the quill travels in the Z-plus direction and hit the top limit but does not interpret that switch as home.
It seems that the switches are wired backwards.
I have tried all types of combinations but can't seem to get the correct combination of wiring and interface settings.
What should my settings and wiring be?
Attachments
report_0008DC111213-0822243149_2025-09-10_11-01-49.zip
(5.53 MiB) Downloaded 2 times


Centroid_Tech2
Posts: 123
Joined: Mon Mar 03, 2014 4:24 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Setting homing direction

Post by Centroid_Tech2 »

When using direction reversal with the ALLIN1DC you need to reverse BOTH the input numbers in the Motor Parameter screen and the wires on the ALLIN1DC.
When requesting support READ THIS POST first. viewtopic.php?f=60&t=1043

Please ALWAYS post a FRESH report. To make a report: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

(We pride ourselves on providing timely solid technical support but, without good information we may not be able to help and/or reply until such information is posted.)


kmundt
Posts: 6
Joined: Sat Aug 30, 2025 3:14 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0008DC111213-0822243149
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Setting homing direction

Post by kmundt »

I think that is the configuration that I now have.
The lower z-limit switch is z plus limit.
When I home the axis the quill travels in the -z direction and homes correctly.
I need it to home with the quill fully retracted (+z direction).
I can force homing the other way with M92/Z from MDI.
This travels in the correct direction, but I get Axis 3 position error when it get to the top limit switch.

How do I get it to read the top limit switch as a home.
M91/Z homes correctly towards -Z.
M92/Z homes in the correct +Z direction but errors when it gets to the switch.

I also know that I will have another question once I get M92/Z working correctly.
How do I change the direction when using non-MDI homing.
I tried changing the CNC.hom file to M92, but that seems to have no effect.


kmundt
Posts: 6
Joined: Sat Aug 30, 2025 3:14 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0008DC111213-0822243149
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Setting homing direction

Post by kmundt »

Additiona detail from my last question on CNC.hom.

The automated cycle for homing all three axis seems to go in the correct directions. (Limit switch is still a problem for the z-axis)
When homing Z from the config/motor menu the axis travels in the -z direction.
So - Seems that .hom is probably OK.
Is there a way to invert the direction if using the config/motor/find home button?


cncsnw
Community Expert
Posts: 4674
Joined: Wed Mar 24, 2010 5:48 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No

Re: Setting homing direction

Post by cncsnw »

As Centroid_Tech2 pointed out, because you needed to set Direction Reversal:
- Your Z- (quill-down) limit switch should be wired to INP6
- Your Z+ (quill-up) limit switch should be wired to INP5
- On the Machine Configuration -> Motor Parameters table, your limit and home input numbers for the Z axis should read "6 5 6 5"

Your cncm.hom file correctly says "M92/Z", so it should try to home Z+ (quill up). Correct your limit switch wiring and configuration, then try again.

On the Machine Configuration -> Find Home interface, you can highlight the +/- direction field and press the space bar to toggle between - and +.


Post Reply