Why do water softeners use soft water salt?

A water softener is a water treatment equipment that uses the principle of ion exchange, using the sodium ion exchange resin in the water softener to absorb calcium and magnesium ions in the water, release sodium ions, and soften the water quality. The softening reaction equation is: (where R represents the resin body)

2RNa+Ca2+=-R2Ca+2Na+     2RNa+Mg2+=R2Mg+2Na+

After the adsorption of calcium and magnesium ions is saturated After being treated with sodium salt solution, the resin can be converted back into the sodium form and restore its exchange capacity. The reaction formula of this regeneration process is:

R2Ca+2NaCl=2RNa+CaCl2  R2Mg+2NaCl=2RNa+ MgCl2

The repetition of the above-mentioned forward and reverse ion exchange can continuously produce softened water.