Universal Robots Forum

Is it possible to read Modbus slave data from java program?

Hello

I want to display values from the registers in my modbus server, on the toolbar. If I understand correctly the registers can be read with functions in the script code, but then I can’t use it to display on the toolbar. Is it possible to do this in java? Or is there perhaps something I have missed?

Hi,

you can do that with the ModbusIO Interface: https://plus.universal-robots.com/apidoc/70014/com/ur/urcap/api/domain/io/ModbusIO.html

… i wish that’d work with Profinet GPIO registers too… :stuck_out_tongue: