A method for compiling and processing program organization unit
A technology of program organization unit and processing method, which is applied in the direction of code compilation, program code conversion, etc., can solve the problems of difficult data and instruction processing, and the implementation method has not been described in the literature, so as to achieve the effect of fast execution
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] The technical solutions and beneficial effects of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0017] Such as figure 1 As shown, the present invention provides a method for compiling and processing a program organization unit, comprising the following steps:
[0018] (1) The program organization unit is a tree-like hierarchical structure, and the program organization unit includes local variables, structured text codes and several subunits. Each subunit has input and output interface variables, and the function of the subunit is executed in the structured text code of the parent unit in a way similar to a function, and only called once. Access and compile program organization units and subunits in depth-first traversal order.
[0019] Such as figure 1 As shown, POU1 includes 2 sub-units SUBPOU1 and SUBPOU2, and SUPOU1 includes 2 sub-units SUBPOU11 and SUBPOU12, then the traversal processing sequence is shown...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
