hi all,

I need to program my spindle to rotate one full turn and stop on the same position...

I know i can program
S5M03
G4P.003
M05
If i calculate using the RPM/time I would come up with the right time to use as P value but, I don't know how accurate that is...

what would be the easiest way of programming it?
macro?
a G code to turn one full revolution?

thank you guys and have a great weekend