How to define the kinemetics of gripper

TEST_CYLINDER.vcmx (745.3 KB)

Plz… Tell me how to define the kinemetics of gripper

(4link type : rotation-tradition-rotation-rotation)

Cylinder stroke is 40mm…