Something might be preventing OpenPLC from writing that information in the configuration file. It checks if the board files are present during first upload. If they are it writes what version of board files are installed, which in turns replaces the [NOT INSTALLED] by the version number. This information is located at the JSON file on /editor/arduino/examples/Baremetal/hals.json
Hello,
yesterday I installed openPLC on Windows 11. I use an Arduino Uno and an Arduino Due. The Arduino IDE is the most recent 2.3.x installation. I run the simple blink test. I followed the instructions in the videos provided by Thiago Alves. These videos are very good and suited to help a novice like me.
My first issue: whatever I choose, the "Transfer Program to PLC" command does not recognize that it was already downloaded. I ensured the Arduinos were connected to the PC before starting the openPLC Editor. And I also know which COM-Ports to select. Independently from the Arduino I use, I get the following message: "Support for arduino:avr:uno [or: for the arduino😃ue] is not installed on OpenPLC Editor [even though the files had been downloaded in the previous run]. Please be patient and wait while arduino:avr:uno is being installed... Config file already exists, use --overwrite to discard the existing one." Any hint how to make the openPLC Editor aware that the files had been downloaded before?
My second issue: with Arduino Uno I get the Blink program up and running. Everything is fine. Port 13 is set and reset using %Q0.3. For the Arduino Due, I have to use port 27, refer to
https://content.arduino.cc/assets/A000056-full-pinout.pdf, seen today. In the openPLC documentation, the ports shall be the same for the Due and for the MKR devices,
https://autonomylogic.com/docs/2-4-physical-addressing/, seen today. I expect that port 27 is mapped to %Q1.2. However, the blink test does not make the LED blink, as before with the Uno. My question: what do I have to modity in openPLC to map the ports correctly?
Regards,
Pedro.