Usually the 50 amp receptacle is provided for R.V. compatibility with the same cord used at R.V. parks and campgrounds. The 30 amp outlet is often used with a special store bought cable that takes the 30 amp 240VAC into a pair of 120VAC duplex 20 amp rated outlets. One duplex is on phase A 120VAC to neutral and the other duplex is on phase B 120VAC to neutral. Even though the generator has a 50 amp outlet it may only be capable of generating 30 amps. The 50 amp outlet is often for compatability to the owners already existing 'shore cord'. Depending on the generator's KW capacity I have seen 30A, 40A, 42.5A, 45A and 50A capacity being commonplace. I have a small portable generator with a 20A 240VAC receptacle but it only produces 10A or 2.4KW. Based on the receptacle you would expect a 4.8KW capacity. One other weird thing, many of these 240VAC generators feature 3-prong connectors, L1, L2 and neutral. The neutral is bonded to the generator frame and there isn't exactly an earth or ground connection.