Robot floor track position calculation

Is there a way to calculate the value of the robot floor track with the other axis values of the articulated arm robot? My goal is that I specify a certain target matrix and that I get the robot configurations including the robot ground track value.

I currently set the values for the robot floor track manually to the best of my knowledge and belief (external axis EJ_X).

I would appreciate your help.

With best regards,
MG95