movable Z limit

More
21 Mar 2025 09:57 #324402 by jazial
movable Z limit was created by jazial
Hello,

I'm working on a mill which make Z+ move to free the tool in spindle.

I need to go to Z++ to disengage locking, but i have to keep under Z25 when machining.

I set up a mux2 component with 2 Z limit values
I normal operation Z limit is 25 and while toolchange Z limit is 180

If i run m6 txx, it works fine, but if I load a program, the plot complain about Z limit, because M6 subroutine mention off limit Z move
If I launch program, linuxcnc complains about Z limit too, but program runs nicely as my limit is moved when it have to

Anyone have an idea to fix this ?

I've tried to add a conditional state before the Z move, but linuxcnc still see the move while plotting

Thanks

Please Log in or Create an account to join the conversation.

More
21 Mar 2025 10:29 #324406 by MaHa
Replied by MaHa on topic movable Z limit
You can test   if [#<_task> EQ 1]    to skip this sequence in preview

Please Log in or Create an account to join the conversation.

More
21 Mar 2025 13:20 #324409 by dm17ry
Replied by dm17ry on topic movable Z limit
i'm doing the same in github.com/yur7aev/linuxcnc/tree/nyx2.9/configs/nyx/argo like that:

o<m6> sub
(AXIS,hide)
... tool change with out of limit z move ...
(AXIS,show)
o<m6> endsub [1] ; signal success
m2

Please Log in or Create an account to join the conversation.

More
21 Mar 2025 13:39 #324416 by jazial
Replied by jazial on topic movable Z limit
Thanks a lot, I'll try asap

Please Log in or Create an account to join the conversation.

More
21 Mar 2025 14:35 #324420 by jazial
Replied by jazial on topic movable Z limit
(AXIS,hide) / (AXIS,show) works fine

I didn't tried [#<_task> EQ 1], but will test soon and report

thanks a lot guys

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum