Module for control of a return loop with management of an electromagnetic exchange. No programming or connection to digital control panels. Operation is based on detecting the position of the train and not on managing the short circuit generated by the locomotive when engaging the return loop.