fingerskier / S7webHMI

Siemens S7 built-in web-server based HMI framework.
GNU General Public License v3.0
9 stars 6 forks source link

Missing files / Examples #1

Open GonCarp opened 5 years ago

GonCarp commented 5 years ago

Hello there, I like your work but I'm having problems to understand it. 1st - There are missing files like index.html and data.json 2nd - Could you put here some examples?

thank you

yo-k commented 5 years ago

Interesting project. As @GonCarp mentioned files are missing and it would be nice to get some examples. Please @fingerskier - could you share more of your knowledge? Thanks a lot.

fingerskier commented 5 years ago

Wow, it's been awhile since I messed with this. Sorry that missed GonCarp's post...I no longer work in a Siemens shop (nor the original code-base.) However, I'll try to help if possible:

This is written using jquery; You'd have to reverse engineer the html from the form submit handler. It should be pretty straight-forward... If memory serves: the TIA Portal docs have a fairly extensive section regarding this www functionality that could help re-create the data.json format. It basically a hash of js-names vs. tag-names.

I would be happy to help if needs be & you have access to a Siemens system.

yo-k commented 5 years ago

Thanks for your quick reply. I find the project very interesting and I would buy a s7 with webserver for it - i think a cheap 1200. At the moment I own only old S7-300. What makes this project particularly attractive is the manageable code to start with. A working, absolutely simple hello world example would help to start and by the way I could expand my very limited js knowledge.