Hi,
Mastercam , any version, is a commercial product and a very very good one, probably the oldest and most expensive CAM programs. If you can afford
Mastercam you can afford as many computers as you can eat!
Mach is a near clone of Fanuc so most Fanuc posts work for Mach as well. There is a Mach post written for X5 but would still work for X9 at a guess.
A search of the forum should find it, CNCZone is worth a look too.
Craig