Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation #4

Open
troybaxter99 opened this issue Apr 22, 2024 · 4 comments
Open

Documentation #4

troybaxter99 opened this issue Apr 22, 2024 · 4 comments

Comments

@troybaxter99
Copy link

Can you provide some sort of condensed down documentation as to how to do things like access, create, export, import PLCs, HMIs, and various hardware components, because it is hard to navigate any of the code?

@Repsay
Copy link
Owner

Repsay commented Apr 22, 2024

@troybaxter99 I'm sorry that you find the code difficult to navigate. I'm currently no longer working on this project because this was part of my thesis for my study. I'm no longer in possession of TIA licenses or other software related to this project. If you have any questions about the code I'm happy to help but as said earlier am no longer capable of developing or improving the functionality.

@Repsay
Copy link
Owner

Repsay commented Apr 22, 2024

Can you provide some sort of condensed down documentation as to how to do things like access, create, export, import PLCs, HMIs, and various hardware components, because it is hard to navigate any of the code?

Regarding the functionality you mention I'm not quite sure if that is even implemented in the current codebase. As this code was mostly used for automating the coding part and block creating of TIA. If you wish to extend the code base with this functionality I would advise you to have a look at my repo with the TIA Portal stub files for python. Repo

@LeonardoPietro
Copy link

Hello, I'm having some issues when I try to import a XML PLCBlock to my project, can you please provide some information or example using this funcionality?

@Repsay
Copy link
Owner

Repsay commented Aug 29, 2024

@LeonardoPietro

You need to use this function. If you want the name to be set by the software you need to use the labels as defined in the function. Name of the block will be set in the XML by replacing __NAME__ with the actual name. And by defining the labels parameter of the function you can add more replaceable options in the XML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants