Stand on the switch in front of the socket and hit the Ampilus with your sword to knock it into the hole. That'll open the gate. Continue to the room at the north and ignore the LD robot. Jam your sword forward into the device, and then turn it counterclockwise to activate Power Generator 1.