Device for rotating a needle of a syringe, the device comprising a rotation mechanism comprising: - a first rotatable gripper hub arranged to be driven by a first driving unit comprised by the device, the first gripper hub having a first central opening and the first gripper hub being arranged to be rotated around an axis of rotation; - a second rotatable gripper hub arranged to be driven by a second driving unit comprised by the device, the second gripper hub having a second central opening aligned with the first central opening and the second gripper hub being arranged to be rotated around the axis of rotation; - a first gripper unit and a second gripper unit, each having a gripping section for engaging with the needle; wherein the first gripper unit and the second gripper unit are mounted to the first gripper hub and the second gripper hub such that if the first gripper hub is rotated relative to the second gripper hub, the gripping sections move towards the axis of rotation; and wherein the first gripping unit and the second gripping unit are rotatably connected to a first of the first gripper hub and the second gripper hub and slidably connected to a second of the first gripper hub and the second gripper hub; the device further comprising a controller arranged to: - operate one of the first driving unit and the second driving unit such that the first gripping hub is rotated relative to the second gripping hub in a first direction for the moving of the first gripping section and the second gripping section towards the axis of rotation; and - operate the first driving unit and the second driving unit such that the first gripper hub and the second gripper hub rotate at substantially the same annular speed around the axis of rotation. - a first rotatable gripper hub arranged to be driven by a first driving unit comprised by the device, the first gripper hub having a first central opening and the first gripper hub being arranged to be rotated around an axis of rotation; - a second rotatable gripper hub arranged to be driven by a second driving unit comprised by the device, the second gripper hub having a second central opening aligned with the first central opening and the second gripper hub being arranged to be rotated around the axis of rotation; - a first gripper unit and a second gripper unit, each having a gripping section for engaging with the needle; wherein the first gripper unit and the second gripper unit are mounted to the first gripper hub and the second gripper hub such that if the first gripper hub is rotated relative to the second gripper hub, the gripping sections move towards the axis of rotation; and wherein the first gripping unit and the second gripping unit are rotatably connected to a first of the first gripper hub and the second gripper hub and slidably connected to a second of the first gripper hub and the second gripper hub; the device further comprising a controller arranged to: - operate one of the first driving unit and the second driving unit such that the first gripping hub is rotated relative to the second gripping hub in a first direction for the moving of the first gripping section and the second gripping section towards the axis of rotation; and - operate the first driving unit and the second driving unit such that the first gripper hub and the second gripper hub rotate at substantially the same annular speed around the axis of rotation. - operate one of the first driving unit and the second driving unit such that the first gripping hub is rotated relative to the second gripping hub in a first direction for the moving of the first gripping section and the second gripping section towards the axis of rotation; and - operate the first driving unit and the second driving unit such that the first gripper hub and the second gripper hub rotate at substantially the same annular speed around the axis of rotation.