CN102915030B - 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 PDF

Info

Publication number
CN102915030B
CN102915030B CN201210414497.2A CN201210414497A CN102915030B CN 102915030 B CN102915030 B CN 102915030B CN 201210414497 A CN201210414497 A CN 201210414497A CN 102915030 B CN102915030 B CN 102915030B
Authority
CN
China
Prior art keywords
controller
serial ports
terminal
serial port
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.)
Active
Application number
CN201210414497.2A
Other languages
Chinese (zh)
Other versions
CN102915030A (en
Inventor
张晓东
陈华
韩健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUXI JIANYI INSTRUMENT MACHINERY CO Ltd
Original Assignee
WUXI JIANYI INSTRUMENT MACHINERY CO Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by WUXI JIANYI INSTRUMENT MACHINERY CO Ltd filed Critical WUXI JIANYI INSTRUMENT MACHINERY CO Ltd
Priority to CN201210414497.2A priority Critical patent/CN102915030B/en
Publication of CN102915030A publication Critical patent/CN102915030A/en
Application granted granted Critical
Publication of CN102915030B publication Critical patent/CN102915030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

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

Be applied to the RS232 serial ports trouble-shooter of testing machine controller
Technical field
The present invention relates to a kind of serial ports trouble-shooter, specifically a kind of RS232 serial ports trouble-shooter being applied to testing machine controller.
Background technology
In recent years, the application of testing machine in testing machine industry with permanent value-added tax function is 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 a special controller, realize the collection of pressure sensor signal, control the functions such as topworks's action.A computing machine does host computer and the communication of slave computer controller, installs special control software design and realizes concrete control algolithm, the functions such as the storage of test figure and inquiry in computing machine.Communication between upper and lower computer many employings RS232 Serial Communication Mode.Due to reasons such as environment for use, electrical system imperfect earth, electromagnetic interference (EMI), occasional causes RS232 port hardware to damage, and occurs the phenomenon of Communications failure.General controller can not determine that the interface of controller part damages or the interface of computing machine part damages, and brings certain trouble to like this failture evacuation and after sale service.
Summary of the invention
The object of the present invention is to provide a kind of RS232 serial ports trouble-shooter being applied to testing machine controller, the abort situation that RS232 port hardware damages can be diagnosed, achieve the function of localization of fault.
Primary solutions of the present invention is achieved in that the described RS232 serial ports trouble-shooter being applied to testing machine controller, comprise the serial communication terminal on controller and the RS232 serial ports terminal on computing machine, described controller is set up serial ports diagnosis terminal, described serial ports diagnosis terminal inner comprises the transmission pin of serial ports and receives pin, described transmission pin and the short circuit of reception pin is linked together.During fault diagnosis, the serial ports connected by Serial Port Line is on the controller diagnosed between the serial communication terminal on terminal and controller, in process electric on the controller, controller sends one group of data to self serial ports, if controller correctly can receive those group data just now sent, the serial ports being then diagnosed as controller is normal, otherwise the serial ports being then diagnosed as controller damages, and provides instruction by corresponding sound or light signal; The serial ports connected by Serial Port Line is on the controller diagnosed between the RS232 serial ports terminal on terminal and computing machine, computing machine sends one group of data to self RS232 serial ports, if calculate function correctly receive those group data just now sent, the RS232 serial ports be then diagnosed as on computing machine is normal, otherwise the RS232 serial ports being then diagnosed as computing machine damages, and computer display provides instruction.
Compared with the prior art the present invention has the following advantages:
1, hardware configuration is simple, only needs increase serial ports diagnosis terminal, with low cost, easy for installation.
2, can judge that the interface of controller part damages or the interface of computing machine part damages respectively, multiple functional.
Accompanying drawing explanation
Fig. 1 is that the present invention forms structural representation.
Connection diagram when Fig. 2 RS232 serial ports normally works.
Connection diagram during the RS232 port of Fig. 3 diagnosing controller.
Connection diagram during the RS232 port of Fig. 4 diagnosis computer.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
As shown in Figure 1, the present invention mainly adopts the serial ports diagnosis terminal 1 on controller, the serial communication terminal 2 on controller, the RS232 serial ports terminal 3 on computing machine, Serial Port Line 4, and the upper computer software that runs on the slave computer software that runs of controller and computing machine.The transmission pin of serial ports and the short circuit of reception pin link together by the inside of the serial ports diagnosis terminal 1 on controller.Serial Port Line 4 serial ports that can connect on the controller is diagnosed between the serial communication terminal 2 on terminal 1 and controller, can connect between the RS232 serial ports terminal 3 on serial communication terminal 2 on the controller and computing machine, can connect between the RS232 serial ports terminal 3 on serial ports diagnosis terminal 1 on the controller and computing machine.
The slave computer software that described controller runs, carries out internal loopback detection to controller RS232 port in process electric on the controller.The upper computer software that described computing machine runs implements the function of computing machine RS232 serial ports being carried out to internal loopback detection.
The course of work of the present invention is as follows.
1, as shown in Figure 2, when normally working, Serial Port Line 4 is connected between serial communication terminal 2 on controller and the RS232 serial ports terminal 3 on computing machine.
2, when there is communication failure phenomenon, Serial Port Line 4 is connected between the serial ports diagnosis terminal 1 on controller and the serial communication terminal 2 on controller, as Fig. 3, like this, the transmission pin of the serial communication terminal 2 on controller is diagnosed terminal 1 short circuit to be connected with reception pin by the serial ports on controller.Controller is powered on, serial ports to controller is sent one group of data by the slave computer software that controller runs, owing to sending and receiving pin and be shorted and be connected, if the serial ports of controller is normal, then controller correctly can receive those group data just now sent, so, by corresponding sound or light signal, whether the RS232 communication interface indicating controller damages.
3, as shown in Figure 4, in like manner, be connected to by Serial Port Line 4 between the serial ports diagnosis terminal 1 on controller and the RS232 serial ports terminal 3 on computing machine, like this, the transmission of the RS232 serial ports terminal 3 on computing machine is diagnosed terminal 1 short circuit to be connected with reception pin by the serial ports on controller.The corresponding serial ports diagnostic function of the upper computer software that moving calculation machine runs, the data of carrying out computing machine RS232 serial ports are back-to-backed, software sends one group of data by the RS232 serial ports on computing machine, owing to sending and receiving pin and be shorted and be connected, if the RS232 serial ports on computing machine is normal, whether then computer software correctly can receive those group data just now sent, so, diagnose out the RS232 communication interface of computing machine to damage.
Visible, the present invention, by increase serial ports diagnosis terminal, is coordinated by software and hardware, when achieving RS232 port communication fault, judges the function of guilty culprit position.Be installed on common testing machine controller, offer convenience to failture evacuation and after sale service.

Claims (1)

1. be applied to the RS232 serial ports trouble-shooter of testing machine controller, comprise the serial communication terminal (2) on controller and the RS232 serial ports terminal (3) on computing machine, described controller is set up serial ports diagnosis terminal (1);
It is characterized in that: described serial ports diagnosis terminal (1) inside comprises the transmission pin of serial ports and receives pin, described transmission pin and the short circuit of reception pin is linked together; During fault diagnosis, the serial ports connected by Serial Port Line (4) is on the controller diagnosed between the serial communication terminal (2) on terminal (1) and controller, in process electric on the controller, controller sends one group of data to self serial ports, if controller correctly can receive those group data just now sent, the serial ports being then diagnosed as controller is normal, otherwise the serial ports being then diagnosed as controller damages, and provides instruction by corresponding sound or light signal; The serial ports connected by Serial Port Line (4) is on the controller diagnosed between the RS232 serial ports terminal (3) on terminal (1) and computing machine, computing machine sends one group of data to self RS232 serial ports, if calculate function correctly receive those group data just now sent, the RS232 serial ports be then diagnosed as on computing machine is normal, otherwise the RS232 serial ports being then diagnosed as computing machine damages, and computer display provides instruction.
CN201210414497.2A 2012-10-25 2012-10-25 RS232 (recommended standard 232) serial port fFault diagnosis device applied to controller of tester Active CN102915030B (en)

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 CN102915030A (en) 2013-02-06
CN102915030B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112415936B (en) * 2020-12-04 2021-10-12 广东电网有限责任公司江门供电局 Serial port communication fault detection device and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
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
CN100538655C (en) * 2006-06-23 2009-09-09 技嘉科技股份有限公司 The proving installation of electronic installation and method of testing
CN101296369A (en) * 2007-04-29 2008-10-29 华为技术有限公司 Video system and video broadcasting method
CN102467428A (en) * 2010-11-18 2012-05-23 英业达股份有限公司 Test device

Also Published As

Publication number Publication date
CN102915030A (en) 2013-02-06

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
CN202847604U (en) Anti-dissemble system for vehicle GPS terminal
CN102508754B (en) Method for detecting 1553B communication interface
CN102915030B (en) RS232 (recommended standard 232) serial port fFault diagnosis device applied to controller of tester
CN105745551A (en) Device and method for testing a vehicle battery
CN202886987U (en) RS 232 serial port fault diagnosis device applied on testing machine controller
CN105242283A (en) Excavator GPS terminal fault detection system
CN104375060A (en) Fault indicator
CN104122481B (en) Multifunctional cable detection device
CN104158606B (en) The concentrator communication module method of testing that a kind of automatic calibration system is special
CN109946094A (en) Motor vehicle detecting control instrument and its control circuit, control method
CN102819942B (en) Analog automobile signal transmission and detection system and method thereof
CN202661873U (en) Intelligent phone-based automobile diagnosing system
CN201281850Y (en) Detection device for spreading interface
CN210014916U (en) Motor vehicle detection control instrument and control circuit thereof
CN202737286U (en) Wire harness conversion apparatus
CN202541459U (en) Vehicle body control system adopting Bluetooth technology
CN103531002B (en) A kind of remote debugging method based on TD-SCDMA
CN108847884B (en) Automatic measurement method for optical power and optical receiving sensitivity of intelligent substation protection device
CN205562167U (en) Engine abnormal sound detection device
CN203982293U (en) USB-LIN interconnecting device
CN202770943U (en) Automobile door wire harness detection device
CN210573254U (en) Motor vehicle detection control system
CN203455836U (en) Test device for data communication of COM port of computer

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