You may be able to have that crack repaired perfectly if all the pre-heat and cooling procedures are followed correctly. However, it will kill the resale value of the machine. It's not the kind of repair that anyone can or wants to put a warranty on.
I saw a PC240 with the same repair (properly done and not at any small cost), that was sold cheap because nobody wanted it. The buyer installed a new housing, which meant that the previous owner wasted his money on the welding repair.
Do an internet search for slew ring gears. That should bring up the names of businesses that can help you out. Be careful of scam websites and fake businesses. Good luck.