marble sawmill

More
24 Apr 2024 14:41 - 24 Apr 2024 14:54 #299004 by Aciera
Replied by Aciera on topic marble sawmill
Interesting idea, I had forgotten about external offsets. This might offer a way to move the z-axis from hal while gcode execution is on feed hold (presuming feed-hold and feed-inhibit pins do not apply to external offsets)

[edit]
Just tried it and external offsets are indeed not affected by feed-hold and feed-inhibit pins. 
So this may give you the hal tools needed to stop gcode/mdi execution of y-axis movements and raise the z-axis up to the safe height. You would then need to think about how to proceed from there. Just issuing a program stop will still leave the operator to deal with the applied external offset.
Last edit: 24 Apr 2024 14:54 by Aciera.
The following user(s) said Thank You: tommylight

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

More
24 Apr 2024 15:10 #299005 by tommylight
Replied by tommylight on topic marble sawmill
Maybe wiring in hal so that stop would also trigger offset reset, when mode-is-auto pin goes false?

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

More
25 Apr 2024 03:36 #299041 by vre
Replied by vre on topic marble sawmill
Except physical and soft limit switches
a usable function will be to set a list of safe areas in ini file. These areas will be unreachable so g code interpreter of mdi/auto must filter the comands that reach these areas in cartesian space.

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

More
25 Apr 2024 07:24 - 25 Apr 2024 07:48 #299047 by Aciera
Replied by Aciera on topic marble sawmill
That would be the ideal solution, unfortunately it does not exist yet. That would need a modified interpreter which I have not looked at doing.
Alternatively, checking a gcode program at load time can be done by examining the line segments of the preview. That is what axis gui uses to check for limit violations on program load and I have modified that before.
The bigger challenge would be filtering the MDI command entry in the gui as you would have to examine that before it gets passed to the interpreter. Although being in python world it seems quite possible. In your case it should actually not be so difficult since you could simply reject arc moves instead of having to calculate way points to check if a G2 or G3 move would take the machine over a limit.

[edit]
Mind you once you start to introduce work and tool offsets things are going to get very complex very quickly.
Last edit: 25 Apr 2024 07:48 by Aciera.

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

Moderators: cncbasher
Time to create page: 0.825 seconds
Powered by Kunena Forum