# OnRobot RG6 v2 remote script not working in remote mode, only local

**URL:** <https://forum.universal-robots.com/t/onrobot-rg6-v2-remote-script-not-working-in-remote-mode-only-local/19026>\
**Category:** URScript\
**Created:** [February 3, 2022, 10:32am UTC](https://forum.universal-robots.com/t/onrobot-rg6-v2-remote-script-not-working-in-remote-mode-only-local/19026 "2022-02-03T10:32:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose.inesta](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@jose.inesta](https://forum.universal-robots.com/u/jose.inesta)\
**Post date:** [February 3, 2022, 10:32am UTC](https://forum.universal-robots.com/t/onrobot-rg6-v2-remote-script-not-working-in-remote-mode-only-local/19026/1 "2022-02-03T10:32:04Z")

</div>

Hi,

we are trying to operate remotely the RG6 v2 gripper. In our setup, we operate the UR via the primary port with no problems.

To open and close the gripper we should use the OnRobot ur script **rg\_grip(40,40)**, as indicated at:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/6/643e7dfe31e7400256c523bbc199fe306c5dc1e0.png)

The script does not work when sent along with other standard scripts or isolated.

We tried multiple combinations and reviewed the config, everything seems to be ok.

We also tried the exact function inside the “script” command in the Dashboard panel, locally, and It works properly.

Could you confirm if the **rg\_grip()** function is able to be called in remote mode like the rest of ur scripts functions?

Thanks in advance.
