mkurnaz
Dear All,
In a project I want to use Open PLC for esp32.  But I don't know, which file I have to export from Open PLC and how I can parse and run this exported file on esp32. On esp32 I have ReadData and WriteData functions for modbus or onboard IO. Project  has other functionalities like mqtt, modbus, ocpp. Binary output that can run on esp32 is not proper for us. We need an exported file from Open PLC and parser and runner on esp32. Is there a way for this issue?
 
Best Regards
Reply 0 0
thiagoralves
Such thing does not exist. OpenPLC generates a binary for your board that has everything (Modbus, plc logic, debugger, etc). If you want just the plc logic part, you will have to create your own build process, taking the C files from MatIEC and merging with your own C files to generate your custom image. There is no interpreter. Code is always compiled to target.
Reply 0 0
mkurnaz
Such thing does not exist. OpenPLC generates a binary for your board that has everything (Modbus, plc logic, debugger, etc). If you want just the plc logic part, you will have to create your own build process, taking the C files from MatIEC and merging with your own C files to generate your custom image. There is no interpreter. Code is always compiled to target.
Thank you for your response. For now we used c output of OpenPLC and used picoc to parse and run.  Maybe we look for a good ST parser.
Reply 0 0
Reply