# Create Installation Node with MoveL buttons

**URL:** <https://forum.universal-robots.com/t/create-installation-node-with-movel-buttons/2361>\
**Category:** Java\
**Created:** [July 23, 2018, 9:37am UTC](https://forum.universal-robots.com/t/create-installation-node-with-movel-buttons/2361 "2018-07-23T09:37:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon23279734](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@anon23279734](https://forum.universal-robots.com/u/anon23279734)\
**Post date:** [July 23, 2018, 9:37am UTC](https://forum.universal-robots.com/t/create-installation-node-with-movel-buttons/2361/1 "2018-07-23T09:37:47Z")

</div>

Hi there!

I want to create a URCap that, from the Installation window, get the actual pose and move the robot to another position with an offset. When pressing a button, the robot will move to the next position with a offset defined by the user.

Is it possible to do that? I don’t find the way to create a move in Java…

Thanks for your time!

---

<div class="post-metadata">

**Author:** ![ronny.buch](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@ronny.buch](https://forum.universal-robots.com/u/ronny.buch)\
**Post date:** [July 23, 2018, 10:00am UTC](https://forum.universal-robots.com/t/create-installation-node-with-movel-buttons/2361/2 "2018-07-23T10:00:30Z")

</div>

Hi,  
Maybe the get RT Data Sample can help you. I changed the script to move from current Position an Offset in Z.

> [@URCap Sample: getRobotData Real Time Client reader URCap](https://forum.universal-robots.com/t/sample-getrobotdata-real-time-client-reader-urcap/1195):
>
> getRobotData Real Time Client reader URCap Description of functionality: This URCap implements a new custom class, getRobotRealtimeData.class, that connects to the Real Time Client interface, and reads the message. The data from the Real Time Client is broken into the information it represents, and implements get-methods to read actual TCP pose, actual joint positions, joint temperatures, joint operation modes and the safety limited speed scaling percentage. You can add your own get-methods a…

---

<div class="post-metadata">

**Author:** ![anon23279734](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@anon23279734](https://forum.universal-robots.com/u/anon23279734)\
**Post date:** [July 23, 2018, 10:02am UTC](https://forum.universal-robots.com/t/create-installation-node-with-movel-buttons/2361/3 "2018-07-23T10:02:17Z")

</div>

Thank you, I’m gonna check it!

---

<div class="post-metadata">

**Author:** ![anon23279734](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@anon23279734](https://forum.universal-robots.com/u/anon23279734)\
**Post date:** [July 23, 2018, 11:29am UTC](https://forum.universal-robots.com/t/create-installation-node-with-movel-buttons/2361/4 "2018-07-23T11:29:53Z")

</div>

I checked the get RT Data Sample, but I didn’t find how to create a button with “Move here” using MoveJ or MoveL…  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/1X/b249570abf43b348d59c231e3c5ae7b989a53c24.png)

I would like to create a button like “Mover aquí” (Move here in Spanish). One button for MoveL and one for MoveJ. Is it possible?

Thanks for your help and time. I really appreciate that.

---

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [July 23, 2018, 11:59am UTC](https://forum.universal-robots.com/t/create-installation-node-with-movel-buttons/2361/5 "2018-07-23T11:59:32Z")

</div>

It is currently not supported to create a “user interaction”, that navigates the user to the “Auto Move” screen, and allows the user to use Auto or Manual to reach a certain target position.  
There is a [feature request](https://forum.universal-robots.com/t/automove-function/2247) for this functionality. And I would suggest supporting this feature with your use-case.

A workaround could include the Send Script with button URCap sample, that could implement this behavior. However without the ability to use “auto or manual” screen.

> [@URCap Sample: Send Script with button push URCap](https://forum.universal-robots.com/t/sample-send-script-with-button-push-urcap/1203):
>
> sendScriptWithButton URCap Description of functionality: This URCap enables sending a movej() or popup() command to the secondary client interface, by pushing a button in the GUI. It implements the class clientSendScript.java which handles connection, transmission of script, and termination of the necessary socket. According to the URScript manual, two pre-defined functions has been implemented, namely movej() and popup(). For demonstration, this has been put into use in a program node with b…
