Programs always exceed positive Z limit at end
- JetForMe
- Topic Author
- Offline
- Elite Member
- Posts: 305
- Thank you received: 16
Any ideas? Thanks!
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
- Posts: 2240
- Thank you received: 474
I’m just getting my router up and running, using Fusion 360’s generic linuxcnc.cps post processor to post to the machine, and one thing that always happens is at the end of the run, it trips hitting the soft positive Z limit. You can see it in the attached screenshot, which also shows the tail end of the gcode that ran. It runs normally in G54 with z=0 set to the top of work, more than 200 mm below the top of the Z-axis. Going to G53 Z0 should be fine; I can do it manually without tripping things (I think).
Any ideas? Thanks!
Try bringing the soft limit down a bit . It might be overshooting
Please Log in or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
- Posts: 592
- Thank you received: 77
Do you have a home offset for homeing?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19504
- Thank you received: 6540
Do you have a G21 at the top of gcode ?
Please Log in or Create an account to join the conversation.
- JetForMe
- Topic Author
- Offline
- Elite Member
- Posts: 305
- Thank you received: 16
In gcode you have 15mm, in the screenshot it is at 208mm ? How ? Why ?
Do you have a G21 at the top of gcode ?
Yeah, I've attached the program. The Z15 is in G54, which has z=0 set to the top of work.
Please Log in or Create an account to join the conversation.
- JetForMe
- Topic Author
- Offline
- Elite Member
- Posts: 305
- Thank you received: 16
Try bringing the soft limit down a bit . It might be overshooting
Wouldn't the machine know to slow as it approaches the target position? It does that for all other moves.
Please Log in or Create an account to join the conversation.
- JetForMe
- Topic Author
- Offline
- Elite Member
- Posts: 305
- Thank you received: 16
HOME = -5.0
HOME_OFFSET = 5.0
HOME_SEARCH_VEL = 25
HOME_LATCH_VEL = -5
HOME_SEQUENCE = 0
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = True
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
- Posts: 2240
- Thank you received: 474
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19504
- Thank you received: 6540
That is all good, but how did you get Z to go up to positive 208mm ? I do not see any offsets active in that screenshot.
In gcode you have 15mm, in the screenshot it is at 208mm ? How ? Why ?
Do you have a G21 at the top of gcode ?
Yeah, I've attached the program. The Z15 is in G54, which has z=0 set to the top of work.
Please Log in or Create an account to join the conversation.
- JetForMe
- Topic Author
- Offline
- Elite Member
- Posts: 305
- Thank you received: 16
That is all good, but how did you get Z to go up to positive 208mm ? I do not see any offsets active in that screenshot.
I've attached the full .ini file. I'm pretty sure that's 208 mm in G54.
[AXIS_Z]
MIN_LIMIT = -340.0
MAX_LIMIT = 0.0
MAX_VELOCITY = 200
MAX_ACCELERATION = 1000
[JOINT_3]
AXIS = Z
MIN_LIMIT = -340.0
MAX_LIMIT = 0.0
Please Log in or Create an account to join the conversation.