Remapping M6 with python - how to call G-Codes?
20 Jan 2021 13:05 #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 or Create an account to join the conversation.
- FranseFrikandel
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 2
21 Jan 2021 13:23 #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 or Create an account to join the conversation.
21 Jan 2021 15:14 - 21 Jan 2021 15:59 #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?
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")
Last edit: 21 Jan 2021 15:59 by bevins.
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds