"I am getting a AC Voltage reading of 27 volts from the generator "
Does anyone have their YM240 service manual handy, (mine is 800 miles away). I am pretty certain, if it has the correct generator, the rectifier is in there, and raw voltage should be DC, otherwise that Datsun regulator does not have a rectifier and will not work....maybe the rectifier is not rectifying.