Lathe with stepper motors - limit switch crash

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

ScotY
Posts: 654
Joined: Sat Sep 23, 2017 7:57 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Honolulu, HI

Re: Lathe with stepper motors - limit switch crash

Post by ScotY »

I have lots of confusion! :lol: This is just a hobby for me and the mill and lathe are just my toys. While I want it all working properly at some point, it’s the journey there that’s more important (and enjoyable, even when frustrating) to me. Thankfully, I don’t have to make a living doing this or I’d be broke! :lol:
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Lathe with stepper motors - limit switch crash

Post by martyscncgarage »

frijoli wrote: Sun Dec 24, 2017 7:17 pm
ScotY wrote: Sun Dec 24, 2017 6:57 pm I’m not disagreeing with that. My point was you NEED to set soft limits even if it doesn’t seem to make sense, like for a lathe setup or Z on a mill. Otherwise, you CAN fast jog into the switch and crash.
I think the confusion comes from the fact that people think of "home" as a maximum travel position. It isn't.

What it in fact is, is a reference point for the machine zero.

Clay

👍
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Centroid_Tech
Posts: 286
Joined: Thu Mar 18, 2010 2:24 pm

Re: Lathe with stepper motors - limit switch crash

Post by Centroid_Tech »

Let me try to clear the confusion. If both of the software travel limits, positive and negative, are set to 0, that is telling the control that there is no software travel limit set for either direction on that axis. When you home a machine, you are NOT actually setting a software limit. You are providing a reference so that the control knows where it is at. Yes, you can use a limit switch to home an axis. That is the typical configuration but you can also have a home switch that is completely independent of the axis limit switch. If a limit switch is used to home an axis, then one of the software limits will be set to 0 while the other software limit will have either a positive or negative value depending on which direction you homed that axis. With the software travel limits set correctly, the control will not allow you to hit that limit either via a program or jogging. If it's in a program, you will see a Travel Limit Exceeded message before it gets to that section of the program because of Centroid's lookahead feature. If you graph the part before actually running it, you will see that message if at any point in the program, it will pass that location. That is why I always like to graph the program first before actually pressing Cycle Start to run the job. If you are jogging, you will see that Travel Limit Exceeded message the moment you attempt to jog past that software travel limit.

With all of that being said, if the software travel limits are both set to 0, the software is unaware of any limits so the software will only stop motion once it hits the limit switch. At that point depending on how fast the axis was moving, it will most likely coast past that limit switch.
When requesting support, please ALWAYS post a current report. Find out how to take a report from your Acorn, CNC11 or CNC10 system here: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

If your question is PLC, Macro or program related, please also post a copy of the program or macro as well.

Without the above information we may not be able to help and/or reply until the required information is posted..
Post Reply