Changing object data directly
Options
Hello,
I'm rather new to robotstudio and I'm wondering how to change object data directly. Basically, I have a joint target that i want to edit, changing only axis 6 and leaving the rest the same. I've found that it keeps the value stored in rax_6 under the particular object, but I'm not sure how to change it. Below is the code I want to use, I just need to know how the syntax should work for the last line or if this is possible.
Thanks,
-Greg
VAR jointtarget JointPos;
JointPos:=CalcJointT(CRobT(Tool:=tool0 WObj:=wobj0), tool0WObj:=wobj0); JointPos rax_6:=Angle;
0
Comments
-
HelloThe syntax goes like this:JointPos.robax.rax_6:=Angle;You can find the correct data structure from the Rapid Reference manual (under RobotStudio help button).-Osku0
Categories
- All Categories
- 5.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 736 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings