CN102736617A - Method for diagnosing PROFIBUS-DP bus - Google Patents
Method for diagnosing PROFIBUS-DP bus Download PDFInfo
- Publication number
- CN102736617A CN102736617A CN2012102067929A CN201210206792A CN102736617A CN 102736617 A CN102736617 A CN 102736617A CN 2012102067929 A CN2012102067929 A CN 2012102067929A CN 201210206792 A CN201210206792 A CN 201210206792A CN 102736617 A CN102736617 A CN 102736617A
- Authority
- CN
- China
- Prior art keywords
- diagnostic
- profibus
- bus
- slave station
- buffer zone
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a method for diagnosing a PROFIBUS-DP bus, and belongs to the technical field of detection. A PROFIBUS-DP bus diagnosis model is constructed in a processor with a network card and stored in a hard disk memory of the processor; transmission control protocol/Internet protocol (TCP/IP) communication between the processor and a PROFIBUS-DP master station is established; and the PROFIBUS-DP bus diagnosis model runs, and the master station reads a diagnosis response message from a slave station response message of which a source service access point is '3Ch', resolves the content of the message and outputs diagnosis information. The method has the advantages that a fault of the PROFIBUS-DP bus is diagnosed on line, so that the efficiency for processing the fault of the PROFIBUS-DP bus is improved.
Description
Technical field
The invention belongs to the detection technique field, a kind of diagnostic method of PROFIBUS-DP bus particularly is provided, can locate the trouble spot in the PROFIBUS-DP bus fast, provide safeguard for handling all kinds of PROFIBUS-DP bus failures efficiently.
Background technology
PROFIBUS-DP is the highest a kind of field bus technique of market share in the industrial automation field, and it is the only fieldbus national standard of present China.Widespread use along with the PROFIBUS-DP field bus technique; To those control system based on the PROFIBUS-DP bus carry out concrete, become the most basic requirement with real-time on-line analysis with diagnosis intuitively, the diagnostic method of the PROFIBUS-DP bus of introducing below can satisfy above-mentioned requirements.
Summary of the invention
The object of the present invention is to provide a kind of diagnostic method of PROFIBUS-DP bus, realized inline diagnosis, improved the efficient of handling the PROFIBUS-DP bus failure the PROFBIUS-DP bus failure.
Utilize a processor that has network interface card; In processor, create PROFIBUS-DP bus diagnostic model, be stored in the harddisk memory of processor, set up processor and communicate by letter with the ICP/IP protocol between the PROFIBUS-DP main website; Operation PROFIBUS-DP bus diagnostic model; Read the diagnostic response message of source service access point in the slave station response message (SSAP) through main website, analytic message content, output diagnostic message for " 3Ch ".Concrete steps are:
(1) in processor, create PROFIBUS-DP bus diagnostic model, be stored in the harddisk memory of processor, comprise diagnostic data buffer zone and failure diagnosis information storehouse in the model, the diagnostic data buffer zone is unit with the byte.
Be used for depositing the content of slave station diagnostic response message data cell.Comprise in the failure diagnosis information storehouse slave station condition diagnosing sign indicating number and failure message diagnosis sign indicating number and with they corresponding diagnostic messages.Whether slave station condition diagnosing information is to resolve through each the state to diagnostic data buffer zone the 1st~6 byte, obtain by configuration, the parameter setting of diagnosis slave station, have or not extensive diagnostic information, be ready to and information such as main website carries out exchanges data and slave station ID number.Failure diagnosis information is to resolve through each of several bytes (can reach 237 bytes at most) that the 7th byte of diagnostic data buffer zone begun to obtain.They be manufacturer by slave station in device description file (GSD file) to each concrete definition of each byte, we have defined the failure diagnosis information of these slave stations through the device description file of DP slave station commonly used is understood.
(2) setting up processor communicates by letter with the ICP/IP protocol between the PROFIBUS-DP main website.
(3) operation PROFIBUS-DP bus diagnostic model reads the diagnostic response message of source service access point in the slave station response message (SSAP) for " 3Ch " through main website, and the content of its data cell is deposited in the diagnostic data buffer zone.
(4) PROFIBUS-DP bus diagnostic model is resolved the content in the diagnostic data buffer zone, exports corresponding diagnostic message.
The invention has the advantages that; Through the PROFIBUS-DP bus being carried out in real time, diagnosing online; Locate the trouble spot in the PROFIBUS-DP bus apace; The standby maintenance personnel handle all kinds of PROFIBUS-DP bus failures efficiently, the PROFIBUS-DP bus failure are reduced to minimum to the influence of producing, and ensure the stable operation of production line.
Adopt the present invention to realize diagnosis, can replace special-purpose PROFIBUS-DP bus diagnostic instrument, therefore can reduce cost, realize independent development the PROFIBUS-DP bus failure.
Description of drawings
Fig. 1 is a PROFIBUS-DP bus diagnostic schematic diagram.
Embodiment
IP address and PROFIBUS-DP main website IP address that processor is set can communicate processor with the PROFIBUS-DP main website at same address field with ICP/IP protocol.PROFIBUS-DP bus diagnostic model in the operation processor; Read the diagnostic response message of slave station; For example, the content of preceding 6 bytes of a slave station diagnostic response message data unit that reads is: 06 05 00 FF, 00 0B, and PROFIBUS-DP bus diagnostic model can at first deposit these data in the diagnostic data buffer zone; Then the content in the diagnostic data buffer zone is resolved; The content of each byte all has definition in the diagnostic data buffer zone in the diagnostic message storehouse, and 06 expression fault is a configuration error, the unripe exchanges data of carrying out of slave station; 05 this slave station of expression must carry out the parameter setting again; 00 expression diagnostic message is not overflowed; FF representes not have main website to have this slave station; 00 0B representes the ID 000B of this slave station.The diagnostic message of so final output is exactly " slave station of ID 000B is configuration or a configuration error not ".
Claims (1)
1. the diagnostic method of a PROFIBUS-DP bus, it is characterized in that: concrete steps are:
(1) in processor, create PROFIBUS-DP bus diagnostic model, be stored in the harddisk memory of processor, comprise diagnostic data buffer zone and failure diagnosis information storehouse in the model, the diagnostic data buffer zone is unit with the byte; Be used for depositing the content of slave station diagnostic response message data cell; Comprise in the failure diagnosis information storehouse slave station condition diagnosing sign indicating number and failure message diagnosis sign indicating number and with they corresponding diagnostic messages; Whether slave station condition diagnosing information is to resolve through each the state to diagnostic data buffer zone the 1st~6 byte, obtain by configuration, the parameter setting of diagnosis slave station, have or not extensive diagnostic information, be ready to and information such as main website carries out exchanges data and slave station ID number; Failure diagnosis information is to obtain through each of the 7th several bytes that byte begins of diagnostic data buffer zone is resolved, the most nearly 237 bytes;
(2) setting up processor communicates by letter with the ICP/IP protocol between the PROFIBUS-DP main website;
(3) operation PROFIBUS-DP bus diagnostic model reads the diagnostic response message of source service access point in the slave station response message (SSAP) for " 3Ch " through main website, and the content of its data cell is deposited in the diagnostic data buffer zone;
(4) PROFIBUS-DP bus diagnostic model is resolved the content in the diagnostic data buffer zone, exports corresponding diagnostic message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102067929A CN102736617A (en) | 2012-06-18 | 2012-06-18 | Method for diagnosing PROFIBUS-DP bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102067929A CN102736617A (en) | 2012-06-18 | 2012-06-18 | Method for diagnosing PROFIBUS-DP bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102736617A true CN102736617A (en) | 2012-10-17 |
Family
ID=46992275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102067929A Pending CN102736617A (en) | 2012-06-18 | 2012-06-18 | Method for diagnosing PROFIBUS-DP bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102736617A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103278739A (en) * | 2013-04-26 | 2013-09-04 | 中国南方电网有限责任公司超高压输电公司广州局 | High voltage dc (direct current) transmission control system Profibus field bus fault diagnosis method |
CN104615128A (en) * | 2015-02-13 | 2015-05-13 | 西安热工研究院有限公司 | Intelligent diagnosis recording instrument of PROFIBUS and intelligent diagnosis method of recording instrument |
CN105388891A (en) * | 2015-12-22 | 2016-03-09 | 中国神华能源股份有限公司 | Fault diagnosis device and method for fieldbus system |
CN107612800A (en) * | 2017-09-14 | 2018-01-19 | 北京鼎实创新科技股份有限公司 | A kind of implementation method and control device of the Y type conversion equipments of connection PROFIBUS redundant networks and Monobus network |
CN108494626A (en) * | 2018-03-23 | 2018-09-04 | 河海大学 | Physical installation improperly Profibus DP industrial field bus communication failure intelligent diagnosing method |
CN108809784A (en) * | 2018-06-07 | 2018-11-13 | 杭州和利时自动化有限公司 | A kind of bus apparatus interception system and method |
CN110430110A (en) * | 2019-08-12 | 2019-11-08 | 北京和利时系统工程有限公司 | A kind of field bus gateway and its method for converting protocol |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951407A (en) * | 2010-09-27 | 2011-01-19 | 长沙重型机器制造有限责任公司 | Teletransmission type intelligent bus communicator |
-
2012
- 2012-06-18 CN CN2012102067929A patent/CN102736617A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951407A (en) * | 2010-09-27 | 2011-01-19 | 长沙重型机器制造有限责任公司 | Teletransmission type intelligent bus communicator |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103278739A (en) * | 2013-04-26 | 2013-09-04 | 中国南方电网有限责任公司超高压输电公司广州局 | High voltage dc (direct current) transmission control system Profibus field bus fault diagnosis method |
CN103278739B (en) * | 2013-04-26 | 2015-10-21 | 中国南方电网有限责任公司超高压输电公司广州局 | A kind of high-voltage dc transmission electric control system Profibus field bus fault diagnostic method |
CN104615128A (en) * | 2015-02-13 | 2015-05-13 | 西安热工研究院有限公司 | Intelligent diagnosis recording instrument of PROFIBUS and intelligent diagnosis method of recording instrument |
CN104615128B (en) * | 2015-02-13 | 2017-03-15 | 西安热工研究院有限公司 | PROFIBUS bus intelligent diagnostics monitors and method |
CN105388891A (en) * | 2015-12-22 | 2016-03-09 | 中国神华能源股份有限公司 | Fault diagnosis device and method for fieldbus system |
CN107612800A (en) * | 2017-09-14 | 2018-01-19 | 北京鼎实创新科技股份有限公司 | A kind of implementation method and control device of the Y type conversion equipments of connection PROFIBUS redundant networks and Monobus network |
CN108494626A (en) * | 2018-03-23 | 2018-09-04 | 河海大学 | Physical installation improperly Profibus DP industrial field bus communication failure intelligent diagnosing method |
CN108494626B (en) * | 2018-03-23 | 2021-08-27 | 河海大学 | Intelligent diagnosis method for communication faults of Profibus DP industrial field bus with improper physical installation |
CN108809784A (en) * | 2018-06-07 | 2018-11-13 | 杭州和利时自动化有限公司 | A kind of bus apparatus interception system and method |
CN110430110A (en) * | 2019-08-12 | 2019-11-08 | 北京和利时系统工程有限公司 | A kind of field bus gateway and its method for converting protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102736617A (en) | Method for diagnosing PROFIBUS-DP bus | |
CN104345717A (en) | Intelligent remote data acquisition system based on Internet of Things | |
US8793366B2 (en) | Method and arrangement for diagnosing networks including field bus systems | |
CN108989358B (en) | Method for acquiring running data of textile machine based on TCP/IP protocol | |
US20130282931A1 (en) | Automatic foundation fieldbus device commissioning | |
CN107770022A (en) | Collecting method, electronic equipment and storage medium based on rtu protocol | |
CN103019155B (en) | A kind of test unit for reliability of numerical control system | |
AU2011338915C1 (en) | Local control network processor (LCNP) emulator for multi-generation control systems | |
JP2018023229A (en) | Substation control system, control method therefor, and intelligent electronic device | |
US8510463B2 (en) | Systems and methods for facilitating communication with a fieldbus device | |
CN202551083U (en) | Real-time data and management data separated field bus intelligent gateway | |
CN103701657A (en) | Device and method for monitoring and processing dysfunction of continuously running data processing system | |
JP2014222871A (en) | Master device of Profibus DP | |
CN208255671U (en) | A kind of paper production workshop operation monitoring device | |
CN108696375B (en) | Industrial network information acquisition device, method, monitoring system and storage medium | |
CN109637108A (en) | A kind of Lathe networking information acquisition system and method based on touch screen | |
US20160048362A1 (en) | Programmable display device | |
CN102693166B (en) | Method, device and system for processing information | |
CN111083047B (en) | Gateway based on internet of things multi-protocol communication | |
US20180364685A1 (en) | Method for providing a generic diagnosis model | |
CN109802943B (en) | Data acquisition device | |
CN103618735A (en) | Method for monitoring security of field level control network | |
CN209057233U (en) | A kind of industrial data gateway for supporting hot plug | |
CN105450468A (en) | IDC user information management system and method | |
CN203825445U (en) | IO module address overlap identification system in process control station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20121017 |