Interpretation execution method and system for ST language

A technology of interpretation, execution and language, applied in the field of interpretation and execution methods and systems of ST language

Pending Publication Date: 2020-05-05
ZHEJIANG SUPCON TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the traditional solution, when interpreting and running the ST language, it is necessary to compile the ST language, and because the ST language function block program is converted into an executable binary machine code

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interpretation execution method and system for ST language
  • Interpretation execution method and system for ST language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] The embodiment of the present invention discloses a method and system for interpreting and executing ST language, which reads the ST program file, and obtains the input parameters, output parameters, and input parameters and output of the ST program by analyzing the syntax and semantics of the ST program in the ST program file The logical relationship of parameters, which converts input parameters, output parameters and logical relationships into a gener...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an interpretation execution method and system for an ST language. The method comprises the following steps of: analyzing grammar and semanteme of an ST program in a read ST program file; obtaining an input parameter, an output parameter and a logic relationship between the input parameter and the output parameter of the ST program; and converting the input parameters, the output parameters and the logic relationship into the general language program of the ST language function block, the general language program supporting a basic data structure and a logic control statement, and downloading the general language program to a program running device for execution to realize interpretation and execution of the ST language. According to the method, the compiling step ofthe ST program is omitted, and the ST program can be directly explained and executed, in addition, the ST program is converted into the universal language program of the ST language function block, and the universal language program supports the basic data structure and the logic control statement, so that the ST language function block program can run on the device carrier supporting the universal language program.

Description

technical field [0001] The present invention relates to the technical field of circuit breakers, and more specifically, relates to a method and system for interpreting and executing ST language. Background technique [0002] In the field of industrial control, ST (Structured text, structured text / structured file programming language) is widely used as a relatively general programming language. At present, ST language can write ST language function block programs for industrial control, and the main operating carriers of ST language function block programs include PLC (Programmable Logic Controller, programmable logic controller), single-chip microcomputer and other equipment. The main operation process of ST language is: firstly, write ST program in ST writing tool; secondly, ST program generates ST language function block program by compiling the program; then, convert ST language function block program into executable binary machine code program, Finally, the executable b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/455
CPCG06F9/4552
Inventor 罗幸明葛剑徐大望严彬虞俊明林利斌
Owner ZHEJIANG SUPCON TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products