首页>
外国专利>
METHOD FOR PARALLELIZING AUTOMATIC CONTROL PROGRAMS AND COMPILER
METHOD FOR PARALLELIZING AUTOMATIC CONTROL PROGRAMS AND COMPILER
展开▼
机译:并行化自动控制程序和编译器的方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
Embodiments of the present invention provide a method for parallelizing automatic control programs, the method is applied to a Multi-Core Programmable Logic Controller (M-PLC) with multiple cores, and the method includes: dividing a serial automatic control program to be executed by the M-PLC into multiple program blocks; mapping the automatic control program to a parallelization model using the multiple program blocks; performing parallelization scheduling for the multiple program blocks according to the parallelization model to allocate the multiple program blocks respectively to the multiple cores of the M-PLC; and, converting each program block allocated to each core into machine codes respectively, and downloading the machine codes to the multiple cores for their respective execution. The embodiments of the present invention also provide a compiler for performing the above method. Parallelization scheduling for the automatic control program based on the M-PLC can be realized by adopting the embodiments of the present invention.
展开▼