PLC Coder does not support the usage of machine parented data. How can I solve it?
조회 수: 8 (최근 30일)
이전 댓글 표시
I am currently working on Stateflow (Simulink) to generate a PLC Code compatible with Rockwell.
I am currently facing incompatibility issue: PLC Coder does not support the usage of machine parented data objects. How can I solve it without deleting such data?
Thanks
댓글 수: 0
채택된 답변
Shivang
2023년 9월 4일
Hi Alice,
I understand you're running into an issue regarding the usage of machine-parented data objects in Stateflow.
Note that starting in R2023a, Stateflow charts no longer support machine-parented data. You will need to convert machine-parented data to chart-parented data store memory.
You can run Upgrade Advisor to fix this issue. Upgrade Advisor will automatically check the model for instances of machine-parented data. You will then be presented with an option to "Upgrade model", which will create chart-parented data in the charts that use machine-parented data.
Refer to the documentation for more details: https://www.mathworks.com/help/simulink/slref/simulink-checks_bq6d4aa-1.html#mw_94a64beb-dfcf-44c3-af52-82eaa725bc06
Hope this helps.
-Shivang
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink PLC Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!