Our Settling Topic has a lot of the extra detail which should help.
Settling behavior can be adjusted with SettleOnStopSet() or SettleOnEStopSet() if you want to RSIEventTypeMOTION_DONE to appear after both the events and settling criteria having been met. These can be adjusted in RapidSetup’s Axis Settling Criteria tab if you’d like to experiment with it.