Universal Robots Forum

Modbus TCP Write multiple registers

Hi there,
I have a Modbus TCP Server, which uses FC 0x03, 0x04, 0x06, 0x10, 0x17, 0x2B. This slave needs a message with 4Registers. The slave only support the 0x10-function (write multiple registers) for this addresses.

But UR modbus tcp client can only write single registers (FC 0x10).
If I write the single registers in the modbus-configuration-page of Polyscope, I get an error E2 (illegal address).

How can I fix my problem? Is there any option to add this modbus-tcp function (0x10writing multiple registers)?

Hi there,
I have come across the same limitation. Did you find a solution?

Cheers,
Jeremy

Hey,

I worked my way around this by implementing my own Modbus cliecnt (based on jamod) in a URcap, this client can read/set multiple registers and translates them into single register commands for the Modbus server running on the UR cuntroller (127.0.0.01:502)

Hope this helps