Hi there,
when I am creating a file with multiple toolpaths I would like the machine to go to a designated X-Y coordinate in between toolpaths.
how do I program that ?
Hi there,
when I am creating a file with multiple toolpaths I would like the machine to go to a designated X-Y coordinate in between toolpaths.
how do I program that ?
You can either add in the code in the file itself using a âG1 XY type commandâ or if youâre using M6 for the tool change you can alter the ârun on M6â code of the controller.
It would be âbest practiceâ to return the Z height to a safe distance above the workpiece before executing a G0 or G1 command to move to your designated point like this (assuming metric):
F1000 ; set feed rate to 1000mm per min for the G1 command to use
G1 z50 ;Move 50mm above the current work offset
G1 xy
You could replace the G1 with a G0 to tell the machine to move âas fast as possibleâ
If you want these to move in absolute machine coordinates rather than work offsets youâll need to add G53 to the commands:
F1000 ; set feed rate to 1000mm per min for the G1 command to use
G1 z50 ;Move 50mm above the current work offset
G1 xy
Note there is a bug where the planner doesnât account for the G53 move properly and assumes them as offsets so it may show âoverâ on the toolpath
G53 G1 X400 ; will move to absolute X400 but the planner will add the work zero to it and may be âoverâ
I would suggest using the MDI mode to test out these commands yourself.