The self-cleaning function changes the electrode polarity for the selected interval. During the electrode self-cleaning, chlorine is still being produced. In case of a power failure, the saltwater system remembers the last setting (polarity) as well as the time it has been in operation, and when the power supply is restored, the self-cleaning (polarity reversal) program continues with the already started cycle.