首页> 外国专利> 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.
机译:本发明实施例提供了一种并行化自动控制程序的方法,该方法应用于具有多核的多核可编程逻辑控制器(M-PLC),该方法包括:划分要由其执行的串行自动控制程序。 M-PLC分为多个程序块;使用多个程序块将自动控制程序映射到并行化模型;根据并行化模型对多个程序块进行并行化调度,以分别将多个程序块分配给M-PLC的多个内核;将分配给每个内核的每个程序块分别转换为机器代码,并将机器代码下载到多个内核以分别执行。本发明实施例还提供了一种用于执行上述方法的编译器。通过采用本发明的实施例,可以实现基于M-PLC的自动控制程序的并行调度。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号