[Grbl_Esp32 Issue#1489] Custom parking motion; Does parking update the position?

未分类 bolang 4周前 (10-14) 6次浏览 0个评论

Issue #1489 | 状态: 已关闭 | 作者: honeybadger2023 | 创建时间: 2023-06-15


Hi,

just to state the obvious: Your work is amazing.

does the parking motion update the position?

I want to implement a custom parking motion that doesn’t move back to the original resume position but to the resume position minus a little offset.

I know that you moved on to FluidNC but this version just works for me.


评论 (9)

#1 – honeybadger2023 于 2023-06-15

Ok. Doesn’t look like it updates the position.

I use the SafetyDoor for testing and a custom protocolexecrt_suspend function.


Starting pos systemgetmpos(): -6.00000
Retracting to retract_waypoint: -5.98000
Plunge back from retraction
parkingtarget[PARKINGAXIS] after retract: -5.97998
parkingtarget[PARKINGAXIS] plunge to: -5.98198
[MSG:Check door]
`

And with the next safetydoor call systemgetmpos() returns the old position for Z.

Starting pos systemgetmpos(): -6.00000`

Is there some magic function to sync the position somehow?

Edit: Maybe this is my fault. Does systemgetmpos() returns the home positions and not the current positions?


#2 – honeybadger2023 于 2023-06-15

Looks like it just return to the previous state.

Is it possible to directly alter the current block with new values to change the position in real-time for just one axis and then just let the program run again? Any hints are welcome.


#3 – MitchBradley 于 2023-06-15

We stopped supporting GrblEsp32 a long time ago. All of our current work and attention is focused on FluidNC, which has surpassed GrblEsp32 greatly.


#4 – honeybadger2023 于 2023-06-15

> We stopped supporting GrblEsp32 a long time ago. All of our current work and attention is focused on FluidNC, which has surpassed GrblEsp32 greatly.

I know. Is it possible to realtime adjust the position of just the z axis with FluidNC?


#5 – MitchBradley 于 2023-06-15

If you are willing to write custom code, you can do anything.


#6 – MitchBradley 于 2023-06-15

I think what you are looking for is akin to a “babystepping” capability like some 3d printers have. We have considered such a feature but there is no agreement on a design for same.


#7 – honeybadger2023 于 2023-06-15

Depends on what exactly baby stepping is. I’m building a EDM CNC and just want to retract the electrode if a short circuit occurs. If babystepping would be a onetime setting this won’t help much.

Currently I try to load the current_block change the z target there. Not easy. FluidNC seems to have some good changes but is what to tricky to get it running with all the modifications needed and the core seems to be about the same and the functionality wanted is not available there too.


#8 – honeybadger2023 于 2023-06-15

A oneshot realtime command that repositions Z a given distance while not affecting XY.


#9 – MitchBradley 于 2023-06-15

Regardless, we are not going to spend any more time on Grbl_Esp32, so if you want to modify it, you are on your own.


原始Issue: https://github.com/bdring/Grbl_Esp32/issues/1489

喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址