Hi there ppl

Im a novice when it comes to CNC but iv'e been doing some cad work in Rhino3D.

A friend of mine has bought a CNC (K2 KG 3925) and OneCnc XR Pro.
He has got one computer that is running the CNC with the Controller software MACH 2 and another computer that has the OneCnc XR.

What I would like to know is, how do I get the gcode to the second computer?
Does the OneCnc XR Pro export a gcode-file that I can run with MACH 2? or is there another way to do it?

Thanks in advance / MD