How can I control serial devices by single dongle #1904
-
I'm trying to control two slaves by connecting them to a serial to 485 communication dongle. However, only one device is properly connected, and the other devices, although the signals are transmitted, do not complete the process correctly, resulting in a "connection lost" related exception handler. When I set the retry to 0, the process operates correctly, but when I set the retry to 2, it causes a malfunction which is sending the signal three times. I would like to inquire whether additional options are required when connecting multiple devices. OS : MacOS 14.1.2
Excpetion print
Debug log
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
NO, you can connect a max of 254 devices on a serial line, however you need to make the rs-485 cabling correct
You address the different devices with the slave= parameter, but of course you need to ensure the devices are correctly configured to respond to that address. It is normally recommended to try and read a value first, as the number of possible problem are at lot less, when writing you have security and formatting problem on top of communication problems. |
Beta Was this translation helpful? Give feedback.
NO, you can connect a max of 254 devices on a serial line, however you need to make the rs-485 cabling correct
some usb converters are very sensitive to how the cabling is done.
You address the different devices with the slave= parameter, but of course you need to ensure the devices are correctly configured to respond to that address.
It is normally recommended to try and read a value first, as the number of possible problem are at lot less, when writing you have security and formatting problem on top of communication problems.