Help with connecting Arduino Opta with Weintech HMI MT802iP via Modbus/TCP
Edit: HMI should be an Weintek MT8052iP 😂
Hello out there,
for a few days now, i am trying to set up a Modbus TCP connection between Opta as client and the mentioned HMI as server.
I'm writing code for the Opta via VS Code in C++.
For my test setup, I've used the code snippets from the official Opta manual:
https://docs.arduino.cc/tutorials/opta/getting-started-with-modbus-tcp/#testing-the-modbus-tcp-client-and-server
Just changed the IP's to:
- Opta: 192.168.0.10
- HMI: 192.168.0.211
The coil- switching function of the example doesn't matter in my case - I've got stuck at the connection itself.
On HMI-side, I've done the setup steps described in this video (with IP changed to 192.168.0.10) - please check the attached picture:
https://youtu.be/-5Dm6RdlQMw?t=378
If I follow the software running on my opta via serial, it got stuck at connecting to the server, jumps back to head of loop again and again.
Maybe there are some modubus or opta experts out there whom can push me in the right direction...
Thank you in advance,
regards from germany :)