Questions about RS232 electromagnetic interference
Time:10-02
your PC with MFC development, the purpose is to control a servo motor sports institutions and instruments on the servo motor coordination, communication with instrument is RS232 (instrument itself only provides the RS232 port), communication with servo motor is RS485, are all use the same PC (industrial), with a different serial port (motor COM1, COM2) instrument control, but now the situation is: instruments and separate servo motor can be a very good job, once the instrument stand to the machine (in the case of open motor PLC power supply switch), the instrument can't connect, control motor instruction is also unable to send out, there was a problem in both the serial port to send and receive data, for example: open the motor power supply switch, instrument was unable to connect to turn off the switch, instrument to work properly, In the case of a power supply switch, separate connection motor COM1, serial data transceiver is normal, can control motor, once planted instruments end COM2, serial port to send out data, unable to control the motor, the instrument can't work To connect RS232 shield shell, the effect is, but still cannot solve the above situation, so want to ask, what is the cause of the problem, if the electromagnetic interference, electromagnetic anti-interference ability, how to improve the RS232 RS232 line 6-10 meters long, Please advice, because I had majored in computer and for electrical is really don't know anything, this problem has plagued me more than two months, to write software 1 month already, use serial assistants debugging has no problem, but has been unable to do the actual debugging,
CodePudding user response:
Since the equipment is 485 with 485 interface Open motor disturbance is serious, may need to be isolated, buy a USB (or 232) turn 485 with isolated conversion head give it a try
CodePudding user response:
simple schematic diagram as shown, also please guide
CodePudding user response:
To find which is interfered with, May be your instrument be interference, also may be 6 to 8 meters is interference with communication line, can also be COM2 is COM1 interference