CN104820561B - A kind of safety control system and its control method based on touch-screen and PLC - Google Patents
A kind of safety control system and its control method based on touch-screen and PLC Download PDFInfo
- Publication number
- CN104820561B CN104820561B CN201510278832.4A CN201510278832A CN104820561B CN 104820561 B CN104820561 B CN 104820561B CN 201510278832 A CN201510278832 A CN 201510278832A CN 104820561 B CN104820561 B CN 104820561B
- Authority
- CN
- China
- Prior art keywords
- signal
- alarm
- touch
- screen
- trigger
- 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
Links
Landscapes
- Programmable Controllers (AREA)
Abstract
The invention discloses a kind of safety control system and its control method based on touch-screen and PLC, is set by PLC logic to realize, a prefix condition is added to all touchscreen buttons:It is exactly the energy signal closure that begins, only begin energy signal closure, and the trigger action signal of touchscreen button can just be sent.And the code of all alarm signals is stored in appropriate address, and corresponding annotation is mapped in corresponding address, to facilitate program to recall.Traditional control program is contrasted, the possibility for solving touch-screen malfunction substantially by both hands combined operation, and the time of mistake is found when effectively reducing field adjustable by alarm.
Description
Technical field
The present invention relates to production control technology field, particularly relates to a kind of security control based on touch-screen and PLC
System and its control method.
Background technology
The sequential control of the open loop based on substantial amounts of switching value in process industry be present, logically condition progress is suitable for it
Sequence action number acts according to sequential.There is the logically relation unrelated with order, sequential to carry out interlock protection action in addition
Control, and substantial amounts of switching value, pulsed quantity, timing, counter, analog quantity the quantity of state such as off-limit alarm based on-it is discrete
The data acquisition monitoring of amount.Due to these controls and the requirement of monitoring, PLC is set to be developed into substitution relay circuit and carry out suitable
Product based on sequence control.PLC producers carry in original CPU templates and gradually add various communication interfaces, field bus technique
And ethernet technology also synchronized development, make PLC application more and more extensive, especially it gets over being used in combination for touch-screen
Come more universal.Traditional method is to make corresponding functional switch on the touchscreen, is switched when being pressed functional switch corresponding
Contact closure, so as to send signal by program complete corresponding to function.Due to sensitivity of touch screen, to have height to have low, easily causes
False triggering.And traditional program alarm signal is integrated on a total signaling point, at all can not if producing line is oversize
Find alarm signal on earth from where, be unfavorable for maintenance of equipment.
Therefore, the present inventor needs a kind of new technology of design badly to improve its problem.
The content of the invention
The present invention is intended to provide it is a kind of both it is possible to prevente effectively from the maloperation of touch-screen, again can be effective by alarm
Reduce the safety control system and its control method based on touch-screen and PLC for the time for finding mistake.
In order to solve the above technical problems, the technical scheme is that:
A kind of safety control system based on touch-screen and PLC, including:
Input module, for inputting trigger signal for user, and the trigger signal is sent to receiving module, wherein described
Trigger signal includes the one or more in trigger action signal, alarm signal, the energy signal that begins;
The receiving module, judge module is sent to for receiving the trigger signal, and by the trigger signal,
The judge module, for the signal kinds for judging to include in the trigger signal, if there is trigger action letter simultaneously
Number and begin can signal, then the trigger action signal is sent a signal into execution module;If the trigger signal includes alarm signal
Number the alarm signal is then sent to alarm module;
The execution module, for the requirement execute instruction according to the trigger action signal;
The alarm module, its source is shown for retrieving the source of the alarm signal, and by touch-screen.
Further, in addition to:
Addressing and memory module, for carrying out prefixing addressing, each alarm signal to each alarm signal
A corresponding code address, and each code address is annotated.
Further, the alarm module specifically includes:
Address acquisition unit, for obtaining its corresponding code address according to the alarm signal received;
Display unit, annotate corresponding to the code address for transferring and show on the touchscreen.
Further, the annotation is the one or more in numeral, symbol, figure, explanatory note.
A kind of method of controlling security based on touch-screen and PLC, comprises the following steps:
S1:Trigger signal is received, the trigger signal includes one in trigger action signal, alarm signal, the energy signal that begins
Kind is a variety of, enters step S2 if the trigger signal includes trigger action signal, if the trigger signal includes alarm
Signal then enters step S3;
S2:Judge whether to receive beginning energy signal simultaneously, if then according to the trigger action signal execute instruction, if not
It is to return to the step S1;
S3:The source of the alarm signal is retrieved, and its source is shown by touch-screen.
Further, also include before the step S1:
Prefixing addressing is carried out to each alarm signal, each alarm signal corresponds to a code address, and right
Each code address is annotated.
Further, the step S3 is specifically included:
S31:Alarm signal according to receiving obtains its corresponding code address;
S32:Transfer and annotate corresponding to the code address and show on the touchscreen.
Further, the annotation is the one or more in numeral, symbol, figure, explanatory note.
Using above-mentioned technical proposal, the present invention comprises at least following beneficial effect:
Safety control system and its control method of the present invention based on touch-screen and PLC, are set by PLC logic
It is fixed to realize, a prefix condition is added to all touchscreen buttons:It is exactly the energy signal closure that begins, the energy signal closure that only begins is tactile
Touching the trigger action signal of screen button can just send.And the code of all alarm signals is stored in appropriate address, and corresponding
Annotated corresponding to address of cache, to facilitate program to recall.Traditional control program is contrasted, the present embodiment passes through both hands combined operation
Found when solving the possibility of touch-screen malfunction substantially, and field adjustable is effectively reduced by alarm mistake when
Between.
Brief description of the drawings
Fig. 1 is the structural representation of the safety control system of the present invention based on touch-screen and PLC;
Fig. 2 is the flow chart of the method for controlling security of the present invention based on touch-screen and PLC.
Embodiment
The present invention is further described with reference to the accompanying drawings and examples.
Embodiment 1
As shown in figure 1, to meet a kind of safety control system based on touch-screen and PLC of the present embodiment, including:
Input module, for inputting trigger signal for user, and the trigger signal is sent to receiving module, wherein described
Trigger signal includes the one or more in trigger action signal, alarm signal, the energy signal that begins;S3 is preferably entered, it is described to touch
Operation signal is sent out except in there is the handing-over of equipment upstream and downstream in addition to startup, jerk, termination, spot sensor feeds back, air pressure feedback, door
Lock feedback.The faulty signal of alarm signal, electric voltage exception signal, safety door break in signal, apparatus overload, and workpiece falls
Fall, scram button does not reset.
The receiving module, judge module is sent to for receiving the trigger signal, and by the trigger signal,
The judge module, for the signal kinds for judging to include in the trigger signal, if there is trigger action letter simultaneously
Number and begin can signal, then the trigger action signal is sent a signal into execution module;If the trigger signal includes alarm signal
Number the alarm signal is then sent to alarm module;
The execution module, it is for the requirement execute instruction according to the trigger action signal, i.e., all on touch-screen to press
The premise of button work must be begin can key be pressed, by both hands combined operation can effectively reduce misoperation of touch screen can
Energy.
The alarm module, its source is shown for retrieving the source of the alarm signal, and by touch-screen.It is preferred that
Ground, the input module are arranged on the touch-screen, and remaining functional module is controlled by PLC and run.
Also include:
Addressing and memory module, for carrying out prefixing addressing, each alarm signal to each alarm signal
A corresponding code address, and each code address is annotated.Such as No. 1 safe light curtain exception at scene, the handle in software
The signal is programmed in address M12002, and annotated:Safe light curtain 1 is abnormal, will handle automatically when performing actuation of an alarm etc. program
Information related M12002 is all retrieved.
The alarm module specifically includes:
Address acquisition unit, for obtaining its corresponding code address according to the alarm signal received;
Display unit, annotate corresponding to the code address for transferring and show on the touchscreen.Because its is specific
Embodiment is the conventional technical means of those skilled in the art, so secondary do not repeating.
Preferably, the annotation is the one or more in numeral, symbol, figure, explanatory note, because it is ability
The conventional technical means of field technique personnel, so secondary do not repeating.
The present embodiment is set to realize by PLC logic, and a prefix condition is added to all touchscreen buttons:It is exactly
Begin energy signal closure, and the trigger action signal for the energy signal closure touchscreen button that only begins can just be sent.And all alarm signals
Number code deposit appropriate address in, and corresponding address map corresponding to annotate, to facilitate program to recall.Contrast traditional control
Processing procedure sequence, the present embodiment solves the possibility of touch-screen malfunction by both hands combined operation substantially, and has by alarm
Effect finds the time of mistake when reducing field adjustable.
Embodiment 2
As shown in Fig. 2 be a kind of method of controlling security based on touch-screen and PLC of symbol the present embodiment, including it is as follows
Step:
S1:Trigger signal is received, the trigger signal includes one in trigger action signal, alarm signal, the energy signal that begins
Kind is a variety of, enters step S2 if the trigger signal includes trigger action signal, if the trigger signal includes alarm
Signal then enters step S3, when including trigger action signal and alarm signal simultaneously, respectively enters step S2 and step S3, excellent
Choosing enters S3.The trigger action signal is in addition to startup, jerk, termination, and also equipment upstream and downstream joins, spot sensor
Feedback, air pressure feedback, latch feedback, the faulty signal of alarm signal, electric voltage exception signal, safety door break in letter
Number, apparatus overload, workpiece falls, and scram button does not reset.
S2:Judge whether to receive beginning energy signal simultaneously, if then according to the trigger action signal execute instruction, if not
It is to return to the step S1;
S3:The source of the alarm signal is retrieved, and its source is shown by touch-screen.
Also include before the step S1:
Prefixing addressing is carried out to each alarm signal, each alarm signal corresponds to a code address, and right
Each code address is annotated.Such as No. 1 safe light curtain exception at scene, the signal is programmed in address in software
M12002, and it is annotated:Safe light curtain 1 is abnormal, will be automatically information related M12002 when performing actuation of an alarm etc. program
All retrieve and show.
The step S3 is specifically included:
S31:Alarm signal according to receiving obtains its corresponding code address;
S32:Transfer and annotate corresponding to the code address and show on the touchscreen.Because its embodiment is
The conventional technical means of those skilled in the art, so secondary do not repeating.
Preferably, the annotation is the one or more in numeral, symbol, figure, explanatory note.Because it is ability
The conventional technical means of field technique personnel, so secondary do not repeating.
The present embodiment is set to realize by PLC logic, and a prefix condition is added to all touchscreen buttons:It is exactly
Begin energy signal closure, and the trigger action signal for the energy signal closure touchscreen button that only begins can just be sent.And all alarm signals
Number code deposit appropriate address in, and corresponding address map corresponding to annotate, to facilitate program to recall.Contrast traditional control
Processing procedure sequence, the present embodiment solves the possibility of touch-screen malfunction by both hands combined operation substantially, and has by alarm
Effect finds the time of mistake when reducing field adjustable.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Claims (6)
- A kind of 1. safety control system based on touch-screen and PLC, it is characterised in that including:Input module, for inputting trigger signal for user, and the trigger signal is sent to receiving module, wherein the triggering Signal includes the one or more in trigger action signal, alarm signal, the energy signal that begins;The receiving module, judge module is sent to for receiving the trigger signal, and by the trigger signal;The judge module, for the signal kinds for judging to include in the trigger signal, if having simultaneously trigger action signal and Begin energy signal, then the trigger action signal is sent a signal into execution module;If the trigger signal includes alarm signal The alarm signal is sent to alarm module;The execution module, for the requirement execute instruction according to the trigger action signal;The alarm module, its source is shown for retrieving the source of the alarm signal, and by touch-screen;Addressing and memory module, for carrying out prefixing addressing to each alarm signal, each alarm signal is corresponding One code address, and each code address is annotated.
- 2. the safety control system based on touch-screen and PLC as claimed in claim 1, it is characterised in that the alarm module Specifically include:Address acquisition unit, for obtaining its corresponding code address according to the alarm signal received;Display unit, annotate corresponding to the code address for transferring and show on the touchscreen.
- 3. the safety control system based on touch-screen and PLC as claimed in claim 1 or 2, it is characterised in that:The annotation is One or more in numeral, symbol, figure, explanatory note.
- 4. a kind of method of controlling security based on touch-screen and PLC, it is characterised in that comprise the following steps:S1:Receive trigger signal, the trigger signal include trigger action signal, alarm signal, begin can be in signal one kind or Person is a variety of, enters step S2 if the trigger signal includes trigger action signal, if the trigger signal includes alarm signal Then enter step S3;S2:Judge whether to receive beginning energy signal simultaneously, if then according to the trigger action signal execute instruction, if not then Return to the step S1;S3:The source of the alarm signal is retrieved, and its source is shown by touch-screen;Also include before the step S1:Prefixing addressing is carried out to each alarm signal, each alarm signal corresponds to a code address, and to each Code address is annotated.
- 5. the method for controlling security based on touch-screen and PLC as claimed in claim 4, it is characterised in that the step S3 tools Body includes:S31:Alarm signal according to receiving obtains its corresponding code address;S32:Transfer and annotate corresponding to the code address and show on the touchscreen.
- 6. the method for controlling security based on touch-screen and PLC as described in claim 4 or 5, it is characterised in that:The annotation is One or more in numeral, symbol, figure, explanatory note.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510278832.4A CN104820561B (en) | 2015-05-27 | 2015-05-27 | A kind of safety control system and its control method based on touch-screen and PLC |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510278832.4A CN104820561B (en) | 2015-05-27 | 2015-05-27 | A kind of safety control system and its control method based on touch-screen and PLC |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104820561A CN104820561A (en) | 2015-08-05 |
CN104820561B true CN104820561B (en) | 2018-03-30 |
Family
ID=53730869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510278832.4A Active CN104820561B (en) | 2015-05-27 | 2015-05-27 | A kind of safety control system and its control method based on touch-screen and PLC |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104820561B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110442078A (en) * | 2019-08-06 | 2019-11-12 | 胜业电气股份有限公司 | Industrial control method and industrial control equipment based on programmable controller |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201159854Y (en) * | 2007-11-15 | 2008-12-03 | 刘件发 | Centralized whole-process automatic monitoring system of dyeing machine |
CN101853026A (en) * | 2010-05-21 | 2010-10-06 | 上海建工(集团)总公司 | Mobile diagnostic system device of deep foundation pit steel support axial-force adaptive system |
-
2015
- 2015-05-27 CN CN201510278832.4A patent/CN104820561B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201159854Y (en) * | 2007-11-15 | 2008-12-03 | 刘件发 | Centralized whole-process automatic monitoring system of dyeing machine |
CN101853026A (en) * | 2010-05-21 | 2010-10-06 | 上海建工(集团)总公司 | Mobile diagnostic system device of deep foundation pit steel support axial-force adaptive system |
Non-Patent Citations (4)
Title |
---|
基于PLC和触摸屏技术的压铸模型芯针冷却控制系统;吴克亦 等;《特种铸造及有色合金》;20130420;第33卷(第4期);第337-341页 * |
基于PLC和触摸屏的大功率开窗机控制系统设计;李丙林 等;《电子科技》;20141215;第27卷(第12期);第73-76页 * |
基于触摸屏和PLC的电镀控制系统的设计;黄佳伟 等;《现代电子技术》;20091201(第23期);第152-154页 * |
安全操作/防止误操作;yuyanbin;《http://www.ad.siemens.com.cn/club/bbs/post_elite.aspx?a_id=943726&b_id=59》;20111219;第1-4页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104820561A (en) | 2015-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101192111B (en) | Mouse with screen protection control function | |
CN105630393B (en) | A kind of control method and control device of touch screen operating mode | |
CN105117132B (en) | A kind of method of toch control and device | |
CN104816299A (en) | Multi-robot and multi-punch linkage control system | |
CN102968096A (en) | Safe error proof verifying method for master station type comprehensive intelligent error proof system | |
CN104346087A (en) | Touch screen based implicit control method and touch screen | |
CN104820561B (en) | A kind of safety control system and its control method based on touch-screen and PLC | |
CN106775284A (en) | The method and electronic equipment of information processing | |
CN105630345B (en) | A kind of method and apparatus controlling display direction | |
EP3321752B1 (en) | Controller, control method for controller, and information processing program | |
CN105183191B (en) | A kind of stylus and touch-controlled electronic devices and control method | |
CN104462942B (en) | The detection method and system of mobile terminal trusted users input/output interface | |
CN103870113B (en) | Information processing method and electronic equipment | |
CN105048629B (en) | The hard pressing plate anti-misoperation warning system of relay protection | |
CN105674352B (en) | The control device of electromagnetic oven, the control method of electromagnetic oven and electromagnetic oven | |
CN108989058A (en) | A kind of server operation method and device | |
CN102915144A (en) | Method of Operating an Operator Control and Monitoring Device for Safety-Critical Applications | |
CN111159655B (en) | Man-machine interaction multi-stage password setting method | |
CN104979906B (en) | The anti-error alarm device of the hard pressing plate of relay protection | |
CN104536597B (en) | A kind of laptop realizes the method and device of multi-point touch | |
CN205210636U (en) | Distribution substation switching operation monitored control system | |
CN103809869B (en) | Information processing method and electronic devices | |
CN103853609B (en) | A kind for the treatment of method and apparatus of signal | |
CN203799367U (en) | Virtual terminal control system | |
CN207915081U (en) | A kind of anti-error-touch device and its system for lathe |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |