Z-Axis Gone Too Far

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

RJS100
Posts: 380
Joined: Tue Oct 20, 2020 8:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Arizona

Z-Axis Gone Too Far

Post by RJS100 »

I just finished converting a PM833 to CNC. I homed the machine a dozen times... No problem. I ran some test gcode (see attached file "Circular pocket"), no problem. I ran the same gcode again today and as the program prompted for the 1st tool change, and the z-axis moved up to the proximity switch(see attached), it over-ran the limit switch slightly and cracked the limit switch mounting bracket. I have also attached the recent report with all the settings.

Any idea as to why it overran the limit switch just enough to crack the bracket?

Thanks... Richard
Attachments
20220903_150228.jpg
Circler pocket.cnc
(1.4 KiB) Downloaded 9 times
report_E415F6F649F8-0121214266_2022-09-03_14-48-07.zip
(651.68 KiB) Downloaded 11 times
tblough
Posts: 3095
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Z-Axis Gone Too Far

Post by tblough »

Well, according to your report, those are home switches and not limit switches, so they would not have stopped movement anyway. Home switches are only active during the homing cycle.

If you do not have limit switches, then you need to be using soft limits which you also do not have configured.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
RJS100
Posts: 380
Joined: Tue Oct 20, 2020 8:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Arizona

Re: Z-Axis Gone Too Far

Post by RJS100 »

Tom, thanks for your quick response.

I am a bit confused. When I setup the homing details, I entered the software travel limits (see attached). What are my missing here?

Thanks... Richard
Attachments
Software Travel limits.png
suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Z-Axis Gone Too Far

Post by suntravel »

0 is not used as a limit, use 0.1 or set up the home switches as ..HomeLimitOk
At the time the overriding occurs you have had lots of resends, maybe a cause for the problem also.

Uwe
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: Z-Axis Gone Too Far

Post by Muzzer »

Presumably your machine would have to decelerate down from your rapid speed in anticipation of stopping before over running the Z0 position. If the accel / decel values for your Z axis are not appropriate, I guess this could be an outcome. But as Uwe says, you should set a soft limit before the home position, to give yourself some margin.
RJS100
Posts: 380
Joined: Tue Oct 20, 2020 8:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Arizona

Re: Z-Axis Gone Too Far

Post by RJS100 »

Thanks for all your responses! I am sorry but I am still missing something.

I understand that I need to add a soft limit to give the machine some margin, but I am unclear as to where to add these numbers. The manual mentions a figure between .1 and .38 as Uwe noted, but where do I enter these numbers into the software? Should I be entering ".1" instead of "0" in the highlighted boxes on the attached?

Lastly, the proximity sensors are currently wired to an input configured as "Home All". I am not seeing the ability to define the input as "HomeLimitOk" that Uwe noted. What is difference between "Home All" and "HomeLimtOk"

Thanks... Richard
Attachments
Soft Limits.JPG
suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Z-Axis Gone Too Far

Post by suntravel »

(Axis)HomeLimitOk is only if you have one input per axis, but you can use HomeAll and LimitAll

0 is ignored as Limit, so you have to use an other value as limit, or limit sensors if you want to use 0 on one end of axis travel.

Try out to drive slowly to each axis end, if configured ok you will get an axis travel limit message.

Uwe
RJS100
Posts: 380
Joined: Tue Oct 20, 2020 8:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Arizona

Re: Z-Axis Gone Too Far - SOLVED

Post by RJS100 »

Ok. I added the limits show on the attached. I am now getting errors when I instruct the machine to go beyond the limits. Thanks for all your help!
Attachments
home Prog Limits.png
Gary Campbell
Posts: 2179
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn 238
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Marquette, MI
Contact:

Re: Z-Axis Gone Too Far

Post by Gary Campbell »

I was under the assumption that travel limit values were ignored if BOTH values were zero. I could be wrong

You are getting errors because your negative homing axes (M91) travel limits must be zero or positive. Positive homing axes (M92) must be zero or negative
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
cncsnw
Posts: 3832
Joined: Wed Mar 24, 2010 5:48 pm

Re: Z-Axis Gone Too Far

Post by cncsnw »

Gary is right: as long as at least one of the travel limits for an axis is non-zero, then soft limits are active. There is no problem with having a plus limit of 0.0 and a minus limit of, for example, -23.6.

Soft limits only apply after the axis has been homed.
Post Reply