CN102915030A - RS232 (recommended standard 232) serial port fFault diagnosis device applied to controller of tester - Google Patents
RS232 (recommended standard 232) serial port fFault diagnosis device applied to controller of tester Download PDFInfo
- Publication number
- CN102915030A CN102915030A CN2012104144972A CN201210414497A CN102915030A CN 102915030 A CN102915030 A CN 102915030A CN 2012104144972 A CN2012104144972 A CN 2012104144972A CN 201210414497 A CN201210414497 A CN 201210414497A CN 102915030 A CN102915030 A CN 102915030A
- Authority
- CN
- China
- Prior art keywords
- controller
- serial ports
- serial port
- terminal
- serial
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention relates to an RS232 (recommended standard 232) serial port fault diagnosis device applied to a controller of a tester. The fault diagnosis device comprises a serial port communication terminal on the controller and an RS232 serial port on a computer, wherein a serial port diagnosis terminal is added on the controller, the serial port diagnosis terminal internally comprises a sending pin and a receiving pin of the serial port, and the sending pin is in a short-circuit connection with the receiving pin; and during the fault diagnosis, a serial port line is connected between the serial port diagnosis terminal on the controller and the serial port communication terminal on the controller, and between the serial port diagnosis terminal on the controller and the RS232 serial port on the computer. The RS232 serial port fault diagnosis device applied to the controller of the tester provided by the invention has the following advantages: the function of judging the location of a communication fault of the RS232 port can be implemented by adding the serial port diagnosis terminal and under the coordination of software and hardware; and the RS232 serial port fault diagnosis device applied to the controller of the tester can be added on the normal controller of the tester so as to bring convenience to the removal of the fault and the after-sale service.
Description
Technical field
The present invention relates to a kind of serial ports trouble-shooter, specifically a kind of RS232 serial ports trouble-shooter that is applied to testing machine controller.
Background technology
In recent years, have the application of testing machine in the testing machine industry of permanent value-added tax function more and more general.In the automatic control scheme of testing machine, a kind of popular scheme is upper and lower machine scheme.Namely do slave computer with the controller of a special use, realize the collection of pressure sensor signal, the functions such as control topworks action.A computing machine is done host computer and the communication of slave computer controller, special-purpose control software is installed in computing machine is realized concrete control algolithm, the functions such as the storage of test figure and inquiry.The RS232 Serial Communication Mode is adopted in communication between upper and lower computer more.Owing to reasons such as environment for use, electrical system imperfect earth, electromagnetic interference (EMI), occasional causes the RS232 port hardware to damage, and the phenomenon of Communications failure occurs.General controller can not determine that the interface of controller part damages or the interface of computing machine part damages, and has brought certain trouble to fault eliminating and after sale service like this.
Summary of the invention
The object of the present invention is to provide a kind of RS232 serial ports trouble-shooter that is applied to testing machine controller, can diagnose the abort situation that the RS232 port hardware damages, realized the function of localization of fault.
Main solution of the present invention is achieved in that the described RS232 serial ports trouble-shooter that is applied to testing machine controller, comprise serial communication terminal on the controller and the RS232 serial ports terminal on the computing machine, set up serial ports diagnosis terminal at described controller, described serial ports diagnosis terminal inside comprises the transmission pin of serial ports and receives pin, and described transmission pin and the short circuit of reception pin are linked together.During fault diagnosis, Serial Port Line is connected between the serial ports diagnosis terminal and the serial communication terminal on the controller on the controller, in the process that controller powers on, controller sends one group of data to self serial ports, if controller can correctly receive those group data that just now sent, the serial ports that then is diagnosed as controller is normal, otherwise then is diagnosed as the serial ports damage of controller, provides indication by corresponding sound or light signal; Serial Port Line is connected between the serial ports diagnosis terminal and the RS232 serial ports terminal on the computing machine on the controller, computing machine sends one group of data to self RS232 serial ports, if calculate correct those group data that just now sent that receive of function, the RS232 serial ports that then is diagnosed as on the computing machine is normal, otherwise the RS232 serial ports that then is diagnosed as computing machine damages, and computer display provides indication.
Compared with the prior art the present invention has the following advantages:
1, hardware configuration is simple, only needs to increase a serial ports diagnosis terminal and gets final product, and is with low cost, easy for installation.
2, the interface that can judge respectively the controller part damages or the interface damage of computing machine part, and is multiple functional.
Description of drawings
Fig. 1 is that the present invention forms structural representation.
Connection diagram during the normal operation of Fig. 2 RS232 serial ports.
Connection diagram during the RS232 port of Fig. 3 diagnosing controller.
Connection diagram during the RS232 port of Fig. 4 diagnosis computer.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
As shown in Figure 1, the present invention mainly adopts the serial ports diagnosis terminal 1 on the controller, the serial communication terminal 2 on the controller, the RS232 serial ports terminal 3 on the computing machine, Serial Port Line 4, and the upper computer software that moves on the slave computer software of controller operation and the computing machine.The inside of the serial ports diagnosis terminal 1 on the controller links together the transmission pin of serial ports with the short circuit of reception pin.Serial Port Line 4 can be connected between the serial ports diagnosis terminal 1 and the serial communication terminal 2 on the controller on the controller, can be connected between the serial communication terminal 2 and the RS232 serial ports terminal 3 on the computing machine on the controller, can be connected between the serial ports diagnosis terminal 1 and the RS232 serial ports terminal 3 on the computing machine on the controller.
The slave computer software of described controller operation carries out internal loopback to controller RS232 port and detects in the process that controller powers on.The upper computer software that moves on the described computing machine is implemented computing machine RS232 serial ports is carried out the function that internal loopback detects.
The course of work of the present invention is as follows.
1, as shown in Figure 2, during normal operation, Serial Port Line 4 is connected between the serial communication terminal 2 and the RS232 serial ports terminal 3 on the computing machine on the controller.
2, when the communication failure phenomenon occurring, Serial Port Line 4 is connected between the serial ports diagnosis terminal 1 and the serial communication terminal 2 on the controller on the controller, such as Fig. 3, like this, the transmission pin of the serial communication terminal 2 on the controller is connected by 1 short circuit of the diagnosis of the serial ports on controller terminal with the reception pin.Controller is powered on, the slave computer software of controller operation will send to the serial ports of controller one group of data, because the send and receive pin is connected by short circuit, if the serial ports of controller is normal, then controller can correctly receive those group data that just now sent, so, by corresponding sound or light signal, whether the RS232 communication interface that indicates controller damages.
3, as shown in Figure 4, in like manner, Serial Port Line 4 is connected between the serial ports diagnosis terminal 1 and the RS232 serial ports terminal 3 on the computing machine on the controller, and like this, the send and receive pin of the RS232 serial ports terminal 3 on the computing machine is connected by 1 short circuit of the diagnosis of the serial ports on controller terminal.The corresponding serial ports diagnostic function of the upper computer software that moves on the operation computing machine, the data of carrying out computing machine RS232 serial ports are back-to-backed, software will send one group of data to the RS232 serial ports on the computing machine, because the send and receive pin is connected by short circuit, if the RS232 serial ports on the computing machine is normal, whether then computer software can correctly receive those group data that just now sent, so, diagnose out the RS232 communication interface of computing machine to damage.
As seen, the present invention cooperates by software and hardware by increasing a serial ports diagnosis terminal, when having realized RS232 port communication fault, judges the function of guilty culprit position.Be installed on the common testing machine controller, can offer convenience to fault eliminating and after sale service.
Claims (1)
1. be applied to the RS232 serial ports trouble-shooter of testing machine controller, comprise serial communication terminal (2) on the controller and the RS232 serial ports terminal (3) on the computing machine, it is characterized in that: set up serial ports diagnosis terminal (1) at described controller, described serial ports diagnosis terminal (1) inside comprises the transmission pin of serial ports and receives pin, and described transmission pin and the short circuit of reception pin are linked together; During fault diagnosis, Serial Port Line (4) is connected between the serial ports diagnosis terminal (1) and the serial communication terminal (2) on the controller on the controller, in the process that controller powers on, controller sends one group of data to self serial ports, if controller can correctly receive those group data that just now sent, the serial ports that then is diagnosed as controller is normal, otherwise then is diagnosed as the serial ports damage of controller, provides indication by corresponding sound or light signal; Serial Port Line (4) is connected between the serial ports diagnosis terminal (1) and the RS232 serial ports terminal (3) on the computing machine on the controller, computing machine sends one group of data to self RS232 serial ports, if calculate correct those group data that just now sent that receive of function, the RS232 serial ports that then is diagnosed as on the computing machine is normal, otherwise the RS232 serial ports that then is diagnosed as computing machine damages, and computer display provides indication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210414497.2A CN102915030B (en) | 2012-10-25 | 2012-10-25 | RS232 (recommended standard 232) serial port fFault diagnosis device applied to controller of tester |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210414497.2A CN102915030B (en) | 2012-10-25 | 2012-10-25 | RS232 (recommended standard 232) serial port fFault diagnosis device applied to controller of tester |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102915030A true CN102915030A (en) | 2013-02-06 |
CN102915030B CN102915030B (en) | 2015-07-15 |
Family
ID=47613436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210414497.2A Active CN102915030B (en) | 2012-10-25 | 2012-10-25 | RS232 (recommended standard 232) serial port fFault diagnosis device applied to controller of tester |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102915030B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112415936A (en) * | 2020-12-04 | 2021-02-26 | 广东电网有限责任公司江门供电局 | Serial port communication fault detection device and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0854922A (en) * | 1994-08-10 | 1996-02-27 | Toshiba Corp | Process controller |
CN1952906A (en) * | 2005-10-21 | 2007-04-25 | 鸿富锦精密工业(深圳)有限公司 | Test system and method of serial port of host computer |
CN101093461A (en) * | 2006-06-23 | 2007-12-26 | 技嘉科技股份有限公司 | Device and method for testing electronic equipment |
CN101296369A (en) * | 2007-04-29 | 2008-10-29 | 华为技术有限公司 | Video system and video broadcasting method |
CN102467428A (en) * | 2010-11-18 | 2012-05-23 | 英业达股份有限公司 | Test device |
-
2012
- 2012-10-25 CN CN201210414497.2A patent/CN102915030B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0854922A (en) * | 1994-08-10 | 1996-02-27 | Toshiba Corp | Process controller |
CN1952906A (en) * | 2005-10-21 | 2007-04-25 | 鸿富锦精密工业(深圳)有限公司 | Test system and method of serial port of host computer |
CN101093461A (en) * | 2006-06-23 | 2007-12-26 | 技嘉科技股份有限公司 | Device and method for testing electronic equipment |
CN101296369A (en) * | 2007-04-29 | 2008-10-29 | 华为技术有限公司 | Video system and video broadcasting method |
CN102467428A (en) * | 2010-11-18 | 2012-05-23 | 英业达股份有限公司 | Test device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112415936A (en) * | 2020-12-04 | 2021-02-26 | 广东电网有限责任公司江门供电局 | Serial port communication fault detection device and method |
Also Published As
Publication number | Publication date |
---|---|
CN102915030B (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2654404C (en) | Faulted circuit indicator monitoring device with wireless memory monitor | |
CN104378781A (en) | Method for detecting faults of mobile terminals and mobile terminals | |
CN104038262A (en) | Mobile terminal commercial vehicle monitoring system for realizing diagnosis technology and Bluetooth communication under Android platform | |
CN206673990U (en) | A kind of detecting system of communication message | |
CN101499892A (en) | Communication interface detection method and electronic device | |
CN102508754B (en) | Method for detecting 1553B communication interface | |
CN205862221U (en) | A kind of electric automobile fault diagnosis system based on CAN protocol and failure diagnostic apparatus | |
CN102915030B (en) | RS232 (recommended standard 232) serial port fFault diagnosis device applied to controller of tester | |
CN111142504B (en) | Bus detection device and method | |
CN202886987U (en) | RS 232 serial port fault diagnosis device applied on testing machine controller | |
CN105242283A (en) | Excavator GPS terminal fault detection system | |
CN102819942B (en) | Analog automobile signal transmission and detection system and method thereof | |
CN202661873U (en) | Intelligent phone-based automobile diagnosing system | |
CN202661874U (en) | Vehicle diagnosis system based on tablet computer | |
CN201281850Y (en) | Detection device for spreading interface | |
CN204188733U (en) | A kind of fault detector | |
CN202541459U (en) | Vehicle body control system adopting Bluetooth technology | |
CN101739324A (en) | Extension interface detection device | |
CN102426452A (en) | Vehicle-mounted system with long-distance diagnostic function | |
CN202737286U (en) | Wire harness conversion apparatus | |
CN205562167U (en) | Engine abnormal sound detection device | |
CN104407250A (en) | Fault indicator | |
CN203982293U (en) | USB-LIN interconnecting device | |
CN105044552A (en) | Fault diagnosis method, system and device for distribution network automation system | |
CN109067567A (en) | A kind of network communication method for diagnosing interruption |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |