-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tty response timing out #72
Comments
Looks like your TCP master sends requests to the RTU device with Slave ID set to
Make sure your RTU slave has the same Unit/Slave ID. If not, change its value either on master or slave device. |
Thank you for responding, I don't have the hardware at hand anymore unfortunately, so I can't verify that but it seems that it is the case. Thank you for help. |
Hello.
|
Hello. I wanted to use your gateway with a motor driver on raspberry pi, but I have encountered a problem, that the tty response always times out which would suggest that the driver does not even respond to requests. When I try to connect with it via RCU on Windows machine it works flawlessly. I use the same transmission parameters as on the Windows machine and I tried to tinker with timeout and wait times but it didn't help either. The one thing that caught my attention was 'Station No.' which is, i suppose, slave selection and it was set to 1. I don't really know much about RS-485 and I haven't really looked into the code but I wonder if this might be a problem. I've attached logs of the program where i try to connect. mbusd.log
The text was updated successfully, but these errors were encountered: