Lathe with stepper motors - limit switch crash
Moderator: cnckeith
-
- 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
Lathe with stepper motors - limit switch crash
Just finished the initial setup of my mini lathe. It’s running steppers and Chinese drivers, using the Leadshine wiring diagram. I noticed it seems to home a little differently compared to my mini mill with ClearPath servos. The lathe will hit the limit switch, back off, then move towards the switch again, almost like it’s bouncing off the switch. I’m not sure if it’s opening the switch on the second move...I’ll have to investigate further.
Anyway, while moving the machine around at the higher jog speeds, I managed to crash it into and damage the limit switch. When doing the same with the mill (servo motors), this hasn’t happened...the axis will coast to a stop and rest on the switch.
Do I have something setup incorrectly or is this just because of the stepper motors?
Or, I suppose the third option would be operator error.
Video - weird homing behavior
http://www.youtube.com/watch?v=RuBDG7RHFkI
Anyway, while moving the machine around at the higher jog speeds, I managed to crash it into and damage the limit switch. When doing the same with the mill (servo motors), this hasn’t happened...the axis will coast to a stop and rest on the switch.
Do I have something setup incorrectly or is this just because of the stepper motors?
Or, I suppose the third option would be operator error.
Video - weird homing behavior
http://www.youtube.com/watch?v=RuBDG7RHFkI
Last edited by ScotY on Fri Dec 22, 2017 7:58 pm, edited 1 time in total.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- 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
Hmmm...I'm having some issues with CNC12 Lathe. The VCP (and also the Xbox) can be unresponsive, then suddenly respond, often moving an axis close to over travelling. I'm still in the initial setup stage and don't have soft limits set. It's quite unusual, and nothing like the Acorn on my mill. I just did an update to Windows 10 because it wanted to install one and restart, etc. so not sure if that has anything to do with it.
Last edited by ScotY on Sat Dec 23, 2017 2:19 pm, edited 1 time in total.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- 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
Can someone watch the video link in my first post and tell me if it seems normal?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- 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
I still think the homing is weird...I don't quite get what it's doing.
However, I learned something...if you don't set travel limits, you WILL crash into your limit switches on rapid jog moves. For some reason, it does not "remember" where the limit switch is and will jog until the switch opens. If you're moving fast, it may not stop in time. Once I set a travel limit, it then remembers where the limit switch is and will coast to a stop before smashing into it. I would guess this info may be in the manual, but I'm a bit behind in my reading.
However, I learned something...if you don't set travel limits, you WILL crash into your limit switches on rapid jog moves. For some reason, it does not "remember" where the limit switch is and will jog until the switch opens. If you're moving fast, it may not stop in time. Once I set a travel limit, it then remembers where the limit switch is and will coast to a stop before smashing into it. I would guess this info may be in the manual, but I'm a bit behind in my reading.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 9932
- 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
It looks ok to me....ScotY wrote: ↑Sat Dec 23, 2017 3:56 pm I still think the homing is weird...I don't quite get what it's doing.
However, I learned something...if you don't set travel limits, you WILL crash into your limit switches on rapid jog moves. For some reason, it does not "remember" where the limit switch is and will jog until the switch opens. If you're moving fast, it may not stop in time. Once I set a travel limit, it then remembers where the limit switch is and will coast to a stop before smashing into it. I would guess this info may be in the manual, but I'm a bit behind in my reading.
I assume DRO's zero after homing?
Yes, set your soft limits once motor direction and homing is setup....
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 9932
- 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
You also should be posting your REPORT file when asking questions about your setup, pictures or screenshots of your wizard pages....otherwise were just guessing...
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 9932
- 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
Scot, I think you are your own worst enemy, short cuts, not reading up on the process and diving in. So you experience the consequences of doing so.ScotY wrote: ↑Sat Dec 23, 2017 3:56 pm I still think the homing is weird...I don't quite get what it's doing.
However, I learned something...if you don't set travel limits, you WILL crash into your limit switches on rapid jog moves. For some reason, it does not "remember" where the limit switch is and will jog until the switch opens. If you're moving fast, it may not stop in time. Once I set a travel limit, it then remembers where the limit switch is and will coast to a stop before smashing into it. I would guess this info may be in the manual, but I'm a bit behind in my reading.
Not trying to be mean, but you can't take short cuts, maybe on a stepper driven machine where a motor just stalls if you hit a hard stop, but more powerful motors are not forgiving.
I tried my best to make it easy with my videos covering the basics, which included limit switch setup, soft limit setup, fine tuning of DRO.
Take a step back, regroup, rethink....
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- 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
It opens the switch, backs off, then seems to move back towards the switch again with an extra pulse. I don’t know, it happens pretty quick but it seems odd. The mill seems much smoother.martyscncgarage wrote: ↑Sat Dec 23, 2017 6:33 pmIt looks ok to me....ScotY wrote: ↑Sat Dec 23, 2017 3:56 pm I still think the homing is weird...I don't quite get what it's doing.
However, I learned something...if you don't set travel limits, you WILL crash into your limit switches on rapid jog moves. For some reason, it does not "remember" where the limit switch is and will jog until the switch opens. If you're moving fast, it may not stop in time. Once I set a travel limit, it then remembers where the limit switch is and will coast to a stop before smashing into it. I would guess this info may be in the manual, but I'm a bit behind in my reading.
I assume DRO's zero after homing?
Yes, set your soft limits once motor direction and homing is setup....
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- 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
I am, no question about that! I have little free time and am constantly being interrupted by wife, kid, dog, etc. While my methods are far from desirable, I am sure I am not alone. Your videos are incredibly helpful but videos are hard to reference, especially when you’re short on time. Once I get this stuff all figured out, I plan to put together a quick cheat sheet, of sorts, to aid in initial setup for busy and lazy people like myself. It’s mostly so I can remember what I did if/when I need to redo something.martyscncgarage wrote: ↑Sat Dec 23, 2017 6:43 pmScot, I think you are your own worst enemy, short cuts, not reading up on the process and diving in. So you experience the consequences of doing so.ScotY wrote: ↑Sat Dec 23, 2017 3:56 pm I still think the homing is weird...I don't quite get what it's doing.
However, I learned something...if you don't set travel limits, you WILL crash into your limit switches on rapid jog moves. For some reason, it does not "remember" where the limit switch is and will jog until the switch opens. If you're moving fast, it may not stop in time. Once I set a travel limit, it then remembers where the limit switch is and will coast to a stop before smashing into it. I would guess this info may be in the manual, but I'm a bit behind in my reading.
Not trying to be mean, but you can't take short cuts, maybe on a stepper driven machine where a motor just stalls if you hit a hard stop, but more powerful motors are not forgiving.
I tried my best to make it easy with my videos covering the basics, which included limit switch setup, soft limit setup, fine tuning of DRO.
Take a step back, regroup, rethink....
Marty
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 9932
- 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
Your Z axis seems to sound ok, but your X seems noisy.....ScotY wrote: ↑Sat Dec 23, 2017 7:06 pmIt opens the switch, backs off, then seems to move back towards the switch again with an extra pulse. I don’t know, it happens pretty quick but it seems odd. The mill seems much smoother.martyscncgarage wrote: ↑Sat Dec 23, 2017 6:33 pmIt looks ok to me....ScotY wrote: ↑Sat Dec 23, 2017 3:56 pm I still think the homing is weird...I don't quite get what it's doing.
However, I learned something...if you don't set travel limits, you WILL crash into your limit switches on rapid jog moves. For some reason, it does not "remember" where the limit switch is and will jog until the switch opens. If you're moving fast, it may not stop in time. Once I set a travel limit, it then remembers where the limit switch is and will coast to a stop before smashing into it. I would guess this info may be in the manual, but I'm a bit behind in my reading.
I assume DRO's zero after homing?
Yes, set your soft limits once motor direction and homing is setup....
Get your machine setup, fine tune the DRO's and then do repeatability tests with an indicator.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)