Hi Dave.
thanks for your help, the problem is that I don't understand how Modbus TCP-IP (slave) works, for example, I'm sending some registers D1 until D34 but when I checked it on the Modbus pull it says (read error, write error), I don't know why it happened if I'm sending the wrong type of data or is something different.
and also y need to receive some data from a master that is allocated in the Modbus direction 42000 - 42059 so I don't know how to set up it, if I only need to use D42000 to D42059, or how I can direct that data to a usable variable, I'm kind of confused