# Send position via Profibus

**URL:** https://tech-community.robotics.abb.com/t/send-position-via-profibus/7489
**Category:** RobotStudio
**Created:** [December 21, 2016, 9:49am UTC](https://tech-community.robotics.abb.com/t/send-position-via-profibus/7489 "2016-12-21T09:49:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dukel](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dukel](https://tech-community.robotics.abb.com/u/Dukel)
#### Post date: [December 21, 2016, 9:49am UTC](https://tech-community.robotics.abb.com/t/send-position-via-profibus/7489/1 "2016-12-21T09:49:16Z")

</div>

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:

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)  
…

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

I’m using the IRB2400 manipulator and the S4C+ controller.

Hope someone can help!

Thanks! Dukel.

---

<div class="post-metadata">

### Author: ![DenisFR](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@DenisFR](https://tech-community.robotics.abb.com/u/DenisFR)
#### Post date: [December 23, 2016, 7:52am UTC](https://tech-community.robotics.abb.com/t/send-position-via-profibus/7489/2 "2016-12-23T07:52:31Z")

</div>

Hello,  
You can send them in multi time.  
Add bit to synchronize.
