URScript control of Onrobot RG2 Robot Gripper

Thats my solution