A horizontally scannable diagnostic neutral beam (DNB) has been installed on the compact helical system (CHS) in order to study the confinement of energetic ions with different pitch angles by varying the injection angle. The DNB has been designed to provide energetic ions as a test particle source with (1) no heating to background plasma and (2) small divergence angle. A charge-exchange neutral particle analyzer (NPA) to measure energetic ions injected by the DNB is also scannable and varies the observation angle on the equatorial plane in CHS. A combination of horizontally scannable DNB and NPA provides information on whether the energetic ions with different pitch angle are confined in the plasma or immediately lost. The experimental results are consistent with the prediction of single particle full orbit calculation in CHS.