A compensator device comprising: a hydraulic cylinder with a first end, a second end and an inner cylinder rod extending axially from the second end, the inner cylinder rod with an end with a blocking diameter; a piston rod with a piston movable axially within the cylinder, the piston rod being generally hollow and with a cavity to receive the blocking diameter of the inner cylinder rod; wherein a first pressure chamber is formed in the hollow cavity of the piston rod between the piston, the inner cylinder rod and an inner side of the piston rod; wherein a second pressure chamber is formed between an inner side of the cylinder at the second end and the piston; and wherein a third pressure chamber is formed between the inner side of the cylinder at the first end, the outer side of the piston rod and the piston the compensator device characterised by: an inlet valve in fluid communication with the first pressure chamber and positioned to be selectively covered by the piston when the piston moves toward the first end of the cylinder; an outlet valve in fluid communication with the first pressure chamber for allowing fluid to exit the first pressure chamber; a fluid passage connecting to the third pressure chamber; and a pressure system to selectively provide pressurized fluid to the first pressure chamber and/or to the third pressure chamber for influencing movement of the piston rod and piston axially with respect to the cylinder. a hydraulic cylinder with a first end, a second end and an inner cylinder rod extending axially from the second end, the inner cylinder rod with an end with a blocking diameter; a piston rod with a piston movable axially within the cylinder, the piston rod being generally hollow and with a cavity to receive the blocking diameter of the inner cylinder rod; wherein a first pressure chamber is formed in the hollow cavity of the piston rod between the piston, the inner cylinder rod and an inner side of the piston rod; wherein a second pressure chamber is formed between an inner side of the cylinder at the second end and the piston; and wherein a third pressure chamber is formed between the inner side of the cylinder at the first end, the outer side of the piston rod and the piston the compensator device characterised by: an inlet valve in fluid communication with the first pressure chamber and positioned to be selectively covered by the piston when the piston moves toward the first end of the cylinder; an outlet valve in fluid communication with the first pressure chamber for allowing fluid to exit the first pressure chamber; a fluid passage connecting to the third pressure chamber; and a pressure system to selectively provide pressurized fluid to the first pressure chamber and/or to the third pressure chamber for influencing movement of the piston rod and piston axially with respect to the cylinder. an inlet valve in fluid communication with the first pressure chamber and positioned to be selectively covered by the piston when the piston moves toward the first end of the cylinder; an outlet valve in fluid communication with the first pressure chamber for allowing fluid to exit the first pressure chamber; a fluid passage connecting to the third pressure chamber; and a pressure system to selectively provide pressurized fluid to the first pressure chamber and/or to the third pressure chamber for influencing movement of the piston rod and piston axially with respect to the cylinder.