Danlevrai
Hi, I am newbie and I would like to use your great OpenPLC app.
I installed everything as recommended.
I did mofified the Hello Word program to remove the timer.
Compiled it without problem.
Tranferred it in my Arduino MEGA without error.
The program run well in arduino.
But when I reset the arduino, everything stop working.
Samething when I stop the server.

Is it possible to have the program stored permanently in Arduino so I can run it standalone?

Thank you for your support.

I included the program and the Server log file. Program.jpg  Server Log.jpg 
Reply 0 0
thiagoralves
The program is never transferred to the Arduino board. OpenPLC uses Arduino boards as slave devices, which means that the logic for your program runs on your computer and all that is passed to the Arduino are commands to read and write I/O. If you disconnect your Arduino from the host, or reset it, it obviously stops working. If you want a permanent embedded system to run OpenPLC, you should try a Raspberry Pi. You can buy Raspberry Pis for as low as $5.
Reply 0 0
Danlevrai
Hi Thiagorales,
Thank you for this quick answer. I did not know that everything was running remotely.
I might end up trying an Raspberry PI.
Reply 0 0
Reply