Forum Migration Notice
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Movment single coordinate
Patrizio
✭
Hello,
in RAPID is possible to create a function to perform a movement of a single coordinated interpolated at the last movment?
For example
MoveL pPoint, vmax, z100, tGrip;
MoveL Move_XYZ (0,0,300), Vmax, z100, tGrip;
where the function Move_XYZ is the following:
FUNC robtarget Move_XYZ (num PosX, PosY num, num PosZ)
VAR robtarget PosXYZ;
PosXYZ: = CRobT ();
IF (PosX <> 0) THEN
PosXYZ.trans.x: = PosX;
ENDIF
IF (PosY <> 0) THEN
PosXYZ.trans.y: = PosY;
ENDIF
IF (PosZ <> 0) THEN
PosXYZ.trans.z: = PosZ;
ENDIF
RETURN PosXYZ;
ENDFUNC
I have the need that the movement derived from the function is interpolated to the previous movment but that the coordinates of the robot used to perform the function are those of arrival of pPoint.
How can I do.
Thank you!
0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings