Z height issues and asking for bit

I load the project first. Then find x and y, last z. I then go to start, rewind and start and it asks for a bit. I noticed when I do this Z depth is now lost. I have to redo Z, rewind and start and works perfectly. Anyone know why though? If it does not ask for a bit, I know it will be correct and can proceed.

My work flow for all the cnc machines I ever used is as follows
1 Home the machine and install bit
2 Move machine to job origin (centre or bottom left etc)
3 Zero X and Y
4 Set Z zero with probe block or piece of paper
5 Load program from USB
6 Start spindle (if not included in program)
7 Run program

What do you do between those two steps? Are you re-zeroing Z? Do you have an M6 (change bit) command in your g-code? If there’s an M6 (sounds like there is) you need to re-zero because it thinks you’ve replaced the bit.

I was wondering if my code was set some way to dictate a change. I run the codes individually by the bit. So one file i will run just vbit, when that finishes I’ll go to endmill. Is there a way to look for that in the file or when you are making the file?

You can open the gcode file generated by your software by using Notepad++
It will tell you the bit you are using and then the gcode for the program
You can also edit the file which helps too

Search for “M6 T" in the g-code file. If you see something like M6 T31 that’s the code that’s calling for a tool change to your bit numbered 31 (in your tool database in VCarve or other CAD software you’re using).