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
vote
1 answer

RS485 Modbus Commmunication

I have been trying to acquire electrical parameters from my energy meter using Arduino through Modbus communication. But my code fails to get the data from the meter. In this code, I'm trying to get the phase voltage value from the energy meter…
1
vote
0 answers

UWP C# UART RS485 DetachBuffer

I have previously posted regarding the issue but haven't really found the problem. Recently, I found this post regarding detachbuffer and wonder if this could be the reason i encounter the problem. I have my UART for RS485 using a FTDI USB to 485…
mylim
  • 313
  • 4
  • 16
1
vote
0 answers

Tinkerforge RS485 Callback in Matlab

I want to implement a Tinkerforge ReadCallback function in matlab to log changes from a RS485Bricklets with four slaves. I am able to establish an IP-connection and if I input a value into the bricklet via Brickviewer I receive it in matlab but I…
J.Wick
  • 21
  • 2
1
vote
0 answers

Want to read Output Frequency of VFD using Arduino Uno through MAX485

In my project, I need to read Output Frequency of VFD using arduino Uno through MAX485. Manual of Delta VFD :- http://www.realimpeks.co.rs/download/delta_vfd_el.pdf On Page 4-95(138), In 2103H address output frequency data is stored. I'm confused…
1
vote
2 answers

Issue reading modbus registers from Epever uPower charger / inverter using pymodbus

I am having a issue reading modbus registers from a Epever uPower solar charger / inverter. I am using the pymodbus library running on a Raspberry Pi talking over a USB to RS485 cable. I know the hardware and the cable are working because I can get…
1
vote
1 answer

Unknown CRC Method

I having following modbus polling query but i am unable find the correct crc method,crc position and crc value please guide me to find correct crc method,crc position and crc value for the following query 01 37 37 1D 31 31 31 1D 30 1D 31 03 32 35 30…
Sathish
  • 199
  • 1
  • 11
1
vote
0 answers

crc calculation for modbus

Hi i am new to modbus RS485 i am unable to find the type of crc for the given polling query.I am having the following modbus protocol. 01 37 37 1D 30 30 33 1D 30 03 34 37 33 39 37 04 01 37 37 1D 31 31 31 1D 30 1D 1B 5B 43 03 36 34 38 32 38 04 01…
Sathish
  • 199
  • 1
  • 11
1
vote
0 answers

Sending data serially from USB/RS485 to RS485 C code in Windows

I'm trying to setup half duplex communication in Windows10 in my program. I have my USB connected to COM3 which is converted to a RS485 connection using a converter. Most of the available information out there are using Linux systems which does not…
jay_aechh
  • 11
  • 2
1
vote
1 answer

Modbus RTU Hardware in the Field with Incorrect Response Delay

We have hardware in the field which communicates at a variety of different baud rates using RS-485/Modbus RTU (1200, 9600, through to 115200). The firmware running on our device has a small bug in it, where the Modbus RTU response delay was fixed…
Belgin Fish
  • 19,187
  • 41
  • 102
  • 131
1
vote
3 answers

Setting RS485 device address in python under linux

I am trying to connect to an existing network of devices communicating via RS485 (HMI + PLC, the communication protocol is Fatek's own protocol). I have no problem connecting directly to the PLC (I can read and write registers), but I have to leave…
mpnowacki
  • 33
  • 5
1
vote
0 answers

Sanity Check: RS485 Communications

Alright so I am new to RS485 communications I am putting together a document for client to wire up a Atlas Copco Mark V gateway device (Protocol Converter from CAN to Modbus RTU) to a Red Lion Protocol Converter (Modbus RTU to Modbus TCP), I know…
JParsons03
  • 11
  • 1
1
vote
0 answers

FTDI driven USB to RS485 requires a undocumented timeout after write?

I am developing a controller for Mobitec Bus destination panel. The intended communication layer is SBC -> USB 2 RS485 [FTDI] -> Mobitec. This is also the first time for me working with serial and RS485. While developing, though, my workstation is…
tomsseisums
  • 13,168
  • 19
  • 83
  • 145
1
vote
2 answers

How can I read from an RS485 COM port in C++ with Windows?

I try to control a voltage source via RS485 (via a USB to RS485 converter). I use Standard C++ in Visual Studio. I wrote the following code. Writing works fine, the voltage source responds to all input, but reading back bytes is difficult for…
thefighter3
  • 69
  • 1
  • 3
  • 13
1
vote
1 answer

Enable RS485 mode for max310x SPI-UART converter

In my application I need RS485 interfaces. I am using some UARTs from am3352 but I need few more, so I'm trying to expand using SPI and max3109 chip. I have successfully added max3109 to my device tree using module max310x - it shows two devices:…
mslo
  • 47
  • 1
  • 10
1
vote
0 answers

Is it possible to have enable BOTH Driver enable signal and hardware address wake up on stm32L USART?

I would like to implement an RS485 Link master using STM32L053 that only receives words when it is woken up by hardware address matching (9 bit data with msb set for address marker). On the face of it the Multiprocessor mode allows the address wake…
Phil Mundy
  • 11
  • 1