RS-485 Communication Through Slip Rings: Configuration and Data Buffer Settings
Learn how slip rings affect RS-485 communication and configure controller buffer settings to handle interruptions without misinterpreting measurement data.
RS-485 communication through a slip ring can be interrupted by contact movement, wear or signal distortion. With Slow fill selected, the controller repeats the last valid measurement during brief interruptions and applies the configured fill pattern after more than two seconds. Repeated values are held data, not new measurements.
Why slip rings can disrupt RS-485 communication
Slip rings transfer electrical signals between stationary and rotating parts through sliding contacts. Although suitable for power transmission, they must also preserve signal integrity to support reliable RS-485 communication.
RS-485 transmits data using the voltage difference between two conductors. A slip ring can disturb these signals through:
-
Contact interruptions: Vibration or contact bounce can briefly break the connection and corrupt data.
-
Changing contact resistance: Uneven resistance between the signal paths can reduce noise immunity.
-
Signal reflections: Changes in impedance at the slip ring can distort signal transitions.
-
Electrical interference: Nearby power contacts, motors or switching equipment can introduce noise.
-
Wear and contamination: Contact deterioration can cause errors to develop over time.
These disturbances can produce rejected messages or communication timeouts, particularly at higher communication rates. A slip ring suitable for power transmission is therefore not automatically suitable for RS-485.
Slow fill controls how interruptions appear in the measurement buffer. It does not correct the physical communication fault.
Configure Slow fill for communication through slip rings
When connecting the RS-485 bus through a slip ring, we recommend setting the data buffer pre-initialisation to Slow fill (Controller Settings → Settings → Buffer pre-init type).
During a brief communication interruption, Slow fill writes the last valid measurement value to the controller’s data buffer. These repeated values are held data, not newly acquired measurements, and may conceal changes in the measured signal during the interruption.
If the communication error persists for more than two seconds, the controller fills the buffer with the predefined fill pattern.
Buffer behaviour during RS-485 communication errors
The Buffer Pre-Initialization setting defines how measurement values are handled in the data buffer when an RS-485 communication error occurs between the controller and the connected measurement modules.
The following Buffer Pre-Initialization options are available:
-
Deactivated: During a communication error, the buffer continues to use the last valid measured value.
-
Fast Fill: As soon as a communication error occurs, the buffer is filled with the predefined fill pattern. The default fill pattern is typically
NaN, making missing or invalid measurement data clearly identifiable. -
Slow Fill: During short communication interruptions, the last valid measured value is retained. If the communication error continues for more than 2 seconds, the buffer is filled with the predefined fill pattern. This prevents brief communication interruptions from producing
NaNvalues while still making longer communication failures identifiable.
How the buffer fill pattern works
The Fill Pattern defines the byte value (0–255) written to the measurement buffer when a UART communication error occurs and the configured Buffer Pre-init Type requires the fill pattern to be used. The value represents an 8-bit pattern; for example, 255 = 1111 1111.
By default, the Fill Pattern is set to 255. When applied to floating-point measurement data, this fill pattern is used to produce Not a Number (NaN) values, clearly identifying invalid or unavailable measurement data.
A fill pattern of 255 produces NaN values only for variables configured with a 32-bit floating-point data format. For other data formats, a different fill pattern may be required and can be selected according to the application requirements and preferred representation of invalid data.
Frequently asked questions about RS-485 communication through slip rings
Can RS-485 communication pass through a slip ring?
Yes, provided the slip ring and wiring maintain adequate signal integrity. Suitability should be checked for the intended communication rate and operating conditions.
Does Slow fill repair communication errors?
No. Slow fill controls the values placed in the controller’s buffer during an interruption. It does not correct the physical communication fault.
Can a flat measurement trace indicate a communication interruption?
Yes. When the buffer repeats the last valid value, the trace can appear constant even if the measured quantity changes. Check communication diagnostics before interpreting a flat trace as stable operation.
Which buffer setting should I use when missing data must remain visible?
Consider Fast fill with an appropriate fill pattern and verified downstream interpretation. Confirm that your software recognises the resulting values as invalid or missing data.