Mounting or detaching of piston rod