BlakeL
I'm just trying to run the Hello World PLC provided in the references. Everything compiled correctly and it's running, but I when I go to the localhost server address (43628), it gets stuck loading. Logs from running the PLC are below. Has anyone else faced this problem?

OpenPLC Runtime starting...
Skipping configuration of Slave Devices (mbconfig.cfg file not found)
Interactive Server: Listening on port 43628
Issued start_modbus() command to start on port: 502
Modbus Server: Listening on port 502
Modbus Server: waiting for new client...
Issued start_dnp3() command to start on port: 20001
DNP3 ID manager: Starting thread (0)
DNP3 ID DNP3_Server: Listening on: 0.0.0.0:20001
DNP3 ID DNP3_Server: Accepted connection from: 127.0.0.1
DNP3 ID DNP3_Server: Skipped 291 bytes seaching for start bytes
DNP3 ID DNP3_Server: Skipped 291 bytes seaching for start bytes
DNP3 ID DNP3_Server: Skipped 74 bytes seaching for start bytes
DNP3 ID DNP3_Server: End of file
Modbus Server: Client accepted! Creating thread for the new client ID: 14...
Modbus Server: waiting for new client...
Modbus Server: Thread created for client ID: 14
Reply 0 0
thiagoralves
Why are you trying to connect to the interactive server? This is an internal connection and is only available to the webserver. It is used by the webserver to read/write information to OpenPLC core. You're not supposed to connect to it. From the logs I can say that everything is working correctly.
Reply 0 0
luca94
I'm having the same problem (with the same logs). The LEDs Rx/Tx on the arduino stop blinking after 2/3 seconds, i.e. the board and OpenPLC stop communicating. I've just installed OpenPLC and I would like to upload the HelloWord program.

Any ideas?

Thank you!
Reply 0 0
thiagoralves
This thread is not about arduino and his logs don’t mention anything about arduino or slave devices. If you have the same logs as his, it means that you didn’t follow the instructions to setup a slave device.
Reply 0 0
Reply