Check for 12v to the +side of the coil when cranking. You may have a bad switch that is not providing that.
Also, it would help to know if you're dealing with a P or B series Onan. Ignition is totally different. and JD used both in the 318 in various years.