Connecting PLC to node-red through MPI-USB Adapter

Hey
i am facing a problem connecting my siemen s7-300 plc to pi 4b through mpi-usb adapter. It says error connecting to plc wrong MPI address [0]. I have installed all the libraries for the adapter like MPI-USB library, libudev etc. I have attached my settings and debug console. I have tried different MPI addresses upto 21 it didn't work. However, when I programmed my plc the address of mpi adapter in TIA Portal as 20. When i check if my pi detects the adapter in terminal then it shows siemen AG connected at bus 001, device 04. I hope someone can help me out.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.