Then Arrch nailed your issue. If you are typing three characters 1 2 and 0 into the serial monitor, you will need to collect them in a character array, null terminate it and use atoi to provide your angle variable as a byte. Before you change your code though, try sending 0 followed once the move is done by z - do you get consistent positions if you alternate?