Hey Bern,
this has already been answered, e. g. here and here.
You got to check the g-code in the ‘tool-change’ field of the General Configuration Tab of the Onefinity Controller.
A little hint: Try to use the search function before asking, the forum is full of knowledge. E. g. like this: “tool change”