Single-ion anisotropy effects on the energy spectra of spin S = 1 Heisenberg ring