Reading the overall offset in the active coordinate system

In the CS activated by #CS SELECT, the total offset to the reference machine CS (MCS) formed by linking can be read using the following variables:

Syntax of V.G. Variables for reading overall offset:

V.G.SELECTED_CS.TRANS.X

Overall offset in 1st main axis in [mm, inch]

V.G.SELECTED_CS.TRANS.Y

Overall offset in 2nd main axis in [mm, inch]

V.G.SELECTED_CS.TRANS.Z

Overall offset in 3rd main axis in [mm, inch]