AP2016
Hello,

Are you planning to port OpenPLC to run embedded on ESP32? The following features will be great to have:
  • Support of other nodes based on ESP32 or ESP8266 over WiFi via MODBUS
  • Support of nRF24L01+ radio network (or similar) connecting OpenPLC ESP32 with nodes based on Arduino Nano, or similar
  • Ability of typical SCADA running on Raspberry Pi to communicate with OpenPLC ESP32 over standard MODBUS, or OPC
Thank you.
Reply 1 0
Sarper ONAL
Hello, We are also following ESP32 support on OpenPLC + SPI communication option
Reply 0 0
thiagoralves
Currently I don't have any plans to port it over to ESP32. I have other industrial platforms in mind that I want to add support first. However, for basic functionality it should be too hard to make it work on ESP32. I believe that the same firmware written for the ESP8266 can be compiled to run on ESP32 using the Arduino tools. You can get the OpenPLC ESP8266 firmware and compile it on the ESP32 to see if it works.
Reply 0 0
Sarper ONAL

Hi Thiago
"However, for basic functionality it should be too hard to make it work on 
ESP32."
You mean shouldn't  I believe [smile]

I will try to port it and will let you know, what about SPI communication for external chips that we are using, what kind of method should I follow to implement this solution? Best Regards.

Reply 0 0
thiagoralves
Yes, I meant "shouldn't" [smile]

About the SPI communication, you will have to develop your own code to reach your external devices from ESP32. Once you can reach them, you just need to store those values on the OPLC_input and OPLC_output structs.
Reply 0 0
Reply