fascinating feed rate override error

More
9 years 6 months ago #92068 by dm17ry

cmorley wrote: 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:

Code:
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

Please Log in to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum