maybe I misunderstood you but your power source (generator) should have a female receptacle, not a male cord cap. Use the male cord end on the equipment.