This post, http://dof.robotiq.com/discussion/550/how-to-make-a-spiral-motion-on-a-surface-of-5cm-3cm-using-universal-robot , gives an example of a spiral script that allows you to move the arm in a spiral pattern on a plane. We've used this same basic script and given it a z axis component to create a conical helix. You could also modify it slightly to give you a straight helix with a fixed diameter.
Hello! How can i programm an Helix movement in Z direction?