CN107422691A - One kind collaboration PLC programming language building methods - Google Patents

One kind collaboration PLC programming language building methods Download PDF

Info

Publication number
CN107422691A
CN107422691A CN201710686302.2A CN201710686302A CN107422691A CN 107422691 A CN107422691 A CN 107422691A CN 201710686302 A CN201710686302 A CN 201710686302A CN 107422691 A CN107422691 A CN 107422691A
Authority
CN
China
Prior art keywords
vector
cooperative information
code
vocabulary
coding
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
CN201710686302.2A
Other languages
Chinese (zh)
Other versions
CN107422691B (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 Computer Science Center National Super Computing Center in Jinan
Shandong Computer Science Center
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 CN201710686302.2A priority Critical patent/CN107422691B/en
Publication of CN107422691A publication Critical patent/CN107422691A/en
Application granted granted Critical
Publication of CN107422691B publication Critical patent/CN107422691B/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/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13004Programming the plc

Abstract

The invention discloses one kind to cooperate with PLC programming language building methods, comprises the following steps:Establish cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc] mathematical modeling;Grammatical attribute is assigned to each cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc], establishes grammatical attribute vector A;Sentence pattern is built, defines syntax incidence matrix [Tpi] corresponding with sentence pattern, [Toi], [Tci], [Tai], and define the operation rule of syntax operator { };By matrix operation, legal descriptive programming " sentence " and accordingly " statement code " is constructed.With the syntax rule of " SVO " structure, construction is with the collaboration PLC programming languages of chinese manner, cooperative information vocabulary and its coding are generated by morpheme word-building incidence matrix, with keyword, SVO basic structure, the fixed mathematical modeling such as sentence pattern and its grammar association matrix, Chinese collaboration PLC programming languages, coding and its programmed method are constructed.

Description

One kind collaboration PLC programming language building methods
Technical field
The present invention relates to PLC programming Control technical fields, especially a kind of collaboration PLC programming language building methods.
Background technology
With the rapid development of intellectual technology, also it has been in progress with Human Natural Language Direct Programming technology, Hen Duozhi Energy terminal, mobile device, have been able to Direct Recognition and understand the human language of part.PLC collaboration work in control system When making, first have to be got in touch with other PLC in system, know yourself as well as the enemy, could cooperate.Not only need its in the system of informing He cooperates with PLC or intelligent node, and " I " is " who " (unique identifier, reference address, type etc.);" where " (it is in system In position, node serial number etc.);Which competent " what ", i.e., may participate in the function of collaboration, for example, (measurement) can be perceived with Where (position or numbering) that physical quantity, (control) where (position or numbering) that physical parameter can be changed, had assorted The information processing type of sample and ability etc.;And (itself lacks needs " what ", it may be required that other nodes participate in collaboration Function) etc..These contents must all be described in method appropriate, reasonable, accurate, without ambiguous, be easy to know each other Not with exchange.Therefore, the observing and controlling information to PLC and cooperating to cooperative information, it is necessary to be described and express.With regard to PLC And its in terms of programming language, few people are engaged in collaboration PLC programming languages and use Chinese morpheme.
The content of the invention
It is an object of the invention to provide one kind to cooperate with PLC programming language building methods, passes through morpheme word-building incidence matrix Cooperative information vocabulary and its coding are generated, with keyword, SVO basic structure, the fixed number such as sentence pattern and its grammar association matrix Model is learned, constructs collaboration PLC programming languages, coding and its programmed method of Chinese.
To achieve the above object, the present invention uses following technical proposals:
One kind collaboration PLC programming language building methods, comprise the following steps:
Establish cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc] mathematical modeling;
To each cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc] assign grammatical attribute, establish grammatical attribute to Measure A;
Sentence pattern is built, defines syntax incidence matrix [Tpi] corresponding with sentence pattern, [Toi], [Tci], [Tai], and definition The operation rule of syntax operator { };
By matrix operation, legal descriptive programming " sentence " and accordingly " statement code " is constructed.
Further, it is described establish cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc] mathematical modeling include with Lower step:
It is prefix, root, suffix by Collaborative Control information decomposition, and is encoded, prefix code, root corresponding to formation Code, suffix code;
Word-building rule is formulated, synthesizing complete legal cooperative information vocabulary and cooperative information vocabulary according to word-building rule compiles Code.
Further, it is described that complete legal cooperative information vocabulary and cooperative information vocabulary coding is synthesized according to word-building rule Specifically include as follows:Suffix is added to be combined into cooperative information vocabulary by prefix and root, prefix code and root code add suffix code or ginseng Array is combined into cooperative information word code, then its mathematic(al) representation is:
[Wb]=[H] { [Tr] } [R] and [Wd]=[Hc] { [Tr] } [Rc];
[W]=[Wb] { [Tb] } [B] and [Wc]=[Wb] { [Tb] } [Bc];
Wherein:[W], [Wb], [H], [R], [B] vector are respectively that cooperative information vocabulary is vectorial, middle vocabulary is vectorial, prefix Vector, root vector, suffix vector, are expressed with Chinese text mode;[Wc], [Wd], [Hc], [Rc], [Bc] vector are respectively Cooperative information vocabulary coding vector, medium term compilation code vector, prefix code vector, root code vector, suffix code or parameter vector, Expressed using modes such as coding, numerical value;[Tr] is that prefix vector associates with root vector, prefix code vector with root code vector Matrix;[Tb] is middle vocabulary vector and suffix vector, the incidence matrix of medium term compilation code vector and suffix coding vector;{} For string association operator.
Further, the operation method of the string association operator { } is as follows:
Further, prefix vector is constructed to associate with root code vector Matching Relation with root vector, prefix code vector It is as follows that matrix [Tr] defines method:
Further, vocabulary vector and suffix vector, cooperative information medium term compilation code vector among cooperative information are constructed It is as follows that method is defined with the incidence matrix [Tb] of suffix code vector:
Further, it is described that grammatical attribute is assigned to each cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc], build Vertical grammatical attribute vector A specifically includes as follows:
Grammatical attribute A=(Subject-Verb objective complement adverbial modifier attribute) is assigned to cooperative information vocabulary [W]:[if W] has master Language attribute, subject=1, otherwise subject=0;[W] has a predicate attribute, predicate=1, otherwise predicate=0;The rest may be inferred, establishes Grammatical attribute vector A corresponding to cooperative information vocabulary [W];Grammatical attribute A=(Su Pr are assigned to cooperative information vocabulary coding [Wc] Ob Co Ad At), wherein Su, Pr, Ob, Co, Ad, At obtaining value method is:[Wc] has subject attribute, Su=1;Otherwise Su= 0;[Wc] has predicate attribute, Pr=1;Otherwise Pr=0;The like, establish language corresponding to cooperative information vocabulary coding [Wc] Attribute vectorial A.
The invention has the advantages that
The present invention using Chinese prefix etyma and affix morpheme word formation, description collaboration PLC perception, exchange, computing, The cooperating information such as control, cooperative information and its coding are constructed with the eigenmatrix of morpheme relation, forms a set of cooperative information Vocabulary and its coding scheme;With the syntax rule of " SVO " structure, the collaboration PLC programming languages with chinese manner are constructed, are led to Morpheme word-building incidence matrix generation cooperative information vocabulary and its coding are crossed, with keyword, SVO basic structure, fixed sentence pattern And its mathematical modeling such as grammar association matrix, construct Chinese collaboration PLC programming languages, coding and its programmed method.
Brief description of the drawings
Fig. 1 is present invention collaboration PLC programming language building method flow charts.
Embodiment
As shown in figure 1, a kind of collaboration PLC programming language building methods, comprise the following steps:
S1, establish cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc] mathematical modeling;
S2, grammatical attribute is assigned to each cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc], establish grammatical attribute Vectorial A;
S3, structure sentence pattern, define syntax incidence matrix [Tpi] corresponding with sentence pattern, [Toi], [Tci], [Tai], and Define the operation rule of syntax operator { };
S4, by matrix operation, construct legal descriptive programming " sentence " and accordingly " statement code ".
Table 1 is the citing of some conventional PLC control information, by these information, with reference to collaboration PLC demand, supplement association With related content, 2 are shown in Table, comprehensive composition cooperative information.
1. conventional PLC of table control letter information citings
Cooperating information the citing related part of table 2. collaboration PLC
Prefix, root, suffix (or affixe, suffix, suffix, similarly hereinafter) word-building are one of Chinese morpheme word formations, will Collaborative Control information, the word-building of Chinese morpheme is copied, be decomposed into prefix, root, suffix, word-building rule is formulated, further according to rule Then synthesize cooperative information vocabulary complete, legal, that there is practical significance.
Cooperative information is decomposed into prefix and encoded, for describing follow-up part of speech, classification, PART such as table 3.Further according to prefix, root and root code, PART such as table 4, for describing specific cooperative information content are isolated.Parameter, The additional informations such as numerical value are used as " suffix ", are typically directly represented with parameter name, concrete numerical value, partial information can also use " suffix " Corresponding " suffix code ".
By prefix, root and suffix, " word " is combined into, is directly represented in the form of human language vocabulary;Prefix code or word Root code part, binary system or hexadecimal coded representation can be used, such as table 3 and table 4.Prefix, root, suffix, prefix code, word Root code, suffix code are bonded cooperative information vocabulary and cooperative information word code according to word-building rule.Cooperative information vocabulary is used to compile Cheng personnel understand and programming, and cooperative information word code is used to cooperate with being mutually distinguishable between PLC, exchanges and user's PLC program.Table 3 With table 4, be example that is preliminary, simply conceiving, the information content and declaratives, can be identified, understood or read with the mankind Word description, be easy to programming personnel read, understand, expression.Coding is mainly used in cooperateing with PLC and its inside table of control system Reach.The man-machine expression of cooperative information, it is two kinds of reciprocity description methods, in collaboration PLC programming software, by maintainable " cooperative information dictionary sheet " and " cooperative information coding schedule ", and " translation " program carry out reciprocity conversion.
The prefix of table 3. and the citing of prefix code
Prefix code Prefix information Explanation
00 Without prefix
01 Promptly Certain event or the urgency level of action
02 Preferentially Certain equipment, the priority level of event or action in systems
03 Weight Certain equipment, event, parameter or the weight of action
04 Constraint Both or multiple equipment, event or action, which exist, the restriction relation such as is mutually in step
...
11 Event The event types such as operation, task, communication
12 Mark Unique number of equipment, the identification types such as reference address
...
The root of table 4. and the citing of root code
In analysis, summary, conclude the current various control systems with PLC measuring and controlling nodes for information about, classified, merged The related information of cooperating.The morpheme word-building of Chinese is copied, passes through prefix, root, suffix combination description cooperative information.It is fixed Adopted " prefix (chinese manner) " represents part of speech or the classification of cooperative information with " prefix code (coded system) ", according to the part of speech of prefix Or classification implication, define " root " and represent the specific information content with " root code ".Determined by the specific requirement of cooperative information be It is no to need " suffix ", and which type of suffix is needed, such as coding, parameter, variable.
" suffix " is added to be combined into " cooperative information vocabulary " by " prefix " and " root ", " prefix code " and " root code " adds " word Tail code or parameter " is combined as " cooperative information word code ", then its mathematic(al) representation is:
[Wb]=[H] { [Tr] } [R] and [Wd]=[Hc] { [Tr] } [Rc]
[W]=[Wb] { [Tb] } [B] and [Wc]=[Wb] { [Tb] } [Bc]
Wherein, [W], [Wb], [H], [R], [B] vector are respectively that cooperative information vocabulary is vectorial, middle vocabulary is vectorial, prefix Vector, root vector, suffix vector, are expressed with Chinese text mode;[Wc], [Wd], [Hc], [Rc], [Bc] vector are respectively Cooperative information vocabulary coding vector, medium term compilation code vector, prefix code vector, root code vector, suffix code or parameter vector, Expressed using modes such as coding, numerical value;[Tr] is that prefix vector associates with root vector, prefix code vector with root code vector Matrix;[Tb] is middle vocabulary vector and suffix vector, the incidence matrix of medium term compilation code vector and suffix coding vector;{} For string association operator.
Using the mathematical measure such as vector, matrix operation or tensor analysis, copy morpheme word-building, define incidence matrix and its Operation rule, establish the mathematical modeling of generation " cooperative information vocabulary ".
Such as:" prefix " and " prefix code " vector be expressed as [H]=["-" critical priority ... identify ...] and [Hc]= [000102 ... 12 ...], ("-" represents not have in formula, and it is encoded to hexadecimal 00, similarly hereinafter)." root " and " root code " Vector is expressed as [R]=["-" detection ... control and regulation ... address number ... liquid level flow ...] and [Rc]=[0001 ... 1082…]。
With reference to the word-building of " prefix+root+suffix ", prefix and root Matching Relation incidence matrix [Tr] and and word are defined Tail Matching Relation incidence matrix [Tb], by matrix operation, founding mathematical models, construct fairly cooperative information " vocabulary " With corresponding " word code ".
The operation method of string association operator { } is as follows:
Vocabulary [Wb] (prefix+root) among cooperative information, corresponding encoded form [Wd] (prefix code+root code), then, and association It is with vocabulary among information and corresponding encoded:
[Wb]=[H] { [Tr] } [R] and [Wd]=[Hc] { [Tr] } [Rc]
[Tr]=(Tr) ij are the incidence matrix of prefix and root, prefix code and root code.
The incidence matrix [Tr] for constructing prefix vector and root vector, prefix code vector and root code vector Matching Relation is fixed Right way of conduct method is as follows:
Such as:[H] T=["-" critical priority event identifier] and [Hc] T=[00 01 02 11 12];
[R]=["-" detection measurement controls to adjust address number liquid level] and [Rc]=[00 01 02 10 11 30 31 50];
Construct cooperative information among vocabulary vector with suffix vector, cooperative information medium term compilation code vector and suffix code to It is as follows that the incidence matrix [Tb] of amount defines method:
Cooperative information vocabulary [W] and its cooperative information code [Wc] are represented by
[W]=[Wb] { [Tb] } [B]
[Wc]=[Wb] { [Tb] } [Bc].
According to the service condition and IEC1131-3 of common PLC programming languages《The programming software mark of programmable controller It is accurate》In the general PLC programming languages such as regulation, reference instruction table, ladder diagram, SFC, functional diagram, structured text function, borrow The programming idea of mirror computer programming language and object-oriented, with reference to some communicative habits of Chinese, it is subject to necessary change, constructs A series of legal, rational sentences, generation can be applicable the programming language of collaboration PLC controls.
With reference to Chinese expression way and computer programming language feature, according to cooperative information or the part of speech of cooperative information code, Implication, it is assigned to the attribute of grammatical item.Define a series of syntax rules (sentence pattern) and fixed pattern that programming personnel can directly use Sentence.
Such as fixed pattern sentence:
" cotasking number=distribution cotasking number ", by fixing component module, it is logical that collaboration PLC carries out some row automatically News operation, seek the new cotasking number of current maximum in whole control system.
" (cotasking number) is linked up in collaboration ", collaboration PLC by cotasking number and its content, pass through the similar mankind automatically The method of " bid ", system of reaching an agreement opinion, formed " collaboration contract ", waited to be performed.
Syntax rule (sentence pattern):
Sentence pattern 1=subjects { [Tp1] } predicate;St1=Su { [Tp1] } Pr;
Sentence pattern 2=subjects { [Tp2] } predicate { [To] } object;St2=Su { [Tp2] } Pr { [To2] } Ob;
Fixed pattern sentence how is reasonably built, defines the operation method and its incidence matrix of syntax operator { [Tpi] } [Tpi], [Toi] etc. structure and value.So that the collaboration PLC programmed statements constructed not only be able to will be expressed to be realized Cooperating and it is necessary to it is accurate, rigorous, without half-heartedness and can be realized in PLC cooperate with, be the present invention another close Key.
Subject part Su (Subject), it is necessary to served as by the vocabulary with " subject attribute ", such as:Collaboration PLC or intelligence are set Standby reference address, unique identifier and its mapping number, variable etc..In order to facilitate programming, some pronouns can also be defined, such as " I " just represents the unique identifier or reference address of the machine, is used as subject or object, when collaboration PLC is operated, by for It is changed to actual reference address, unique identifier etc..
Predicate part Pr (Predicate), as most important keyword in collaboration PLC programming languages, have action special Sign, such as " request control ", " issue ", " wait and replying "."=" is a special predicate, can represent "Yes", " assign The implication such as value ", " input ", " output ".Object Ob (Object), can be address, variable, constant and legal expression formula Deng such as " 36.00 " AI, (a+b)/c.The not all languages such as complement Co (Complement), attribute, adverbial modifier Ad (Adverbial) The composition that sentence is all necessarily required to, but must all be served as by the vocabulary with the composition qualities.
Sentence composition and syntax rule are the core contents of programming language, can be tight by " the programming assistant " of programming software Lattice define in sentence where, which grammatical item undertaken by which type of cooperative information vocabulary, carved without programming personnel Meaning is grasped, it is only necessary to is done some selections and is filled in necessary parameter.
Cooperative information vocabulary or word code are reasonably sorted out, such as according to subject, predicate, object, complement, attribute, shape Language etc. basic " sentence composition " is sorted out, and is shown in Table 5.
The part cooperative information vocabulary of table 5. or word code are sorted out
Each cooperative information vocabulary is assigned to undertake sentence composition (subject, predicate, object, attribute, complement, the adverbial modifier) Attribute, mathematical modeling is as follows:
First to cooperative information vocabulary [W] and vocabulary code [Wc] assign grammatical attribute A=(Su Pr Ob Co Ad At)= (Subject-Verb objective complement adverbial modifier attribute), wherein Su Pr Ob Co Ad At obtaining value methods are:[W] and [Wc] has Subject attribute, Su=1;Otherwise Su=0;The like.
For example, the corresponding coding form of identifier number (subject "-" objective complement attribute "-") is 1231 (1 011 1 0);Urgent measurement ("-" predicate "-" "-" "-" "-") corresponding coding form is 0102 (0 1000 0);Water level (subject "-" objective complement attribute "-") corresponding coding form is 0050 (1 0111 0) etc..
Several sentence patterns are determined, define syntax incidence matrix [Tpi], [Toi], [Tci], [Tai], and operation method { } Rule, by matrix operation, construct legal descriptive programming " sentence " and corresponding " statement code ", the string association fortune The operation method of operator { } is as follows:
Such as:
Sentence pattern 1=subjects { [Tp1] } predicate;St1=Su { [Tp1] } Pr;
Sentence pattern 2=subjects { [Tp2] } predicate { [To2] } object;St2=Su { [Tp2] } Pr { [To2] } Ob;
By this method, it can describe as " my No. 29 tasks of requesting cooperative " and " my No. 29 cotaskings are urgent Spend 16 synergic adjustment 130,38 meters of water level, upper poor 0.02 meter, lower poor 5.00 meters " as Collaborative Control sentence.Its coded system It is expressed as:12300003 002111310029 and 12,300,003 11,310,029 011,016 00,310,130 0,050 38 0.02 5.00。
It is explained as follows:I (mark address 0003, simplifies sentence) by pronoun;Request (produces collateral function number by invitation Collaboration link up operation);No. 20 cotasking contents are:Urgency is 16, it is necessary to the water level of synergic adjustment 130, water level value Adjust to 38.00 meters, upper poor 0.02 meter, lower poor 5.00 meters.
Assuming that have a subject set Z=(Z1, Z2, Z3, Z4, Z5) and predicate set V=(V1, V2, V3, V4, V5, V6, V7, V8), its syntax incidence matrix [Tp1], if value is as follows:
In example
Subject:My (mark address 0003) is certain 1 element in " subject " set, it is assumed that be Z2, i.e., " mark address, 1230 " are encoded to, value=0003 of its address, is expressed as altogether:12300003, the meaning of Chinese is exactly that " I (identifies address It is 0003) ", its grammatical attribute is (subject "-" objective complement attribute "-"), and coded representation is 12300003 (1 0111 0)
Predicate:It is similar, and certain 1 element in " predicate " set, it is assumed that be V5, i.e., " No. 29 tasks of requesting cooperative ", Coded representation is 002111310029 (0 1000 0).
According to above Rules of Sentence Patterns, Z2V5 is legal sentence, you can to construct " my No. 29 tasks of requesting cooperative " language Sentence.
Similar, " my No. 29 cotaskings are urgency 16 synergic adjustment 130,38 meters of water levels, upper poor 0.02 meter, lower difference 5.00 meters ", sentence pattern 3 is used, also has other sentence patterns in addition, is eliminated in document, method is identical.
Although above-mentioned the embodiment of the present invention is described with reference to accompanying drawing, model not is protected to the present invention The limitation enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme those skilled in the art are not Need to pay various modifications or deformation that creative work can make still within protection scope of the present invention.

Claims (7)

1. one kind collaboration PLC programming language building methods, it is characterized in that, comprise the following steps:
Establish cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc] mathematical modeling;
Grammatical attribute is assigned to each cooperative information vocabulary [W] and cooperative information vocabulary coding [Wc], establishes grammatical attribute vector A;
Sentence pattern is built, defines syntax incidence matrix [Tpi] corresponding with sentence pattern, [Toi], [Tci], [Tai], and define syntax The operation rule of operator { };
By matrix operation, legal descriptive programming " sentence " and accordingly " statement code " is constructed.
2. a kind of collaboration PLC programming language building methods as claimed in claim 1, it is characterized in that, it is described to establish cooperative information Vocabulary [W] and cooperative information vocabulary coding [Wc] mathematical modeling comprise the following steps:
It is prefix, root, suffix by Collaborative Control information decomposition, and is encoded, prefix code, root code, word corresponding to formation Tail code;
Word-building rule is formulated, synthesizing complete legal cooperative information vocabulary and cooperative information vocabulary according to word-building rule encodes.
3. a kind of collaboration PLC programming language building methods as claimed in claim 2, it is characterized in that, it is described according to word-building rule The complete legal cooperative information vocabulary of synthesis and cooperative information vocabulary coding specifically include as follows:Suffix group is added by prefix and root Cooperative information vocabulary is synthesized, prefix code and root code add suffix code or parameter combination to be cooperative information word code, then its mathematical expression Formula is:
[Wb]=[H] { [Tr] } [R] and [Wd]=[Hc] { [Tr] } [Rc];
[W]=[Wb] { [Tb] } [B] and [Wc]=[Wb] { [Tb] } [Bc];
Wherein:[W], [Wb], [H], [R], [B] vector be respectively vectorial cooperative information vocabulary, middle vocabulary vector, prefix to Amount, root vector, suffix vector, are expressed with Chinese text mode;[Wc], [Wd], [Hc], [Rc], [Bc] vector are respectively to assist With information vocabulary coding vector, medium term compilation code vector, prefix code vector, root code vector, suffix code or parameter vector, adopt Expressed with modes such as coding, numerical value;[Tr] is that prefix vector associates square with root vector, prefix code vector with root code vector Battle array;[Tb] is middle vocabulary vector and suffix vector, the incidence matrix of medium term compilation code vector and suffix coding vector;{ } is String association operator.
4. a kind of collaboration PLC programming language building methods as claimed in claim 3, it is characterized in that, the string association fortune The operation method of operator { } is as follows:
5. a kind of collaboration PLC programming language building methods as claimed in claim 3, it is characterized in that, construction prefix vector and word It is as follows that the incidence matrix [Tr] of root vector, prefix code vector and root code vector Matching Relation defines method:
6. a kind of collaboration PLC programming language building methods as claimed in claim 3, it is characterized in that, construct among cooperative information The incidence matrix [Tb] of vocabulary vector and suffix vector, cooperative information medium term compilation code vector and suffix code vector defines method It is as follows:
7. a kind of collaboration PLC programming language building methods as claimed in claim 1, it is characterized in that, it is described that each collaboration is believed Cease vocabulary [W] and cooperative information vocabulary coding [Wc] tax grammatical attribute, establish grammatical attribute vector A specifically include it is as follows:
Grammatical attribute A=(Subject-Verb objective complement adverbial modifier attribute) is assigned to cooperative information vocabulary [W]:[if W] has subject category Property, subject=1, otherwise subject=0;[W] has a predicate attribute, predicate=1, otherwise predicate=0;The rest may be inferred, establishes collaboration Grammatical attribute vector A corresponding to information vocabulary [W];Grammatical attribute A=(Su Pr Ob are assigned to cooperative information vocabulary coding [Wc] CoAdAt), wherein Su, Pr, Ob, Co, Ad, At obtaining value method is:[Wc] has subject attribute, Su=1;Otherwise Su=0;[Wc] With predicate attribute, Pr=1;Otherwise Pr=0;The like, establish grammatical attribute corresponding to cooperative information vocabulary coding [Wc] Vectorial A.
CN201710686302.2A 2017-08-11 2017-08-11 Collaborative PLC programming language construction method Active CN107422691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710686302.2A CN107422691B (en) 2017-08-11 2017-08-11 Collaborative PLC programming language construction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710686302.2A CN107422691B (en) 2017-08-11 2017-08-11 Collaborative PLC programming language construction method

Publications (2)

Publication Number Publication Date
CN107422691A true CN107422691A (en) 2017-12-01
CN107422691B CN107422691B (en) 2020-05-12

Family

ID=60437912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710686302.2A Active CN107422691B (en) 2017-08-11 2017-08-11 Collaborative PLC programming language construction method

Country Status (1)

Country Link
CN (1) CN107422691B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109668694A (en) * 2018-10-11 2019-04-23 东莞市誉洲电子科技有限公司 A kind of PLC programmed method of electronic product air-leakage test

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1236138A (en) * 1998-05-18 1999-11-24 中国科学院声学研究所 Natural language statement analyzing method simulating brain's language sensing process
CN103927298A (en) * 2014-04-25 2014-07-16 秦一男 Natural language syntactic structure analyzing method and device based on computer
CN104156353A (en) * 2014-08-22 2014-11-19 秦一男 Computer-based method and device for analyzing natural language syntactic structures
CN106055537A (en) * 2016-05-23 2016-10-26 王立山 Natural language machine recognition method and system
CN107015963A (en) * 2017-03-22 2017-08-04 重庆邮电大学 Natural language semantic parsing system and method based on deep neural network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1236138A (en) * 1998-05-18 1999-11-24 中国科学院声学研究所 Natural language statement analyzing method simulating brain's language sensing process
CN103927298A (en) * 2014-04-25 2014-07-16 秦一男 Natural language syntactic structure analyzing method and device based on computer
CN104156353A (en) * 2014-08-22 2014-11-19 秦一男 Computer-based method and device for analyzing natural language syntactic structures
CN106055537A (en) * 2016-05-23 2016-10-26 王立山 Natural language machine recognition method and system
CN107015963A (en) * 2017-03-22 2017-08-04 重庆邮电大学 Natural language semantic parsing system and method based on deep neural network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109668694A (en) * 2018-10-11 2019-04-23 东莞市誉洲电子科技有限公司 A kind of PLC programmed method of electronic product air-leakage test

Also Published As

Publication number Publication date
CN107422691B (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN109359293B (en) Mongolian name entity recognition method neural network based and its identifying system
Bonczek et al. Computer‐based support of organizational decision making
Björk A unified approach for modelling construction information
CN111090461B (en) Code annotation generation method based on machine translation model
CN110609849B (en) Natural language generation method based on SQL syntax tree node type
JP2011524579A (en) General-purpose digital semantic database for machine language translation
CN107422691A (en) One kind collaboration PLC programming language building methods
Allgayer et al. Bidirectional Use of Knowledge in the Multi-modal NL Access System XTRA.
Avdeenko et al. The ontology-based approach to support the requirements engineering process
CN109885695A (en) Assets suggest generation method, device, computer equipment and storage medium
CN105205537A (en) Ontology based feature processing technology knowledge representation and inference device and method
Song et al. Spatial information enrichment using nlp-based classification of space objects for school bldgs. in korea
Smith A method for data translation using the Stored-Data Definition and Translation Task Group languages
CN114970547A (en) Multi-level and multi-type planning content difference identification and conflict elimination method
Bácsi et al. Melanee and DMLA–A contribution to the MULTI 2021 collaborative comparison challenge
Nazarov Bedouin Arabic multiple opacity with indexed constraints in Parallel OT
Lauria et al. Paradigms
Kazantseva et al. Kawennón: nis: the Wordmaker for Kanyen’kéha
CN103246649A (en) Dynamic database building method
CN106951399A (en) A kind of method and device for quickly generating ONIX normative documents
CN1296588A (en) Opening and alli-information template type of language translation method having man-machine dialogue function and all-information semanteme marking system
Bonneau-Maynard et al. A semantic representation for spoken dialogs
EP4300375A1 (en) Method and system for information retrieval
Kelly De modis generandi: Points of contact between Noam Chomsky and Thomas of Erfurt
Berztiss Natural-language-based development of information systems

Legal Events

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