So what is your CNC machine normally meant to rub off? If it's 230V AC (normal mains) I don't see why you would need an inverter, unless the generator you have outputs DC (unusual apart for some made for welding I believe). Whatever generator you use I would make sure it's a good quality one with plenty of spare power and good voltage regulation.