I cannot generate PLC code on subsystems with enable port

조회 수: 20 (최근 30일)
zachary
zachary 2023년 11월 2일
편집: nick 2023년 11월 17일
The simulink enable block list PLC coder under extended capabilities. However, when I open models which i had previosuly generated code from, that have been converted to enabled subsystems, the PLC code sub menu is grayed out and cannot be accessed.
Is the help documentation correct in stating that the enabled subsystsm is comatible with PLC coder?

답변 (1개)

nick
nick 2023년 11월 17일
편집: nick 2023년 11월 17일
Hi Zachary,
I understand that you are facing an issue in accessing PLC Code submenu in an enabled subsystem. The PLC code submenu is greyed out in the enabled subsystems.
Enabled Subsystem is supported for PLC code generation but not as top-level subsystem. You can alternatively put the Enabled Subsystem inside a top-level Atomic Subsystem for PLC code generation.
Hope this helps,
Regards,
Neelanshu

카테고리

Help CenterFile Exchange에서 Simulink PLC Coder에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by