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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings