fascinating feed rate override error

More
25 Apr 2017 16:14 - 25 Apr 2017 16:17 #92068 by dm17ry

bad form or not .. changing feed modes after a tool change is unexpected behavior.
I wonder if it is easy to check the current g codes in the remap and then restore them?


i see there's a #<_motion_mode> system var. unfortunately it is read-only. one could use a null move to change the motion mode on exit like:

m70 (saves modal state except motion mode)
#<old_motion_mode> = #<_motion_mode>

(perform tool change)

o1 if [ #<old_motion_mode> le 1 ] (handle g0, g1 only)
  f1 g#<_old_motion_mode> z#<_z> (dummy move just to change motion mode)
o1 endif
m72 (restore modal state)

but i'm not sure if a trick like this is possible for all modes in modal group 1:
G0, G1, G2, G3, G33, G38.x, G73, G76, G80, G81, G82, G83, G84, G85, G86, G87, G88, G89
Last edit: 25 Apr 2017 16:17 by dm17ry.

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

Moderators: newbynobiHansU
Time to create page: 0.071 seconds
Powered by Kunena Forum