CN114968252A - Automatic compiling method, system and controller - Google Patents

Automatic compiling method, system and controller Download PDF

Info

Publication number
CN114968252A
CN114968252A CN202210437936.5A CN202210437936A CN114968252A CN 114968252 A CN114968252 A CN 114968252A CN 202210437936 A CN202210437936 A CN 202210437936A CN 114968252 A CN114968252 A CN 114968252A
Authority
CN
China
Prior art keywords
controller
compiling
control code
programming
file
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.)
Pending
Application number
CN202210437936.5A
Other languages
Chinese (zh)
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.)
Shenzhen Kailestone Technology Co ltd
Original Assignee
Shenzhen Kailestone Technology 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 Shenzhen Kailestone Technology Co ltd filed Critical Shenzhen Kailestone Technology Co ltd
Priority to CN202210437936.5A priority Critical patent/CN114968252A/en
Publication of CN114968252A publication Critical patent/CN114968252A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses an automatic compiling method, a system and a controller, relates to the technical field of automation equipment, and solves the technical problem that in automation or industrial control, professional software technicians are required to compile and compile control codes of a PLC (programmable logic controller) or a single chip microcomputer, so that the operation and maintenance cost of the equipment is increased. The automatic compiling method comprises the following steps: the controller is connected with an upper computer, and a programming template file is automatically generated in the upper computer; writing a control code in the programming template file by a user; and the user finishes compiling the control code and stores the control code to obtain a control code file, and the controller automatically compiles the control code file to generate an execution code. The invention can realize the programming and compiling operation of the user to the equipment without a programming tool and a compiling tool, saves the execution code downloading process, can complete all the operations in a very short time without any programming-based user, and reduces the operation and maintenance cost of the automatic control equipment.

Description

Automatic compiling method, system and controller
Technical Field
The invention relates to the technical field of automation equipment, in particular to an automatic compiling method, an automatic compiling system and a controller.
Background
The automation equipment is controlled by a PLC (Programmable Logic Controller) or a single chip microcomputer motherboard, and a user must write a control program by using a PLC language, a C language, an assembly language, or the like, and use compilers of various PLC manufacturers or single chip microcomputers. This requires that the user be familiar with the complicated PLC control language, C language, or assembly language, and the user must be familiar with and use the corresponding compiling tools for each language. In automation or industrial control, corresponding software technicians are required to be equipped for operation based on the PLC or the single chip microcomputer, and for technicians without software bases, the debugging and application of automation or industrial control equipment cannot be independently and efficiently completed, so that the operation and maintenance cost of the equipment is increased.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
in automation or industrial control, a professional software technician is required to compile and compile control codes of the PLC or the single chip microcomputer, so that the operation and maintenance costs of equipment are increased.
Disclosure of Invention
The invention aims to provide an automatic compiling method, an automatic compiling system and a controller, and aims to solve the technical problem that in automation or industrial control in the prior art, professional software technicians are required to compile and compile control codes of a PLC (programmable logic controller) or a single chip microcomputer, and the operation and maintenance cost of equipment is increased. The technical effects that can be produced by the preferred technical scheme of the technical schemes provided by the invention are described in detail in the following.
In order to achieve the purpose, the invention provides the following technical scheme:
the invention provides an automatic compiling method, which comprises the following steps: s100: the controller is connected with an upper computer, and a programming template file is automatically generated in the upper computer; s200: writing a control code in the programming template file by a user; s300: and the user finishes compiling the control code and stores the control code to obtain a control code file, and the controller automatically compiles the control code file to generate an execution code.
Preferably, the programming template file is in a txt format or a C format.
Preferably, in the step S300, the process of automatically compiling the control code file by the controller includes: s310: the controller reads the control code file; s320: detecting whether the control code has a grammar error, if so, executing S330, otherwise, executing S340; s330: the controller generates a compiling error report and prompts the compiling error report, and a user checks the compiling error report, modifies the control code file and returns to execute S310; s340: the controller analyzes the control code file line by line and converts the control code file into a two-dimensional array; s350: and the controller compiles the binary array according to a preset format to obtain an execution code.
Preferably, in the step S340, the two-dimensional array is 11 columns, and each column is an integer number.
Preferably, in the two-dimensional array, the 1 st column is a command analysis column, the 2 nd column is a sequence row number column, the 3 rd column is a skip row number column, and the 4 th to 11 th columns are parameter columns.
Preferably, the parameter column is executed through the command analysis column, the sequence row number is an execution row number of a statement or an execution row number of a next statement when the condition is true, the skip row number is a row number corresponding to a skip when the condition is false, and the parameter column is an execution operation parameter of the statement.
Preferably, the upper computer is a desktop computer, an all-in-one machine, a notebook computer, a tablet personal computer or a mobile phone, and the controller is connected with the upper computer through a USB (universal serial bus) line.
Preferably, the controller comprises a storage module, and the storage module is an SPI Flash, an SD card, or a TF card.
An automatic compiling system which is programmed by adopting the automatic compiling method of any one of the above items, and the automatic compiling system operates as follows: s10: the controller is connected with an upper computer, the automatic compiling system selects a working mode, if the execution code exists in the controller, S20 is executed, otherwise, S30 is executed; s20: the automatic compiling system controls the equipment to run through the execution code and enters a running mode; s30: and the automatic compiling system automatically generates the programming template file and enters a programming mode.
An apparatus, comprising: one or more processors; memory for storing one or more computer programs, one or more processors for executing the one or more computer programs stored by the memory to cause the one or more processors to perform the automated compilation method of any of the above.
The implementation of one of the technical schemes of the invention has the following advantages or beneficial effects:
the invention can realize the programming and compiling operation of the user to the equipment without a programming tool and a compiling tool, saves the execution code downloading process, has simpler and more convenient operation process, can complete all operations in a very short time without any programming-based user, and reduces the operation and maintenance cost of the automatic control equipment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
FIG. 1 is a flow chart of an automated compilation method according to an embodiment of the present invention;
FIG. 2 is a flow diagram of an automated compilation process in accordance with one embodiment of the present invention;
FIG. 3 is a diagram illustrating an example of programming in a programming template file according to an embodiment of the present invention;
FIG. 4 is an exemplary diagram of a two-dimensional array after a control code file is parsed line by line in the first embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a two-dimensional array according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating the operation of an automated compilation system according to a second embodiment of the present invention.
Detailed Description
In order that the objects, aspects and advantages of the present invention will become more apparent, various exemplary embodiments will be described below with reference to the accompanying drawings, which form a part hereof, and in which are shown by way of illustration various exemplary embodiments in which the invention may be practiced. The same numbers in different drawings identify the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. It is to be understood that they are merely examples of processes, methods, apparatus, etc. consistent with certain aspects of the present disclosure as detailed in the appended claims, and that other embodiments may be used or structural and functional modifications may be made to the embodiments set forth herein without departing from the scope and spirit of the present disclosure.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," and the like are used in the orientations and positional relationships illustrated in the accompanying drawings for the purpose of facilitating the description of the present invention and simplifying the description, and do not indicate or imply that the elements so referred to must have a particular orientation, be constructed in a particular orientation, and be operated. The terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "plurality" means two or more. The terms "coupled" and "connected" are to be construed broadly and may include, for example, a fixed connection, a removable connection, a unitary connection, a mechanical connection, an electrical connection, a communicative connection, a direct connection, an indirect connection via intermediate media, and may include, but are not limited to, a connection between two elements or an interactive relationship between two elements. The term "and/or" includes any and all combinations of one or more of the associated listed items. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In order to explain the technical solution of the present invention, the following description is made by way of specific examples, which only show the relevant portions of the embodiments of the present invention.
The first embodiment is as follows:
as shown in fig. 1, the present invention provides an automatic compiling method, which includes the following steps: s100: the controller is connected with the upper computer, and automatically generates a programming template file on the upper computer, for example, a 'programming template, TXT' text file is generated as the programming template file, and a user can input a corresponding control code in the programming template file. S200: the user writes the control code in the programming template file, and the control code can adopt the key words of the common programming language so as to reduce the learning cost of the user. S300: the user finishes the compiling of the control code and stores the control code file, if the 'compiling code and TXT' text file is generated as the control code file, the controller automatically compiles the control code file to generate the execution code, a compiling tool on an upper computer is not needed, the automatic compiling reduces the operation difficulty of the equipment, the automatic control equipment can be controlled after the execution code is generated, the execution code does not need to be downloaded to a control terminal, and the operation is quicker and simpler. The invention realizes programming and compiling through the controller, can realize the programming and compiling operation of the user on the equipment without a programming tool and a compiling tool, saves an execution code downloading process, has simpler and more convenient operation process, can finish all operations in a very short time without any programming-based user, and reduces the operation and maintenance cost of the automatic control equipment.
In the control code compiling of the method, the special symbols are defined and respectively comprise the following steps: (ii) the program flags a character, the program starts with "#", and with "#"; "end". No more than 100 characters per line beginning with "#". ② [; annotating a caption or ending statement, the semicolon must be an English punctuation mark, and each line of statement must be in; "end" is used as a flag. (iii) parallel sentence marks, which are equivalent to logical and, comma must be an english punctuation mark. And r represents a condition or a statement flag, which corresponds to a logical or. Assigning or judging mark, inputting as judging, outputting as assigning, left as keyword, right as number, left and right ends without other characters, including blank space. And C, matching X/Y input and output ports.
Input port symbols and output port symbols of the present invention illustrate: input port symbols: x? (. The "underlined" + "X" + numerals "0 to 7" represent input ports. The underline may be preceded by a user-defined designation, e.g., input port 1(X0) may be represented as: x0 or add the user description StartButton X0. "X0 ═ 1" indicates that it is judged whether or not the [ X0] port is high (i.e., X0 indicates whether or not the LED lamp is on). Output port symbol: y? (. The "+" Y "+ numerals" 0-7 "are underlined and represent output ports. The underlining may be preceded by a user-defined designation, e.g., output port 1(Y0) may be expressed as: y0 or add a user description PassLED _ Y0. Y0 ═ 1 indicates that [ Y0] output port Y0_ C is connected to Y0_ NO port in a closed state (while Y0 indicates that the LED lamp is on).
The keywords defined by the invention are respectively as follows: DELAY: a delay statement in milliseconds. # DELAY 1000; representing a delay of 1000 milliseconds. A single delay statement cannot exceed 9999 milliseconds. ② IF: the conditional judgment statement is equivalent to the Chinese 'if'. # IF startbuton _ X0 ═ 0; this indicates whether or not the input signal at the [ X0] port is in the off state of the LED corresponding to X0. If the condition is satisfied, the next statement is executed, and if the condition is not satisfied, the statement after ELSE or ENDIF is jumped to. ③ ELSE: IF and ENDIF are matched for use, which is equivalent to Chinese 'else'. IF the condition of the IF statement is not met, a jump is made to the statement following ELSE. ENDIF: paired with IF statements. Indicating that the current IF statement is finished. WHILE: unconditional loop statements, loop start. Generally, the method circularly uses (ENDWHILE): when the loop is matched with WHILE, the end point of the loop is indicated, and the next loop jumps to a WHILE statement. Seventhly, WHLIF: conditional loop statements, assembly of WHILE IF. Judging the condition, and executing the loop statement if the condition is satisfied. Jump to ENDWHLIF if the condition is not met and then execute the statement. Eighty percent (ENDWHLIF): when the method is used with WHLIF, the end point of the loop is shown, and the next loop jumps to a WHLIF statement. As shown in fig. 3, is an example of programming by the programming template file of the present invention.
As an optional embodiment, the programming template file is in a txt format or a C format, so that the applicability of the method is improved. The txt format is a universal text document format, has good universality, can be opened in most upper computer equipment, is convenient to program through a programming template file, and has simple format and better applicability. The format of C is a C source file, so that professional software technicians familiar with C can program according to the writing habit of C, and the use experience of the part of users can be satisfied.
As an alternative embodiment, as shown in fig. 2, in step S300, the process of the controller performing automatic compilation on the control code file includes the following steps. S310: the controller reads the control code file, detects whether the control code has a grammar error, if so, executes S320, otherwise, executes S330; s320: the controller generates a compiling error report and prompts the compiling error report, and a user checks the compiling error report, modifies the control code file and returns to execute S310; s330: the controller analyzes the control code file line by line and converts the control code file into a two-dimensional array; s340: and the controller compiles the binary array according to a preset format to obtain an execution code.
After the controller reads the control code file, the grammar is analyzed line by line to judge whether a logic error exists or not, and the keyword is analyzed to judge whether a logic error exists or not. First the line statement by looking for "#" and "; "the sign judges whether the statement starts and ends correctly, judges whether the length of the line statement exceeds the set range by the length, judges whether the Ascii code value of the input character is less than 127, judges whether the illegal character is input, and the like. Different types of syntax errors can be detected through the for loop statements, each for statement outputs a corresponding error prompt through a printf statement, and the for statement loop is terminated through a break statement. The keywords IF ELSE, ENDIF, DELAY, WHILE [ unconditional loop ], WHLIF [ conditional loop ] ENDWHL [ end loop ], and related keywords are then looked up. And for input port _ X? Output port _ Y? The variable _ V? Parsing and assigning parameters. The above syntax analysis is carried out line by line, if the controller judges that the syntax is wrong, the wrong line number, the wrong code and the wrong description are automatically recorded in the 'compiling report, TXT' text file, so that a user can conveniently search the wrong reason for modification, and the efficiency is improved. IF the logic condition of a plurality of IF ELSE nested is analyzed, firstly, the corresponding relation of IF ELSE statements is recorded, and the embedded pairing sequence is ensured not to be dislocated; then, the relative positions of the key symbols such as "," | "and the like are confirmed, and the execution parameters of the current line analysis are temporarily stored. If the logic is judged to be wrong, the controller also automatically records error codes, error codes and error description in a 'compile report' TXT text file. If there is no syntax error and logic error, the controller will compile zero error report in "compile report. TXT" text file record, and generate user program code two-dimensional array data as executing code. When the controller analyzes the control code file line by line, the controller extracts the command of the command analysis column, extracts the sequence line number of the sequence line number column, extracts the jump line number of the jump line number column and extracts the sequence of the parameters 1-8 of the parameter column according to the search keywords to analyze line by line, finally obtains analysis data, and analyzes the control code file line by line through a readline function.
As an alternative embodiment, in step S320, the two-dimensional array is 11 columns, and each column is an integer number. As shown in fig. 4, each 11 integer numbers form a group corresponding to a line sentence parsed from the text file.
As an alternative embodiment, as shown in fig. 5, in the two-dimensional array, the 1 st column is a command analysis column, the 2 nd column is a sequential row number column, the 3 rd column is a skip row number column, and the 4 th to 11 th columns are parameter columns, which are parameters 1 to 8, respectively. The parameter column is executed through the command analysis column, the sequence row number is the execution row number of the statement or the execution row number of the next statement when the condition is true, the jump row number is the row number corresponding to the jump when the condition is false, and the parameter column is the execution operation parameter of the statement. When the controller reads and analyzes the two-dimensional array row by row, the controller analyzes the two-dimensional array through a command (array column 1), and then executes a condition parameter 1 (array column 4) to a parameter 8 (array column 11), wherein the parameters 1 to 8 can be corresponding to input and output hardware ports of the controller or variables or constants. That is, the commands of the parameter 1-parameter 8 installation command analysis column (array 1 st column) act, thereby realizing the purpose of automatic programming for users. If the execution results of the parameters 1 to 8 are TRUE (TRUE), the next statement is automatically executed in sequence, namely the sequence row number (array 2) corresponding to the two-dimensional array, otherwise, if the execution results of the parameters 1 to 8 are FALSE (FALSE), the row number corresponding to the row skip row number (array 3) is automatically entered, and the next statement is executed. The execution code is obtained in this way, and the control of the user on the external automation device is realized.
As an optional implementation manner, the upper computer is a desktop computer, an all-in-one machine, a notebook computer, a tablet computer, or a mobile phone, and of course, other devices with input and display functions may also be used, which is not described herein again. The controller is connected with the upper computer through a USB line, after the controller and the upper computer are connected with each other, a mobile USB device is added on the upper computer, and a 'programming template, TXT' text file is automatically generated in the USB device. Various upper computer equipment generally have general USB interface, or can provide the USB interface through switching equipment, just realized the communication between upper computer and the controller through the USB line and be connected, easy operation is convenient, and application scope is wide.
As an optional implementation, the controller includes a storage module, the storage module is an SPI Flash, an SD card, or a TF card, and a user can select the storage module according to the use requirement. The controller supports various storage modules, and applicability is further improved.
The embodiment is only a specific example and does not indicate such an implementation of the invention.
The second embodiment:
an automatic compiling system is programmed by adopting the automatic compiling method in the first embodiment. As shown in fig. 6, the automatic compiling system operates as follows. S10: the controller is connected with the upper computer, the automatic compiling system selects the working mode, if the controller has an execution code, S20 is executed, otherwise S30 is executed; s20: the automatic compiling system controls equipment to run by executing codes and enters a running mode; s30: and the automatic compiling system automatically generates a programming template file and enters a programming mode. In the embodiment, the working mode is automatically selected, so that the system can automatically run when compiled execution codes exist in the controller, and the convenience of the system is improved. Of course, in the operation mode, the programming template file can be modified at any time, so that diversified control over the external automation equipment is realized. The automatic compiling system of the embodiment can realize the programming and compiling operation of the user on the equipment without a programming tool or a compiling tool, saves the process of executing code downloading, is simpler and more convenient in operation process, can finish all operations in a very short time without any programming-based user, and reduces the operation and maintenance cost of the automatic control equipment.
Example three:
the invention also provides a controller embodiment comprising one or more processors and a memory; wherein the memory is configured to store one or more computer programs, and the one or more processors are configured to execute the one or more computer programs stored in the memory, so as to make the processors execute the features/steps of the second embodiment. The device preferably comprises eight input ports from X0 to X7 and eight output ports from Y0 to Y7, although other numbers of input ports and output ports can be selected according to the control requirement. The controller of the embodiment can realize the programming and compiling operation of the user on the equipment without a programming tool or a compiling tool, saves an execution code downloading flow, is simpler and more convenient in operation process, can complete all operations in a very short time without any programming-based user, and reduces the operation and maintenance cost of the automatic control equipment.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (10)

1. An automated compilation method, comprising the steps of:
s100: the controller is connected with an upper computer, and a programming template file is automatically generated in the upper computer;
s200: writing a control code in the programming template file by a user;
s300: and the user finishes compiling the control code and stores the control code to obtain a control code file, and the controller automatically compiles the control code file to generate an execution code.
2. The automated compiling method of claim 1 wherein the programming template file is in the txt format or the C format.
3. The automatic compiling method according to claim 1, wherein in the step S300, the automatic compiling of the control code file by the controller comprises:
s310: the controller reads the control code file;
s320: detecting whether the control code has a grammar error, if so, executing S330, otherwise, executing S340;
s330: the controller generates a compiling error report and prompts the compiling error report, and a user checks the compiling error report, modifies the control code file and returns to execute S310;
s340: the controller analyzes the control code file line by line and converts the control code file into a two-dimensional array;
s350: and the controller compiles the binary array according to a preset format to obtain an execution code.
4. The automated compiling method according to claim 3, wherein in the step S340, the two-dimensional arrays are 11 columns, and each column is an integer number.
5. The automatic compiling method of claim 4 wherein in the two-dimensional array, the 1 st column is a command parsing column, the 2 nd column is a sequential row number column, the 3 rd column is a skip row number column, and the 4 th to 11 th columns are parameter columns.
6. The automatic compiling method of claim 5 wherein the parameter columns are executed through the command parsing columns, the sequence row number is an execution row number of a statement or an execution row number of a next statement if the condition is true, the jump row number is a row number corresponding to a jump if the condition is false, and the parameter columns are execution operation parameters of the statement.
7. The automatic compiling method of claim 1 wherein the host computer is a desktop computer, an all-in-one machine, a notebook computer, a tablet computer or a mobile phone, and the controller is connected to the host computer through a USB cable.
8. The automated compiling method of claim 1 wherein the controller comprises a memory module, the memory module being an SPI Flash, an SD card or a TF card.
9. An automated compiling system which is programmed by the automated compiling method according to any one of claims 1 to 8 and is operated as follows:
s10: the controller is connected with an upper computer, the automatic compiling system selects a working mode, if the execution code exists in the controller, S20 is executed, otherwise, S30 is executed;
s20: the automatic compiling system controls the equipment to run through the execution code and enters a running mode;
s30: and the automatic compiling system automatically generates the programming template file and enters a programming mode.
10. A controller, comprising:
one or more processors;
memory for storing one or more computer programs, the one or more processors for executing the one or more computer programs stored by the memory to cause the one or more processors to perform the automated compilation method of any of claims 1-8.
CN202210437936.5A 2022-04-25 2022-04-25 Automatic compiling method, system and controller Pending CN114968252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210437936.5A CN114968252A (en) 2022-04-25 2022-04-25 Automatic compiling method, system and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210437936.5A CN114968252A (en) 2022-04-25 2022-04-25 Automatic compiling method, system and controller

Publications (1)

Publication Number Publication Date
CN114968252A true CN114968252A (en) 2022-08-30

Family

ID=82978796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210437936.5A Pending CN114968252A (en) 2022-04-25 2022-04-25 Automatic compiling method, system and controller

Country Status (1)

Country Link
CN (1) CN114968252A (en)

Similar Documents

Publication Publication Date Title
JP4822817B2 (en) Compilation system
CN101976187B (en) Stack tracing method and device in decompilation process and decompiler
CN110109671B (en) Webpack label size and style conversion method and device
CN106528198A (en) Program downloading system and program downloading method applied to automobile electric-control unit
CN116540986A (en) Method for constructing text programming language code editor based on Web end
CN110765012A (en) Automatic test script generation and analysis execution method
CN112835323B (en) Programmable logic control language compiling method and device
CN102566481B (en) C language-based PLC (Programmable Logic Controller) control system and realization method thereof
CN110442520B (en) Cross debugging system and method based on PLC programming language
CN114968252A (en) Automatic compiling method, system and controller
JP4009517B2 (en) Program development support apparatus and compiling method
CN116501330A (en) Text programming language compiling method based on decoupling architecture
JP2009086898A (en) Method for compiling machine code program for programmable logic controller
CN101561779A (en) Debugging method and debugger
KR20090011974A (en) Method for extracting the target files of compilation
US7318221B2 (en) Windows™ F-language interpreter
CN100367233C (en) Program execution control mode
CN113806153A (en) Chip verification method
CN110083362A (en) Document handling method, system, readable storage medium storing program for executing and equipment
WO1992003782A1 (en) Parsing program data streams
KR101495021B1 (en) Apparatus and method for inputting row of character
GUIDE intJ
KR102395927B1 (en) Apparatus and method for generating functional specifications
CN117909234A (en) Mobile terminal automatic test method and system based on natural language recognition
JP2000353112A (en) Method and system for debugging intermediate language level

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