Automatic PLC Control Logic Generation Method Based on SysML System Design Model

Automatic generation of Programmable Logic Controller (PLC) programs from system design models can reduce system development costs and shorten system development cycles. However, effective methods for ensuring the quality and performance of control logic automatically generated from system design mo...

Full description

Saved in:
Bibliographic Details
Main Authors: Bo Ling, Changyong Chu, Chuan Xu
Format: Article
Language:English
Published: MDPI AG 2025-04-01
Series:Actuators
Subjects:
Online Access:https://www.mdpi.com/2076-0825/14/5/201
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849711438294155264
author Bo Ling
Changyong Chu
Chuan Xu
author_facet Bo Ling
Changyong Chu
Chuan Xu
author_sort Bo Ling
collection DOAJ
description Automatic generation of Programmable Logic Controller (PLC) programs from system design models can reduce system development costs and shorten system development cycles. However, effective methods for ensuring the quality and performance of control logic automatically generated from system design models are still lacking. This paper proposed a model-driven PLC program automatic generation approach. Firstly, a clear formal specification for the system design model oriented to PLC programming was established. Secondly, the fundamental semantic correspondence between system model elements and PLC program elements was defined by devising a set of mapping rules. Thirdly, a novel mapping algorithm was proposed to generate a PLC program based on system design models. Finally, an example of the automatic generation of a PLC control program for a handling robot was used to verify the effectiveness of the method. This method can provide system-level design and analysis capabilities during the initial stages of model development, offering solutions to the challenges of complexity modeling and engineering efficiency. Additionally, it is expected to have wide-ranging applications in the industrial automation sector, thereby contributing to the innovation and advancement of automation systems.
format Article
id doaj-art-af8aa36747a34a8cb39be3ff098867a1
institution DOAJ
issn 2076-0825
language English
publishDate 2025-04-01
publisher MDPI AG
record_format Article
series Actuators
spelling doaj-art-af8aa36747a34a8cb39be3ff098867a12025-08-20T03:14:38ZengMDPI AGActuators2076-08252025-04-0114520110.3390/act14050201Automatic PLC Control Logic Generation Method Based on SysML System Design ModelBo Ling0Changyong Chu1Chuan Xu2School of Mechanical Engineering, Hangzhou Dianzi University, Hangzhou 310018, ChinaSchool of Mechanical Engineering, Hangzhou Dianzi University Information Engineering College, Hangzhou 311305, ChinaSchool of Mechanical Engineering, Hangzhou Dianzi University, Hangzhou 310018, ChinaAutomatic generation of Programmable Logic Controller (PLC) programs from system design models can reduce system development costs and shorten system development cycles. However, effective methods for ensuring the quality and performance of control logic automatically generated from system design models are still lacking. This paper proposed a model-driven PLC program automatic generation approach. Firstly, a clear formal specification for the system design model oriented to PLC programming was established. Secondly, the fundamental semantic correspondence between system model elements and PLC program elements was defined by devising a set of mapping rules. Thirdly, a novel mapping algorithm was proposed to generate a PLC program based on system design models. Finally, an example of the automatic generation of a PLC control program for a handling robot was used to verify the effectiveness of the method. This method can provide system-level design and analysis capabilities during the initial stages of model development, offering solutions to the challenges of complexity modeling and engineering efficiency. Additionally, it is expected to have wide-ranging applications in the industrial automation sector, thereby contributing to the innovation and advancement of automation systems.https://www.mdpi.com/2076-0825/14/5/201SysMLPLCmodel-driven developmentindustrial automation
spellingShingle Bo Ling
Changyong Chu
Chuan Xu
Automatic PLC Control Logic Generation Method Based on SysML System Design Model
Actuators
SysML
PLC
model-driven development
industrial automation
title Automatic PLC Control Logic Generation Method Based on SysML System Design Model
title_full Automatic PLC Control Logic Generation Method Based on SysML System Design Model
title_fullStr Automatic PLC Control Logic Generation Method Based on SysML System Design Model
title_full_unstemmed Automatic PLC Control Logic Generation Method Based on SysML System Design Model
title_short Automatic PLC Control Logic Generation Method Based on SysML System Design Model
title_sort automatic plc control logic generation method based on sysml system design model
topic SysML
PLC
model-driven development
industrial automation
url https://www.mdpi.com/2076-0825/14/5/201
work_keys_str_mv AT boling automaticplccontrollogicgenerationmethodbasedonsysmlsystemdesignmodel
AT changyongchu automaticplccontrollogicgenerationmethodbasedonsysmlsystemdesignmodel
AT chuanxu automaticplccontrollogicgenerationmethodbasedonsysmlsystemdesignmodel