In September, we went to Riyadh, Saudi Arabia, to install two communication box systems for our clients. We find some problems during the installation process. Next, we will extend our discussion based on the encountered issues to explore the impact of the connection method of the RS-485 bus on communication quality.
Since the installation of a management system was anticipated during the construction of these two gas stations, we had already reserved wiring harnesses. We used Category 6 network cables, with one cable running from each fuel dispenser to the office. There were eight stations in total: four six-dispenser stations, two four-dispenser stations, and two two-dispenser stations, meaning a total of eight Category 6e network cables were connected to the office.

Before our arrival, the wiring had already been completed by a local engineer. After powering on the stations, we discovered precarious communication. Intercepting messages revealed a high bit error rate. After troubleshooting the equipment, we discovered a wiring issue. Using network cables instead of RS-485 communication cables is common, but typically the same twisted pair is used for both the A and B signals to prevent common-mode interference effectively. However, because a single network cable is thin and difficult to crimp terminals, the on-site solution was to use two twisted-pair cables for signal paths A and B. Furthermore, the communication distance on site was long, resulting in significant interference.
After rewiring the system using the same twisted-pair cable for both signal paths A and B, communication stability improved somewhat, but remained unstable. After investigation and searching for Related information, we discovered that the communication box only had four ports. This meant that the communication cables for the two dispensers needed to be connected in parallel at the host computer before being connected to the communication box system. This star-shaped wiring arrangement is a serious issue, according to RS-485.
wiring specifications, causing severe signal reflection. But the on-site wiring was fixed and cannot be modified, so we had to minimize interference elsewhere. On-site measurement of the impedance of the A and B segments revealed a significant deviation from 60 ohms.
Adjusting the terminal resistors on both sides improved communication quality somewhat, but while it was functional, there was still a certain bit error rate. In fact, most RS-485 communication errors and interference are caused by improper wiring. Most problems can be avoided by paying attention to the following points:
1. For hand-in-hand connections, the T-type line should be no longer than 30cm;

2. Add 120 ohm terminal resistors at both ends of the bus to ensure that the resistance between AB is around 60 ohms;

3. Use shielded twisted-pair cables with a 120-ohm impedance characteristic, with single-ended grounding on the host side.
