The refrigeration compressor stops with the intervention of the thermal protector XV

Wrong electrical connections and electrical start-up assembly.

Check the connections according to the diagram provided by the compressor manufacturer. Check that the starter relay is placed in such a way that the writing TOP (high in English) is at the top of the installed relay.