CN102236333A - Programmable logic controller program uploading device and method - Google Patents

Programmable logic controller program uploading device and method Download PDF

Info

Publication number
CN102236333A
CN102236333A CN2010101677711A CN201010167771A CN102236333A CN 102236333 A CN102236333 A CN 102236333A CN 2010101677711 A CN2010101677711 A CN 2010101677711A CN 201010167771 A CN201010167771 A CN 201010167771A CN 102236333 A CN102236333 A CN 102236333A
Authority
CN
China
Prior art keywords
plc
uploading
program
module
threshold value
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
Application number
CN2010101677711A
Other languages
Chinese (zh)
Other versions
CN102236333B (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.)
CO-TRUST TECHNOLOGIES Co Ltd
Original Assignee
CO-TRUST TECHNOLOGIES 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 CO-TRUST TECHNOLOGIES Co Ltd filed Critical CO-TRUST TECHNOLOGIES Co Ltd
Priority to CN201010167771.1A priority Critical patent/CN102236333B/en
Publication of CN102236333A publication Critical patent/CN102236333A/en
Application granted granted Critical
Publication of CN102236333B publication Critical patent/CN102236333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

The embodiment of the invention discloses a programmable logic controller program uploading device, which comprises a control processing module. The control processing module is used for controlling the uploading of a programmable logic controller (PLC) program to a PLC, and comprises an uploading frequency judgment module and an uploading prohibition module, wherein the uploading frequency judgment module judges whether to prohibit the uploading of the PLC program to the PLC or not according to the frequency of the uploading of the PLC program to the PLC and a preset uploading frequency threshold value; and the uploading prohibition module is used for prohibiting the uploading of the PLC program to the PLC when a judgment result obtained by the uploading frequency judgment module indicates the prohibition of the uploading of the PLC program to the PLC. Correspondingly, the embodiment of the invention also discloses a programmable logic controller program uploading control method. The embodiment of the invention can automatically destroy PLC user programs to avoid users infinitely uploading copied PLC user programs so as to solve the problem that the users can infinitely upload the PLC user programs to the PLC by programming tools to cause the loss of program developers and better protect the PLC user programs and data.

Description

A kind of programmable logic controller (PLC) program uploading device and method
Technical field
The present invention relates to the communications field, relate in particular to a kind of programmable logic controller (PLC) program uploading device and method.
Background technology
Programmable logic controller (PLC) (PLC, Programmable Logic Controller) is a kind of specially for use the electronic installation of the digital operation operation that designs under industrial environment, and PLC has been widely used in the industrial automation field.The software systems of PLC mainly comprise system program and user program, and wherein, system program is used for the PLC system is carried out control and management, are provided by PLC manufacturer, can be by manufacturer's establishment or software marker's establishment.User program is the specific requirement according to production run control, the application program that the programming language that uses manufacturer to provide by the user is worked out voluntarily.
In the prior art, the user needs the service routine upload tool that user program is uploaded to PLC, and so that PLC is programmed, these user programs and data are outputs that the program development personnel pay a lot of intellectual works, should well be protected.Yet; these user programs and data are unrestricted by the number of times that programming tool uploads to PLC at present; the user infinitely number of times will be wherein these user programs and data upload in PLC; the safety of user program and data can not get ensureing; cause damage to program developer, how protecting PLC user program and data better is problems that industry is studied always.
Summary of the invention
The user can unrestrictedly upload the PLC user program to the embodiment of the invention in the prior art in order to solve, the method that provides a kind of programmable logic controller (PLC) program uploading device and control programmable logic controller (PLC) program to upload.
A kind of programmable logic controller (PLC) program uploading device that the embodiment of the invention proposes comprises being used for controlling the control treatment module that PLC program (the present invention mainly refers to the PLC user program) uploads to PLC that described control treatment module comprises:
Upload the number of times judge module, upload to the number of times of PLC and the default frequency threshold value of uploading according to the PLC user program, judge whether to forbid that described PLC user program uploads to PLC;
Forbid upload module, be used for when the described judged result of uploading the number of times judge module when being, forbid described PLC user program is uploaded to PLC.
Preferably, described control treatment module also comprises:
The program removing module, be used for when the described judged result of uploading the number of times judge module when being, the described PLC user program of deletion PLC program uploading device storage.
Preferably, described programmable logic controller (PLC) program uploading device also comprises:
Power port is used for being connected with external unit, obtains power supply from described external unit, for the operation of PLC program uploading device.
Preferably, described control treatment module also comprises:
Threshold value is provided with module, is used to be provided with the frequency threshold value of uploading that the PLC user program uploads to PLC;
Upload the number of times logging modle, be used to write down the number of times that described PLC user program uploads to PLC;
The described number of times judge module of uploading judges whether the described number of times of uploading number of times logging modle record reaches the frequency threshold value of uploading that described frequency threshold value is provided with the module setting, when judged result when being, then judge and forbid that described PLC user program uploads to PLC; When judged result for not the time, then judge and do not forbid that described PLC user program uploads to PLC.
Preferably, described control treatment module also comprises:
Upload number of times module is set, be used to be provided with the frequency threshold value of uploading that the PLC user program uploads to PLC;
Number of times is tired to subtract module, and the number of times that is used for uploading to PLC according to described PLC user program is uploaded the frequency threshold value of uploading that number of times is provided with the module setting and tired out and subtract described;
The described number of times judge module of uploading judges whether the frequency threshold value of uploading behind tired the subtracting is zero, when judged result when being, then judge and forbid that described PLC user program uploads to PLC; When judged result for not the time, then judge and do not forbid that described PLC user program uploads to PLC.
Correspondingly, the embodiment of the invention discloses a kind of method that the programmable logic controller (PLC) program is uploaded of controlling, comprising:
Upload to the number of times of PLC and the default frequency threshold value of uploading according to programmable logic controller (PLC) PLC user program, judge whether to forbid that described PLC user program uploads to PLC;
When judged result when being, forbid that described PLC user program uploads to PLC.
Preferably, judge forbid that described PLC user program uploads to PLC after, also comprise:
PLC program uploading device is deleted the described PLC user program of storage automatically.
Preferably, the described number of times of PLC and the default frequency threshold value of uploading of uploading to according to the PLC user program judges whether to forbid that the step that described PLC user program uploads to PLC comprises:
Write down the number of times that described PLC user program uploads to PLC;
Whether the number of times of judging described record reaches the default frequency threshold value of uploading.
Preferably, the described number of times of PLC and the default frequency threshold value of uploading of uploading to according to the PLC user program judges whether to forbid that the step that described PLC user program uploads to PLC comprises:
Upload number of times that frequency threshold value uploads to PLC according to described PLC user program and tire out and subtract default;
Judge whether the frequency threshold value of uploading behind tired the subtracting is zero.
Implement the embodiment of the invention; upload to the number of times of PLC and the default frequency threshold value of uploading according to the PLC user program; judge whether to forbid that described PLC user program uploads to PLC; and can delete automatically and destroy this PLC user program; avoid the user unrestrictedly to upload and duplicated the PLC user program; solved that the user can restrictedly not upload to the PLC user program among the PLC by programming tool in the prior art; give the damnous problem of program developer, protected PLC user program and data better.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of the PLC program uploading device of the embodiment of the invention;
Fig. 2 is the structural representation of another embodiment of PLC program uploading device of the present invention;
Fig. 3 is the structural representation of the control treatment module of the embodiment of the invention;
Fig. 4 is the structural representation of another embodiment of control treatment module of the present invention;
Fig. 5 is the method flow diagram that the control programmable logic controller (PLC) program of the embodiment of the invention is uploaded;
Fig. 6 is the process flow diagram that the present invention controls another embodiment of the method that the programmable logic controller (PLC) program uploads;
Fig. 7 is the process flow diagram that the present invention controls another embodiment of the method that the programmable logic controller (PLC) program uploads;
Fig. 8 is the process flow diagram that the present invention controls another embodiment of the method that the programmable logic controller (PLC) program uploads.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.
The structural representation of the PLC program uploading device of the embodiment of the invention as shown in Figure 1, PLC program uploading device 1 comprises and is used for the control treatment module 11 that the PLC user program uploads to PLC, control treatment module 11 comprises to be uploaded number of times judge module 111 and forbids upload module 112, wherein
Upload number of times judge module 111 and upload to the number of times of PLC and the default frequency threshold value of uploading according to the PLC user program, judge whether to forbid that described PLC program uploads to PLC;
Forbid upload module 112 be used for when the judged result of uploading number of times judge module 111 when being, forbid described PLC user program is uploaded to PLC.
Need to prove that PLC program uploading device 1 also comprises memory module 12 and communication module 13, memory module 12 is used to store the PLC user program that need upload to PLC; Communication module 13 is used for establishing a communications link with PLC, and to upload the PLC user program to PLC, the interface of communication module 13 can be RS232 and RS485 etc.Particularly, control treatment module 11 is connected with communication module 13 with memory module 12 respectively, judge when forbidding that described PLC user program uploads to PLC when uploading number of times judge module 111, forbid that upload module 112 forbids the described PLC user program of memory module 12 storages is uploaded to PLC by communication module 13.
Further, the structural representation of another embodiment of PLC program uploading device of the present invention as shown in Figure 2, control treatment module 11 is uploaded number of times judge module 111 and is forbidden the upload module 112 except comprising, can also comprise program removing module 113, be used for when the judged result of uploading number of times judge module 111 when being, the described PLC user program of memory module 12 storages of deletion PLC program uploading device 1.
Again further, control treatment module 11 can judge whether to forbid that described PLC user program uploads to PLC by multiple counting mode, describe (embodiment of the invention includes but not limited to this two kinds of counting modes) for example below by Fig. 3 and Fig. 4, and describe the structure of control treatment module 11 of the present invention in detail:
The structural representation of the control treatment module of the embodiment of the invention as shown in Figure 3, control treatment module 11 is uploaded number of times judge module 111 except comprising, is forbidden upload module 112 and the program removing module 113, comprise that also threshold value is provided with module 114 and uploads number of times logging modle 115, wherein
Threshold value is provided with module 114 and is used to be provided with the frequency threshold value of uploading that the PLC user program uploads to PLC;
Upload number of times logging modle 115 and be used to write down the number of times that described PLC user program uploads to PLC.
Particularly, upload number of times judge module 111 and judge whether the number of times of uploading number of times logging modle 115 records reaches the frequency threshold value of uploading that frequency threshold value is provided with module 114 settings, when judged result when being, then judge and forbid that described PLC user program uploads to PLC; When judged result for not the time, then judge and do not forbid that described PLC user program uploads to PLC.Promptly, the user can be provided with module 114 settings according to the needs passing threshold of self and upload frequency threshold value, as 5 times (be the user only allow with as described in the PLC user program upload 5 times), by uploading the number of times that the described PLC user program of number of times logging modle 115 records uploads to PLC, for example PLC program uploading device 1 is every the PLC user program is uploaded to PLC after, upload number of times logging modle 115 counting is added 1, so after uploading number of times judge module 111 and judging the number of times of uploading number of times logging modle 115 record and reach 5, promptly judging described PLC user program has uploaded 5 times to PLC, trigger so and forbid that upload module 112 forbids that described PLC user program uploads to PLC, the described PLC user program of memory module 12 storages that further can trigger removing module 113 deletion PLC program uploading devices 1.
The structural representation of another embodiment of control treatment module of the present invention as shown in Figure 4, control treatment module 11 is uploaded number of times judge module 111 except comprising, is forbidden upload module 112 and the program removing module 113, comprise that also uploading number of times is provided with that module 116 and number of times are tired to subtract module 117, wherein
Uploading number of times is provided with module 116 and is used to be provided with the frequency threshold value of uploading that the PLC user program uploads to PLC;
Number of times is tired to be subtracted number of times that module 117 is used for uploading to PLC according to described PLC user program the frequency threshold value of uploading of uploading that number of times is provided with that module 116 is provided with is tired out and subtracted.
Particularly, upload number of times judge module 111 and judge whether the frequency threshold value of uploading behind tired the subtracting is zero, when judged result when being, then judge and forbid that described PLC user program uploads to PLC; When judged result for not the time, then judge and do not forbid that described PLC user program uploads to PLC.Promptly, the user can be provided with module 116 setting and upload frequency threshold value by uploading number of times according to the needs of self, as 5 times (be the user only allow with as described in the PLC user program upload 5 times), number of times is tired so subtracts number of times that module 117 will upload to PLC according to described PLC user program the frequency threshold value of uploading of uploading that number of times is provided with that module 116 is provided with is tired out and subtracted, for example PLC program uploading device 1 is every the PLC user program is uploaded to PLC after, number of times is tired to be subtracted module 117 and this is uploaded frequency threshold value subtracts 1, so after the user uploads 5 times, number of times is tired to be subtracted module 117 and will upload frequency threshold value to this and be kept to zero, and upload number of times judge module 111 and judge that the frequency threshold value of uploading behind tired the subtracting is zero, trigger so and forbid that upload module 112 forbids that described PLC user program uploads to PLC, the described user PLC program of memory module 12 storages that further can trigger removing module 113 deletion PLC program uploading devices 1.
Further, the PLC program uploading device 1 of the embodiment of the invention can also comprise power port, is used for being connected with external unit, obtains power supply from described external unit, for 1 operation of PLC program uploading device.Particularly, this power port also can be RS232 and RS485 etc., this external unit can be external units such as PLC, personal computer, PLC program uploading device 1 can obtain power supply by this power port from external unit, PLC program uploading device 1 does not need internal battery or tyre power supply, thereby volume obtained dwindling, and makes to carry and use conveniently, satisfied the requirement that the user can carry PLC program uploading device.
Again further, the PLC program uploading device 1 of the embodiment of the invention can also comprise that communication encryption and decryption module is or/and the data encrypting and deciphering module.Particularly, in the communication process of PLC program uploading device 1 and PLC, communication encryption and decryption module is carried out encryption and decryption to this communication process and is handled to prevent that data from being eavesdropped in transmission course; The data encrypting and deciphering module can and be uploaded time numerical value and carry out encryption and decryption and handle the PLC user program, prevents that the user is by mode such as disassembling and steal user program and upload data such as time numerical value.Above-mentioned communication enciphering and deciphering algorithm or data encrypting and deciphering algorithm can adopt data encryption algorithm (DES, Data EncryptionStandard) or RC4 scheduling algorithm.
Need to prove that above-mentioned communication encryption and decryption module is or/and the data encrypting and deciphering module can be in control treatment module 11; The memory module 12 of PLC program uploading device 1 can also be stored PLC system program etc. except storing described PLC user program, and memory module 12 is generally EEPROM or ferroelectric memory etc.
Also need to prove, the user can be provided with program removing module 113, trust degree according to the user is provided with, such as, the user high to degree of belief, setting program removing module 113 is not deleted, when number of times that the user uploads this PLC user program reached default upload frequency threshold value after, can return PLC user program provider and reset, PLC user program provider authorized user again uses and gets final product.
Describe the structure of the PLC program uploading device 1 of the embodiment of the invention above in detail, below correspondingly, the method that the control programmable logic controller (PLC) program of the accompanying drawings embodiment of the invention is uploaded.
The method flow diagram that the control programmable logic controller (PLC) program of the embodiment of the invention as shown in Figure 5 is uploaded comprises:
Step S501: upload to the number of times of PLC and the default frequency threshold value of uploading according to the PLC user program, judge whether to forbid that described PLC user program uploads to PLC;
Particularly, PLC program uploading device uploads to the number of times of PLC and the default frequency threshold value of uploading by control treatment module according to the PLC user program, judge whether to forbid that described PLC user program uploads to PLC, when judged result when being, execution in step S502 then, when judged result for not the time, then continue execution in step S501.
Step S502: forbid that described PLC user program uploads to PLC.
Particularly, PLC program uploading device also comprises memory module and communication module, and this memory module is used to store the PLC user program that need upload to PLC; Communication module is used for establishing a communications link with PLC, and to upload the PLC user program to PLC, the interface of this communication module can be RS232 and RS485 etc.Particularly, control treatment module is connected with communication module with memory module respectively, judge when forbidding that described PLC user program uploads to PLC when control treatment module, then forbid the described PLC user program of memory module storage is uploaded to PLC by communication module.
Further, the present invention as shown in Figure 6 controls the process flow diagram of another embodiment of the method that the programmable logic controller (PLC) program uploads, comprising:
Step S601: upload to the number of times of PLC and the default frequency threshold value of uploading according to the PLC user program, judge whether to forbid that described PLC user program uploads to PLC;
Particularly, when judged result when being, execution in step S602 then, when judged result for not the time, then continue execution in step S601.
Step S602: the described PLC user program of deleting storage automatically.Particularly, when PLC program uploading device judge forbid that described PLC user program uploads to PLC after, carry out when forbidding that described PLC user program uploaded to the operation of PLC, automatically the described PLC user program of deletion storage.
Further, control treatment module can judge whether to forbid that described PLC user program uploads to PLC by multiple counting mode, describes for example below by Fig. 7 and Fig. 8, and the embodiment of the invention includes but not limited to this two kinds of counting modes:
The present invention as shown in Figure 7 controls the process flow diagram of another embodiment of the method that the programmable logic controller (PLC) program uploads, comprising:
Step S701: write down the number of times that described PLC user program uploads to PLC;
Step S702: whether the number of times of judging described record reaches the default frequency threshold value of uploading;
Particularly, when judged result when being, execution in step S703 then; When judged result for not the time, then carry out and continue step S702; At length, the control treatment module of PLC program uploading device sets in advance the frequency threshold value of uploading that the PLC user program uploads to PLC, as 5 times (be the user only allow with as described in the PLC program upload 5 times), write down the number of times that described PLC user program uploads to PLC by control treatment module, for example PLC program uploading device is every the PLC user program is uploaded to PLC after, control treatment module is counted and is added 1, so when number of times that control treatment module is judged record reach upload frequency threshold value 5 after, promptly judging described PLC user program has uploaded 5 times to PLC, execution in step S703 so, PLC program uploading device can be deleted the described PLC user program of memory module storage simultaneously further.
Step S703: forbid that described PLC user program uploads to PLC.
The present invention as shown in Figure 8 controls the process flow diagram of another embodiment of the method that the programmable logic controller (PLC) program uploads, comprising:
Step S801: uploading of will the presetting number of times that frequency threshold value uploads to PLC according to described PLC user program tires out and subtracts;
Particularly, the user can upload frequency threshold value by the control treatment module setting according to the needs of self, as 5 times (be the user only allow with as described in the PLC user program upload 5 times), the control treatment module number of times that will upload to PLC according to described PLC user program is uploaded frequency threshold value to this that is provided with and is tired out and subtract so, for example PLC program uploading device is every the PLC user program is uploaded to PLC after, this is uploaded frequency threshold value subtract 1, after the user uploaded 5 times, this was uploaded frequency threshold value and is reduced to zero so.
Step S802: judge whether the frequency threshold value of uploading behind tired the subtracting is zero;
Particularly, when judged result when being, show that the number of times of uploading the PLC user program has reached to upload frequency threshold value, then execution in step S803; When judged result for not the time, show that the number of times of uploading the PLC user program has not also reached to upload frequency threshold value, then carry out and continue step S802; Further, when judged result when being, PLC program uploading device can be deleted the described PLC user program of memory module storage simultaneously.
Step S803: forbid that described PLC user program uploads to PLC.
Further, in the communication process of PLC program uploading device and PLC, PLC program uploading device can also carry out encryption and decryption to this communication process to be handled to prevent that data from being eavesdropped in transmission course; Or/and to the PLC user program with upload time numerical value and carry out encryption and decryption and handle, prevent that the user is by mode such as disassembling and steal user program and upload data such as time numerical value.Above-mentioned communication enciphering and deciphering algorithm or data encrypting and deciphering algorithm can adopt data encryption algorithm (DES, Data Encryption Standard) or RC4 scheduling algorithm.
Need to prove, the user can be provided with the step of deleting the PLC user program according to user's trust degree, such as, the user high to degree of belief, can not be provided with the PLC user program is deleted, when number of times that the user uploads this PLC user program reached default upload frequency threshold value after, can return PLC user program provider and reset, PLC user program provider authorized user again uses and gets final product.
In sum, pass through the foregoing description, upload to the number of times of PLC and the default frequency threshold value of uploading according to the PLC user program, judge whether to forbid that described PLC user program uploads to PLC, and can this PLC user program of auto-destruct, avoid the user unrestrictedly to upload and duplicated the PLC user program, having solved the user can restrictedly not upload to the PLC user program among the PLC by programming tool, give the damnous problem of program developer, protected PLC user program and data better; PLC program uploading device can obtain power supply from external unit by power port, PLC program uploading device does not need internal battery or tyre power supply, thereby volume obtained dwindling, and makes to carry and use conveniently, satisfied the requirement that the user can carry PLC program uploading device.
Need to prove that through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement by hardware.Based on such understanding, all or part of can the embodying that technical scheme of the present invention contributes to background technology with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Above disclosed only is preferred embodiment in the embodiment of the invention, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (9)

1. a programmable logic controller (PLC) program uploading device is characterized in that, comprises being used to control the control treatment module that programmable logic controller (PLC) PLC program uploads to PLC, and described control treatment module comprises:
Upload the number of times judge module, upload to the number of times of PLC and the default frequency threshold value of uploading according to the PLC program, judge whether to forbid that described PLC program uploads to PLC;
Forbid upload module, be used for when the described judged result of uploading the number of times judge module when being, forbid described PLC program is uploaded to PLC.
2. programmable logic controller (PLC) program uploading device as claimed in claim 1 is characterized in that described control treatment module also comprises:
The program removing module, be used for when the described judged result of uploading the number of times judge module when being, the described PLC program of deletion PLC program uploading device storage.
3. programmable logic controller (PLC) program uploading device as claimed in claim 1 is characterized in that, also comprises:
Power port is used for being connected with external unit, obtains power supply from described external unit, for the operation of PLC program uploading device.
4. as each described programmable logic controller (PLC) program uploading device of claim 1-3, it is characterized in that described control treatment module also comprises:
Threshold value is provided with module, is used to be provided with the frequency threshold value of uploading that the PLC program uploads to PLC;
Upload the number of times logging modle, be used to write down the number of times that described PLC program uploads to PLC;
The described number of times judge module of uploading judges whether the described number of times of uploading number of times logging modle record reaches the frequency threshold value of uploading that described frequency threshold value is provided with the module setting, when judged result when being, then judge and forbid that described PLC program uploads to PLC; When judged result for not the time, then judge and do not forbid that described PLC program uploads to PLC.
5. as each described programmable logic controller (PLC) program uploading device of claim 1-3, it is characterized in that described control treatment module also comprises:
Upload number of times module is set, be used to be provided with the frequency threshold value of uploading that the PLC program uploads to PLC;
Number of times is tired to subtract module, and the number of times that is used for uploading to PLC according to described PLC program is uploaded the frequency threshold value of uploading that number of times is provided with the module setting and tired out and subtract described;
The described number of times judge module of uploading judges whether the frequency threshold value of uploading behind tired the subtracting is zero, when judged result when being, then judge and forbid that described PLC program uploads to PLC; When judged result for not the time, then judge and do not forbid that described PLC program uploads to PLC.
6. control the method that the programmable logic controller (PLC) program is uploaded for one kind, it is characterized in that, comprising:
Upload to the number of times of PLC and the default frequency threshold value of uploading according to programmable logic controller (PLC) PLC program, judge whether to forbid that described PLC program uploads to PLC;
When judged result when being, forbid that described PLC program uploads to PLC.
7. method as claimed in claim 6 is characterized in that, judge forbid that described PLC program uploads to PLC after, also comprise:
PLC program uploading device is deleted the described PLC program of storage automatically.
8. as claim 6 or 7 described methods, it is characterized in that the described number of times of PLC and the default frequency threshold value of uploading of uploading to according to the PLC program judges whether to forbid that the step that described PLC program uploads to PLC comprises:
Write down the number of times that described PLC program uploads to PLC;
Whether the number of times of judging described record reaches the default frequency threshold value of uploading.
9. as claim 6 or 7 described methods, it is characterized in that the described number of times of PLC and the default frequency threshold value of uploading of uploading to according to the PLC program judges whether to forbid that the step that described PLC program uploads to PLC comprises:
Upload number of times that frequency threshold value uploads to PLC according to described PLC program and tire out and subtract default;
Judge whether the frequency threshold value of uploading behind tired the subtracting is zero.
CN201010167771.1A 2010-04-30 2010-04-30 Programmable logic controller program uploading device and method Active CN102236333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010167771.1A CN102236333B (en) 2010-04-30 2010-04-30 Programmable logic controller program uploading device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010167771.1A CN102236333B (en) 2010-04-30 2010-04-30 Programmable logic controller program uploading device and method

Publications (2)

Publication Number Publication Date
CN102236333A true CN102236333A (en) 2011-11-09
CN102236333B CN102236333B (en) 2015-04-15

Family

ID=44887073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010167771.1A Active CN102236333B (en) 2010-04-30 2010-04-30 Programmable logic controller program uploading device and method

Country Status (1)

Country Link
CN (1) CN102236333B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438654A (en) * 2021-06-23 2021-09-24 杭州电子科技大学 PLC program anti-theft device and anti-theft method
CN114305694A (en) * 2021-11-29 2022-04-12 上海微创医疗机器人(集团)股份有限公司 Surgical instrument protection device, surgical instrument, mounting part and surgical instrument assembly

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1263323A (en) * 1999-02-10 2000-08-16 Lg电子株式会社 Digital data file anti-copying method and recording medium for recording anti-copying program
CN101063993A (en) * 2006-04-28 2007-10-31 佛山市顺德区顺达电脑厂有限公司 Protective system of program of complicated programmable logic module and method thereof
CN201060402Y (en) * 2007-02-15 2008-05-14 深圳世强电讯有限公司 Hand-hold singlechip programmer
JP2008282362A (en) * 2007-05-14 2008-11-20 Keyence Corp Program editing support device, computer program, program editing support method, and plc system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1263323A (en) * 1999-02-10 2000-08-16 Lg电子株式会社 Digital data file anti-copying method and recording medium for recording anti-copying program
CN101063993A (en) * 2006-04-28 2007-10-31 佛山市顺德区顺达电脑厂有限公司 Protective system of program of complicated programmable logic module and method thereof
CN201060402Y (en) * 2007-02-15 2008-05-14 深圳世强电讯有限公司 Hand-hold singlechip programmer
JP2008282362A (en) * 2007-05-14 2008-11-20 Keyence Corp Program editing support device, computer program, program editing support method, and plc system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438654A (en) * 2021-06-23 2021-09-24 杭州电子科技大学 PLC program anti-theft device and anti-theft method
CN114305694A (en) * 2021-11-29 2022-04-12 上海微创医疗机器人(集团)股份有限公司 Surgical instrument protection device, surgical instrument, mounting part and surgical instrument assembly
CN114305694B (en) * 2021-11-29 2023-07-14 上海微创医疗机器人(集团)股份有限公司 Surgical instrument protection device, surgical instrument, mounting portion, and surgical instrument assembly

Also Published As

Publication number Publication date
CN102236333B (en) 2015-04-15

Similar Documents

Publication Publication Date Title
CN101379756B (en) Method of transferring digital rights
KR101303278B1 (en) FPGA apparatus and method for protecting bitstream
CN107729723A (en) A kind of integrated circuit burning program method and programming system
CN112769808B (en) Mobile fort machine for industrial local area network, operation and maintenance method thereof and computer equipment
CN105528553A (en) A method and a device for secure sharing of data and a terminal
CN102236765B (en) Method and device for protecting programmable logic controller (PLC) safely
CN108388806B (en) Thing networking safety is consolidated and data rights and interests protection device based on block chain
CN100447772C (en) Programmable logic controller peripheral device
CN104580083A (en) System and method for providing safety protection for financial system
CN102236333B (en) Programmable logic controller program uploading device and method
CN102708335A (en) Confidential file protection method
CN109391469B (en) Method and device for implementing safety function in control field
CN104182691B (en) data encryption method and device
CN1929373B (en) Industrial safety control system and control method thereof
CN103313097A (en) Method and system for encrypting and decrypting encoded file
CN105653970A (en) Secret key processing method and apparatus
CN102982288A (en) An apparatus and a method for performing encryption or decryption of data in a portable terminal
CN104978302A (en) TCM chip based intelligent security USB interface control method
CN103761455B (en) File management system and method
US20210200906A1 (en) Sensor data assembly and manufacturing device
CN101478538A (en) Storage method, apparatus or system for safety management device
CN117892293A (en) Security monitoring system based on Internet
CN103824178A (en) Meeting reviewing system and method thereof
CN117077201B (en) High-security data sharing anti-leakage method and system based on multi-domain combination
CN112507269B (en) Website background risk assessment system

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