I would like to create a spiral toolpath shown in the attached image. I would only like the Robotic arm to move only in the XZ plane (please see lables superimposed on in the attached image). I would also like the Joint 2 of the positioner to turn concurrently in order to maintain a fixed speed along the spiral. I am hoping that I do not have to manually teach the robot and the positioner hundreds of points in order to achieve my goal.
Hi,
It might be possible to do something like this.
Use AutoPath to create a path with targets along the spiral. Use circlar approximation to keep the number of targets down, and specify a reference surface from the workpiece to orient the targets.
Fix orientation of the targets if needed.
Sync to RAPID.
Modify the external axes value of each target. Either manually by rotating the positioner until the target is straight up, or by calculating the rotation from the x-y position of the target in the rotating workobject. E.g. extax.eaxc = (n * 360) + atan2(trans.x, trans.y) where n is the number of revolutions so far. (Tip: use the data editor, perhaps in conjunction with Excel!)
..On the other hand it might be better to take the procedural approach, see attached example.
Note that it uses circular movements of 180 degrees which might not be a good enough approximation of a spiral. In that case you’d have to use more points. SpiralPath2.zip (690 KB)
Thanks for this, it helped me make some real progress.
In my current setup however only jointtargets will work (task has external axis and robot).
Is there any way around this or is it possible to convert to jointargets on the fly?
I think it would be difficult because jointtargets don’t support linear or circular movement. But I’m not sure I understand why you can’t use robtargets?
Thanks for the reply. My multimive setup has external axes (a rotating one for the workobject, vertical elevators) in the tasks so robotstudio wont allow me to use robtargets?
multimive supposed to be multimove
So we have 2 robots that share 2 external axes and are both drawing helix like objects in sync.
I didn’t expect it to be easy or automatic. When adding the external axis to the robtarget how good is the synchronization?
I can use the moveC code with the multimove setup (thats great) but running into near singularity errors.
Maybe my axes arent right.
Also, Robotstudio gui wont show positions of targets updated in code?
Question. Why not attach a sensor to the external axis base plate and connect it via Input with the robot? Inside your program run a trap routine which offsets the current jt every time the signal is activated. By doing this the trigger for the offset is the signal from the external axis and is every time on the same position.