Dear all,
I would use ESP8266 just as a slave device to get connected sensors values into modbus registers, but I have very poor knowledge of C++ and arduino and so on...

I tested openplc firmware into ESP8266 and i can read/write registers such as coils and input status and holding registers, but how can I copy for example temperature value coming from DHT22 to modbus register 300001?

I would like to use the ESP8266 as wireless device to get connected sensors data using only modbus tcp protocol.
I have already my scada application so I just need to read sensors values using modbus TCP.

I understood I have to add code to the basic openplc firmware for ESP8266, but I do not know where to start. Any help?

Thank you.  
Quote 0 0