Kindly refer to the video below that carries the steps on how to set gate limits on the D-series controller: