You could have trouble with pulsing and surging if using a generator. CNC requires a very smooth continuous supply of power unlike power tools which will happily run on a fluctuating power source. This is why Rotary phase converters are not recommended for CNC equipment.