How to Combine Multiple RS485 Interfaces and Connect Them to One Interface

2023-06-16 usr News

How to combine multiple RS485 interfaces and connect them to one interface

RS485 interface is a serial communication protocol. Allow multi-address communication.


Multiple RS485 ports are used for communication. First, set the main communication port, then set different communication addresses for other ports, and set the communication timing. A 485-bus communication network can be built.


How to realize multiple RS485 communication

RS485 how to achieve multiple RS485 communication:

RS485 adopts differential signal negative logic, where + 2V ~ + 6V represents "0" and -6V ~ -2 V represents "1". RS485 has two kinds of connections: a two-wire system and a four-wire system. The four-wire system is a full-duplex communication mode, and the two-wire system is a half-duplex communication mode.


RS485 and RS232 are both communication interfaces based on the serial port to ethernet converter, and the operation of data sending and receiving is the same, so they use the same underlying driver of WinCE. But they have very great differences in that communication mode in practical application, RS232 interface is a full duplex data communication mode, and the RS485 interface is a half-duplex data communication mode, the sen and receiving of the data can't go on at the same time, in ord to guarantee the sending and receiving of the data does not conflict, Correspondingly, the process of sending and receiving must be strictly separated in software.


The half-duplex network composed of an RS485 interface is generally a two-wire system (in the past, there was a four-wire system connection method, which could only realize point-to-point communication, but now it is rarely used), and shielded twisted pair transmission is mostly used. In the RS485 communication network, the master-slave communication mode is generally used, that is, a master with multiple slaves.In many cases, an RS-485 communication link is simply connected by using a twisted pair to connect the "A" and "B" ends of each interface. The RS485 interface connector adopts the DB-9 9-core socket, the interface with the intelligent terminal RS485 adopts DB-9 (hole), and the keyboard interface RS485 connected with the keyboard adopts DB-9 (pin).


Why should RS485 realize multi-host control?

RS485 adopts the single-duplex working mode. In order to prevent competition on the bus, there is only one master, and the mode of one master inquiry and one slave response is adopted. But sometimes, we really need multiple hosts to monitor RS485 devices, for example, three computers can monitor the same RS485 devices, and it is better to share the RS485 bus. Although this problem is often encountered in practice, it has not been well solved. The difficulty is that the two hosts are completely independent, so they have no coordination mechanism. If the two hosts ask for the slave device at the same time, it will inevitably cause data conflict on the RS485 bus.


RS485 cabling specification

The RS485 signal line cannot be wired together with the power line. In the actual construction, because the wiring is through the pipeline, the construction party sometimes directly ties the 485 signal line and the power line together for convenience. Because the strong current has a strong electromagnetic signal to interfere with the weak current, the 485 signal is unstable, resulting in unstable communication.


The 485 signal line may use a shielded wire or a non-shielded wire as wiring. The 485 signal is transmitted in differential mode, that is, the voltage difference between 485 + and 485- is used as the signal transmission.


Correct Wiring Mode of RS485 Communication

The ideal line is twisted-pair: it is better to use one pair of twisted-pair for the two half-duplex lines, so that the two lines are twisted, and the interference level added to the two lines is offset to achieve the anti-interference effect. One pair is used for receiving two lines and the other pair is used for transmitting two lines in full duplex. RS485 has no power transmission requirements, so the requirements for wire diameter are not high.


In practical engineering, the outdoor water-blocking twisted pair is usually purchased to ensure the protection performance of the line. But some engineers will use RVV cable, which is also possible, but the anti-interference is worse. In this way, some engineers use RVVP cable (with shield), which is not good, because the increase of capacitance between lines will affect the transmission quality, and the baud rate of transmission needs to be reduced.


The setting of the baud rate has a certain corresponding relationship with the length of the cable (including the total length of the branch). The longer the line is, the lower the baud rate should be set to be more stable.


No matter what kind of cable is chosen, bus architecture should be adopted as far as possible, star connection should be reduced, branch lines should be as short as possible, and daisy-chain connection should be adopted as far as possible, that is, the bus is connected to the first node and then jumped to the next node.


It is better to remove the branch line of the unconnected equipment from the bus, otherwise, it is easy to cause interference. At the end of the bus, if the received signal is not good, a 120-ohm wire resistor can be added across the signal line. Do not add intermediate equipment, otherwise, it will increase the line loss and reduce the number and distance of equipment.


The RS485 chips of different devices are usually different, and there are different types of chips with different loads, which are usually not directly visible to engineers. So that is to say, the maximum number of devices connected to different devices on the bus is uncertain. For the same number of devices connected, see the requirements of the device description.


授权代理商:世强先进(深圳)科技股份有限公司
技术资料,数据手册,3D模型库,原理图,PCB封装文件,选型指南来源平台:世强硬创平台www.sekorm.com
现货商城,价格查询,交期查询,订货,现货采购,在线购买,样品申请渠道:世强硬创平台电子商城www.sekorm.com/supply/
概念,方案,设计,选型,BOM优化,FAE技术支持,样品,加工定制,测试,量产供应服务提供:世强硬创平台www.sekorm.com
集成电路,电子元件,电子材料,电气自动化,电机,仪器全品类供应:世强硬创平台www.sekorm.com
  • +1 赞 0
  • 收藏
  • 评论 0

本文由上山打老虎转载自usr News,原文标题为:How to combine multiple RS485 interfaces and connect them to one interface,本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。

评论

   |   

提交评论

全部评论(0

暂无评论

相关推荐

Remote Communication Solutions for 4G Industrial Routers Bring Many Conveniences to the Industrial Field

With the rapid development of the Industrial Internet of Things, 4G industrial routers, as a new type of industrial communication solution, are gradually showing their great potential. This type of router not only supports 4G wireless communication but also has multiple communication methods such as Ethernet and Wi-Fi, which can flexibly respond to various complex industrial communication needs.

技术探讨    发布时间 : 2024-10-27

What Are The Advantages of A Communication Module That Is Compatible with Both SUB-GHz and 2.4G Communication?

This paper mainly introduces the advantages of G-NiceRF‘s LoRa1211 communication module products compatible with both SUB-GHz and 2.4G communication

技术探讨    发布时间 : 2024-09-03

Can Two LAN Ports of An Industrial Router Achieve Mutual Communication between Two IP Segments?

The two LAN ports of an industrial wireless router can fully realize the communication between two IP segments with different network segments. Through reasonable configuration and fine management, we can make full use of the routing function of industrial wireless routers to build a flexible, efficient and secure industrial network architecture. For traditional industries, this is not only a technological leap, but also an important step to promote digital transformation and achieve intelligent manufacturing.

技术探讨    发布时间 : 2024-07-31

芯力特(SIT)通讯接口芯片选型指南

描述- Silicon specializes in chip design for the industrial and automotive electronics field. Currently, products are mainly researched and developed around the following series: CAN bus interface chip series, CAN FD bus interface chip series, LIN bus interface chip series, RS485 bus interface chip series, RS422 bus interface chip series, RS232 bus interface chip series.

型号- SIT65HVD231DR,SIT65HVD233DR,SIT3051ESA,SIT1022QTK,SIT3085E,SIT1022QT,SIT65HVD235DR,SIT1051AQTK/3,SIT1028QT,SIT1042AQT,SIT3485E,SIT1050QT,SIT2596S-ADJ,SIT485E,SIT2105L,SIT3088EESA,SIT82C250T,SIT1044T,SIT488E,SIT202E,SIT65HVD75,SITUC10F5V4U,SIT1021QTK,SIT2596S-12,SIT3088E,SIT1029QTK,SITLC143T5V2UA,SIT3485,SITLC3D3V1BL,SIT1021QT,SIT1040QT,SIT1044QTK/3,SIT1051AQT/E,SIT1145AQTK/FD,SIT1145AQT,SIT65HVD230DR,SIT65HVD232DR,SIT75176B,SIT1042AQT/3,SIT3491E,SIT1043QTK,SITNC712A,SIT1044QT,SIT65HVD234DR,SIT1029QT,SIT2551T,SIT1028QTK,SIT1027QT,SIT3490EESA,SIT1042T,SIT1051AQT/3,SIT2596S-3.3,SIT1057QTK/3,SIT1024QHG,SIT491E,SIT232,SIT1057QT/3,SIT3490E,SIT3232EESE,SIT1044QT/3,SIT1042AQTK/3,SIT2596S-5.0,SIT1145AQT/FD,SIT1027QTK,SIT3232E,SIT1057QT,SIT1043QT,SIT3082E,SIT65176B,SIT65HVD08,SIT490E,SIT1051AQT,SIT1145AQTK,SIT82C251T,SIT232E

选型指南  -  芯力特  - 202305 PDF 英文 下载

XBLW Xinbole Analog Chips: Signal Chain Chips (Part 3)

This paper describes the products of RS232 Interface Chip and RS422/RS485 Interface Chip, and introduces the application scenarios, product features and application schemes respectively

产品    发布时间 : 2024-06-22

有人物联(usr)以太网系列产品选型指南

描述- ​山东有人物联网股份有限公司定位“可信赖的智慧工业物联网伙伴”,以“连接价值、价值连接”为使命,深耕工业联网产业价值链上下游,专注于通讯产品的研发、生产及销售,是业内领先的工业物联网软硬件解决方案服务商。集团现拥有员工600余人,已累计融资近2亿元,拥有自建工厂,具备从芯片到云端的全产业链服务能力。致力于为客户提供通讯终端、物联网模块、云平台服务及物联网解决方案。

型号- USR-W600,USR-K7,USR-K6,USR-N510,USR-CANET200,USR-TCP232-T2,USR-SDR080,USR-SDR160,USR-SDR041,USR-M511,USR-SDR021,USR-N668,USR-TCP232-ED2,USR-TCP232-E2,USR-N540,USR-N520,USR-N580,USR-W630,USR-W610,USR-TCP232-S2,USR-SDR050,USR-TCP232-306,USR-TCP232-410S,USR-TCP232-304,USR-TCP232-302

选型指南  -  有人物联  - 2019/6/12 PDF 中文 下载

【电气】有人物联白金系列工业级交换机,工业防雷6000V,专为严苛工业环境设计

白金系列是有人物联推出的5口/8口、百兆/千兆工业级以太网交换机,专为严苛工业环境而设计。满足轨道交通、平安城市、智能交通、安防监控和其他恶劣环境中的部署要求,为用户的以太网设备提供可靠、便捷的联网解决方案。

产品    发布时间 : 2024-11-08

【选型】有人物联WiFi6工业无线客户端、小体积5G工业数传终端满足AGV小车联网需求,确保通信稳定

AGV小车要不断移动就要依靠稳定的无线通信网络覆盖,以及快速的AP间漫游切换,保证各工业场景中AGV的高效稳定工作。AGV无线通信组网系统要具备较大带宽,支持实时双向通信,能够承载诸如高清视频、机器人/车辆运行数据、传感器数据、语音及其他网络业务。有人物联新推出的WiFi6工业无线客户端W660和小体积5G工业数传终端G815可助力AGV+物联网推动各行各业数字化转型升级。

器件选型    发布时间 : 2023-09-01

TE Connectivity(泰科)高速数据(HSD)通信连接器选型指南

目录- Company Profile    IP Code Elements and Significance    Quality Guidelines    AWG Conversion Tables    High-Speed Data (HSD) Communication Connectors Introduction    Pin Header    Cable Assembly    Contacts    HSD 90° / HSD 180° Products Overview   

型号- 0-2112507-4,0-2112507-5,0-2112507-2,2-2208145-1,2112507,0-2112507-3,0-2112507-1,2-2208145-2,2-2208145-5,2-2208145-4,2-2208145-7,2-2208145-6,2141361-1,1823071,2177257,2177258,2177132,2177131,0-1823855-1,2141373- 2,1823902,1823901,1823905,2-2206145-3,144969,2177130,0-1823905-2,0-1823905-3,0-1823905-1,1823855,1823857,8-2141966-9,1823854,1823853,0-2208145-1,0-2208145-2,0-2208145-4,0-2208145-5,0-2208145-6,0-2208145-7,3-2208145-3,3-2208145-4,0-1823898-1,3-2208145-1,0-1823898-2,3-2208145-2,0-1823894-1,0-1823898-9,0-1823898-3,3-2208145-7,2177954,0-1823898-4,0-1823898-5,0-1823898-6,3-2208145-6,963716,2141373-2,0-1823905-9,0-1823905-6,0-1823905-4,0-1823905-5,0-1823902-1,2112028,2112027,0-2206145-3,0-1823901 -1,1-2141366-1,1823271,0-1823899-1,0-1823853-2,0-1823853-3,0-1823895-1,0-1823853-1,2177694,0-1823853-6,0-1823857-2,0-1823853-7,0-1823857-3,965601,0-1823853-4,0-1823853-5,0-1823857-1,0-1823857-6,0-1823857-7,0-1823857-4,0-1823857-5,2112030,2141723,2141966,2141724,2141374-2,1823899,0-1823271-9,0-1823271-6,0-1823271-4,0-1823271-5,0-1823271-2,1823894,0-1823271-3,1823893,0-1823271-1,1823895,2141360-1,1823898,2177754,0-1823854-1,1823361-1,0-2112028-1,2141356-1,8-2177258-9

选型指南  -  TE CONNECTIVITY  - 11-2012 PDF 英文 下载

Industrial Modem Selection Guide: Precise Matching, Empowering Efficient IoT Communication

The selection of industrial Modem needs to consider factors such as communication protocol, transmission rate, interface type, working environment, and remote management requirements. By evaluating key technical indicators such as stability, reliability, data transmission efficiency, and compatibility, users can accurately match the most suitable Modem for their application needs. In addition, understanding the characteristics and application cases of different brands and models of Modem helps users make more informed selection decisions, thereby enabling efficient IoT communication.

设计经验    发布时间 : 2024-10-31

有人物联新推出小体积5.8GHz无线网桥ST508E及千兆PoE交换机S1210P,性价比高

有人网通产品品类丰富,覆盖无线网桥、百兆/千兆/PoE交换机、AC管理机、无线吸顶/户外AP、WiFi6核心板、5G CPE等产品,致力于满足各行业有线、无线数据传输需求。近日,有人网通产品再添两员“强将”,无线网桥ST508E &千兆PoE交换机S1210P,性能给力,性价比高。

产品    发布时间 : 2024-03-14

鼎桥CEO莅临有人物联参观交流,深化5G战略合作

在数字化转型浪潮的推动下,物联网技术的融合创新成为推动工业产业升级的关键力量。近日,行业领先的物联网解决方案服务提供商——有人物联,与享誉全球的通信解决方案供应商鼎桥通信技术有限公司,正式签署战略合作框架协议。此次合作不仅标志着双方在5G RedCap工业通信领域达成战略合作,也预示着双方共同推动物联网技术与产业的深度融合的坚定决心。

原厂动态    发布时间 : 2024-08-23

有人物联网双网口8串口的串口服务器USR-N580,独特的工业功能支持,支持Modbus网关功能

为了能为客户降低成本和减少布线难度,有人物联网研发出了一款双网口8串口的串口服务器,专门应用于多设备联网的复杂环境。八串口服务器USR-N580,是用来将TCP/UDP数据包与RS485接口实现数据透明传输的设备。 独特的工业功能支持,支持Modbus网关功能,更加方便工业现场使用。 支持网络打印,打印机行业使用更加方便。

产品    发布时间 : 2024-06-21

有人物联网关/模组选型表

有人物联选型表如下参数:工作电压(V):3.0V-58V,工作电流(mA):22mA-170mA@5V/3.3V,工作温度(℃):-20℃ ~ +85℃,串口波特率(bps):300bps~1Mbps

产品型号
品类
工作电压(V)
工作电流(mA)
工作温度(℃)
USR-G776
网关
9V~36V
72mA@12V
-25℃- 75℃

选型表  -  有人物联 立即选型

展开更多

电子商城

查看更多

品牌:有人物联

品类:Wi-Fi 加强版工业路由器

价格:

现货: 0

品牌:有人物联

品类:串口服务器

价格:¥176.4706

现货: 0

品牌:有人物联

品类:串口服务器

价格:¥91.7648

现货: 0

品牌:有人物联

品类:串口服务器

价格:¥96.4706

现货: 0

品牌:有人物联

品类:Lora模块

价格:¥164.7059

现货: 0

品牌:有人物联

品类:网络IO设备

价格:¥964.7059

现货: 0

品牌:有人物联

品类:模块

价格:¥80.0000

现货: 0

品牌:有人物联

品类:DTU数传终端

价格:¥225.8824

现货: 0

品牌:有人物联

品类:LTE路由器

价格:¥203.5295

现货: 0

品牌:有人物联

品类:串口服务器

价格:¥91.7648

现货: 0

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

现货市场

查看更多

暂无此商品

海量正品紧缺物料,超低价格,限量库存搜索料号

服务

查看更多

ESD防护解决方案

整体外形尺寸小至0.6*0.3*0.3mm (DFN0603),工作电压范围覆盖2.5V~36V,电容值低至0.2pF,浪涌能力最高可达240安培,静电等级可达空气放电、接触放电±30KV。提供免费浪涌测试仪、静电测试仪测试。

提交需求>

查看更多

授权代理品牌:接插件及结构件

查看更多

授权代理品牌:部件、组件及配件

查看更多

授权代理品牌:电源及模块

查看更多

授权代理品牌:电子材料

查看更多

授权代理品牌:仪器仪表及测试配组件

查看更多

授权代理品牌:电工工具及材料

查看更多

授权代理品牌:机械电子元件

查看更多

授权代理品牌:加工与定制

世强和原厂的技术专家将在一个工作日内解答,帮助您快速完成研发及采购。
我要提问

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

研发客服
商务客服
服务热线

联系我们

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

投诉与建议

E-mail:claim@sekorm.com

商务合作

E-mail:contact@sekorm.com

收藏
收藏当前页面