WARNING: This page is about a different car, the 2011 Hyundai Veracruz. However, it is still accessible from the selected car via links, so may be relevant.
Check that there is continuity between each pair of leads (A). If there is no continuity, replace the generator.