104BWeb server
11.3 User-defined web pages
S7-1200 Programmable controller
522
System Manual, 11/2011, A5E02486680-05
Final steps
To use the Remote Wind Turbine Monitor as configured, generate the blocks, program the
WWW instruction (Page 508) with the number of the generated control DB as an input
parameter, download the program blocks, and put the CPU in run mode.
When an operator subsequently accesses the standard Web pages for the S7-1200 that
controls the wind turbine, the "Remote Wind Turbine Monitor" Web page is accessible from
the "User Pages" link on the navigation bar. This page now provides the means to monitor
and control the wind turbine.
11.3.9
Setting up user-defined Web pages in multiple languages
The Web server provides the means for you to provide user-defined Web pages in the
following languages:
●
German (de)
●
English (en)
●
Spanish (es)
●
French (fr)
●
Italian (it)
●
Chinese (zh)
You do this by setting up your HTML pages in a folder structure (Page 522) that corresponds
to the languages and by setting a specific cookie named "siemens_automation_language"
from your pages (Page 523). The Web server responds to this cookie, and switches to the
default page in the corresponding language folder.
11.3.9.1
Creating the folder structure
To provide user-defined Web pages in multiple languages, you set up a folder structure
under your HTML directory. The two-letter folder names are specific and must be named as
shown below:
de: German
en: English
es: Spanish
fr: French
it: Italian
zh: Chinese
At the same level, you can also include any other folders that your pages need, for example,
folders for images or scripts.
You can include any subset of the language folders. You do not have to include all six
languages. Within the language folders, you create and program your HTML pages in the
appropriate language.