# Running gcode file that has 2 tool paths

**URL:** <https://forum.onefinitycnc.com/t/running-gcode-file-that-has-2-tool-paths/19073>\
**Category:** Original/PRO Series (Buildbotics) (Gen 1)\
**Created:** [February 26, 2023, 11:35pm UTC](https://forum.onefinitycnc.com/t/running-gcode-file-that-has-2-tool-paths/19073 "2023-02-26T23:35:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy77](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@Guy77](https://forum.onefinitycnc.com/u/Guy77)\
**Post date:** [February 26, 2023, 11:35pm UTC](https://forum.onefinitycnc.com/t/running-gcode-file-that-has-2-tool-paths/19073/1 "2023-02-26T23:35:44Z")

</div>

Hi. This is my first post here. I am thinking of getting a second CNC and wanted to get the Journeyman X50. I create my Gcode files with Carbide Create and they often have 2 tool paths for 2 different size endmills.  
I have found a lot of different information but was hoping to get it answered here directly.  
Is it true that I cannot do this with one gcode file but instead I will need to create a separate file for each tool path? If this is the case do I just let the first file finish. Then I start from scratch and zero my Z and my X and Y and then start cutting the 2nd tool path by running the 2nd Gcode file?  
Would it be better if I used different software to create my Gcode to get both tool paths in one file?

Thanks

Gaetano

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [February 27, 2023, 12:04am UTC](https://forum.onefinitycnc.com/t/running-gcode-file-that-has-2-tool-paths/19073/2 "2023-02-27T00:04:42Z")

</div>

Hey Gaetano,

of course the Onefinity CNC machine, whose Controller is derived from the [Buildbotics.com](http://Buildbotics.com) Controller, can do g-code programs with multiple tools.

It’s just that Onefinity, unlike Buildbotics, don’t want to bother with this and simply recommends splitting the programs into individual programs.

But the Buildbotics and the Onefinity Controller let the user control the behaviour of the machine in a field called ‘tool-change’ in the SETTINGS page. The problem is, Onefinity delivers the machine with g-code content in this field that is unusable, which leads to a situation where users are stuck in the middle of a program with no possibility to change the bit, as [described here](https://forum.onefinitycnc.com/t/probing-between-bits-in-a-project/18826/5).

Buildbotics, on the other hand, describe thoroughly how you use this ‘tool-change’ field to have the machine behave the way you’d like it when the machine encounters a ‘tool-change’ event.

So what you have to do is just follow [an easy instruction for this here](https://forum.onefinitycnc.com/t/tool-changes-and-z-height/7715/15#making-the-tool-change-routine-usable-1).

> [@Probing between bits in a project](https://forum.onefinitycnc.com/t/probing-between-bits-in-a-project/18826/5):
>
> What will it do?
> 
> In general, when you followed the instructions above, when your g-code program is started and a bit change appears in the program, the milling motor is halted and will be driven to the home position, which means to front left corner and Z is lifted, and a popup appears (if present in g-code, with the tool number) and tells you to insert the bit, then after your confirmation it tells you to attach and put the touch probe underneath the bit, after confirmation probes tool length (Z probing) automatically, and after one more confirmation resumes your g-code program at the right position by powering up the milling motor (if supported by your motor, to the speed specified in your g-code program).
> 
> A difference in wanted behaviour is whether you have set your workpiece origin to workpiece top left corner, or to a lower workpiece corner. In the first case you put your touch probe on the top left corner of your workpiece, in the latter case you will be told to put the probe on the machine bed when spindle is at home position. This behaviour is altered by enabling or disabling one single command in the [instructions above](https://forum.onefinitycnc.com/t/tool-changes-and-z-height/7715/15#making-the-tool-change-routine-usable-1).

Welcome to the forum!

---

<div class="post-metadata">

**Author:** ![Guy77](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@Guy77](https://forum.onefinitycnc.com/u/Guy77)\
**Post date:** [February 27, 2023, 1:50am UTC](https://forum.onefinitycnc.com/t/running-gcode-file-that-has-2-tool-paths/19073/3 "2023-02-27T01:50:21Z")

</div>

Thank you for the concise answer Aiph5u!  
They should make this answer a Sticky on the forum.

Cheers  
Gaetano
