Sergi,
In KMS we don't expose the control to directly limit the maximum (and minimum) torque that can be commanded by the position controller. But this control does exist in the firmware.
You can add it to the watch window, it has the following configuration:

The corresponding negative limit is position.config.IqRefMin.
KMS initially configures these to be equal to the Rated Current * sqrt(2). They can be freely modified at run-time, just ensure that position.config.IqRefMax is always greater than position.config.IqRefMin.