Modbus_add_signal(?)

Hello,

we are trying to comunicate our PC with modbus. We only know this instrucion:

modbus_add_signal(ipAddress, 255, portNumber, 0, signalName)

But we cannot find more info about this instrution, we don’t know what does 255 means there or the number 0. What are these parameters?
Are there any other instructions? Where can we read more about this?

Anyone could help me?
Thank you

It doesn’t sound like you know the Article section of Universal Robots’ support site: Articles | Support site | Universal Robots

Here’s a lot of information which is relevant when working with MODBUS. :slight_smile:

Detailed documentation is available in “Script Manual” (can be downloaded from UR support page)
Plus examples for more complex use cases on github: GitHub - UniversalRobots/ModbusExamples: Example programs, and URScript snippets for Modbus communication,

Thanks a lot, we didn’t know it!

Thank you! We will check these examples.