Closed Noka1337 closed 2 years ago
Hello @Noka1337 , did you build the complete testbed with all hardware and so on? Do the displays of the remoteIOs show the correct configuration? IP, current state of inputs/outputs/etc. ? First I would check if you could ping the remoteIOs. They also have a Webserver running on port 80, where you can check if you reach this and the remoteIO boards booted correctly.
Hello @Noka1337 , did you build the complete testbed with all hardware and so on? Do the displays of the remoteIOs show the correct configuration? IP, current state of inputs/outputs/etc. ? First I would check if you could ping the remoteIOs. They also have a Webserver running on port 80, where you can check if you reach this and the remoteIO boards booted correctly.
Yes, I did everything the same as in the manual, and the displays are displayed. I have often had a PLC output a low voltage message. I use 3xUSB adapters for raspberry and 2xUSB for STM, but they heat up terribly. Could there be a reason for this?
And I will check the addresses of STM:80, thanks for this information
Here are the logs from the PLC:
OpenPLC Runtime starting... Interactive Server: Listening on port 43628 Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Warning: Persistent Storage file not found Device RemoteIO_2 is disconnected. Attempting to reconnect... Connection failed on MB device RemoteIO_2: Operation now in progress Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Bad file descriptor Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Issued start_modbus() command to start on port: 502 Server: Listening on port 502 Server: waiting for new client... Issued start_dnp3() command to start on port: 20000 DNP3 ID manager: Starting thread (0) DNP3 ID DNP3_Server: Listening on: 0.0.0.0:20000 Issued start_enip() command to start on port: 44818 Server: Listening on port 44818 Server: waiting for new client... Issued stop_pstorage() command Modbus Read Discrete Input Registers failed on MB device RemoteIO_1: Connection timed out Modbus Write Coils failed on MB device RemoteIO_1: Bad file descriptor Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Device RemoteIO_1 is disconnected. Attempting to reconnect... Server: Client accepted! Creating thread for the new client ID: 15... Server: waiting for new client... Server: Thread created for client ID: 15 Connection failed on MB device RemoteIO_1: Operation now in progress Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Server: Client accepted! Creating thread for the new client ID: 16... Server: waiting for new client... Server: Thread created for client ID: 16 Modbus Write Coils failed on MB device RemoteIO_2: Connection timed out Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Server: Client accepted! Creating thread for the new client ID: 7... Server: waiting for new client... Server: Thread created for client ID: 7 Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Connection timed out Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Server: Client accepted! Creating thread for the new client ID: 17... Server: waiting for new client... Server: Thread created for client ID: 17 Modbus Read Discrete Input Registers failed on MB device RemoteIO_1: Connection timed out Modbus Write Coils failed on MB device RemoteIO_1: Bad file descriptor Device RemoteIO_2 is disconnected. Attempting to reconnect... Connection failed on MB device RemoteIO_2: Operation now in progress Device RemoteIO_1 is disconnected. Attempting to reconnect... Server: Client accepted! Creating thread for the new client ID: 18... Server: waiting for new client... Server: Thread created for client ID: 18 Connection failed on MB device RemoteIO_1: Operation now in progress Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Modbus Read Discrete Input Registers failed on MB device RemoteIO_1: Connection timed out Modbus Write Coils failed on MB device RemoteIO_1: Bad file descriptor Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Connection timed out Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Modbus Read Discrete Input Registers failed on MB device RemoteIO_1: Connection timed out Modbus Write Coils failed on MB device RemoteIO_1: Bad file descriptor Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Modbus Server: client ID: 17 has closed the connection Terminating Modbus connections thread Modbus Server: client ID: 15 has closed the connection Terminating Modbus connections thread Server: Client accepted! Creating thread for the new client ID: 15... Server: waiting for new client... Server: Thread created for client ID: 15 Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Connection timed out Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Server: Client accepted! Creating thread for the new client ID: 17... Server: waiting for new client... Server: Thread created for client ID: 17 Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Connection timed out Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Server: Client accepted! Creating thread for the new client ID: 20... Server: waiting for new client... Server: Thread created for client ID: 20 Modbus Write Coils failed on MB device RemoteIO_2: Connection timed out Device RemoteIO_2 is disconnected. Attempting to reconnect... Server: Client accepted! Creating thread for the new client ID: 21... Server: waiting for new client... Server: Thread created for client ID: 21 Connection failed on MB device RemoteIO_2: Operation now in progress Modbus Server: client ID: 20 has closed the connection Terminating Modbus connections thread Server: Client accepted! Creating thread for the new client ID: 13... Server: waiting for new client... Server: Thread created for client ID: 13 Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Modbus Read Discrete Input Registers failed on MB device RemoteIO_1: Connection timed out Modbus Write Coils failed on MB device RemoteIO_1: Bad file descriptor Device RemoteIO_1 is disconnected. Attempting to reconnect... Modbus Server: client ID: 21 has closed the connection Terminating Modbus connections thread Server: Client accepted! Creating thread for the new client ID: 21... Server: waiting for new client... Server: Thread created for client ID: 21 Modbus Server: client ID: 13 has closed the connection Terminating Modbus connections thread Server: Client accepted! Creating thread for the new client ID: 13... Server: waiting for new client... Server: Thread created for client ID: 13 Connection failed on MB device RemoteIO_1: Operation now in progress Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Modbus Read Discrete Input Registers failed on MB device RemoteIO_1: Connection timed out Modbus Write Coils failed on MB device RemoteIO_1: Bad file descriptor Device RemoteIO_1 is disconnected. Attempting to reconnect... Modbus Server: client ID: 21 has closed the connection Terminating Modbus connections thread Modbus Server: client ID: 13 has closed the connection Terminating Modbus connections thread Connection failed on MB device RemoteIO_1: Operation now in progress Modbus Write Coils failed on MB device RemoteIO_2: Connection timed out Device RemoteIO_1 is disconnected. Attempting to reconnect... Server: Client accepted! Creating thread for the new client ID: 19... Server: waiting for new client... Server: Thread created for client ID: 19 Connection failed on MB device RemoteIO_1: Operation now in progress Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Server: Client accepted! Creating thread for the new client ID: 21... Server: waiting for new client... Server: Thread created for client ID: 21 Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Connection timed out Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Modbus Server: client ID: 16 has closed the connection Terminating Modbus connections thread Modbus Write Coils failed on MB device RemoteIO_2: Connection timed out Modbus Read Discrete Input Registers failed on MB device RemoteIO_1: Connection timed out Modbus Write Coils failed on MB device RemoteIO_1: Bad file descriptor Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Device RemoteIO_1 is disconnected. Attempting to reconnect... Modbus Server: client ID: 18 has closed the connection Terminating Modbus connections thread Connection failed on MB device RemoteIO_1: Operation now in progress Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Connection timed out Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Modbus Read Discrete Input Registers failed on MB device RemoteIO_1: Connection timed out Modbus Write Coils failed on MB device RemoteIO_1: Bad file descriptor Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Modbus Server: client ID: 15 has closed the connection Terminating Modbus connections thread Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Connection timed out Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Device RemoteIO_2 is disconnected. Attempting to reconnect... Modbus Server: client ID: 19 has closed the connection Terminating Modbus connections thread Modbus Server: client ID: 17 has closed the connection Terminating Modbus connections thread Server: Client accepted! Creating thread for the new client ID: 16... Server: waiting for new client... Server: Thread created for client ID: 16 Connection failed on MB device RemoteIO_2: Operation now in progress Server: Client accepted! Creating thread for the new client ID: 15... Server: waiting for new client... Server: Thread created for client ID: 15 Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Connection timed out Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Server: Client accepted! Creating thread for the new client ID: 18... Server: waiting for new client... Server: Thread created for client ID: 18 Modbus Read Discrete Input Registers failed on MB device RemoteIO_1: Connection timed out Modbus Write Coils failed on MB device RemoteIO_1: Bad file descriptor Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2 Server: Client accepted! Creating thread for the new client ID: 17... Server: waiting for new client... Server: Thread created for client ID: 17 Modbus Read Discrete Input Registers failed on MB device RemoteIO_2: Connection timed out Modbus Write Coils failed on MB device RemoteIO_2: Bad file descriptor Device RemoteIO_1 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_1 Device RemoteIO_2 is disconnected. Attempting to reconnect... Connected to MB device RemoteIO_2
There is a connection to the STM, but for a very long time, however, the LED lights up and goes out
On the "Manual" tab, it used to be possible to turn on the engines, but with a long wait, they now do not turn on
Hello @Noka1337 ,
have you used the release images of the Raspberry Pi or did you set it up by your own? https://github.com/hsainnos/LICSTER/releases/tag/v0.2.1-alpha
Also the second remoteIO is reachable?
And yes the best way for debugging is the manual control page
Yes, these releases belong to you. In general, there are no problems at the moment, I hope it was due to a lack of nutrition. Thank you for your responsiveness!
Hello, there is another problem (before that I fixed the problem with IP addresses): everything loads, PLC and Scada web pages open, a model appears on the HMI display, I pass authorization, but the machine does not start. I have looked through the PLC logs, there is always a connection and disconnection of remote I/O. In addition, the value of Scada sensors is displayed stably. The contacts of the outputs do not become 1. Maybe I am doing something wrong?