Hybrid compiling method, storage medium and program product for programmable logic controller
A technology of programming logic and compiling method, which is applied in the field of storage media and program products, and the hybrid compiling method of programmable logic controllers. It can solve problems such as difficult logical operations, slow speed, and inability to apply cross-platforms, and achieve high execution efficiency. The effect of high execution efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] Please refer to figure 2 , Based on the hardware architecture of the hybrid compiling device of the above-mentioned programmable logic controller, an embodiment 1 of the hybrid compiling method of the programmable logic controller of the present application is proposed below, and the hybrid compiling method of the programmable logic controller is applied to the compiling end; Hybrid compilation methods for programmable logic controllers include:
[0075] S100. Acquire a mixed instruction program, where the mixed instruction program includes interpretive instructions and pseudo-interpreted instructions, and the pseudo-interpreted instructions are composed of compiled instructions;
[0076] The compiler side obtains the mixed instruction program. In order to take into account the advantages of interpreted compilation and compiled compilation, the mixed instruction program is divided into two parts in this embodiment, one part is interpreted instructions, and the other p...
Embodiment 2
[0113] Based on the same inventive concept, the present application also proposes a second embodiment, which is applied to the parsing end of the target platform;
[0114] Please refer to image 3 , a hybrid compiling method for a programmable logic controller, the method comprising:
[0115] S500. Receive an interpreted instruction compilation file and a compiled execution file formed by compiling the mixed instruction program by the compiling end;
[0116] In a feasible embodiment, the parsing end of the target platform can receive, through the serial port, an interpreted instruction compilation file and a compiled execution file formed by compiling the mixed instruction program.
[0117] It should be noted that the parsing end of the target platform can also receive the interpretation command compilation file and the compiled execution file formed by compiling the mixed command program through a UART port, a COM port, a USB port, or the like.
[0118] S600, performing ini...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


