I have gotten the break working, Thank you...

I now have a question about calculating the Factor of my Spindle so I can use an axis for monitoring the RPM. The encoder I'm using is a BEI RIH 22 incremental encoder. It has a resolution of 2500 cycles, I guess that means counts per/rev? How do I calculate, whatever needs to be calculated, to update my C-program for the correct RPM?

How do I also change the letter of the axis or insert a new window in screen editor. I watched the Youtube video of entering a new window to see real time feeds, but I couldn't catch how the window was actually put in.

Attachment is encoder information.