CN114397852A - Method for detecting downtime of PLC host - Google Patents

Method for detecting downtime of PLC host Download PDF

Info

Publication number
CN114397852A
CN114397852A CN202210052589.4A CN202210052589A CN114397852A CN 114397852 A CN114397852 A CN 114397852A CN 202210052589 A CN202210052589 A CN 202210052589A CN 114397852 A CN114397852 A CN 114397852A
Authority
CN
China
Prior art keywords
plc
detecting
personal computer
industrial personal
devices
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
Application number
CN202210052589.4A
Other languages
Chinese (zh)
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.)
Zenith Steel Group Nantong Co Ltd
Original Assignee
Zenith Steel Group Nantong 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 Zenith Steel Group Nantong Co Ltd filed Critical Zenith Steel Group Nantong Co Ltd
Priority to CN202210052589.4A priority Critical patent/CN114397852A/en
Publication of CN114397852A publication Critical patent/CN114397852A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/14Plc safety
    • G05B2219/14005Alarm

Abstract

The invention discloses a method for detecting downtime of a PLC host, which comprises the steps of constructing a detection system, wherein a plurality of PLC devices are connected with at least one industrial personal computer through at least one switch; any one of the plurality of PLC devices sends a pulse signal to at least one of the other PLC devices; if any one of the PLC devices is down, at least one PLC device in charge of receiving the PLC device cannot receive the pulse signal, and sends an alarm signal to the industrial personal computer. The invention provides an effective method for detecting the downtime of the PLC host, the realization process is simple, the construction of the system can be realized only by adding one switch in the original system, the modification cost is low, and the method is convenient for popularization and application in various fields.

Description

Method for detecting downtime of PLC host
Technical Field
The invention relates to a detection method, in particular to a detection method for PLC host downtime, and belongs to the technical field of PLC.
Background
Along with the development of computer technology, the electric automation technology is gradually improved, and the manual labor intensity can be greatly reduced by using some controllers such as a PLC (programmable logic controller), a single chip microcomputer and the like, so that the detection accuracy is improved, the real-time performance and the effectiveness of transmitted information are enhanced, and the normal development of production activities is ensured. However, the electronic products have uncertainty, and the PLC is down due to long time or failure of cooling equipment. Although the PLC is provided with the self-fault self-detection function, when the PLC is down, the PLC is in a dead halt state and cannot perform self-fault detection, operators on the site can judge whether the PLC is down only by observing the working state of the PLC control equipment, and one operator needs to nurse a plurality of devices, so that the PLC is difficult to find out that the PLC is down abnormally at the first time, and huge loss can be caused in some production fields without finding out the abnormal state for a long time. Therefore, it is necessary to design a method capable of timely discovering the downtime of the PLC host.
Disclosure of Invention
The invention aims to provide a method for detecting the downtime of a PLC host, which can find the downtime of PLC equipment in time and carry out real-time alarm.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a method for detecting the downtime of a PLC host is characterized by comprising the following steps:
the method comprises the following steps: constructing a detection system, wherein a plurality of PLC devices are connected with at least one industrial personal computer through at least one switch;
step two: any one of the plurality of PLC devices sends a pulse signal to at least one of the other PLC devices;
step three: if any one of the PLC devices is down, at least one PLC device in charge of receiving the PLC device cannot receive the pulse signal, and sends an alarm signal to the industrial personal computer.
Furthermore, the PLC equipment is connected with the switch through a network cable, and the switch is connected with the industrial personal computer through the network cable.
Furthermore, an optical fiber transmission section is arranged in the middle of the network cable, and two ends of the optical fiber are connected with the network cable through a converter.
Furthermore, the plurality of PLC devices are arranged in the same ring network and are all in the same network segment, and the PLC devices can be mutually Ping communicated.
Furthermore, Unity pro software, Intouch configuration software and communication software are installed in the industrial personal computer.
Further, the communication software adopts a DA Server or an IOServer.
Furthermore, the industrial personal computer and the plurality of PLC devices are in the same network segment.
Further, the industrial personal computer is provided with an audible and visual alarm device.
Further, the pulse signal is a 2 second period of scintillation pulse.
Furthermore, when at least one PLC device which is responsible for receiving the PLC device cannot receive the pulse signal, the alarm signal is sent to the industrial personal computer after three seconds of delay, and the industrial personal computer performs sound-light alarm.
Compared with the prior art, the invention has the following advantages and effects: according to the method for detecting the downtime of the PLC host, the pulse signals are mutually sent among the plurality of PLC devices, when the PLC devices are down, other devices cannot receive the pulse signals of the devices, so that the downtime of the devices can be found in time, and therefore an alarm is sent out through the industrial personal computer at the first time to remind an operator to process faults. The invention provides an effective method for detecting the downtime of the PLC host, the realization process is simple, the construction of the system can be realized only by adding one switch in the original system, the modification cost is low, and the method is convenient for popularization and application in various fields.
Drawings
Fig. 1 is a schematic diagram of system connection of a method for detecting a PLC host downtime according to the present invention.
Fig. 2 is a schematic of a 2 second period scintillation pulse for an embodiment of the present invention.
Fig. 3 is a schematic diagram of a pulse signal of 1 second transmission 8000 and one second transmission 0 according to the embodiment of the present invention.
Fig. 4 is a schematic diagram of reading PLC device B data according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of reading a PLC apparatus B pulse signal according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of reading PLC device C data according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of reading a PLC apparatus C pulse signal according to an embodiment of the present invention.
Detailed Description
To elaborate on technical solutions adopted by the present invention to achieve predetermined technical objects, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, it is obvious that the described embodiments are only partial embodiments of the present invention, not all embodiments, and technical means or technical features in the embodiments of the present invention may be replaced without creative efforts, and the present invention will be described in detail below with reference to the drawings and in conjunction with the embodiments.
A method for detecting the downtime of a PLC host comprises the following steps:
the method comprises the following steps: constructing a detection system, wherein a plurality of PLC devices are connected with at least one industrial personal computer through at least one switch; the PLC equipment is connected with the switch through a network cable, and the switch is connected with the industrial personal computer through the network cable. When the network cable is connected to a long line, the middle of the network cable is provided with an optical fiber transmission section, and two ends of the optical fiber are connected with the network cable through a converter. A plurality of PLC equipment are arranged in the same ring network and are all in the same network segment, and the PLC equipment can be mutually Ping communicated. And Unity pro software, Intouch configuration software and communication software are installed in the industrial personal computer. The communication software adopts DA Server or IOServer. The industrial personal computer and the plurality of PLC devices are in the same network segment.
Step two: any one of the plurality of PLC devices sends a pulse signal to at least one of the other PLC devices; the pulse signal is a 2 second period of scintillation pulses.
Step three: if any one of the PLC devices is down, at least one PLC device in charge of receiving the PLC device cannot receive the pulse signal, and sends an alarm signal to the industrial personal computer. The industrial personal computer is provided with an audible and visual alarm device. When at least one PLC device which is responsible for receiving the PLC device can not receive the pulse signal, the alarm signal is sent to the industrial personal computer after three seconds of delay, and the industrial personal computer performs sound-light alarm.
As shown in fig. 1, in an embodiment of the present invention, the detection system includes a PLC device a1, a PLC device B2, a PLC device C3, a switch 4, an industrial personal computer a5, an industrial personal computer B6, and an industrial personal computer C7, and the PLC device a1, the PLC device B2, the PLC device C3, the switch 4, the industrial personal computer a5, the industrial personal computer B6, and the industrial personal computer C7 are connected to each other by a network cable. PLC equipment A, PLC equipment B, PLC equipment C is in the looped netowrk, and PLC equipment A, PLC equipment B, PLC equipment C data can both pass through the switch visit this moment, and inside data passes through DA or IO and displays on industrial computer A5, industrial computer B6 and industrial computer C7 human-computer interaction interface through the Intouch configuration. The PLC device A sends heartbeat pulses to a PLC device B, PLC device C; the PLC device B sends heartbeat programs to the PLC device A and the PLC device C; the PLC device C sends heartbeat pulses to the PLC device A and the PLC device B. So that one device sends the heartbeat pulse to the other two devices at least. If the PLC equipment A is down, the PLC equipment B and the PLCC cannot receive heartbeat pulses of the PLC equipment A at the moment, and an alarm is given after two seconds of delay. The method is very simple and practical because no special instruction is arranged in the PLC equipment to detect the downtime of the PLC equipment.
In this embodiment, the PLC device employs a CPU65160 schneider PLC. The CPU65160 schneider PLC internal software logic is as follows: as shown in fig. 2, the PLC device sends out a 2 second period of scintillation pulses. As shown in fig. 3, PLC device a1 transmits 8000 second data pulses and 0 data pulses to PLC device B and PLC device C one second. As shown in fig. 4, data in the PLC device B whose IP address is 192.168.0.13 is read. As shown in fig. 5, the pulse data read from the PLC device B is 8000 one second to 0, and if the data is not periodically switched between 0 and 8000 one second, an alarm is issued for 3 seconds. As shown in fig. 6, the data of the PLC apparatus C whose IP address is 192.168.0.11 is read. As shown in fig. 7, the data of the PLC device C is read, and if the data is not periodically switched between 0 and 8000 one second, an alarm is issued for 3 seconds, with 8000 one second being 0. The exchanger (take phoenix industrial exchanger as an example), can realize between PLC and the PLC, between industrial computer and the industrial computer, the data transmission between PLC and the industrial computer, data sharing. A network cable is a transmission medium. If the distance between the PLC and the PLC is long, a network cable cannot be selected, optical fiber transmission is selected, and then the network cable is plugged into the switch through the converter to realize stable data transmission.
According to the method for detecting the downtime of the PLC host, the pulse signals are mutually sent among the plurality of PLC devices, when the PLC devices are down, other devices cannot receive the pulse signals of the devices, so that the downtime of the devices can be found in time, and therefore an alarm is sent out through the industrial personal computer at the first time to remind an operator to process faults. The invention provides an effective method for detecting the downtime of the PLC host, the realization process is simple, the construction of the system can be realized only by adding one switch in the original system, the modification cost is low, and the method is convenient for popularization and application in various fields.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for detecting the downtime of a PLC host is characterized by comprising the following steps:
the method comprises the following steps: constructing a detection system, wherein a plurality of PLC devices are connected with at least one industrial personal computer through at least one switch;
step two: any one of the plurality of PLC devices sends a pulse signal to at least one of the other PLC devices;
step three: if any one of the PLC devices is down, at least one PLC device in charge of receiving the PLC device cannot receive the pulse signal, and sends an alarm signal to the industrial personal computer.
2. The method for detecting the PLC host downtime according to claim 1, wherein: the PLC equipment is connected with the switch through a network cable, and the switch is connected with the industrial personal computer through the network cable.
3. The method for detecting the PLC host downtime according to claim 2, wherein: and an optical fiber transmission section is arranged in the middle of the network cable, and two ends of the optical fiber are connected with the network cable through a converter.
4. The method for detecting the PLC host downtime according to claim 1, wherein: the plurality of PLC devices are arranged in the same ring network and are all in the same network segment, and the PLC devices can be mutually Ping communicated.
5. The method for detecting the PLC host downtime according to claim 1, wherein: and Unity pro software, Intouch configuration software and communication software are installed in the industrial personal computer.
6. The method for detecting the PLC host downtime according to claim 5, wherein: the communication software adopts DA Server or IOServer.
7. The method for detecting the PLC host downtime according to claim 5, wherein: the industrial personal computer and the plurality of PLC devices are in the same network segment.
8. The method for detecting the PLC host downtime according to claim 7, wherein: the industrial personal computer is provided with an audible and visual alarm device.
9. The method for detecting the PLC host downtime according to claim 1, wherein: the pulse signal is a 2 second period of scintillation pulses.
10. The method for detecting the PLC host downtime according to claim 1, wherein: and when at least one PLC device which is responsible for receiving the PLC device can not receive the pulse signal, the PLC device delays for three seconds and then sends an alarm signal to the industrial personal computer, and the industrial personal computer performs sound-light alarm.
CN202210052589.4A 2022-01-18 2022-01-18 Method for detecting downtime of PLC host Pending CN114397852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210052589.4A CN114397852A (en) 2022-01-18 2022-01-18 Method for detecting downtime of PLC host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210052589.4A CN114397852A (en) 2022-01-18 2022-01-18 Method for detecting downtime of PLC host

Publications (1)

Publication Number Publication Date
CN114397852A true CN114397852A (en) 2022-04-26

Family

ID=81230035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210052589.4A Pending CN114397852A (en) 2022-01-18 2022-01-18 Method for detecting downtime of PLC host

Country Status (1)

Country Link
CN (1) CN114397852A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04168502A (en) * 1990-11-01 1992-06-16 Toshiba Corp Controller
CN101592941A (en) * 2008-05-27 2009-12-02 总装备部工程设计研究总院 Heterogeneous PLC multilevel redundancy control system
CN202486614U (en) * 2012-04-01 2012-10-10 青岛双星橡塑机械有限公司 LED (Light Emitting Diode) information management system of vulcanizing machine
CN103853121A (en) * 2012-11-30 2014-06-11 中国科学院沈阳自动化研究所 Controllable data stream multipoint data acquisition device and method based on PLCs
CN105334729A (en) * 2015-11-27 2016-02-17 王先宏 Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control
CN105893220A (en) * 2016-04-01 2016-08-24 浪潮电子信息产业股份有限公司 Server monitoring and management method, device and system
CN112415946A (en) * 2020-12-01 2021-02-26 华能鹤岗发电有限公司 Method and device for monitoring communication state of PLC (programmable logic controller) lower computer
CN112983932A (en) * 2021-02-22 2021-06-18 力源液压(苏州)有限公司 Hydraulic test bed equipment and data acquisition system, measurement and control system and measurement and control method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04168502A (en) * 1990-11-01 1992-06-16 Toshiba Corp Controller
CN101592941A (en) * 2008-05-27 2009-12-02 总装备部工程设计研究总院 Heterogeneous PLC multilevel redundancy control system
CN202486614U (en) * 2012-04-01 2012-10-10 青岛双星橡塑机械有限公司 LED (Light Emitting Diode) information management system of vulcanizing machine
CN103853121A (en) * 2012-11-30 2014-06-11 中国科学院沈阳自动化研究所 Controllable data stream multipoint data acquisition device and method based on PLCs
CN105334729A (en) * 2015-11-27 2016-02-17 王先宏 Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control
CN105893220A (en) * 2016-04-01 2016-08-24 浪潮电子信息产业股份有限公司 Server monitoring and management method, device and system
CN112415946A (en) * 2020-12-01 2021-02-26 华能鹤岗发电有限公司 Method and device for monitoring communication state of PLC (programmable logic controller) lower computer
CN112983932A (en) * 2021-02-22 2021-06-18 力源液压(苏州)有限公司 Hydraulic test bed equipment and data acquisition system, measurement and control system and measurement and control method thereof

Similar Documents

Publication Publication Date Title
CN103034211B (en) Wastewater treatment process monitoring system based on wireless network
US9369377B2 (en) System analyzer and method for analyzing an impact of a change in a component of a distributed control system
CN101673420B (en) System and method for comprehensively examining wireless sensor network node
CN104731076A (en) Working condition monitoring system based on DCS structure
CN102740112B (en) Method for controlling equipment polling based on video monitoring system
CN103545924A (en) Secondary equipment state online monitoring method
CN104991497A (en) Industrial robot remote service and monitoring system
CN105527910A (en) Remote monitoring system based on OPC UA (OLE for Process Control Unified Architecture) and fault removal method
CN112578756A (en) Monitoring system and monitoring method for abnormal data of industrial equipment
CN107356284A (en) A kind of detection method, apparatus and system
CN111459091A (en) Equipment monitoring push message processing method
CN108055512A (en) Mating long distance tunnel continuous conveyor system monitoring and control device after a kind of shield
CN109491308B (en) Wind tunnel group data acquisition method and device based on isolation coupling
CN105743695B (en) A kind of monitor method and system based on IEC104 stipulations
CN114397852A (en) Method for detecting downtime of PLC host
CN106706000B (en) Theodolite intelligent network monitoring method and system
CN116260710A (en) ProfiBus-DP network intermittent interruption positioning device and method
CN112964301A (en) Monitoring method, device, system, equipment and storage medium of power pipeline
CN206990705U (en) A kind of more feed terminal unit closed loop test systems
CN113381880B (en) Internet of things equipment management method, device and system
CN105388891A (en) Fault diagnosis device and method for fieldbus system
CN102243491A (en) Intelligent special-gas monitoring system and implementation method thereof
CN112676023A (en) Network construction method for coal mill control system
CN205507525U (en) A failure diagnosis device for field bus system
CN113949616A (en) Equipment fault monitoring system based on wireless sensor network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination