if I understand rights, you must pre-programmed A0 if you use the G58 and G59.
If you experiment with the same angles, but use one of G54 - G57 must act according to the book.
If you use line numbers you do not make it difficult to troubleshoot the problem and even a better
response on the error of messages.
What do you get the text beyond 2087