# Creating a modbus unit from Java

**URL:** https://forum.universal-robots.com/t/creating-a-modbus-unit-from-java/12975
**Category:** Java
**Created:** [March 16, 2021, 2:17pm UTC](https://forum.universal-robots.com/t/creating-a-modbus-unit-from-java/12975 "2021-03-16T14:17:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![anon25659393](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@anon25659393](https://forum.universal-robots.com/u/anon25659393)
#### Post date: [March 16, 2021, 2:17pm UTC](https://forum.universal-robots.com/t/creating-a-modbus-unit-from-java/12975/1 "2021-03-16T14:17:32Z")

</div>

Hello!

I would like to pre-fill/pre-create a ModBus unit, so it would be visible from polyscope in Installation/Fieldbus/MODBUS menu. I tried using secondary client and sending this command:

def test():  
modbus\_add\_signal(“172.140.17.11”, 255, 5, 1, “output1”)  
end

but this doesn’t seem to work.

Does anyone have any ideas?

---

<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: [March 18, 2021, 12:54pm UTC](https://forum.universal-robots.com/t/creating-a-modbus-unit-from-java/12975/2 "2021-03-18T12:54:34Z")

</div>

Hi,

currently it is not possible to provide a Modbus Unit to be shown in the installation directly, unless doing it directly in Polyscope.

sko

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/system/32/1_2.png) [@system](https://forum.universal-robots.com/u/system)
#### Post date: [March 20, 2021, 12:55pm UTC](https://forum.universal-robots.com/t/creating-a-modbus-unit-from-java/12975/3 "2021-03-20T12:55:25Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
