The aim of the invention is to compensate for the position-dependent length changes
caused by the effect of weight in a variety of closed kinematic chains (K1 .
. . Kn), for connecting a stationary first element (E1) to a movable second
element (E2). Said aim is achieved, by using a back transformation (-1),
which determines a compensation value for each length change (dq1, dq2
. . . dqn), resulting from the application of the weight (Fg) impinging on
the movable element (E2) in each kinematic chain.