4/4/2022 12:30 PM | |
Joined: 3/29/2022 Last visit: 1/9/2025 Posts: 4 Rating: (0) |
Hi guys, I found this article on the internet https://www.kb-controls.io/post/working-with-the-s7-1500s-new-web-api It sounds interesting but is there like some kind of user manual to know what is possible to retrieve from the webserver. We are looking for a way to read out for example how many work code memory is used, how many data retain / data non-retain memory is being used from the PLC. A lot of things refer to the link below, but i don't want to create a webpage on the S7-1500. I want to extract information from the build in webserver. https://support.industry.siemens.com/cs/document/68011496/creating-and-using-user-defined-web-pages-on-s7-1200-s7-1500?dti=0&lc=en-WW ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 04/05/2022 07:55:16New subject after splitting |
|
4/4/2022 3:45 PM | |
Joined: 7/7/2010 Last visit: 1/14/2025 Posts: 15533 Rating: (2465) |
If you have your PLC, you can start with interrogating the PLC for the available and supported requests. Read up on how that works in the webserver manual found here: https://support.industry.siemens.com/cs/document/59193560/ It shows how to request or browse for the json data showing what is supported by that PLC and firmware. In this way, a single application can be written that can access current and future firmware and API methods making your web api applications more dynamic. |
science guy |
|
4/12/2022 2:47 PM | |
Joined: 3/29/2022 Last visit: 1/9/2025 Posts: 4 Rating: (0) |
Yes we are trying to avoid web s-c-r-a-p-i-n-g. Thank you very much for the tip. |
Follow us on