Thank you very much sir that is very helpful
Display MoreDepends entirely on the control and actuation of the gripper. KUKA doesn't have dedicated programs or I/O for grippers, you can use whatever you like.
IIRC, the Sixx robots have some built-in I/O and pneumatic valves with ports on the "forearm" between the elbow and wrist. That might be the simplest approach.
How many different valves will your gripper need to actuate? How many different feedback sensors will it have?
Based on your screenshot, I'm going to guess at one part-present sensor, and an Open/Closed sensor on each actuator cylinder. That would be 5 inputs. And if both fingers operate together, just one (double-sided) valve.
KUKAbots allow you to set up your I/O in almost any way you like. So if, for the sake of argument, you map the I/O for the gripper to the first byte of the $IN and $OUT table, a KRL program for handling the gripper could be as simple as this:
Code Display MoreGLOBAL DEF OpenGripper() $OUT[1] = FALSE ; close-gripper output $OUT[2] = TRUE ; open-gripper output WAIT FOR $IN[1] AND $IN[3] ; gripper 1 open, gripper 2 open END GLOBAL DEF CloseGripper() WAIT FOR $IN[5] ; part-present input $OUT[1] = TRUE ; close-gripper output $OUT[2] = FALSE ; open-gripper output WAIT FOR $IN[2] AND $IN[4] ; gripper 1 Closed, gripper 2 closed END
In your RoboDK output, you could simply insert a call to one of these subroutines at the correct locations.