hello Martin
I thank you very much for the time you take to help me
I managed to turn the drawing on the screen with the following commands
Code “G68 A0 B0 R” & Final result
Sleep(150)
doOEMButton (160)
I finish this way of doing things and then I start again by trying your method with the G31
but as said above, the function (atan) does not work for me why is it the grand mistere
I think that the function is not implemented in the Chinese controller card that I use
fortunately, I have an AXBB-E ready to be assembled
I will soon start testing on my machine, I test with the F7 command of the Mach3 VB editor and it seems to work