Automatic construction method for PLC (Programmable Logic Controller) program to NuSMV input model
A technology for inputting models and constructing methods, applied in program control, electrical program control, program control in sequence/logic controllers, etc., can solve the problems of formal definition, inability to process, waste of manpower, etc., and improve model detection The effect of accuracy and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Embodiment one, such as figure 1 and figure 2 Shown, a kind of PLC program to the automatic construction method of NuSMV input model, comprises the following steps:
[0039] Step 1, analyze the ST language of PLC, construct the grammar of ST language;
[0040] According to the IEC61131-3 standard, analyze the ST language of the PLC, analyze the structure, keywords, expressions, assignments, comments, operator priorities, conditional statements, loop statements and jump statements of the ST language, and write the corresponding grammatical form.
[0041] As an implementation manner, take the conditional statement IF statement as an example to write the corresponding statement syntax as follows: IF_Stmt→IF Condition THEN Statement{ELSE Statement}END_IF.
[0042] Step 2, process the ST program according to the ST grammar given in Step 1, and parse the ST program into an abstract syntax tree AST;
[0043] Further, the ST program is parsed into an abstract syntax tree AS...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com