Rotate tcp around z-axis
pollux
✭
in RobotStudio
Hi,
I'm trying to rotate tool0 90-degrees around world X from it's current location but when I'm not sure how to do that? Is there a way to only rotate tool0?
In the screenshot I want to rotate tool0 in such a way that the local coordinate system rotates around its' Z (blue) which is world X (red).
Thanks
p
0
Comments
-
The tool0 Is a fixed coordinate system, that can not be modified and will always be in the same position relative to the robot.0
-
Hey svoldgaard,Oh sorry, I probably didn't mean tool0 then. But my goal is to rotate the x-axis around the z-axis. I'm talking about the red, blue and green lines in the screenshot above.p0
-
Do you mean as a robot movement or to make a new tool?0
-
As a robot movement. I created a video from what I'm trying to explain with rotation the 'tcp'/tool0. I've recorded a video with RobotStudio that shows what I'm trying to accomplish. So I want to keep the robots position the same and only rotate the tcp.p0
-
ahh you can do that by reading the current value of the robot. either as a robtarget or a jointtarget, with the instructions.The easiest is using jonttarget:joints := CJointT();then you modify the target:joints .robax.rax_6:=joints .robax.rax_6+90;Now you can simlpy move to that target, and only the 6th axes will moveMoveAbsJ joints \NoEOffs,v1000,fine,tool0\WObj:=wobj0;0
-
Hi svoldgaard,Thanks so much! Got that working now. I've uploaded a video here: https://www.flickr.com/photos/diederick/15160786114/First I write some "text" (ipsum), then I draw a square followed by a sin wave.Cheersp0
-
Nice:-)can't see you video though...0
-
Oh sorry, it look like the link got messed up. This is the correct link to the video.0
-
This thread is awesome and has really helped me! I did have one question related to the video you posted if you do not mind. I am fairly new to robot studio and was wondering if you might be able to tell me how you were able to display the coordinates and rotation there in your simulation
0 -
I was wondering if anyone has solved how to do this for something other than tool0 tcp? I have implemented this and tried with a tcp that is offset from tool0 and it does not rotate around that tcp. It looks like this RAPID motion command is only meant to move joint 6. What if we need to move more to rotate around a different tcp??0
-
Use Reltool functionLee Justice0
-
I've discovered this thread as we've needed to do something similar with our robot. This helped me to achieve what I needed, thank you!.
However, my joint 6 rotation is very quick, even when I reduce velocity right down to v10. The only way I've slowed the movement down is to add a time in too, so v10\T:=5 for example.
I have another rotational move I need to do but I need to rotate until a sensor is made. How can I slow that joint 6 rotation down? Adding Time in this instance won't work.0 -
You can define your own speeddata, this is copy-paste from manual.The following example illustrates the data type speeddata:VAR speeddata vmedium := [ 1000, 30, 200, 15 ];The speed data vmedium is defined with the following velocities:1000 mm/s for the TCP.30 degrees/s for reorientation of the tool.200 mm/s for linear external axes.15 degrees/s for rotating external axes.vmedium.v_tcp := 900;The velocity of the TCP is changed to 900 mm/s.Systemintegrator - Web / C# / Rapid / Robotstudio
If I helped, please press Vote Up0
Categories
- All Categories
- 5.5K RobotStudio
- 392 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 307 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 779 RAPID Programming
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings