Remapping M6 with python - how to call G-Codes?

More
5 years 9 months ago #195987 by freisei
Hi!

i try to change the remapping M6 from ngc to python.
python script is already called - now i try to go to toolchange-position. I think this can be done with command.mdi(...)
But the interpreter is in auto-mode - of course, program is running.

How for exeample can i go to tool-change-position now, without aborting program execution?

Greets from bavaria!
Freisei

Please Log in to join the conversation.

More
5 years 9 months ago #196085 by FranseFrikandel
I don't have the answer, however this post might be helpful for you:

forum.linuxcnc.org/10-advanced-configura...thon-lessons-learned

Please Log in to join the conversation.

More
5 years 9 months ago #196095 by bevins

freisei wrote: H

i try to change the remapping M6 from ngc to python.
python script is already called - now i try to go to toolchangeposition. I think this can be done with command.mdi(...)
But the interpreter is in auto-mode - of course, program is running.

How for exeample can i go to tool-change-position now, without aborting program execution?

Greets from bavaria!
Freisei


You want to goto tollchange position during a remap?

You can execute gcode directly in python while in a remap.
So go to the tooll change position with gcode in python remap.

self.execute("Gcode here")

Please Log in to join the conversation.

Time to create page: 6.231 seconds
Powered by Kunena Forum