
Send position via Profibus

Dukel
✭
in RobotStudio
Hi all,
I would like to send a position towards an ABB robot by using profibus. acording to the GSD file of the ABB I can send a maximum of 8 Words (16bytes).
Is there a way to send the (X,Y,Z) (q1,q2,q3,q4) and (cf1 ,cf4, cf6, cfx) via Profibus and program RAPID in a way that is uses the new coordinates to move to the new position?
This is what is was thinking:
Hope someone can help!
Thanks! Dukel.
I would like to send a position towards an ABB robot by using profibus. acording to the GSD file of the ABB I can send a maximum of 8 Words (16bytes).
Is there a way to send the (X,Y,Z) (q1,q2,q3,q4) and (cf1 ,cf4, cf6, cfx) via Profibus and program RAPID in a way that is uses the new coordinates to move to the new position?
This is what is was thinking:
CONST robtarget Home:=[[928.612159322,0,1412.5],[0.5,0,0.866025404,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
VAR robtarget p20;
VAR num X := XI !XI is a group input (max number 65535)
.....
I'm using the IRB2400 manipulator and the S4C+ controller.VAR num X := XI !XI is a group input (max number 65535)
.....
PROC Path_20()
p20 := [[X, Y, Z],[q1, q2, q3, q4],[cf1, cf4, cf6, cfx],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]]; !external axis doesn't matter
MoveL Home,v100,z0,tool0\WObj:=wobj0;
MoveL p20,v100,z0,tool0\WObj:=wobj0;
ENDPROC
ENDPROC
Hope someone can help!
Thanks! Dukel.
0
Comments
-
Hello,
You can send them in multi time.
Add bit to synchronize.
☑️2024 - RobotStudio® User Group0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 6 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings