I couldn't find any config differences that might cause this. I also created a new machine with pncconf and only the minimal requirements but I still run into the same problem.
The execution of the .ngc file called by the toolchange always just stops.
Here is another example. Trying to store Tool 8 in the carousel. Again, the only modification to the subroutines are print statements in M13.
When I now use the "store tool in carousel" button it results in this log:
It waits on the input of the Index and then nothing happens. The program should either continue if the rising edge is detected or abort if it isn't but neither of those things happen. It just stays in this "waiting" state forever. Or until I use the "Stop" button. I don't understand how the execution can get held up in the middle of the .ngc file.
Also the M64 P3 to start the motor doesn't seem to work either when M13 is called. The Output is never activated. But when I just Type "M64 P3" manually in the MDI console it works perfectly fine.