The hydraulic cylinder is a device for converting a medium's pressure energy, for example hydraulic oil, into a linear drive motion. A hydraulic cylinder consists of a cylinder tube in which a piston rod with a piston moves back and forth.