Okuma has already a "Fixture Offset Function" that is accessed thru a call statement
ie
Code:
[For C/A axes]
CALL OO88 (PX=___) (PY=___) (PZ=___) PC=___ PA=___ PH=___ (PP=___)
PX, PY, PZ: Parallel travel from the reference work coordinate
system (PH) when A = 0, C = 0
Default: 0
PA, PC: Rotational travel from the reference work coordinate
system (PH) when A = 0, C = 0
Not omissible
PH: Reference work coordinate system No. Not omissible
PP: Offset coordinate system number (zero point which
is always rewritten)
Default: currently selected
coordinate system
I've attached our manual for a 5-axis E100M control to look at