I think a misunderstanding here. I have no problem with driving any of the axes: that all works fine.
It's the DISPLAY which I am trying to manipulate, and on my desktop PC (no hardware). I want the code, which uses the A axis, to display the rotations on the B axis or Y axis, because the rotary unit is actually sitting on the Y axis instead of on the A axis. Yeah, confusing, but there is no room in the machine to put the rotary unit on the X axis.
I suppose I could rewrite all the programs changing the A parameter to B, but that would be a pain, and anyhow the actual machine is fine, displaying the rotations on the Y axis as I want. Now, how did I set that up?

I have done it once, but cannot remember how!
Cheers
Roger