Jader
Hi,
 
I'm having problems with the IP number of Modbus TCP communication with WiFi interface. OpenPLC is not assigning the IP number to the ESP32, so the board receives a random IP via the router's DHCP. To work around the problem, I am reserving the IP directly on the router through the MAC number of the ESP32 to be able to use the desired IP. The only field I'm not filling in OpenPLC communication is DNS. I also did tests with and without the MAC filled in OpenPLC.
 
Does anyone know how to solve this problem?
 
Note: I'm using the latest release of OpenPLC (2023-06-27).
Reply 0 0
thiagoralves
Fill out ALL fields, including DNS, and try again. Different boards have different requirements for static IP 
Reply 1 0
Jader
Sorry for the rookie mistake. I thought that since I didn't configure the DNS, I wouldn't need to fill it.
It worked correctly after inserting the DNS informed in the "ipconfig /all" command.
 
Thank you.
Reply 0 0
Reply