{"id":1100,"date":"2023-06-13T17:00:03","date_gmt":"2023-06-13T17:00:03","guid":{"rendered":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/?p=1100"},"modified":"2023-06-13T17:00:03","modified_gmt":"2023-06-13T17:00:03","slug":"common-fault-causes-and-solutions-of-rs485-communication-interface-of-plc","status":"publish","type":"post","link":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/common-fault-causes-and-solutions-of-rs485-communication-interface-of-plc.html","title":{"rendered":"Common fault causes and solutions of RS485 communication interface of PLC"},"content":{"rendered":"<p><a href=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/\"><strong><span style=\"font-size: 20px;\">Common fault causes and solutions of RS485 communication interface of PLC<\/span><\/strong><\/a><\/p>\n<h2><span style=\"font-size: 20px;\"><strong>1. Common fault symptoms<\/strong><\/span><\/h2>\n<p><span style=\"font-size: 20px;\">When the RS-485 port of PLC is connected to the computer through the non-isolated PC\/PPI cable, the connection between PLC and PLC, or the communication between PLC and inverter, touch screen, etc., the communication port damage phenomenon occurs from time to time, and the more common damage conditions are as follows:<a href=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/servo-motor-supplier\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1111 size-full\" title=\"NEMA 23 stepper motor manufacturers - Common fault causes and solutions of RS485 communication interface of PLC\" src=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/stepper-motor-manufacturers.png\" alt=\"NEMA 23 stepper motor manufacturers - Common fault causes and solutions of RS485 communication interface of PLC\" width=\"510\" height=\"468\" srcset=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/stepper-motor-manufacturers.png 510w, https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/stepper-motor-manufacturers-300x275.png 300w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/a><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 20px;\"><strong>NEMA 23 stepper motor manufacturers &#8211; Common fault causes and solutions of RS485 communication interface of <a href=\"https:\/\/motorforum.rfidepc.com\/tag\/plc-control\">PLC<\/a><\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 20px;\">(1) R1 or R2 is burned out, Z1, Z2 and SN75176 are intact. This is due to the large transient interference current through R1 or R2, bridge rectification, Z1 or Z1 to ground, Z1, Z2 can withstand the impact of a maximum of 10A current, and the transient power generated by this current on R1 or R2 is: 102\u00d710=1000W, of course, it will be burned out.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(2) SN75176 is damaged, R1, R2, Z1, Z2 are intact. This may be mainly caused by electrostatic shock or transient overvoltage faster than the action speed of Z1 and Z2, static electricity is everywhere, and only human body mode will also generate static electricity of \u00b115kV.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(3) Z1 or Z2, SN75176 are damaged, R1 and R2 are intact. This may be due to transient interference voltages of high voltage and low current that break down Z1 or Z2 and SN75176, and R1 and R2 do not heat up and burn out due to the small current and short generation time.<\/span><\/p>\n<h2><span style=\"font-size: 20px;\"><strong>2. Analysis of the cause of the failure<\/strong><\/span><\/h2>\n<p><span style=\"font-size: 20px;\">From the analysis in 1, it is known that the main reason for the damage of the PLC interface is caused by transient overvoltage and static electricity, and the causes of transient overvoltage and static electricity are many and complex, such as due to the common ground of the PLC internal 24V power supply and 5V power supply, the output terminals L+, M of the 24V power supply for other equipment may cause ground potential changes, resulting in common-mode voltage beyond the allowable range. Therefore, the EIA-485 standard requires that the signal ground of each RS485 interface be connected together with a low-resistance wire to ensure that the ground potential of each node is equal and eliminate ground circulation.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(1) When plugging and unplugging the unisolated connecting cable with electricity, due to the presence of many inductors, capacitors and other devices in the circuits with unequal potentials at both ends, transient overvoltage or overcurrent will inevitably occur at the moment of plugging and unplugging. Based on this consideration, when plugging and unplugging the communication connector, try to keep the device in a power-off state.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(2) Transient overvoltage or overcurrent generated by other devices connected to the RS-485 bus will also flow into the PLC, and the more devices connected to the bus, the more factors that generate transient overvoltage.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(3) When the communication line is long or there is an outdoor overhead line, lightning is an interference that must be considered. Lightning is a major source of natural interference, and the interference generated by lightning can be transmitted thousands of kilometers away. The time-domain waveform of lightning interference is superimposed into a large spike pulse on the background of a random pulse, and this huge energy spike pulse will inevitably cause overvoltage on the line, causing damage to equipment connected to the PLC and other communication networks, which should be avoided or reduced to reduce the degree of damage and reduce losses.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1110 size-full\" title=\"NEMA 23 stepper motor for 3D printer - plc control system\" src=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/NEMA-23-stepper-motor-for-3D-printer.png\" alt=\"NEMA 23 stepper motor for 3D printer - plc control system\" width=\"692\" height=\"512\" srcset=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/NEMA-23-stepper-motor-for-3D-printer.png 692w, https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/NEMA-23-stepper-motor-for-3D-printer-300x222.png 300w, https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/NEMA-23-stepper-motor-for-3D-printer-600x444.png 600w\" sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/span><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/servo-stepper-motor-gearbox-kit-drivers-controllers\"><strong><span style=\"font-size: 20px;\">NEMA 23 stepper motor for 3D printer &#8211; plc control system<\/span><\/strong><\/a><\/p>\n<h2><span style=\"font-size: 20px;\"><strong>3. PLC Solution<\/strong><\/span><\/h2>\n<p><span style=\"font-size: 20px;\"><strong>I. Consider from within the PLC<\/strong><\/span><\/p>\n<p><span style=\"font-size: 20px;\">(1) Using isolated DC\/DC to isolate 24V power supply and 5V power supply, we analyzed Mitsubishi, Omron, Schneider PLC, and Siemens&#8217; ProFibus interface<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(2) Choose high-grade RS-485 chips with electrostatic protection, overheating protection, input failure protection and other protection measures, such as: SN65HVD1176D, MAX3468ESA, etc., the price of these chips is generally in the tens to tens of yuan, and the price of SN75176 is only 1.5 yuan. \u00a0<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1109 size-full\" title=\"NEMA 17 screw slide stepper motor\" src=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/NEMA-17-screw-slide-stepper-motor.png\" alt=\"NEMA 17 screw slide stepper motor\" width=\"660\" height=\"429\" srcset=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/NEMA-17-screw-slide-stepper-motor.png 660w, https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/NEMA-17-screw-slide-stepper-motor-300x195.png 300w, https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/NEMA-17-screw-slide-stepper-motor-600x390.png 600w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/span><\/p>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/motorforum.rfidepc.com\/168\/which-is-the-best-manufacturer-of-nema-17-stepper-motor-in-china\"><span style=\"font-size: 20px;\">NEMA 17 screw slide stepper motor\u00a0<\/span><\/a><\/strong><\/p>\n<p><span style=\"font-size: 20px;\">(3) The use of new protection devices TVS or BL surge absorbers with faster response speed and greater transient power, such as P6KE6.8CA clamping voltage of 6.8V, withstand transient power of 500W, BL devices can resist more than 4000A high current impact. If a chip without fault protection is used, such as the SN75176, some processing can be done in the software to avoid communication exceptions. That is, before entering normal data communication, the bus is driven by the host to greater than +200mV in advance and held for a period of time so that the receivers of all nodes produce high-level outputs. In this way, when valid data is emitted, all receivers can correctly receive the start bit and thus receive the complete data.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(4) R1 and R2 use positive temperature coefficient self-recovery insurance PTC, such as JK60-010, the resistance value under normal conditions is 5 ohms, does not affect normal communication, when the surge impact, large current flows through PTC and protection device TVS (or BL), PTC resistance value will increase suddenly, so that the surge current rapidly decreases.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1097 size-full\" title=\"The nema 17 stepper motor is used in 3D printers - engraving machines - How to choose a stepper motor according to the specific situation?\" src=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/The-nema-17-stepper-motor-is-used-in-3D-printers-engraving-machines.png\" alt=\"The nema 17 stepper motor is used in 3D printers - engraving machines - How to choose a stepper motor according to the specific situation?\" width=\"615\" height=\"469\" srcset=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/The-nema-17-stepper-motor-is-used-in-3D-printers-engraving-machines.png 615w, https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/The-nema-17-stepper-motor-is-used-in-3D-printers-engraving-machines-300x229.png 300w, https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/The-nema-17-stepper-motor-is-used-in-3D-printers-engraving-machines-600x458.png 600w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 20px;\"><strong>The <a href=\"https:\/\/www.youtube.com\/@iotcloudplatform_com\" target=\"_blank\" rel=\"nofollow noopener\">nema 17 stepper motor<\/a> is used in <a href=\"https:\/\/motorforum.rfidepc.com\/tag\/3d-printer-stepper-motors\">3D printers<\/a> &#8211; engraving machines &#8211; How to choose a stepper motor according to the specific situation?<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 20px;\"><strong>II.\u00a0 Consider from outside the PLC<\/strong><\/span><\/p>\n<p><span style=\"font-size: 20px;\">(1) Use isolated PC\/PPI cables, and try not to use cheap non-isolated cables (especially in industrial sites). The PC\/PPI cable (6ES7901-3BF00-0xa0) produced by Siemens in the early days was not isolated, and now it is also changed to isolated cable.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(2) PLC&#8217;s RS-485 port adopts isolated bus connectors, such as PFB-G, with a rate of 0~1.5Mbps and automatic adaptation, and the appearance and use method are the same as Siemens&#8217; non-isolated bus connection.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(3) Third-party equipment connected to the PLC, such as inverters, touch screens, etc., RS-485 ports are isolated using RS-485 isolator BH-485G, so that there is no &#8220;electric&#8221; connection between RS-485 nodes, and there is no ground circulation generation, even if one node is damaged, it will not be damaged by other nodes.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(4) Good grounding is an important condition for the safe and reliable operation of industrial control systems, especially for industrial communication networks. In an industrial communication network, there are at least three separate ground wires, grounded by a point.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1112 size-full\" title=\"Soft metal engraving machine stepper motor\" src=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/Soft-metal-engraving-machine-stepper-motor.png\" alt=\"Soft metal engraving machine stepper motor\" width=\"508\" height=\"518\" srcset=\"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/Soft-metal-engraving-machine-stepper-motor.png 508w, https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-content\/uploads\/2023\/06\/Soft-metal-engraving-machine-stepper-motor-294x300.png 294w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 20px;\"><strong>Soft metal engraving machine stepper motor<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 20px;\">The first is the low-level circuit ground (that is, the signal ground), including digital ground, analog ground, signal ground and DC ground; The second is the noise ground wire, that is, the ground wire of relays, motors, and high-power circuits; The third is the casing grounding point, which is specially used for the mechanical shell, fuselage, rack, and site, and this ground wire should be connected to the ground wire of the AC power supply. The AC power ground wire should be connected to the protective ground wire to avoid interference caused by the uneven position of each point of the announced ground wire. The RS-485 communication line adopts a dedicated shielded cable for the Profibus bus to ensure that the shielding layer is connected to the shell of each device and finally connected to the earth.<\/span><\/p>\n<p><span style=\"font-size: 20px;\">(5) For systems with overhead lines, it is best to set up special lightning protection facilities on the bus.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Common fault causes and solutions of RS485 communication interface of PLC 1. Common fault symptoms When the RS-485 port of PLC is connected to the computer through the non-isolated PC\/PPI cable, the connection between PLC and PLC, or the communication between PLC and inverter, touch screen, etc., the communication port damage phenomenon occurs from time [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1111,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[41],"class_list":["post-1100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-stepper-motor-technology-stepper-motor-drive-knowledge","tag-plc"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/posts\/1100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/comments?post=1100"}],"version-history":[{"count":4,"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/posts\/1100\/revisions"}],"predecessor-version":[{"id":1113,"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/posts\/1100\/revisions\/1113"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/media\/1111"}],"wp:attachment":[{"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/media?parent=1100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/categories?post=1100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/motorforum.rfidepc.com\/motor-manufacturers\/wp-json\/wp\/v2\/tags?post=1100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}