D
I have 6 devices (thermostats) that all communicate via modbus to a central controller. Each unit is in a separate building, and each one has a BB-Electronics Optoisolator/Repeater (485OPDR-HS / line bias on units disabled on the network side, enabled on the side connected to the thermostat). I have line bias at the controller (470 ohm resistors to 5v and ground), and 120 ohm termination resistors at each end. Line length is about 300 meters. Twisted pair with ground.
Cannot figure out why the network randomly stops working. When it does, the voltages on the pair are 0 and 4 volts. While running, I see voltages between 1 and 3 volts.
I've changed the RS485 converter at the controller, from 3 different RS485 to RS232 units and currently using an FTDI USB/RS485 converter (the USB unit seems to produce fewer CRC errors). Though, the only CRC errors that do appear are only seen at the devices, not at the controller. I think that the data sent from the controller to the devices is garbled, but it retries once and keeps going.
My logs show the hex data and when it fails, one of the units just stops responding during its transmission, and the controller cannot talk on the network as the voltage is at 0 and 4 volts. It's randomly one of the six units that stop, and essentially lock me out. The only fix I can do is power all the units off and back on. Controller does not need rebooting to fix.
I'm stuck at this point and cannot figure out what is causing this issue. I've checked the data on an oscilloscope when it is working, and although not perfect, the waveforms seem pretty solid to me.
Any ideas how to proceed? Any thoughts??
Thanks.
Cannot figure out why the network randomly stops working. When it does, the voltages on the pair are 0 and 4 volts. While running, I see voltages between 1 and 3 volts.
I've changed the RS485 converter at the controller, from 3 different RS485 to RS232 units and currently using an FTDI USB/RS485 converter (the USB unit seems to produce fewer CRC errors). Though, the only CRC errors that do appear are only seen at the devices, not at the controller. I think that the data sent from the controller to the devices is garbled, but it retries once and keeps going.
My logs show the hex data and when it fails, one of the units just stops responding during its transmission, and the controller cannot talk on the network as the voltage is at 0 and 4 volts. It's randomly one of the six units that stop, and essentially lock me out. The only fix I can do is power all the units off and back on. Controller does not need rebooting to fix.
I'm stuck at this point and cannot figure out what is causing this issue. I've checked the data on an oscilloscope when it is working, and although not perfect, the waveforms seem pretty solid to me.
Any ideas how to proceed? Any thoughts??
Thanks.