Sample-Detector Distance is the distance from the sample to the camera, in whatever physical units you prefer (e.g. cm). 2-theta max is the arctangent of this distance divided by the Detector Radius. The Q-range and 2-theta max are automatically updated every time Sample-Det is changed, and vice versa.