- Posts: 20
- Thank you received: 0
Remapping M6 with python - how to call G-Codes?
5 years 9 months ago #195987
by freisei
Remapping M6 with python - how to call G-Codes? was created 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
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.
- FranseFrikandel
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
5 years 9 months ago #196085
by FranseFrikandel
Replied by FranseFrikandel on topic Remapping M6 with python - how to call G-Codes?
I don't have the answer, however this post might be helpful for you:
forum.linuxcnc.org/10-advanced-configura...thon-lessons-learned
forum.linuxcnc.org/10-advanced-configura...thon-lessons-learned
Please Log in to join the conversation.
5 years 9 months ago #196095
by bevins
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")
Replied by bevins on topic Remapping M6 with python - how to call G-Codes?
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
