CN107894742A - A kind of safety PLC implementation method of rapid configuration hardware resource - Google Patents

A kind of safety PLC implementation method of rapid configuration hardware resource Download PDF

Info

Publication number
CN107894742A
CN107894742A CN201711098558.8A CN201711098558A CN107894742A CN 107894742 A CN107894742 A CN 107894742A CN 201711098558 A CN201711098558 A CN 201711098558A CN 107894742 A CN107894742 A CN 107894742A
Authority
CN
China
Prior art keywords
plc
port
operating systems
hardware resource
cpu
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
CN201711098558.8A
Other languages
Chinese (zh)
Other versions
CN107894742B (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.)
Shandong Shanke Zhikong Digital Technology Co.,Ltd.
Original Assignee
Shandong Computer Science Center
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 Shandong Computer Science Center filed Critical Shandong Computer Science Center
Priority to CN201711098558.8A priority Critical patent/CN107894742B/en
Publication of CN107894742A publication Critical patent/CN107894742A/en
Application granted granted Critical
Publication of CN107894742B publication Critical patent/CN107894742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Abstract

A kind of safety PLC implementation method of rapid configuration hardware resource includes:Different type CPU PLC operating systems are formed using the PLC operating system kernels software that can recombinate transplanting;At least two sets of different type CPU simultaneously each self-operating different PLC operating systems when, including comprise the following steps that:Multisystem runs simultaneously cross detection;The multisystem includes main PLC operating systems and from PLC operating system;I/O voting outputs, and give final result to executing agency;Requirement according to security system certification forms safety PLC product.The angle that the present invention realizes from the market demand and commercialization, using multi-channel system safety PLC constructing technology, based on the configurable double PLC systems of PLC platform constructions, fusion multisystem self-diagnosis technology forms multi-channel system safety PLC.For the present invention according to different application demands, fast custom supports the safety PLC system of different I/O points and communication mode.

Description

A kind of safety PLC implementation method of rapid configuration hardware resource
Technical field
The present invention relates to a kind of safety PLC implementation method of rapid configuration hardware resource, belong to the fast custom of safety PLC With the technical field of research and development.
Background technology
Safety PLC belongs to security system category, and its core content is:Two sets of different series are comprised at least in one system The different PLC operating systems of each self-operating, multisystem run simultaneously cross detection, meet security control the CPU of type simultaneously It is required that.But the fast custom of existing safety PLC faces following technical problem with research and development:
1) it is different, it is necessary to solve ensureing the reliable of program for different series and the CPU of producer, compiling development environment Property and stability under the premise of PLC compiling parsing operating system quick development problem.The present invention is grasped by that can recombinate the PLC of transplanting Monitoring is realized as method:Compiling parsing content corresponding to stored single PLC operating systems is consistent under different CPU Property.
2) the PLC product seriations of different application demand are adapted to, it is necessary to which different I/O points, the differentiation of communication pattern are determined System exploitation, it is necessary to develop the software of otherness to realize under traditional approach, the difficulty of exploitation is considerably increased, exploitation week be present The problems such as phase length, software stability and uniformity difference.
Safety PLC described in method of the present invention by hardware resource configure based on realize, i.e. safety PLC In different PLC systems be respectively by can configure PLC means build.
The content of the invention
In view of the shortcomings of the prior art, the present invention provides a kind of safety PLC implementation method of rapid configuration hardware resource.
Technical scheme is as follows:
A kind of safety PLC implementation method of rapid configuration hardware resource, including:System is operated using the PLC that can recombinate transplanting Kernel software of uniting forms different type CPU PLC operating systems;
PLC kernel softwares are run in the PLC operating systems, the software includes upper computer software and bottom layer driving journey Sequence;
The upper computer software mainly includes configuration software;
The bottom layer driving software is mainly PLC TMPs;
The composing software loaded in the PLC operating systems uses modular design method, support ladder diagram, statement list and Editor, compiling and the download of SFC.Configuration software configures including hardware resource, realizes PLC Quick Casting.PLC is whole Monitoring programme is held to support PLC parsings, configuration parameter parsing, process control, motion control, standard Modbus communications etc..Pass through weight Group transplanting, different type CPU PLC operating systems can be formed.
It using modularization, can configure, reconstitutable design philosophy, realize the Rapid transplant exploitation of PLC operating system softwares, Transplanted by recombinating, different type CPU PLC operating systems can be formed.
The present invention may also be combined with PLC operating system kernel softwares, builds configurable PLC fast custom hardware platforms, realizes Different I/O points, more PLC constructed in hardware of communication pattern are supported, it is quick to form seriation PLC products;
At least two sets of different type CPU simultaneously each self-operating different PLC operating systems when, including comprise the following steps that:
1) multisystem synchronous operation cross detection;The multisystem includes main PLC operating systems and from PLC operating system;
2) I/O votings output, and give final result to executing agency;
3) requirement according to security system certification forms safety PLC product.The requirement of the security system certification refers to state The IEC61508 standards that the border electrician committee formally issued in 2000, it is entitled《Electrical/electronic/programmable electronic is safety-related The functional safety of system》.
In the step 1), the multisystem synchronous operation cross detection includes:
1.1) main PLC operating systems and from PLC operating systems run simultaneously;
1.2) all main PLC operating systems of step 1.1) and same form storage running knot is pressed from PLC operating systems Fruit;
1.3) the main PLC operating systems read the result from PLC operating systems by serial ports.
The present invention realizes any I/O points customization, the selection of communication pattern in CPU hardware scope of resource by configuring, soon Speed forms I/O points and communication pattern, and safety guarantee is provided using research and development for PLC.
According to currently preferred, in the step 2), the I/O votings output includes:
If 2.1) it is switching value that I/O, which decides by vote output, main PLC operating systems and the voting from PLC operating systems export knot When fruit is all 1 or 0, then, judgement operation result is correct;Otherwise, operation result mistake is adjudicated;
2.2) it is high-speed pulse counting amount that if I/O, which decides by vote output, main PLC operating systems and the table from PLC operating systems When certainly output result difference is no more than 1, then, judgement operation result is correct;Otherwise, operation result mistake is adjudicated;
If 2.3) it is analog quantity that I/O, which decides by vote output, main PLC operating systems and the voting from PLC operating systems export knot Fruit is differed at thousand points of positions, then, judgement operation result is correct;Otherwise, operation result mistake is adjudicated;
The correctly judgement operation result is handed down to the corresponding PLC operating systems for sending correct voting output result; The PLC operating systems for sending mistake voting output result are overhauled, more PLC operating systems judgements are assigned after the completion of maintenance and are held Row task.
According to currently preferred, such as it is above-mentioned 2.1), 2.2), 2.3), if the certainly operation result mistake, triggering report It is alert, while corresponding error message is uploaded into host computer:It is correct artificially to adjudicate which voting output result.
According to currently preferred, the PLC operating system kernels software that utilization can recombinate transplanting forms different type CPU's The method of PLC operating systems includes:
(1) hardware resource configuration parameter table is generated;
Required according to the customization of PLC products, PLC hardware requires according to control and PLC function determines I/O points and class Type, in the range of the permission of CPU hardware I/O resources, realize that different model PLC is built;
The determination method of the hardware resource configuration parameter includes:
(1.1) PLC I/O points selections, first have to consider that control requires, take into account standby surplus;Usual I/O points are roots It is actually needed according to the input of controll plant, output signal, is determined along with 10%--30% reserve level;
(1.2) according to I/O resource requirements, exploitation PCB PLC-PCB;
(1.3) application hardware configurable software generation hardware resource configuration parameter table PLC-CS, realizes PLC hardware resources Autonomous configuration;The hardware configurable software is the software that those skilled in the art commonly use, and it is exactly to realize that hardware provides that it, which is acted on, Source configuration parameter table PLC-CS;
In order to preferably explain hardware configurable software, its operation interface such as Fig. 1, in Fig. 1, I/O port type row L1 It is optional PLC common type lists;The access of I/O ports ranks L3 and automatically generated after selection L1, and it is that PLC is used that I/O ports, which access, Family programming needs the PLC variables used;Reselection I/O ports sequence number row L2, this row are enumerated all optional under L1 types CPU corresponding pins;Then increase generates " hardware resource configuration parameter table PLC-CS " line by line;
(2) the hardware resource configuration parameter table PLC-CS is downloaded in PLC-PCB parameter configurations memory block FLASH, PLC monitoring programmes are downloaded in PLC-PCB program storage areas FLASH, complete PLC structure;
The PLC monitoring programmes are technologies well-known to those skilled in the art, are the bottom layer driving journeys at hardware platform end Sequence, including the parsing of hardware parser, statement list, communication interface driving etc., the monitoring programme includes different PLC integration technology, The program is the monitoring programme specially researched and developed for configurable PLC, but is unique for this program for different PLC;
(3) the PLC operation implementation process of structure, when PLC is run:
(3.1) read hardware resource configuration parameter table PLC-CS and complete I/O driving parsings, complete the autonomous of hardware resource and match somebody with somebody Put;
(3.2) PLC monitoring programmes are run;So far, PLC operations possess PLC functions completely, possess ladder diagram, statement list Programming, realizes logic control, arithmetical operation, timing, counting, data processing, PID arithmetic and communication function.
According to currently preferred, in the step (1), PLC configuration parameters are established and realized by QT softwares, according to ginseng Number list data structure forms PLC-CS Parameter Files, is downloaded to by serial ports in PLC hardware circuits, matches somebody with somebody for being called during operation PLC Parameter PLC-CS is put, completes I/O driving configurations;Parameter list data structure is as follows:
PLC-CS parameter list structures:
PLC I/O port types PLC I/O port positions CPU I/O port Pi.j
1. PLC I/O port types:Required according to PLC type number, be configured to On-off signal (DI), output switch parameter (DO), analog input (AI) and analog output (AO);
2. PLC I/O port positions:Required according to PLC type number, configure the way position of selected type;
4. CPU I/O port Pi.j:It is different according to cpu type, point multiple I/O ports P0.0, P0.1, ...Pi.j,....;This field sets the CPU I/O port Pi.j corresponding to PLC I/O port positions.
According to currently preferred, the PLC-CS parameter lists structure also includes PLC I/O port parameters:According to PLC type Number require, to the I/O ports arrange parameter of configuration;It is sky during without type parameter;
According to currently preferred, call configuration option PLC-CS during operation PLC in the step (3), completion I/O drivings The implementation method of Command Line Parsing includes:
PLC I/O port types PLC I/O port positions PLC I/O port parameters CPU I/O port Pi.j
When running PLC, elder generation of PLC operating system softwares call configuration option PLC-CS, according to parameter list record successively basis PLCI/O port types On-off signal (DI), output switch parameter (DO), analog input (AI), analog output (AO) are several I/O driving configurations are completed in I/O ports corresponding to CPU by type, and implementation method is as follows:
1. PLC I/O port types:LC I/O port types are read, (DI), switching value are inputted according to PLC port switch amount The different configurator of output (DO), analog input (AI) calling different with analog output (AO) polytype;
2. PLC I/O port positions:According to PLC I/O port positions, configurator is sequentially completed;
3. PLC I/O port parameters:According to PPLC I/O port parameters, corresponding I/O ports are entered according to configuration parameter Row configuration is handled;
4. CPU I/O port Pi.j:The CPU I/O port Pi.j corresponding to the PLC I/O ports being currently configured are chosen, are entered Row I/O driving configurations.
The technical advantages of the present invention are that:
The angle that the present invention realizes from the market demand and commercialization, using multi-channel system safety PLC constructing technology (at least binary channels), based on the configurable double PLC systems of PLC platform constructions, fusion multisystem self-diagnosis technology forms multichannel System safety PLC.The present invention is available for third party to support different I/O points and communication party according to different application demands, fast custom The safety PLC system of formula.
Brief description of the drawings
Fig. 1 is the interface operation schematic diagram of hardware configurable software of the present invention;
Fig. 2 is the flow chart of I/O votings output of the present invention;
Fig. 3 is the safe dual system PLC of this hair structure I/O points schematic diagram;Wherein described dual system self diagnosis skill Art includes multisystem synchronous operation crossing detection technique and I/O voting export techniques, and the binary channels just refers to that double PLC systems are led to Road;
Fig. 4 is the schematic diagram for the PLC that different I/O points are built in the present invention;Wherein, different PLC CPU type is Different, if PLC1 is using the LPC2368 of Arm series, PLC2 is using STM32 series or MSP430 series etc..This Sample can as much as possible avoid system extremely in same place.
Embodiment
The present invention is described in detail with reference to embodiment and Figure of description, but not limited to this.
As Figure 1-4.
Embodiment 1,
A kind of safety PLC implementation method of rapid configuration hardware resource, including:System is operated using the PLC that can recombinate transplanting Kernel software of uniting forms different type CPU PLC operating systems;
At least two sets of different type CPU simultaneously each self-operating different PLC operating systems when, including comprise the following steps that:
1) multisystem synchronous operation cross detection;The multisystem includes main PLC operating systems and from PLC operating system;
2) I/O votings output, and give final result to executing agency;
3) requirement according to security system certification forms safety PLC product.The requirement of the security system certification refers to state The IEC61508 standards that the border electrician committee formally issued in 2000, it is entitled《Electrical/electronic/programmable electronic is safety-related The functional safety of system》.
In the step 1), the multisystem synchronous operation cross detection includes:
1.1) main PLC operating systems and from PLC operating systems run simultaneously;
1.2) all main PLC operating systems of step 1.1) and same form storage running knot is pressed from PLC operating systems Fruit;
1.3) the main PLC operating systems read the result from PLC operating systems by serial ports.
The present invention realizes any I/O points customization, the selection of communication pattern in CPU hardware scope of resource by configuring, soon Speed forms I/O points and communication pattern, and safety guarantee is provided using research and development for PLC.
In the step 2), the I/O votings output includes:
If 2.1) it is switching value that I/O, which decides by vote output, main PLC operating systems and the voting from PLC operating systems export knot When fruit is all 1 or 0, then, judgement operation result is correct;Otherwise, operation result mistake is adjudicated;
2.2) it is high-speed pulse counting amount that if I/O, which decides by vote output, main PLC operating systems and the table from PLC operating systems When certainly output result difference is no more than 1, then, judgement operation result is correct;Otherwise, operation result mistake is adjudicated;
If 2.3) it is analog quantity that I/O, which decides by vote output, main PLC operating systems and the voting from PLC operating systems export knot Fruit is differed at thousand points of positions, then, judgement operation result is correct;Otherwise, operation result mistake is adjudicated;
The correctly judgement operation result is handed down to the corresponding PLC operating systems for sending correct voting output result; The PLC operating systems for sending mistake voting output result are overhauled, more PLC operating systems judgements are assigned after the completion of maintenance and are held Row task.
Embodiment 2,
A kind of safety PLC implementation method of rapid configuration hardware resource, its difference are as described in Example 1, as above State 2.1), 2.2), 2.3), if the certainly operation result mistake, triggering alarm, while corresponding error message is uploaded to Position machine:It is correct artificially to adjudicate which voting output result.
Embodiment 3,
A kind of safety PLC implementation method of rapid configuration hardware resource as described in Example 1, its difference are, utilize The method for the PLC operating systems that the PLC operating system kernels software that transplanting can be recombinated forms different type CPU includes:
(1) hardware resource configuration parameter table is generated;
Required according to the customization of PLC products, PLC hardware requires according to control and PLC function determines I/O points and class Type, in the range of the permission of CPU hardware I/O resources, realize that different model PLC is built;
The determination method of the hardware resource configuration parameter includes:
(1.1) PLC I/O points selections, first have to consider that control requires, take into account standby surplus;Usual I/O points are roots It is actually needed according to the input of controll plant, output signal, is determined along with 10%--30% reserve level;
(1.2) according to I/O resource requirements, exploitation PCB PLC-PCB;
(1.3) application hardware configurable software generation hardware resource configuration parameter table PLC-CS, realizes PLC hardware resources Autonomous configuration;The hardware configurable software is the software that those skilled in the art commonly use, and it is exactly to realize that hardware provides that it, which is acted on, Source configuration parameter table PLC-CS;
In order to preferably explain hardware configurable software, its operation interface such as Fig. 1, in Fig. 1, I/O port type row L1 It is optional PLC common type lists;The access of I/O ports ranks L3 and automatically generated after selection L1, and it is that PLC is used that I/O ports, which access, Family programming needs the PLC variables used;Reselection I/O ports sequence number row L2, this row are enumerated all optional under L1 types CPU corresponding pins;Then increase generates " hardware resource configuration parameter table PLC-CS " line by line;
(2) the hardware resource configuration parameter table PLC-CS is downloaded in PLC-PCB parameter configurations memory block FLASH, PLC monitoring programmes are downloaded in PLC-PCB program storage areas FLASH, complete PLC structure;
The PLC monitoring programmes are technologies well-known to those skilled in the art, are the bottom layer driving journeys at hardware platform end Sequence, including the parsing of hardware parser, statement list, communication interface driving etc., the monitoring programme includes different PLC integration technology, The program is the monitoring programme specially researched and developed for configurable PLC, but is unique for this program for different PLC;
(3) the PLC operation implementation process of structure, when PLC is run:
(3.1) read hardware resource configuration parameter table PLC-CS and complete I/O driving parsings, complete the autonomous of hardware resource and match somebody with somebody Put;
(3.2) PLC monitoring programmes are run;So far, PLC operations possess PLC functions completely, possess ladder diagram, statement list Programming, realizes logic control, arithmetical operation, timing, counting, data processing, PID arithmetic and communication function.
Embodiment 4,
A kind of safety PLC implementation method of rapid configuration hardware resource as described in Example 3, its difference is, in institute State in step (1), PLC configuration parameters are established and realized by QT softwares, and PLC-CS parameters text is formed according to parameter list data structure Part, downloaded to by serial ports in PLC hardware circuits, for operation PLC when call configuration option PLC-CS, complete I/O driving configuration; Parameter list data structure is as follows:
PLC-CS parameter list structures:
PLC I/O port types PLC I/O port positions CPU I/O port Pi.j
1. PLC I/O port types:Required according to PLC type number, be configured to On-off signal (DI), output switch parameter (DO), analog input (AI) and analog output (AO);
2. PLC I/O port positions:Required according to PLC type number, configure the way position of selected type;
4. CPU I/O port Pi.j:It is different according to cpu type, point multiple I/O ports P0.0, P0.1 ... Pi, j,....;This field sets the CPU I/O port Pi.j corresponding to PLC I/O port positions.
Embodiment 5,
A kind of safety PLC implementation method of rapid configuration hardware resource as described in Example 4, its difference is, described PLC-CS parameter lists structure also includes PLC I/O port parameters:Required according to PLC type number, ginseng is set to the I/O ports of configuration Number;It is sky during without type parameter;
Call configuration option PLC-CS during operation PLC in the step (3), complete the realization side of I/O driving Command Line Parsing Method includes:
PLC I/O port types PLC I/O port positions PLC I/O port parameters CPU I/O port Pi.j
When running PLC, elder generation of PLC operating system softwares call configuration option PLC-CS, according to parameter list record successively basis PLCI/O port types On-off signal (DI), output switch parameter (DO), analog input (AI), analog output (AO) are several I/O driving configurations are completed in I/O ports corresponding to CPU by type, and implementation method is as follows:
1. PLC I/O port types:LC I/O port types are read, (DI), switching value are inputted according to PLC port switch amount The different configurator of output (DO), analog input (AI) calling different with analog output (AO) polytype;
2. PLC I/O port positions:According to PLC I/O port positions, configurator is sequentially completed;
3. PLC I/O port parameters:According to PPLC I/O port parameters, corresponding I/O ports are entered according to configuration parameter Row configuration is handled;
4. CPU I/O port Pi.j:The CPU I/O port Pi.j corresponding to the PLC I/O ports being currently configured are chosen, are entered Row I/O driving configurations.

Claims (8)

1. a kind of safety PLC implementation method of rapid configuration hardware resource, it is characterised in that the experimental method includes:Utilize The PLC operating system kernels software that transplanting can be recombinated forms different type CPU PLC operating systems;
At least two sets of different type CPU simultaneously each self-operating different PLC operating systems when, including comprise the following steps that:
1) multisystem synchronous operation cross detection;The multisystem includes main PLC operating systems and from PLC operating system;
2) I/O votings output, and give final result to executing agency;
3) requirement according to security system certification forms safety PLC product.
A kind of 2. safety PLC implementation method of rapid configuration hardware resource according to claim 1, it is characterised in that institute State in step 1), the multisystem synchronous operation cross detection includes:
1.1) main PLC operating systems and from PLC operating systems run simultaneously;
1.2) all main PLC operating systems of step 1.1) and same form storage running result is pressed from PLC operating systems;
1.3) the main PLC operating systems read the result from PLC operating systems by serial ports.
A kind of 3. safety PLC implementation method of rapid configuration hardware resource according to claim 1, it is characterised in that institute State in step 2), the I/O votings output includes:
If 2.1) I/O decides by vote output is switching value, main PLC operating systems and voting output result from PLC operating systems are all For 1 or 0 when, then, and judgement operation result it is correct;Otherwise, operation result mistake is adjudicated;
If 2.2) I/O decides by vote output is high-speed pulse counting amount, main PLC operating systems and defeated from the voting of PLC operating systems When going out result difference no more than 1, then, judgement operation result is correct;Otherwise, operation result mistake is adjudicated;
2.3) it is analog quantity that if I/O, which decides by vote output, main PLC operating systems and the voting output result phase from PLC operating systems Difference is at thousand points of positions, then, judgement operation result is correct;Otherwise, operation result mistake is adjudicated;
The correctly judgement operation result is handed down to the corresponding PLC operating systems for sending correct voting output result;To hair The PLC operating systems for the voting output result that makes mistake are overhauled, and more PLC operating systems enforcements of the judgment are assigned after the completion of maintenance and are appointed Business.
4. the safety PLC implementation method of a kind of rapid configuration hardware resource according to claim 3, it is characterised in that such as It is above-mentioned 2.1), 2.2), 2.3), if the certainly operation result mistake, triggering alarm, while corresponding error message is uploaded to Host computer:It is correct artificially to adjudicate which voting output result.
A kind of 5. safety PLC implementation method of rapid configuration hardware resource according to claim 1, it is characterised in that profit The method for the PLC operating systems for forming different type CPU with the PLC operating system kernels software that can recombinate transplanting includes:
(1) hardware resource configuration parameter table is generated;
(2) the hardware resource configuration parameter table PLC-CS is downloaded in PLC-PCB parameter configurations memory block FLASH, by PLC Monitoring programme is downloaded in PLC-PCB program storage areas FLASH, completes PLC structure;
(3) the PLC operation implementation process of structure, when PLC is run:
(3.1) read hardware resource configuration parameter table PLC-CS and complete I/O driving parsings, complete the autonomous configuration of hardware resource;
(3.2) PLC monitoring programmes are run.
A kind of 6. safety PLC implementation method of rapid configuration hardware resource according to claim 5, it is characterised in that In the step (1), PLC configuration parameters are established and realized by QT softwares, and PLC-CS parameters are formed according to parameter list data structure File, downloaded to by serial ports in PLC hardware circuits, for operation PLC when call configuration option PLC-CS, complete I/O driving matches somebody with somebody Put;Parameter list data structure is as follows:
PLC-CS parameter list structures:
PLC I/O port types PLC I/O port positions CPU I/O port Pi.j
1. PLC I/O port types:Required according to PLC type number, be configured to On-off signal (DI), output switch parameter (DO), mould Analog quantity inputs (AI) and analog output (AO);
2. PLC I/O port positions:Required according to PLC type number, configure the way position of selected type;
4. CPU I/O port Pi.j:It is different according to cpu type, point multiple I/O ports P0.0, P0.1 ... Pi, j ...;This Field sets the CPU I/O port Pi.j corresponding to PLC I/O port positions.
A kind of 7. safety PLC implementation method of rapid configuration hardware resource according to claim 6, it is characterised in that institute Stating PLC-CS parameter lists structure also includes PLC I/O port parameters:Required according to PLC type number, ginseng is set to the I/O ports of configuration Number;It is sky during without type parameter;
A kind of 8. safety PLC implementation method of rapid configuration hardware resource according to claim 7, it is characterised in that institute Call configuration option PLC-CS when stating operation PLC in step (3), completing the implementation method of I/O driving Command Line Parsing includes:
PLC I/O port types PLC I/O port positions PLC I/O port parameters CPU I/O port Pi.j
When running PLC, elder generation of PLC operating system softwares call configuration option PLC-CS, recorded according to parameter list successively according to PLCI/ O port type of switch amount input (DI), output switch parameter (DO), analog input (AI), analog output (AO) several types I/O driving configurations are completed into I/O ports corresponding to CPU, implementation method is as follows:
1. PLC I/O port types:LC I/O port types are read, (DI), output switch parameter are inputted according to PLC port switch amount (DO), analog input (AI) is different with analog output (AO) polytype calls different configurators;
2. PLC I/O port positions:According to PLC I/O port positions, configurator is sequentially completed;
3. PLC I/O port parameters:According to PPLC I/O port parameters, corresponding I/O ports are matched somebody with somebody according to configuration parameter Put processing;
4. CPU I/O port Pi.j:The CPU I/O port Pi.j corresponding to the PLC I/O ports being currently configured are chosen, carry out I/ O driving configurations.
CN201711098558.8A 2017-11-09 2017-11-09 Secure P L C implementation method for rapidly configuring hardware resources Active CN107894742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711098558.8A CN107894742B (en) 2017-11-09 2017-11-09 Secure P L C implementation method for rapidly configuring hardware resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711098558.8A CN107894742B (en) 2017-11-09 2017-11-09 Secure P L C implementation method for rapidly configuring hardware resources

Publications (2)

Publication Number Publication Date
CN107894742A true CN107894742A (en) 2018-04-10
CN107894742B CN107894742B (en) 2020-07-24

Family

ID=61804785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711098558.8A Active CN107894742B (en) 2017-11-09 2017-11-09 Secure P L C implementation method for rapidly configuring hardware resources

Country Status (1)

Country Link
CN (1) CN107894742B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10129079A (en) * 1996-10-30 1998-05-19 Ricoh Co Ltd Image-forming apparatus
CN1881117A (en) * 2005-06-03 2006-12-20 德国宝马格公司 Configuration method for control devices
CN1920712A (en) * 2005-08-24 2007-02-28 沈阳中科博微自动化技术有限公司 High-speed Ethernet programmable controller system based on fund conference bus in site
CN101334744A (en) * 2007-12-27 2008-12-31 华为技术有限公司 Multiprocessor system fault checking method, system and device
CN102621938A (en) * 2011-01-28 2012-08-01 上海新华控制技术(集团)有限公司 Triple redundancy control system in process control and method thereof
CN102799104A (en) * 2012-07-02 2012-11-28 浙江正泰中自控制工程有限公司 Safety control redundant system and method for fully-intelligent master control system
CN105786160A (en) * 2016-03-22 2016-07-20 上海斐讯数据通信技术有限公司 Multi-processor power management system and method as well as intelligent terminal
US20160218766A1 (en) * 2015-01-28 2016-07-28 Lam Research Corporation Dual Push Between A Host Computer System And An RF Generator
CN106300493A (en) * 2015-06-26 2017-01-04 北汽福田汽车股份有限公司 Management system, control method and the vehicle of electrokinetic cell

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10129079A (en) * 1996-10-30 1998-05-19 Ricoh Co Ltd Image-forming apparatus
CN1881117A (en) * 2005-06-03 2006-12-20 德国宝马格公司 Configuration method for control devices
CN1920712A (en) * 2005-08-24 2007-02-28 沈阳中科博微自动化技术有限公司 High-speed Ethernet programmable controller system based on fund conference bus in site
CN101334744A (en) * 2007-12-27 2008-12-31 华为技术有限公司 Multiprocessor system fault checking method, system and device
CN102621938A (en) * 2011-01-28 2012-08-01 上海新华控制技术(集团)有限公司 Triple redundancy control system in process control and method thereof
CN102799104A (en) * 2012-07-02 2012-11-28 浙江正泰中自控制工程有限公司 Safety control redundant system and method for fully-intelligent master control system
US20160218766A1 (en) * 2015-01-28 2016-07-28 Lam Research Corporation Dual Push Between A Host Computer System And An RF Generator
CN106300493A (en) * 2015-06-26 2017-01-04 北汽福田汽车股份有限公司 Management system, control method and the vehicle of electrokinetic cell
CN105786160A (en) * 2016-03-22 2016-07-20 上海斐讯数据通信技术有限公司 Multi-processor power management system and method as well as intelligent terminal

Also Published As

Publication number Publication date
CN107894742B (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN107861716A (en) Software definition type control system and control method
CN101286068B (en) For the method and apparatus of management process equipment alarm
CN107861458A (en) It is a kind of can autonomous configuration hardware resource PLC fast construction methods
CN102890453B (en) System and method for functional block instantiation
CN109765836A (en) Automatic generation method, device and the realization device of PLC program
CN109978096A (en) A kind of electrode automated production and Warehouse Management System
US9989940B2 (en) Method for engineering a distributed control system and an engineering tool thereof
ZA200701459B (en) Control system for material handling facility
CN104635669B (en) A kind of I&C system verification method
CN105159656A (en) PLC software programming aided design method
CN105446200B (en) A kind of autocontrol method and device
US8849429B2 (en) System and method for block instantiation
CN103522289A (en) Multi-shaft mechanical arm control method and control device
US6941261B1 (en) Cause and effect logic application implementation
CN105659175B (en) Configure the processing equipment and method of automated system
CN107894742A (en) A kind of safety PLC implementation method of rapid configuration hardware resource
CN104423310B (en) Apparatus and method for updating the operating system in programmable logic controller (PLC)
CN111736546B (en) Flexible control method and system for assembly line and modular position control device
CN101750992B (en) General sequence control algorithm used in programmable logic controller
CN101841430A (en) Method and device for correcting command line
Silva et al. Dealing with routing in an automated manufacturing cell: a supervisory control theory application
CN109783505A (en) The method and system and medium evaluated offline are realized using visual control
Wang et al. Research on Intelligent Optimization of Bulk Cargo Terminal Control System
Khokhlovskiy et al. Model-based systems engineering of process control for energy installations
Xuemei Distributed and reconfigurable control of lower level machines in automatic production line

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220125

Address after: 250000 Shanke Zhongchuang space 203-f, No. 19 Keyuan Road, Lixia District, Jinan City, Shandong Province

Patentee after: Shandong Shanke Zhikong Digital Technology Co.,Ltd.

Address before: No.19 Keyuan Road, Jinan, Shandong 250013

Patentee before: SHANDONG COMPUTER SCIENCE CENTER(NATIONAL SUPERCOMPUTER CENTER IN JINAN)