Changing object data directly

Resh0011
✭
in RobotStudio
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.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 337 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 831 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings