How to make esp8266 modbus tcp/ip client send sensor values to the modbus poll program?

"I want the ESP8266 to transmit data over Wi-Fi using TCP/IP communication and then display the values on a SCADA system."

Modbus TCP has client and server. there is no slave

sorry Modbus TCP slave,I mean that client.

I think that slave is called TCP server and TCP client is master, am I wrong?
Btw I tried this without success, so also interested in topic.

so the esp8266 should be TCP server or TCP client?

slave/server provide data
master/client request data