You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone,
We're trying to query holding registers from a device connected to a Windows PC through a serial port DB9 Halfduplex ( Dual wire RS-485 <--> Dual wire RS485).
The program that I used was working successfully in a Linux PC.
When we used the same program on Windows, it didn't work at first. Then, we tried other standard programs and they can poll holding registers successfully with different configurations.
The configuration in both is almost the same except for one thing: In ModScan I do not activate DSR nor CTS. In ModbusPoll I have to activate 'RTS Toggle'.
I supposed that I had to toggle RTS manually everytime that I send a request for holding registers but I don't really know how to do it with this library (Or even if it's necessary)
This is the basic program for testing that we were using:
Hello everyone,
We're trying to query holding registers from a device connected to a Windows PC through a serial port DB9 Halfduplex ( Dual wire RS-485 <--> Dual wire RS485).
The program that I used was working successfully in a Linux PC.
When we used the same program on Windows, it didn't work at first. Then, we tried other standard programs and they can poll holding registers successfully with different configurations.
The configuration in both is almost the same except for one thing: In ModScan I do not activate DSR nor CTS. In ModbusPoll I have to activate 'RTS Toggle'.
I supposed that I had to toggle RTS manually everytime that I send a request for holding registers but I don't really know how to do it with this library (Or even if it's necessary)
This is the basic program for testing that we were using:
The problem with this code is that always gives 'Timeout'.
We tried running on shell:
set DEBUG=* && node myProgram.js
And the output was:
What more can we test? We tried a lot of combinations with the portOptions, but we almost always get the same results.
The text was updated successfully, but these errors were encountered: