Questions tagged [rs485]

RS-485 (aka TIA-485-A, ANSI/TIA/EIA-485, TIA/EIA-485, EIA-485) is a standard defining the electrical characteristics of drivers and receivers for use in digital serial communications systems. Electrical signaling is balanced, and multipoint systems are supported.

RS-485 does not define a protocol; merely an electrical interface. Although many applications use RS-485 signal levels, the speed, format, and protocol of the data transmission are not specified by RS-485. Interoperability of even similar devices from different manufacturers is not assured by compliance with the signal levels alone.

RS-485 standard similar to but with an important addition, RS-485 uses a balanced line (an simple electrical method for rejecting inducted noise) which enables it to run either at higher speed or longer distance.

The RS-485 differential line consists of two pins:

  • A, which is low for logic 1 and high for logic 0.
  • B, which is high for logic 1 and low for logic 0.

Simple RS-485 half-duplex connection

In addition to the A and B connections, the EIA standard also specifies a third interconnection point called SC, which is the common signal reference ground. This connection may be used to limit the common-mode signal that can be impressed on the receiver inputs. This third signal is the reference potential used by the transceiver to measure the A and B voltages.

RS-485 drivers use three-state logic allowing individual transmitters to be deactivated. This allows RS-485 to implement linear bus topologies using only two wires. The recommended arrangement of the wires is as a connected series of point-to-point (multidropped) nodes, i.e. a line or bus, not a star, ring, or multiply connected network.

More Information:

https://en.wikipedia.org/wiki/RS-485

Polarities for Differential Pair Signals RS-422 and RS-485

Guidelines for Proper Wiring of an RS-485 (TIA/EIA-485-A) Network

325 questions
-1
votes
1 answer

Unable to Break Out of if Statement After Button Depression - Microchip

I'm unable to break out of an if statement after a button has been depressed. The button activates a relay and the depression turns the relay off. Here is my full code: I'm new to C so all comments and suggestions are much appreciated. #include…
Finners
  • 37
  • 7
-1
votes
1 answer

Old data is read from 485 port in Linux environment

I am reading data continuously from RS 485 port by C program from a device by the following code. For some reason, obtained data is not the latest data in the device. The changes of data is not reflected when I read data, it gives me old value.…
RotatingWheel
  • 1,023
  • 14
  • 27
-1
votes
1 answer

Serial Communication with bus RS 485 and protocol DLMS in C#

I have an electric meter with DLMS protocol, bus RS 485 and RS 485 converter attached with my computer. I am trying to communicate with DLMS serial. Code using System; using System.Collections.Generic; using System.Linq; using System.Text; using…
Salman Mushtaq
  • 341
  • 4
  • 23
-1
votes
1 answer

Generate a 10 MBit RS485 (UART) datastream with an USB device

I need to generate a 10 MBit RS485 (UART) data stream with an USB device. Until now, I thought that the FT2232H perfectly suit but as far as I understand, the FT2232H can only generate 12 MBit or 8 Mbit as the subdividers are limited for the main…
steffenmauch
  • 353
  • 5
  • 16
-1
votes
2 answers

C#: Waiting for specific character sent from RS485

In my app I am sending data to microcontroller. I send data, microcontroller do program, and send character ("K"). My application should wait for this character.After receiving this char, it should send data again. I got problem with receiving this…
user5939530
  • 51
  • 1
  • 6
-1
votes
1 answer

serial communication rs232 and eurotherm 2208e

i have a problem with rs232 and Eurotherme 2208e this is the code without problem. public Window8() { InitializeComponent(); DispatcherTimer myDispatcherTimer = new DispatcherTimer(); myDispatcherTimer.Interval = new…
-2
votes
1 answer

Can I know the memory address of RS-485 in DVP-14SS2?

This is the port of DVP-14SS2 for RS-485 [1]: https://i.stack.imgur.com/yXL9u.png
Jason Lee
  • 21
  • 4
-2
votes
1 answer

Replace direct RS485 to RS485 connection with Ethernet in the middle?

I have a RS-485 device connected via twisted pair to another RS-485 device. I'd like to bridge the distance via Ethernet, like so: RS485 > Ethernet > RS485 Is this possible with two RS485 to Ethernet converters? [RS485 device] to [RS485-Ethernet]…
MaxG
  • 187
  • 3
  • 11
-4
votes
1 answer

RS 485 not showing any result

I am trying to get read data from rs 485 communication interface and write in the textbox but i am not getting the data from this code. I am working on water measurement and I am beginner in c#. I have seen similar question like this but unable…
sanjana
  • 1
  • 2
-5
votes
0 answers

How to set vtime and vmin for streaming serial data

I am looking for reference and pointers on setting vmin and vtimer for recieving streaming serial application. MEssages of varying length are send to the application in at random timing but at a fixed frequency for each message( some messages could…
user1538798
  • 1,075
  • 3
  • 17
  • 42
1 2 3
21
22