Rotation about an axis
martini
✭
Hi,
I am new to rapid programming.
i am trying to make a simple rapid program where i can basically move from robtarget A (which has no orientation) to robtarget B (which has some orientation)
After reaching B... i want to rotate about z axis....in the wrist coordinate system..
So basically.. What i want is to rotate about an axis..at certain angle...(in this case the z axis...)
Please note.. this rotation is not about the linear refrence frame..
but along the orientated z axis..
Please please any help with be appreciated..
0
Comments
-
oh.i think i should clarify...i odnt have that orientated cooridnate system..yet..its just that robot has moved to an orientation (in wobj0 and tool0..hence all x,y,z have zero orientation)but at B.. the robot has an orientation because of the robtarget quaternions...and once robot reaches B.. i want to rotate in the axis.. which pass from J6 of robot..so the result will be the rotation of joint6 and nothin else....thanks.:)0
-
you can do this with a movabsj, this command takes joint values rather than x,y,z.if you move to the position and then get the current joint position and add the required value to joint and then moveabsj to that position it will do this.0
-
Hi.. thanks for replying..actually i have worked on this problem..but i am now stuck in different problem...Lets say i want to rotate about an axis..which is lets say at an some angle with the some axis.. lets say.. a vector which makes 30degrees with z axis... and then i want a rotation by thetha to take place...how do i do that..?0
-
Hello, If you want to rotate around the tool coordinate frame you can use the RelTool function.
Basic examples
Basic examples of the function RelTool are illustrated below.
Example 1
MoveL RelTool (p1, 0, 0, 100), v100, fine, tool1;
The robot is moved to a position that is 100 mm from p1 in the z direction of the tool.
Example 2
MoveL RelTool (p1, 0, 0, 0 Rz:= 25), v100, fine, tool1;
The tool is rotated 25A? around its z-axis.
BR / Jim1
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings