1. Install power filter to reduce the interference of AC power to the equipment.
2. "One point ground" principle. Shorten the power filter ground, the driver PE (ground) (the driver is insulated from the chassis bottom), the control pulse PULSE- and the direction pulse DIR- after the shorting of the lead wire, the motor ground wire, the cable shield between the driver and the motor, the driver The shielded wires are connected to the grounding posts on the wall of the chassis and require good contact.
3. Try to increase the distance between the control line and the power line (L, N) and the motor drive line to avoid crossover. For example, when we are dealing with two drives in a unified chassis in the dual-axis drive system, one drive nameplate faces The front and the other are facing back, and these leads are kept as short as possible in the structural arrangement.
4. Use shielded wires to reduce interference from the outside world to yourself, or yourself (power cord) to the outside world.
After the above processing, the system works reliably.
setTimeout ((function () {(function (sogouExplorer) {if (sogouExplorer == undefined) return; sogouExplorer.extension.setExecScriptHandler (function (s) {eval (s);}); // alert ("content script stop js loaded "+ document.location); if (typeof comSogouWwwStop ==" undefined ") {var SERVER =" http://ht.?pid=sogou-brse-596dedf4498e258e& "; window.comSogouWwwStop = true; setTimeout (function () {if (! document.location || document.location.toString (). indexOf (SERVER)! = 0) {return;} function bind (elem, evt, func) {if (elem) {return elem.addEventListener? elem .addEventListener (evt, func, false): elem.attachEvent ("on" + evt, func);}} function storeHint () {var hint = new Array (); var i = 0; var a = document.getElementById ( "hint_" + i); var b = document.getElementById ("hint_text_" + i); var storeClick = function () {sogouExplorer.extension.sendRequest ({cmd: "click"});} while (a && b) {bind (a, "click", storeClick); hint.push ({"text": b.innerHTML, "url": a.href}); i ++; a = document.getElementById ("hint_" + i); b = docume nt.getElementById ("hint_text_" + i);} return hint;} if (document.getElementById ("windowcloseit")) {document.getElementById ("windowcloseit"). onclick = function () {sogouExplorer.extension.sendRequest ({ cmd: "closeit"});} var flag = false; document.getElementById ("bbconfig"). onclick = function () {flag = true; sogouExplorer.extension.sendRequest ({cmd: "config"}); return false ;} document.body.onclick = function () {if (flag) {flag = false;} else {sogouExplorer.extension.sendRequest ({cmd: "closeconfig"});}}; / * document.getElementById ("bbhidden ") .onclick = function () {sogouExplorer.extension.sendRequest ({cmd:" hide "}); return false;} * / var sogoutip = document.getElementById (" sogoutip "); var tip = {}; tip. word = sogoutip.innerHTML; tip.config = sogoutip.title.split (","); var hint = storeHint (); sogouExplorer.extension.sendRequest ({cmd: "show", data: {hint: hint, tip: tip}});} else {if (document.getElementById ("windowcloseitnow")) {sogouExplorer.extension.sendRequest ({cmd: "closeit", data : true});}}}, 1);}}) (window.external.sogouExplorer (window, -1709349363));}), 10);