485总线结构的布线规范及调试
485总线结构的布线规范及调试方法

485总线结构的布线规范及调试方法一、布线规范1、控制器通讯线(包括485/422、232和韦根等通讯线)必须采用国际通用的8芯屏蔽双绞线,这样可有效防止和屏蔽干扰。
线径大于0.3mm总线长度不超过1200建议在1000米以内,如果更长请选用其它专用485/232转换器或者加中继器,并选用更粗的通讯电缆。
控制器GND 485- 485+分别对应连接485转换器GND TD(A) TD(B),通讯线路采用串联挂接式连接,请勿采用星型连接或者局部星型连接(如图二)。
如果线路过长和设备过多,请在最后一台设备上增加终端电阻(有跳线加载)总线最多可挂接128台控制器。
(图二、控制器与计算机相连)2、其设备用线不得走强电凿或是强电线管。
如因环境所限,要平行走线,则要远离50CM以上。
二、安全事项注意1、虽然控制器已经具备了防静电和防雷击设计,但是请确保电源和机箱的良好接地,以保障电路不被静电、雷电和其他设备漏电所伤害,长时间稳定运行。
2、请勿带电拔插接线端子,或者带电焊接操作,焊接接线时应该先拔下所对应的接线座。
3、请勿私自拆卸控制器上的元器件,这样有可能会引起系统信息的丢失或芯片损害。
4、本控制器可以直接外挂UPS不间断电源,保证停电后系统仍然可以继续工作。
系统配备掉电保护装置,即使停电系统设置信息和记录也不会丢失。
5、尽量避免将控制器电源和其他大电流工作设备接在同一电源上。
485施工常见错误现象485线路不使用双绞线,或者使用低档的无源转换器!485通讯线不能走星型连接,必须走规范的手牵手的总线模式。
如果485走线不规范或者超出通讯范围,会出现通讯不上或者有时通讯上有时通讯不上的现象。
485传输是差模传输模式,只有485+和485- 互为双绞,才能使得485传输模式受到的干扰最小,传输最远,传输质量最好。
有些工程商不采用双绞线会使得干扰很大,有些工程商误以为线粗一些传输质量会好,将双绞线合成一股,另外一台双绞线也合成一股,这样适得其反,反而大幅度降低了通讯质量。
RS-485的总线结构

RS-485的总线结构1、RS-485的网络拓扑一般采用总线型结构,不支持环型或星型网络。
采用一条总线将各个接点串接起来,绝对不允许从总线上接分支线,以便使引出线中的反射信号对总线信号的影响最低。
如下图:图1、图3、图5是错误接法,图2、图4、图6是改正后的正确接法。
图1、图3、图5错误之处在于:信号在各支路末端反射后与原信号迭加,造成信号质量下降。
此外,还要注意总线特性阻抗的连续性,在阻抗不连续点也会发生信号的反射。
例如,总线的不同区段采用不同电缆或有过长的分支线时都会出线阻抗通信质量严重下降。
总之,应该提供一条单一、连续的信号通道作为总线。
2、接地措施目前上海海博科技资料中所规定的信号线都是0.75mm2三芯屏蔽线,其中两根用于通信(也就是P、Q或X、Y上),另外一根接到电控板的+5V的E上,屏蔽层只需要接在室外机的钣金上,不需要接在室内机的钣金上,直接连接起来。
注意:通讯总线和所有分支线应避开强电线路和强干扰区域,单独穿管布线,与强电回路的距离10A以下-300mm以上,50A以下-500mm以上。
3、终端匹配信号在传输线末端突然遇到电缆阻抗很小甚至没有时,信号在这个地方就会引起反射。
为了消除这种反射的方法,就必须在电缆的末端跨接一个与电缆的特性阻抗同样大小的终端电阻,使电缆的阴抗连续。
由于信号在电缆上的传输是双向的,因此,在通讯电缆的另一端可跨接一个同样大小的终端电阻。
实际施工时,要在最远处和最近处的一个网络功能模块的通信线上跨接两个相同的电阻(匹配电阻为120欧姆,RJ-1/4-120Ω±5%)。
如下图:本文章由上海海博科技发展有限公司首发,转载请注明!。
RS-485总线布线规范

RS-485总线布线规范技术规范在要求通信距离为几十米到上千米时,广泛采用RS-485 串行总线标准。
RS-485 采用平衡发送和差分接收,因此具有抑制共模干扰的能力。
加上总线收发器具有高灵敏度,能检测低至200mV 的电压,故传输信号能在千米以外得到恢复。
RS-485 采用半双工工作方式,任何时候只能有一点处于发送状态,因此,发送电路须由使能信号加以控制。
RS-485 用于多点互连时非常方便,可以省掉许多信号线。
应用RS-485 可以联网构成分布式系统,其允许最多并联32 台驱动器和32 台接收器。
RS-485 总线布线规范485 总线由于其布线简单,稳定可靠从而广泛的应用于视频监控,门禁对讲,楼宇报警等各个领域中,但是,在485 总线布线过程中由于有很多不完全准确的概念导致出现很多问题。
现在将一些错误的观念作出一些澄清。
1.485 信号线不可以和电源线一同走线。
在实际施工当中,由于走线都是通过管线走的,施工方有的时候为了图方便,直接将485 信号线和电源线绑在一起,由于强电具有强烈的电磁信号对弱电进行干扰,从而导致485 信号不稳定,导致通信不稳定。
485 信号线可以使用平行线作为布线,也可以使用非屏蔽线作为布线。
由于485 信号是利用差模传输的,即由485+与485-的电压差来作为信号传输。
如果外部有一个干扰源对其进行干扰,使用双绞线进行485 信号传输的时候,由于其双绞,干扰对于485+,485-的干扰效果都是一样的,那电压差依然是不变的,对于485 信号的干扰缩到了最小。
同样的道理,如果有屏蔽线起到屏蔽作用的话,外部干扰源对于其的干扰影响也可以尽可能的缩小。
2.选择使用普通的超五类屏蔽双绞线即网线就可以。
由于原材料价格上涨,导致现在市场上的线材鱼龙混杂,有不良商人利用某种合金来顶替铜丝来做网线,在外面镀铜以蒙混客户。
具体区别方法:看网线截面,如果是铜色。
485布线规范

78485总线的布线规范及调试方法一、布线规范1、控制器通讯线(包括485/422、232和韦根等通讯线)必须采用国际通用的8芯屏蔽双绞线,这样可有效防止和屏蔽干扰。
线径大于0.3mm总线长度不超过1200建议在1000米以内,如果更长请选用其它专用485/232转换器或者加中继器,并选用更粗的通讯电缆。
控制器GND 485- 485+分别对应连接485转换器GND TD(A) TD(B),通讯线路采用串联挂接式连接,请勿采用星型连接或者局部星型连接。
如果线路过长和设备过多,请在最后一台设备上增加终端电阻(有跳线加载)总线最多可挂接128台控制器。
2、其设备用线不得走强电凿或是强电线管。
如因环境所限,要平行走线,则要远离50CM以上。
二、安全事项注意1、虽然控制器已经具备了防静电和防雷击设计,但是请确保电源和机箱的良好接地,以保障电路不被静电、雷电和其他设备漏电所伤害,长时间稳定运行。
2、请勿带电拔插接线端子,或者带电焊接操作,焊接接线时应该先拔下所对应的接线座。
3、请勿私自拆卸控制器上的元器件,这样有可能会引起系统信息的丢失或芯片损害。
4、本控制器可以直接外挂UPS不间断电源,保证停电后系统仍然可以继续工作。
系统配备掉电保护装置,即使停电系统设置信息和记录也不会丢失。
5、尽量避免将控制器电源和其他大电流工作设备接在同一电源上。
485施工常见错误现象:485线路不使用双绞线,或者使用低档的无源转换器!485通讯线不能走星型连接,必须走规范的手牵手的总线模式。
如果485走线不规范或者超出通讯范围,会出现通讯不上或者有时通讯上有时通讯不上的现象。
485传输是差模传输模式,只有485+和485- 互为双绞,才能使得485传输模式受到的干扰最小,传输最远,传输质量最好。
有些工程商不采用双绞线会使得干扰很大,有些工程商误以为线粗一些传输质量会好,将双绞线合成一股,另外一台双绞线也合成一股,这样适得其反,反而大幅度降低了通讯质量。
485总线布线规范及调试(485...

485总线布线规范及调试(485 bus routing specification anddebugging)485 bus routing specification and debugging485 bus because of its wiring is simple, reliable and widely used in video surveillance, access control intercom, alarm and other buildings in various fields, but in the 485 bus wiring process because there is not exactly the concept of causing a lot of problems. Some of the wrong ideas are now being clarified.The 1.485 signal line can go along with the strong current power line. In the actual construction, the line is through the pipeline to the construction side, sometimes for convenience, directly to the 485 signal line and power line tied together with strong signal due to the strong electromagnetic interference for the weak, resulting in 485 signal instability, lead to unstable communication.The 2.485 signal line may use parallel line as the wiring, may also use the non shielded line as the wiring. Since the 485 signal is transmitted by differential mode, the voltage difference between the 485+ and the 485- is used as the signal transmission. If there is an external interference source of the interference, when the use of twisted pair of 485 signal transmission, because of its twisted pair, interference for 485+, 485- jamming effect are the same, the voltage difference is still unchanged, for the 485 signal interference reduced to the minimum. In the same way, if the shielding line acts as a shield, the interference from the external interference sourcecan be reduced as much as possible.3., choose to use the ordinary super five shielded twisted pair, that is, the cable can be. Due to the rising prices of raw materials, lead wire on the market now have bad traders use some dragons and fishes jumbled together, to replace copper alloy to copper cable, on the outside to fudge customers. Specific differences: read the cable section, if it is copper, copper, such as white, is the use of shoddy alloy. Alloy is generally brittle, easy to break, and conductivity is far less than copper wire, it is easy to cause problems in construction. 485 line wire general recommendations on the selection criteria, the STP, the transmission line is not like that line is a single stranded copper, but copper wire twisted together to form a line, and even a small wire broken, will not affect the use.4.485 the wiring can be arbitrarily arranged as star connection and tree connection. The 485 wiring specification is a routing that must be held in hand. Once the 485 hub and 485 repeater are not directly configured as star connections and tree connections, it is easy to cause a signal to reflect and cause the bus to be unstable. A lot of construction in the 485 party in the process of routing, the use of star connection and tree connection, sometimes the whole system is very stable, but sometimes it always has the problem, it is difficult to find the reasons, usually because of irregularities caused by wiring. If the field limit, you must have a star connection or tree connection, you can use the 485 hub and 485 repeaters to solve related problems.The 5.485 bus must be grounded. In many technical documents,it is mentioned that the 485 bus must be grounded, but there is no detail about how to ground it. Strictly speaking, the 485 bus must have a single point and reliable grounding. The single point is the 485 bus is only one point grounding, not more ground, because the ground is because will wire (usually shielded wire for wire) on the voltage remains the same, to prevent common mode interference, if the grounding point backfire. Earth connection the 485 line must have good contact, so as to ensure that the voltage is consistent, because in the actual construction, in order to convenient wiring line will cut into segments connected, but not as good shielding line connection, so that the earth is divided into multiple segments, voltage is not consistent the common mode interference.In the field, 485 bus applications are very extensive, but the 485 bus is prone to malfunction, and now the 485 bus prone to failure, and can be excluded from these methods are listed below:1., since the 485 signal uses a pair of unbalanced differential signals, it means that each of the 485 devices in the network must be connected to the ground via a signal loop,In order to reduce the noise on the data line, the data line is preferably composed of twisted pairs, and a shield layer is added to the ground as a ground wire to connect the 485 devices in the 485 network and to reliably connect the ground at one point.2. in the industrial field, the situation is very complex, there is a high common mode voltage between each node, 485 interfaceusing a differential transmission, has the ability of anti common mode interference, but when the common mode voltage is greater than +12V or less than -9V, more than 485 receiver voltage limit. The receiver will not work, and may even burn chips and devices together. You can use the Shenzhen fuyongtong Technology Co. Ltd. on the 485 bus in 485 optical isolation repeaters, 485 signal and power completely isolated, so as to eliminate the influence of common mode voltage.3.485 bus with extend the transmission distance, will produce the echo signal, if the transmission distance of 485 bus if more than 100 meters, the end of the end of 120 ohm resistor in the beginning of the 485 communication terminal and construction suggestions. The related wiring method may refer to the homepage: 120 ohm resistance connectionIn the 4.485 bus, the 485 node wants to minimize the distance between the trunk, and it is generally recommended that the 485 bus uses hand in hand bus topology. The star shaped structure produces a reflected signal that affects the quality of the 485 communications. If you have 485 nodes from 485 bus backbone in the construction process of the distance beyond a certain distance, using Shenzhen fuyongtong bifurcation Technology Co. Ltd. the 485 repeater can make a 485 bus. If the construction process requires the use of a star topology, you can use the Shenzhen fuyongtong Technology Co. Ltd. the 485 hub can solve this problem.5., the factors affecting the load capacity of 485 bus: communication distance, wire quality, baud rate, converter power supply, lightning protection of 485 devices, 485 chipselection. If more than 485 devices on the 485 bus, it is recommended to use a 485 converter with a power supply, passive type 485 converter, due to the power stealing from the serial port, the power supply capacity is not enough, the load capacity is not enough. Select good wire, if possible to use the lowest possible baud rate, select the high load capacity of the 485 chip, can improve the load capacity of 485 buses. 485 the lightning protection tube in the lightning protection of the equipment will absorb the voltage, resulting in the reduction of the capacity of the 485 bus load, and removing the lightning protection can improve the load capacity of the 485 buses. If in the construction site, not factors change, recommend the use of Shenzhen fuyongtong Technology Co. Ltd. the 485 repeater or 485 hub to provide the load capacity of 485 bus.485 bus because of its wiring is simple, reliable and widely used in video surveillance, access control intercom, alarm and other buildings in various fields, but in the 485 bus wiring process because there is not exactly the concept of causing a lot of problems. Some of the wrong ideas are now being clarified.The 1.485 signal line can go along with the strong current power line. In the actual construction, the line is through the pipeline to the construction side, sometimes for convenience, directly to the 485 signal line and power line tied together with strong signal due to the strong electromagnetic interference for the weak, resulting in 485 signal instability, lead to unstable communication.The 2.485 signal line may use parallel line as the wiring, mayalso use the non shielded line as the wiring. Since the 485 signal is transmitted by differential mode, the voltage difference between the 485+ and the 485- is used as the signal transmission. If there is an external interference source of the interference, when the use of twisted pair of 485 signal transmission, because of its twisted pair, interference for 485+, 485- jamming effect are the same, the voltage difference is still unchanged, for the 485 signal interference reduced to the minimum. In the same way, if the shielding line acts as a shield, the interference from the external interference source can be reduced as much as possible.3., choose to use the ordinary super five shielded twisted pair, that is, the cable can be. The price of raw materials has gone up,Lead wire on the market now have bad traders use some dragons and fishes jumbled together, to replace copper alloy to copper cable, on the outside to fudge customers. Specific differences: read the cable section, if it is copper, copper, such as white, is the use of shoddy alloy. Alloy is generally brittle, easy to break, and conductivity is far less than copper wire, it is easy to cause problems in construction. 485 line wire general recommendations on the selection criteria, the STP, the transmission line is not like that line is a single stranded copper, but copper wire twisted together to form a line, and even a small wire broken, will not affect the use.4.485 the wiring can be arbitrarily arranged as star connection and tree connection. The 485 wiring specification is a routing that must be held in hand. Once the 485 hub and 485 repeaterare not directly configured as star connections and tree connections, it is easy to cause a signal to reflect and cause the bus to be unstable. A lot of construction in the 485 party in the process of routing, the use of star connection and tree connection, sometimes the whole system is very stable, but sometimes it always has the problem, it is difficult to find the reasons, usually because of irregularities caused by wiring. If the site restrictions must be connected in star or tree connection, can use Shenzhen fuyongtong Technology Co. Ltd. the 485 hubs and 485 repeaters to solve related problems, the relevant reference pages are as follows: 485 bus 485 bus connected in star, tree topology.The 5.485 bus must be grounded. In many technical documents, it is mentioned that the 485 bus must be grounded, but there is no detail about how to ground it. Strictly speaking, the 485 bus must have a single point and reliable grounding. The single point is the 485 bus is only one point grounding, not more ground, because the ground is because will wire (usually shielded wire for wire) on the voltage remains the same, to prevent common mode interference, if the grounding point backfire. Earth connection the 485 line must have good contact, so as to ensure that the voltage is consistent, because in the actual construction, in order to convenient wiring line will cut into segments connected, but not as good shielding line connection, so that the earth is divided into multiple segments, voltage is not consistent the common mode interference.。
485总线报警主机系统布线要求和注意事项

1、485总线报警主机应采用什么样的线材?一条485总线最多可以接多少台设备?注意事项:1)普通的网线没有屏蔽层,不能防止共模干扰。
2)网线只有0.2mm2,线径太小,会导致传输距离降低和减少可接的设备数目。
3)网络线材为单股的铜线,相比多芯线而言较容易断裂。
2、防盗报警主机为什么要接地?因为485收发器只有在规定共模电压-7V至+12V之间时,才能正常工作。
如果超出这个范围就会影响通讯,严重时会直接造成通讯接口的损坏。
共模干扰会增大上述共模电压。
为消除这种干扰,最有效的方式就是将485通讯线的屏蔽层用作地线,将机具、电脑等网络中的设备地连接在一起,并由一点可靠的接入大地。
3、电控锁和控制器、读卡器可以用同一个电源供电吗?答:不能。
在电控锁不动作的情况下,SKPS的纹波电压只有40-50mV,一旦动作,即在电控锁在开门或者关门时,纹波电压会升到100mv——300mv,该纹波会通过地线进入到控制器和读卡器,导致通讯芯片和CPU发热,造成通讯不稳定,严重时还会烧坏芯片。
而且电控锁在上电和断电的瞬间,电控锁里面的线圈,会充放电产生一个高达850mA的脉冲,如果电控锁的两端没有并联二极管的话,该波纹信号也会传入控制器和读卡器中。
推荐一个控制器和它下面挂接的所有读卡器共用一个SKPS电源;该控制器下面每个电控锁各使用一个单独的SKPS电源。
4、485通讯线应该如何走线?通讯线应尽量远离高压电线,不要和电源线并行,更不能困扎在一起。
5、为什么485总线线材必须要采用手拉手的布线方式,而不能采用星形结构的布线方式?因为星形结构的布线方式会产生反射信号,从而会影响到485通信。
总线到每个终端设备的分支长度应尽量短,一般最好不要超过5米。
分支线如果没有接终端设备,也会有反射信号,对通讯产生较强的干扰,应该将其去掉。
在门禁系统中,有两个地方应用到485总线:一是计算机到下面挂接的控制器,二是控制器到下面挂接的485读卡器。
RS485通讯布线要求及故障处理方法

RS485通讯布线要求及故障处理方法RS485通讯是一种串行通信协议,被广泛应用于工业自动化、仪器仪表、楼宇控制等领域。
在进行RS485通讯布线时,需要遵循一定的要求,以确保通讯的稳定性和可靠性。
同时,在实际使用过程中,可能会出现各种故障,需要采取相应的处理方法。
以下是关于RS485通讯布线要求及故障处理方法的详细介绍。
一、RS485通讯布线要求1.线缆选择RS485通讯通常采用双绞线作为传输介质,常见的双绞线为UTP(没有屏蔽层)和STP(有屏蔽层)。
在选择线缆时,应根据实际环境需求和通讯距离选择合适的线缆类型。
对于长距离通讯,建议采用STP线缆,以提供更好的抗干扰性能。
2.线缆长度3.线缆接线4.线缆终端电阻5.消除接地环路在RS485通讯布线过程中,应尽量消除接地环路,以减小传输过程中的磁耦合干扰。
可以使用差分模式传输、绝缘隔离等方式来降低接地环路的影响。
1.信号干扰导致通讯错误如果RS485通讯出现错误,首先需要检查是否有外部信号干扰。
可以采取以下措施来解决这个问题:-检查线缆是否与高电压、大电流线路靠得过近,如果是,应移开线缆位置。
-检查线缆是否被其他高频信号干扰,如果是,可以采用屏蔽线缆或者增加屏蔽材料来减少干扰。
-如果通讯距离较长,可以考虑使用中继器进行信号放大和重新发送。
2.配置错误导致通讯失败如果RS485通讯无法建立连接,可能是由于配置错误导致的。
可以采取以下措施来解决这个问题:-检查通讯设备的RS485通讯参数设置,包括波特率、数据位、校验位等是否一致。
-检查通讯设备的地址设置,确保每个设备都有唯一的地址。
-检查通讯设备的通讯模式,包括主从模式、多主模式等是否设置正确。
3.线缆接线错误导致通讯中断如果RS485通讯中断,可能是由于线缆接线错误导致的。
可以采取以下措施来解决这个问题:-检查线缆接线是否正确,确保每个设备的A线和B线连接到相同的终端。
-检查线缆终端电阻是否连接正确,保证电阻的阻值为120欧姆。
485总线布线规范及常见故障调试

485总线布线规范及常见故障调试485总线由于其布线简单,稳定可靠从而广泛的应用于视频监控,门禁对讲,楼宇报警等各个领域中。
但是,在485总线布线过程中,由于很多模糊不清的概念导致出现很多问题。
现在将一些容易出错的地方总结一下。
1.485信号线避免和强电电源线一同走线。
在实际施工当中,由于走线都是通过管线走的,施工方有的时候为了图方便,直接将485信号线和电源线绑在一起,由于强电具有强烈的电磁信号对弱电进行干扰,导致485信号不稳定,从而导致通信不稳定。
2.485信号线最好用双绞线或屏蔽线作为布线.485信号线也可以使用平行线或非屏蔽线作为布线,但外界对其干扰影响较大,传输效果较差,所以不建议使用平行线或非屏蔽线。
这是因为485信号是利用差模传输的,即由485+与485-的电压差来作为信号传输。
如果外部有一个干扰源对其进行干扰,使用双绞线进行485信号传输的时候,由于其双绞,干扰对于485+,485-的干扰效果都是一样的,那电压差依然是不变的,对于485信号的干扰缩到了最小。
同样的道理,如果有屏蔽线起到屏蔽作用的话,外部干扰源对于其的干扰影响也可以尽可能的缩小。
.选择使用普通的超五类屏蔽双绞线即网线就可以。
由于原材料价格上涨,导致现在市场上的线材鱼龙混杂,有不良商人利用某种合金来顶替铜丝来做网线,在外面镀铜以蒙混客户。
具体区别方法:看网线截面,如果是黄色的话,就是铜丝,如为白色,则是用合金以次充好。
合金一般比较脆,容易断,而且导电性远不如铜丝,很容易在工程施工中造成问题。
线材一般建议选择标准的485线,其为屏蔽双绞线,传输线不是像网线那样为单股的铜丝,而是多股铜丝绞在一起形成一根线,这样即使某根小铜丝断掉,也不会影响整个传输线的使用。
3. 485布线规范是必须要手牵手的布线。
一旦没有借助485集线器和485中继器直接布设成星型连接和树形连接,很容易造成信号反射导致总线不稳定。
很多施工方在485布线过程中,使用了星型接线和树形接线,有的时候整个系统非常稳定,但是有的时候则总是出现问题,又很难查找原因,一般都是由于不规范布线所引起的。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
第一章澄清几个概念:
概念一: 485总线的通讯距离可以达到1200米.
其实只是485总线结构理论上在理想环境的前提下才有可能使得传输距离达到1200米.一般是指通讯线材优质达标,波特率9600,只有一台485设备才能使得通讯距离达到1200米,而且能通讯并不代表每次通讯都正常.所以通常485总线实际的稳定的通讯距离远远达不到1200米. 负载485设备多,线材阻抗不合乎标准,线径过细,转换器品质不良,设备防雷保护,波特率的加高等等因素都会降低通讯距离.
概念二: 485总线可以带128台设备进行通讯.
其实并不是所有485转换器都能够带128台设备的.要根据485转换器内芯片采用的型号和485设备芯片采用的型号来判断的.谁低就谁的.一般485芯片负载能力有三个级别32台128台256台. 理论上的标称往往实际上是达不到的.通讯距离越长,波特率越高,线径越细,线材质量越差,转换器品质越差,转换器电能供应不足(无源转换器),防雷保护越强这些都会大大降低真实负载数量.
概念三: 485总线是一种最简单最稳定最成熟的工业总线结构.
这种概念是错误的.应该是:485总线是一种用于设备联网的经济型的传统的工业总线方式.通讯质量是需要根据施工经验进行测试和调试的. 485总线虽然简单,但必须严格安装施工规范进行布线.
第二章严格几个施工规范:
485+和485-条数据线一定要互为双绞.
布线一定要布多股屏蔽双绞线,多股是为了备用,屏蔽是为了出现特殊情况时调试,双绞是因为485通讯采用差模通讯原理,双绞的抗干扰性最好.不采用双绞线,是极端错误的.
485总线一定要是手牵手式的总线结构,坚决杜绝星型连接和分叉连接.
设备供电的交流电及机箱一定要真实接地,而且接地良好.
有很多地方表面上有三角插座,其实根本没有接地,要小心.
接地良好时,可以确保设备被雷击浪涌冲击静电累计时可以配合设备的防雷设计较好地释放能量.保护485总线设备和相关芯片不受伤害.
避免和强电走在一起,以免强电对其干扰.
第三章几种常见的通讯故障:
通讯不上,无反应.
可以上传数据,但不可以下载数据.
通讯时,系统提示受到干扰.或者不通讯时,通讯指示灯也不停地闪烁.
有时能通讯上,有时通讯不上.有的指令可以通,有的指令不可以通.
第四章推荐几个调试方法:
首先要确保设备接线正确,且严格合乎规范.
共地法: 用1条线或者屏蔽线将所有485设备的GND地连接起来,这样可以避免所有设备之间存在影响通讯的电势差.
终端电阻法: 在最后一台485设备的485+和485-上并接 120欧姆的终端电阻来改善通讯质量.
中间分段断开法: 通过从中间断开来检查是否是设备负载过多通讯距离过长某台设备损害对整个通讯线路的影响等原因.
单独拉线法: 单独简易暂时拉一条线到设备,这样可以用来排除是否是布线引起了通讯故障.
更换转换器法: 随身携带几个转换器,这样可以排除是否是转换器质量问题影响了通讯质量.
笔记本调试法: 先保证自己随身携带的电脑笔记本是通讯正常的设备,替换客户电脑,来进行通讯,如果可以,则表明客户的电脑的串口有可能被损害或者受伤.
第五章提出几个建议和忠告:
建议用户使用和购买门禁厂家提供的485转换器或者厂家指定推荐品牌的485转换器.
门禁厂家会对与其配套的485转换器做大量的测试工作,并且会单独要求485厂家安装其固定的性能参数进行生产和品质检测,所以和其门禁设备具备较好的兼容性.千万不要贪图便宜购买杂牌厂家的485转换器.
严格安装485总线的施工规范进行施工,杜绝任何侥幸心理.
对线路较长负载较多的情况采用主动科学的有预留的解决方案.
如果通讯距离过长,建议如果超过500米就采用中继器或者485HUB来解决问题.
如果负载数过多,建议如果一条总线上超过30台就采用485HUB来解决问题.
现场调试带齐调试设备.
现场调试一定要随身携带几个确保以前可以接长距离和多负载的转换器一台常用的电脑笔记本测试通路断路的万用表几个120欧姆的终端电阻.。