Skip to content

Navigation Menu

Sign in
Sign up

What is keeping you from using this component? #19

KircMax started this conversation in General
Discussion options

Hello everyone,

So I would like to get to know pain points some of you might have or generally what is keeping you from using the library.
I'd assume some reasons might be:

  1. The Readme doesn't really tell me the benefits
  2. I don't understand how to put this into a working environment
  3. It doesn't fit for my use case (because...)

Please, feel free to add anything and I'd love to hear some opinions on what you might need.

You must be logged in to vote

Replies: 4 comments 12 replies

Comment options

KircMax
Mar 22, 2022
Maintainer Author

For those who'd like to have a bit more explanations on how to set things up and use this component:
Feel free to check out this Youtube Channel. (Feel free to ask for content!)

You must be logged in to vote
3 replies
Comment options

Hi KircMax,

I am Anand. I am a PLC programmer by profession and I started learning C# and Python to understand how PLC + IT Integration works.
I cannot see any videos in your YouTube channel. Could you please share the video link?

Thanks in advance,
Anand

Comment options

KircMax Dec 18, 2023
Maintainer Author

Hi Anand,

Sorry this kind of got lost...
You can view them on my Youtube Channel...
I had put them offline since I didnt feel like there's much demand for them but since you asked - I put them back online.

Best regards
Max

Comment options

Hi Max,

Thank you so much for the videos.

Best regards,
Anand

Comment options

Hey,
first of all, nice job with this project.
and now my question.
Is there an easy way to get a list of strings of each variable in a datablock down to the last tag (Integer, reals etc)?
My goal is to save the content of a datablock in a csv-file.

You must be logged in to vote
4 replies
Comment options

KircMax Jul 4, 2023
Maintainer Author

Hey @Mytronus,
Thank you 😄,
I think I implemented something like a BrowseRecursive so basically the PlcProgram.Browse will do the trick for you but you will probably want to browse structures inside the db aswell ... I think I have that in place using a recursive Browse in the ApiPlcProgramHandler ... I'm currently just on my phone, I'd have to check on my PC - if you can't find it easily feel free to ask again

Comment options

KircMax Jul 4, 2023
Maintainer Author

Try using the
PlcProgramBrowseSetChildrenAndParentsAsync
Of the PlcProgramHandler.

Comment options

KircMax Jul 4, 2023
Maintainer Author

Hmm, does not seem so recursive after all, I might not have that recursive Method I thought I had -
You can take a look at:
PlcProgramReadStructByChildValuesAsync
But also the Browse and set Children should work for your needs when you extend your comfort method to get all sub children for the ones you found underneath the strict, etc.
I remember I had some problems with arrays of Structs inside a struct etc. - it sure needs some improvement there I guess 😃

Comment options

@Mytronus
we have developed a library to browse DB recusively. This was just POC to adapt TIA project to our existing communication library infrastructure, but you can find the principle of browsing DBs:

https://github.com/ix-ax/axsharp/blob/dev/src/AXSharp.connectors/src/AXSharp.TIA.Connector/TIA2AXSharpAdapter.cs

Comment options

On holiday, so just briefly. I am using the library extensively (https://github.com/ix-ax/axsharp).
Wider adoption has more to do with the overall culture in industrial automation than anything else; the vast majority of automation engineers are clueless about the technology in use here (REST/WebAPI...) and they lack the expertise to use it.

The library is well-documented and tested, and it just works.

Keep up the good work @KircMax we depend on you!

You must be logged in to vote
1 reply
Comment options

KircMax Jul 4, 2023
Maintainer Author

Thank you so much @PTKu !
I'm trying my best.

Comment options

First, thanks for the project. I like the web server as we use a lot of small hedless S7-1200 G2 PLCs (with majority having IP addresses set on the device rather than in the project) and idea of making basic setup or reconfiguring handfull of parameters using web page rather than using TIA Portal is grand.
However, in case of gen. 1 PLCs, we were able to embed our custom web pages within TIA Portal project and download them together with the project. Also, we could backup the PLC using Automation Tool and restore such project to another PLC easily.
This new approach seems to relay on using WebServerManager to make download web pages separately. The issue is when someone needs to replace their PLC. Normally they could restore the backup using Automation Tool (or even built in PLC web server service page) and that would restore PLC program, hardware config and web page as well. This makes whole download thing bit painful as it requires use of two tools (TIA and WebServerManager).
Any chance to have it integrated somehow with TIA Portal (perhaps via Openess)? After all TIA means Totally Integrated Automation :-)

You must be logged in to vote
4 replies
Comment options

KircMax Jul 2, 2026
Maintainer Author

image @Dragontorc Are you searching for this kind of online backup using TIA Portal maybe? go online on the device, then click "online" at the top
Comment options

Yes. This is the same backup as done with Automation Tool or using built-in PLC service webpages.
Question: does this backup include custom web apps downloaded to PLC? If I restore the backup to another PLC will it include custom webapps?

Comment options

KircMax Jul 2, 2026
Maintainer Author

Yes, those custom web applications are also part of the backup :)

Comment options

That’s great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /