# Check if Modbus or Profinet are activated

**URL:** <https://forum.universal-robots.com/t/check-if-modbus-or-profinet-are-activated/3931>\
**Category:** URCaps SDK\
**Created:** [March 25, 2019, 12:16pm UTC](https://forum.universal-robots.com/t/check-if-modbus-or-profinet-are-activated/3931 "2019-03-25T12:16:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![m.birkholz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/m.birkholz/32/7084_2.png) [@m.birkholz](https://forum.universal-robots.com/u/m.birkholz)\
**Post date:** [March 25, 2019, 12:42pm UTC](https://forum.universal-robots.com/t/check-if-modbus-or-profinet-are-activated/3931/2 "2019-03-25T12:42:56Z")

</div>

through the API you can only read the Standard Digital I/O so actually there is no proper solution for that yet. If you don’t need real time response you can do the following:

1. create a global variable
2. send a program to the robot through secondary client which modifies your variable with a line e.g. var1 = read\_input\_boolean\_register(0) with [URCap Sample: Send Script with button push URCap](https://forum.universal-robots.com/t/sample-send-script-with-button-push-urcap/1203)  
also note that you need to modify it to send multiple lines of urscript code: [Secondary Client Issue](https://forum.universal-robots.com/t/secondary-client-issue/1891)
3. read your variable through the API

---

_[View the full topic](https://forum.universal-robots.com/t/check-if-modbus-or-profinet-are-activated/3931)._
