Effacer les filtres
Effacer les filtres

PLC Coder does not support the usage of machine parented data. How can I solve it?

4 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Shivang
Shivang le 4 Sep 2023
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.
Hope this helps.
-Shivang

Plus de réponses (0)

Catégories

En savoir plus sur Simulink PLC Coder dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by