An ion implantation apparatus having a gripper arm which, in use, transfers a wafer within a vacuum chamber between a loading position and a processing position, and an e-chuck on which, in use, the wafer is retained while it is scanned by an ion beam, and including apparatus for detecting that said gripper arm and said e-chuck are correctly positioned relatively to one another in a predetermined position, said detecting apparatus comprising a light source, a light sensor onto which light from the light source is projected, in use, and a respective flag on each of said gripper arm and said e-chuck, each said flag producing, in use, a characteristic shadow on the light detector when the gripper arm and the e-chuck are in the predetermined position, the characteristic shadows of the flags being different from one another.