How do I import an XML generated by PLC coder into TwinCAT 3 / Visual Studio 2015?
Afficher commentaires plus anciens
I am generating an XML using PLC Coder, and would like to import this XML into Beckhoff TwinCAT 3/Visual Studio 2015 (TwinCAT 3 is an add-on I have installed for Visual Studio, as shown in the image below).

Although I have my own model, I am currently working with a MathWorks example model, "plcdemo_external_symbols". I changed the "PLC Code Generation" configuration parameters of the model to have a Target IDE of "Beckhoff TwinCAT 3". I then generate the XML by right-clicking on the subsystem, and selecting "PLC Code > Generate Code for Subsystem". This generates "plcdemo_external_symbols.xml". When I try to import the XML, I am getting an error message saying it "cannot consume the specified XML. The XML content has no meaning for the tree item...".
How can I import my generated XML file into TwinCAT?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with Simulink PLC Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!