St10 lathe thread programming?

I’m operating a HAAS ST10 lathe and need to program threads on a 1/4 diameter part. The thread is 1/4-20 And needs a max diameter of 0.248 and minimum diameter of 0.204. How do I write this code?
2 answers 2