Hi Thiago.
I’m evaluating to integrate OpenPLC in an application for the factory I’m working for.
The runtime would run on a Infineon XMC 14xx: comparable to the Arduino Uno processor, where I’ve see the Open PLC was ported.
There would be about 30/40 runtimes running on different boards all appended to a CAN bus used to communicate with a Linux based “master”.
The “master” would send through CAN (at the current design stage) the OpenPLC program file to each node, the program would be executed once then discarded waiting for the next one.
The master would integrate editing functionalities, maybe only one of the five IEC 1131 languages would be supported.
The aim is to provide to the runtime nodes a high level language for executing autonomously simple input/output processing and then returning status informations to the “master”.
I would not want to reivent the wheel, and the IEC 1131 is a good wheel for my purpose.
My concerns are:
- memory requirement (both RAM and Flash) for real and reliable usage
- the possibility to replace the default communication channel with CAN for downloading program files and for returning infos to the “master”
- the size of the files which would be sent over the CAN
- the possibility to generate from our editor the files ready to be sent to the runtime/”slaves”
Just a hint: in the past I’ve worked with ISaGRAF, making many portings and writing applications.
The porting of the runtime allowed to select (by preprocessor conditional compilation) which of the programming languages were enabled.
Is it possible with OpenPLC?
Thank you