-OpenPLC Runtime does not start automatically on reboot or initial boot of the Raspberry pi.
-When I downloaded OpenPLC I expected it to show up in the applications menu but it didn't.
I've tried downloading it twice and no difference.
-I'm trying to run my first program.
Writing and downloading the program seems to be ok.
When I try to start the PLC from the dashboard I get a runtime log of "OpenPLC Runtime is not running"
I can see that the dashboard and Raspberry are communicating.
The Terminal shows the following when I try to start runtime from the dashboard
OpenPLC Runtime starting...
Interactive Server: Listening on port 43628
Interactive Server: waiting for new client...
pinMode PWM: Unable to do this when using /dev/gpiomem. Try sudo?
OpenPLC Runtime is not running. Error: [Errno 111] Connection refused
192.168.0.101 - - [14/Feb/2021 15:14:28] "GET /runtime_logs HTTP/1.1" 200 -
Openning database
Enabling Modbus on port 502
Enabling DNP3 on port 20000
Enabling EtherNet/IP on port 44818
Disabling Persistent Storage
persistent.file removed!
Name: push_button
Location: %IX0.7
Type: BOOL
Name: lamp
Location: %QX0.7
Type: BOOL
The program is a simple pushbutton turning on a lamp. One line only.
192.168.0.101 - - [14/Feb/2021 15:14:29] "GET /start_plc HTTP/1.1" 302 -
192.168.0.101 - - [14/Feb/2021 15:14:29] "GET /dashboard HTTP/1.1" 200 -
192.168.0.101 - - [14/Feb/2021 15:14:30] "GET /runtime_logs HTTP/1.1" 200 -
192.168.0.101 - - [14/Feb/2021 15:14:31] "GET /runtime_logs HTTP/1.1" 200 -
Any help would be appreciated. I'm not sure where I went wrong.
Thanks,