![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/rs_webinar_invitation_2025_2.jpg)
Update robtarget in a record
![Burro](https://secure.gravatar.com/avatar/1cf8dd45d444ddd815c10682d3a9900f/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
Burro
✭
Answers
-
This is from the technical reference manual - Rapid overview:
A specific component of a record data can be accessed by using the name of that component, for example pos1.x := 300; assignment of the x-component of pos1.
Now if you mean by modposing the position with the pendant, I don't know.Lee Justice0 -
lemster68 said:This is from the technical reference manual - Rapid overview:
A specific component of a record data can be accessed by using the name of that component, for example pos1.x := 300; assignment of the x-component of pos1.
Now if you mean by modposing the position with the pendant, I don't know.
I feel like this should work because you can modpos a robtarget in an array atleast.0 -
Is the robtarget in question constant?Lee Justice0
-
How about in a routine as an INOUT parameter?Lee Justice0
-
Hey ...I believe that what you are trying to do is something similar to wanting to modify a position obtained through an Offs(pp,0,0,0) routine. This is not possible.The flexpendant 'modpos' function expects to receive a robtarget and not 'RECORD.robtarget' or 'Offs(robtarget, x,y,z)'.Good job.0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 321 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 807 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings