RS-485 Polarity: Difference between revisions

From BACnet Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


{| class="wikitable"
{| class="wikitable"
|+ Caption text
|+ Nominal Terminology
|-
|-
! Our Terminology !! Description !! Logic levels !! Data Representation
! Our Terminology !! Description !! Logic levels !! Data Representation
Line 17: Line 17:


{| class="wikitable"
{| class="wikitable"
|+ Caption text
|+ Manufacturer's Labeling
|-
|-
! Comment !! Tracking !! Non-tracking !! Class !! Manufacturer examples
! Comment !! Tracking !! Non-tracking !! Class !! Manufacturer examples
Line 29: Line 29:
| || U+ || U- || || [https://en.wikipedia.org/wiki/RS-485 Wikipedia]
| || U+ || U- || || [https://en.wikipedia.org/wiki/RS-485 Wikipedia]
|-
|-
| TI convention|| A || B || Example
| TI convention|| A || B || || [https://e2e.ti.com/cfs-file/__key/telligent-evolution-components-attachments/13-143-00-00-00-26-49-60/RS485-_2D00_-Polarity-Conventions.pdfs TI Polarity Conventions]
|-
| Example || Example || Example || Example
|-
| Example || Example || Example || Example
|-
| Example || Example || Example || Example
|-
| Example || Example || Example || Example
|-
| Example || Example || Example || Example
|}
|}


Line 46: Line 36:


{| class="wikitable"
{| class="wikitable"
|+ Caption text
|+ RS-485 Bus State Terminology
|-
|-
! UART bit !! Logic level !! A-B (T+ - T-) result !! RS-485 state !! RS-485 A volt !! RS-485 B volt
! UART bit !! Logic level !! A-B (T+ - T-) result !! Legacy !! RS-485 state !! RS-485 A volt !! RS-485 B volt
|-
|-
| 1 || high|| A > B|| On || high || low
| 1 || high|| A > B|| Mark/Idle || On (0) || high || low
|-
|-
| 0 || low || A < B || Off || low || high
| 0 || low || A < B || Space || Off (1) || low || high
|}
|}

Revision as of 04:48, 17 September 2023

RS-485 comprises two signals, one that 'tracks' the logic levels (high voltage == 1, low voltage == 0). The other signal does the opposite. The meaning of these two signals has been polluted by chip and box vendors, which leads to a lot of confusion. A lot of further confusion arises when one considers the UART logic levels vs signal levels and labels. This article attempts to resolve the status without adding to the confusion

Our terminology:

Nominal Terminology
Our Terminology Description Logic levels Data Representation
T+ Tracking High voltage (typically +5 or +3.3) 1
T- Non-tracking Low voltage (close to 0v) 0


Labeling found in the field

Manufacturer's Labeling
Comment Tracking Non-tracking Class Manufacturer examples
Our terminology T+ T- Nominal BITS
+ - Symbol FT-Click, BASRouterLX
B+ A- MBS UBR-01 MkII
U+ U- Wikipedia
TI convention A B TI Polarity Conventions


TI has a very definitive document, but one that has to be read carefully in terms of terminology. There is the document (TI Polarity Conventions). Read this document with the following table in mind:

RS-485 Bus State Terminology
UART bit Logic level A-B (T+ - T-) result Legacy RS-485 state RS-485 A volt RS-485 B volt
1 high A > B Mark/Idle On (0) high low
0 low A < B Space Off (1) low high