wizer
Hello, I introduce myself Gregoire, I am French, I use Google translation to translate me.So, I am discovering OpenPLC.On a RPi I install the runtime, then connect 2 arduino, 1 uno and 1 mega. To make a regulation for the heating of my house.But here are the 2 arduino are well recognized by openPlc, but my problem is to be able to program with PlcEditor.could anyone give me advice? thank you in advance.
Quote 0 0
thiagoralves
Follow the tutorials at http://www.openplcproject.com/reference to learn how to program OpenPLC
Quote 0 0
lc625
Hi Gregoire, it sounds you are planning really big things. One Mega and one Uno are plenty I/O's. If you want to learn how to use the OpenPLC Editor you will find some information on the OpenPLC main page. The Editor itself is very similar to the Beremiz one. You will find more documents on the beremiz homepage. For example: https://beremiz.org/LpcManager_UserManual.pdf . As the Editor follows the IEC 61131 standard, your choice of literature could be independent of the source as long it follows the IEC standard. Have fun!
Quote 0 0
wizer
Hello, thank you for the attention you bring to my question.
I followed the tutorial on the establishment of communication between the Raspberry and the slave arduinos, no problem at this level, communication is good TX / RX flashes.
My question is how to program my arduinos in LD.
In terms of components plug into my arduinos, there are several DS18b20, DHT11, and a relay card.
For programming logic in LD, I should get by, but how to send all this on the arduino.

Thanks again.
Quote 0 0
thiagoralves
With OpenPLC you can only use Arduino's default digital and analog IOs. To use smart sensors (like DHT11, etc) you will have to modify the firmware on the Arduino and add this functionality, which is not very simple to do.
Quote 0 0