# Modbus IO on URCAPS

**URL:** <https://forum.universal-robots.com/t/modbus-io-on-urcaps/3713>\
**Category:** Java\
**Created:** [February 22, 2019, 10:50am UTC](https://forum.universal-robots.com/t/modbus-io-on-urcaps/3713 "2019-02-22T10:50:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon6698093](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@anon6698093](https://forum.universal-robots.com/u/anon6698093)\
**Post date:** [February 22, 2019, 10:50am UTC](https://forum.universal-robots.com/t/modbus-io-on-urcaps/3713/1 "2019-02-22T10:50:43Z")

</div>

Hello,  
I want read into my urcaps the ModbusIO connected on the robot.  
What I have to do in java ?

---

<div class="post-metadata">

**Author:** ![sko](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sko/32/573_2.png) [@sko](https://forum.universal-robots.com/u/sko)\
**Post date:** [February 25, 2019, 7:39am UTC](https://forum.universal-robots.com/t/modbus-io-on-urcaps/3713/2 "2019-02-25T07:39:14Z")

</div>

Hi,  
for using modbus in your URCap you have to use the correspondent Script-Commands.  
To use them before the robot program was started and the conventional way to use Script-Commands becomes available, it is possible to send the commands via one of the client interfaces of the robot.

An way on how to send Script via the client interfaces can be found in the example _sendScriptWithButton_.
