Hello @Avigdor ,
welcome to this moderated Azure community forum.
working with the modbus protocol in industrial (Azure) IoT is a common scenario.
You have added the tag Azure IoT Central which is the SaaS solution based on Azure IoT PaaS building blocks like the Azure IoT Hub.
Azure IoT Central connects to devices only using the way that device can connect to the Azure IoT Hub. This is usually done via one of the SDKs of via the MQTT Protocol.
Using Modbus (TCP) to connect to the cloud is a really not recommended. Modbus has no security.
One way to connect a device speaking Modbus is buying a device (I have worked with Advantech Wise IO modules but there are many other devices available) or building a device that can connect to the Azure IoT Hub and communicate Modbus.
Another solution is to make use of Azure IoT Edge, an edge solution you can put on top of an IPC, living in the local network and having a secure outbound connection to the IoT Hub.
This can work with both Modbus TCP as Modbus RTU.
This supports two way communication. See the examples on the related blog posts.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.