Hello,
I am wanting to run OpenPLC on a Raspberry Pi 5 to communicated via MODBUS RTU with a stepper motor. In between is a HAT that converts UART from GPIOs 14 and 15 to RS485. As a test, I made a simple program test program that would move data from one variable to another.
Unfortunately, I get nothing but timeouts when attempting to read:
OpenPLC Runtime starting...
Interactive Server: Listening on port 43628
Device valve1 Parameters1 is disconnected. Attempting to reconnect...
Persistent Storage is empty
Connected to MB device valve1 Parameters1
Issued start_modbus() command to start on port: 502
Server: Listening on port 502
Server: waiting for new client...
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
Issued start_snap7() command
Snap7: 2025-04-13 16:54:22 Server started
Modbus Read Holding Registers failed on MB device valve1 Parameters1: Connection timed out
Server: Client accepted! Creating thread for the new client ID: 10...
Server: waiting for new client...
Server: Thread created for client ID: 10
Modbus Read Holding Registers failed on MB device valve1 Parameters1: Connection timed out
Modbus Read Holding Registers failed on MB device valve1 Parameters1: Connection timed out
Modbus Read Holding Registers failed on MB device valve1 Parameters1: Connection timed out
Modbus Read Holding Registers failed on MB device valve1 Parameters1: Connection timed out
Modbus Read Holding Registers failed on MB device valve1 Parameters1: Connection timed out
Modbus Read Holding Registers failed on MB device valve1 Parameters1: Connection timed out
Modbus Read Holding Registers failed on MB device valve1 Parameters1: Connection timed out
Meanwhile, I am able to successfully read registers using a python script.
Any help would be greatly appreciated!