marwern/PLCreX

export UML Statechart TwinCAT and import enterprise architecht or visual paradigm

runtimevic opened this issue ยท 12 comments

UML_Cycle.zip
hello,
I would like to export UML Statechart TwinCAT and import enterprise architecht or visual paradigm,
I attach a file exported from TwinCAT in plcopenXML format...
and I would like to change it to another format such as sysml or any other so that it could be imported in enterprise architect or visual paradigm and then also do the opposite, I think it would be a good idea in this way it could be developed on both sides and be able to export/import ...
thanks you

Hi @runtimevic , just a short update: I have created a project for this issue at my university and am currently waiting for a student who would like to have a look at this issue in detail.

Hi @runtimevic , just a short update: I have created a project for this issue at my university and am currently waiting for a student who would like to have a look at this issue in detail.

I think it's a very good idea, I hope you get it, if you can keep me informed or if I can help you with something, tell me...

A student has started to investigate this possibility in more detail during the next weeks/month. He will contact you if he needs more info.

A student has started to investigate this possibility in more detail during the next weeks/month. He will contact you if he needs more info.

Yes happy to help, my email is: victorduranm@hotmail.com ....

Hi, just a question, I tried contacting you both via email, but haven't got an answer yet. I just wanted to check if you did receive it.

Hi, just a question, I tried contacting you both via email, but haven't got an answer yet. I just wanted to check if you did receive it.

Hello @svenfuer
I have not received any email, how can I help you? My email is: victorduranm@hotmail.com

Huh, very weird, I sent it to you last week on Monday. Anyway, I needed a lot of time to gather some background information, for I am not a computer science student but electronics. I'm not quite sure what my task is. To my understanding you want me to write a small software or script to convert the plcopen XML file to a format which can be imported both in visual paradigm and enterprise architect, right? Can you upload one example file for both of them, I couldn't find any online. I plan on writing the code in C# on VS, for I have some experience with the two, would that work?

Huh, very weird, I sent it to you last week on Monday. Anyway, I needed a lot of time to gather some background information, for I am not a computer science student but electronics. I'm not quite sure what my task is. To my understanding you want me to write a small software or script to convert the plcopen XML file to a format which can be imported both in visual paradigm and enterprise architect, right? Can you upload one example file for both of them, I couldn't find any online. I plan on writing the code in C# on VS, for I have some experience with the two, would that work?

Hello @svenfuer ,

  • You don't have the Codesys IDE or the TwinCAT IDE installed?
  • You should have Beckhoff TwinCAT or Codesys IDE installed, both support UML classDiagram and statemachine...
  • As soon as I can, I'll provide you with examples of both, but you can also download them from their pages, from codesys you have an example of a UML statechart of a coffee machine.
    https://store.codesys.com/en/codesys-uml.html
    In TwinCAT you also have examples to download...
    https://infosys.beckhoff.com/english.php?content=../content/1033/tf1910_tc3_uml/1510519307.html&id=
    If you need an example I can do what you want, from Codesys and/or TwinCAT you can export/import in PLCOpen XML format...
    The idea would be to be able to import/export in EA (Enterprise Architect), Visual Paradigm or in other software that you know, in this way you could work on both sites and by importing/exporting work correctly...

hello @svenfuer,
As you take?
May I help you?
Have you created a repository on GitHub so I can look at it and help you if possible?

plcrex commented

info: parked issue since student project has finished.

info: parked issue since student project has finished.

and did you manage to do anything?...

info: parked issue since student project has finished.

and did you manage to do anything?...

Hi, at least nothing specific to EA that would be worth integrating. The topic is open to interested students or contributors ๐Ÿ˜‡