Phil Evans , Jan 07, 2014; 12:41 p.m.
You dictate whether to use the aperture ring or the sub command dial in the menu. I shouldn't answer this question because I do not know the D5200 or even if it has a sub command dial. You could not move the aperture from f22 without an error message because the camera menu is set to have the camera body dictate aperture. On my D800 it is F9.
But the real point here is that you do not have to have an aperture ring to dictate to the camera which aperture to use. Just put it in manual, with manual iso and select your settings.