Tubuxis
OpenPLC Runtime starting...
Interactive Server: Listening on port 43628
Device Factory IO is disconnected. Attempting to reconnect...
Persistent Storage is empty
Connection failed on MB device Factory IO: Operation now in progress
Issued start_modbus() command to start on port: 502
Server: Listening on port 502
Server: waiting for new client...
Device Factory IO is disconnected. Attempting to reconnect...
Connected to MB device Factory IO
Server: Client accepted! Creating thread for the new client ID: 7...
Server: waiting for new client...
Server: Thread created for client ID: 7
Issued stop_dnp3() command
Issued start_enip() command to start on port: 44818
Server: Listening on port 44818
Server: waiting for new client...
Issued stop_pstorage() command
Server: Client accepted! Creating thread for the new client ID: 6...
Server: waiting for new client...
Server: Thread created for client ID: 6
Modbus Server: client ID: 6 has closed the connection
Terminating Modbus connections thread
Server: Client accepted! Creating thread for the new client ID: 6...
Server: waiting for new client...
Server: Thread created for client ID: 6

I have a Factory IO instance running on the PC as my OpenPLC runtime and it just keeps continuously disconnecting and reconnecting like this. Am I doing something wrong?
Reply 0 0
thiagoralves
From your logs there is only one reconnection. Sometimes when the runtime starts, if the slave is not ready it can generate this reconnection message. If you keep getting messages like that during the execution of the program (not only at start/stop) than this could be a problem.
Reply 0 0
Reply