# URscript command for Tool I/O Interface Control

**URL:** https://forum.universal-robots.com/t/urscript-command-for-tool-i-o-interface-control/31911
**Category:** URScript
**Created:** [December 20, 2023, 2:57pm UTC](https://forum.universal-robots.com/t/urscript-command-for-tool-i-o-interface-control/31911 "2023-12-20T14:57:30Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![aahe](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@aahe](https://forum.universal-robots.com/u/aahe)
#### Post date: [December 20, 2023, 8:20pm UTC](https://forum.universal-robots.com/t/urscript-command-for-tool-i-o-interface-control/31911/2 "2023-12-20T20:20:43Z")

</div>

Hi BJ,

I don’t believe their is a script command or way to programatically toggle the tool I/O interface to allow different URCaps control at different times.  
Another option would be to communicate to the tools though Modbus, using the Modbus URCap.  
Here’s a link to another forum post for a similar issue.

> [@RS485 tool communication with URCap](https://forum.universal-robots.com/t/rs485-tool-communication-with-urcap/19068):
>
> Hey, I am using a UR3e robot, and I am trying to communicate through URCaps with my Custom end-effector tool, using RS485. I want to build my own URCaps where I can select different states, which are then sent to my Custom end-effector tool via RS485. Does anyone have a simple example how I could do that? I also tried to work my way through the forum, which gave me new ideas, but now I’m stuck. Excuse me, I’m new to this field, I’d appreciate any help or advice.

Here’s a link to the Modbus URCap Github page:

> **[GitHub - EbbeFuglsang/Modbus\_URCap: A tool modbus RTU URCap](https://github.com/EbbeFuglsang/Modbus_URCap/tree/main)**
>
> main

I hope this helps.

---

_[View the full topic](https://forum.universal-robots.com/t/urscript-command-for-tool-i-o-interface-control/31911)._
