Universal Robots Forum

Change modbus-I/O client from RTDE

Is there any possible way to read or write to the modbus I/O client from RTDE?

In the scriptlanguage I could read “iInput1 = modbus_get_signal_status(“input1”, False)” , and
change the status on an output by “modbus_set_output_signal(“output1”, True, False)”

What would happen if I send a script instruction to secondary client like this:

I haven’t tested this yet…
Will this work (or any modbus script instructions)?
If this works how would the answer/recieve look like?