Omicron
Took the Uno Sketch, Rx and Tx are blinking.

Edit: Tested the same thing with a Mega. So I think it is up to OpenPLC on my Raspi 4b.

Edit2: If I install an serial echo server on the arduino I am able to test /dev/ttyUSB0 with picocom, so I think the connection and permissions are ok.


OpenPLC Runtime starting...
Interactive Server: Listening on port 43628
Device ArduinoNano is disconnected. Attempting to reconnect...
Warning: Persistent Storage file not found
Connected to MB device ArduinoNano
Modbus Read Discrete Input Registers failed on MB device ArduinoNano: Connection timed out
Issued start_modbus() command to start on port: 502
Server: Listening on port 502
Server: waiting for new client...
Server: Client accepted! Creating thread for the new client ID: 9...
Server: waiting for new client...
Server: Thread created for client ID: 9
Modbus Server: client ID: 9 has closed the connection
Terminating Modbus connections thread
Issued start_dnp3() command to start on port: 20000
Server: Client accepted! Creating thread for the new client ID: 9...
Server: waiting for new client...
Server: Thread created for client ID: 9
Modbus Server: client ID: 9 has closed the connection
Terminating Modbus connections thread
DNP3 ID manager: Starting thread (0)
DNP3 ID DNP3_Server: Listening on: 0.0.0.0:20000
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Issued start_enip() command to start on port: 44818
Server: Client accepted! Creating thread for the new client ID: 15...
Server: Listening on port 44818
Server: waiting for new client...
Server: waiting for new client...
Server: Thread created for client ID: 15
Modbus Server: client ID: 15 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Issued stop_pstorage() command
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Modbus Write Coils failed on MB device ArduinoNano: Connection timed out
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: Thread created for client ID: 14
Server: waiting for new client...
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Modbus Server: client ID: 14 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 14...
Server: waiting for new client...
Server: Thread created for client ID: 14
Reply 0 0
Omicron
nvm, the nano is working. scadaBR was connecting to port 502 🙈
Reply 0 0
Reply