Home from limit switch?

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

Moderator: cnckeith

Post Reply
ForumShop
Posts: 3
Joined: Sun Mar 16, 2025 7:20 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: 0827181417
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Home from limit switch?

Post by ForumShop »

Hello! I am working to resurrect and learn about a mill we have in our shop. I have gotten it operational after replacing some parts and setting up limit switches. I have +- on both X and Z, but only - for Y until I can find a place to put a + Y switch on this old Yamazen ST-N mill. Running CNC12 with AllinOneDC unit. I understand Machine and work piece coordinates a bit and am learning how to make it do what I think I'm asking of it. In the meantime, this machine had no switches and risked me banging a limit while I learn it, so I paused to install them and flip the DIP switches to allow them to be monitored. Limit switches are operational(except missing Y+ for now).
I am learning how to home the machine at each power up by jogging off of the limits and picking a spot. This works I think, but I have to be critical of distance travelled from the stop on each axis to get repeatable results on each power up. I've seen in Centroid settings and the manual that I can set the machine to home at power up? When I select home at power up, there is no change in it's start up routine and I still have to set machine home as I described above. Should the software home the machine at power up when set this way? I imagined it running the axes slowly to limit or home switches and then coordinating just off the switches?

What am I missing here as I learn, and can limit switches be used to "home" the X,Y,Z?

Yamazen ST-N
Centroid AllInOneDc with CNC12


ForumShop
Posts: 3
Joined: Sun Mar 16, 2025 7:20 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: 0827181417
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Home from limit switch?

Post by ForumShop »

Here is System Report:
Attachments
report_0827181417_2025-03-16_20-13-06.zip
(155.35 KiB) Downloaded 3 times


cncsnw
Community Expert
Posts: 4469
Joined: Wed Mar 24, 2010 5:48 pm

Re: Home from limit switch?

Post by cncsnw »

The report you posted is not from an Allin1DC system. It appears to be from a system using a DC3IO drive/PLC unit and an MPU11/LegacyAdd upgrade.

Was that the correct report?

Assuming so:
On the Machine Configuration -> Motor Parameters table, you need to enter the limit and home switch input numbers, at least for the five switches that you have connected.

For example, since you have Dir Rev = 'N' on the X axis, your X axis minus and plus limit input numbers would be "1" and "2", and the home input numbers would be the same.

Since you have Dir Rev = 'N' on the Y axis as well, your Y axis minus and plus limit input numbers would be "3" and "4", and the home input numbers would again be the same. If you have no minus switch installed on Y, then you could enter "0" instead of "3" for the minus limit and home. That would make it more clear that the switch is absent, and would prevent attempting to home off of it.

Since you have Dir Rev = 'Y' on the Z axis, your Z axis minus and plus limit input numbers should be "6" and "5", in that order; and the home input numbers would again be the same. You need to wire your Z minus switch to INP6, and you need to wire your Z plus switch to INP5.

With those corrections, the "Home at Powerup" selection and the cncm.hom macro that you already have, should work.


ForumShop
Posts: 3
Joined: Sun Mar 16, 2025 7:20 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: 0827181417
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Home from limit switch?

Post by ForumShop »

Thank you!
Your advice was perfect and helped explain things further than I had expected. I was able to understand the machine configuration much better and make sense out of the inputs and their switches. Direction reverse changes all made sense and the homing macro we had on hand worked once I made minor changes to it also(Y had been reversed and worked around by a previous operator).

And, Yes! My hardware may not be what I thought it was. I am still learning about it, but the ALLinoneDC was the closest match I could reference to what I have on this old Shizuoka machine.

Thanks again!
-Now where to find bearings and a belt for this old


Post Reply