Sorry, my answer was more to @lgonzales3EL6Z , initial poster (my reply shows it was to @j.labdik, my mistake!
The G30 works for you because you have set its position in the parameters, but maybe OP did not, and has the alarm. It does not know the tool change position he said, and the only place there is something that could be related is the G30 line I think, but then again, it's just a wild guess (going to G30Y0 if G30 is not set will alarm out).
For the R vs I-J-K, alright, it probably depends on the machine then! Yours is set, so perfect! He has the same machine as yours I think, so I hope he can take your advice on this to make his run smoother!
But the issue of tool change position for OP is not related to that though. The code he listed was good valid code, which is the only reason why I think the G30 is probably not set in his machine.
But, all that said, the more option OP gets to solve his problem, the better! I hope he finds the solution in any of the answers!