forked from rois286/Flex-RT-Configuration-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
html_header.html
31 lines (31 loc) · 1.67 KB
/
html_header.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MWSL Variables</title>
</head>
<body scroll="auto">
<h1>MiniWeb Server Language (MWSL) page, with $1$ variables</h1>
<p>If values are empty, check the Page Source by right clicking on the page and selecting View page Source...</p>
<p>If you get something like:</p>
<pre style="background-color: #c0c0c0;">
<!-- *** SCRIPT ERROR *** ---
Unknown Variable: $2$.
</pre>
<p>It means your FWX does not support HTTP variables, and you need to add the following to the Table Of Contents entries from which $3$ exist:
<ol>
<li><code>WEBLINK exists</code> in the file? <b>$4$</b>
<li><code>FUNC_STARTPROC</code> exists in the file? <b>$5$</b>
</ol>
<p>If on the other hand you get something like:</p>
<pre style="background-color: #c0c0c0;">
<!-- *** SCRIPT ERROR *** ---
Script error detected at position 29 in line:
<!--
^- Parse Position
Error: Error calling function \'GetVar\' result d4810013.
</pre>
<p>It means that HTTP is supported but either this variable name does not exist, or you are trying to read an array variable (with brackets []) which is impossible to accomplish with HTTP according to Simatic HMI HTTP Protocol rules.</p>
<p>Note: There is a size limit for the HTML page, thus you must split it to a few smaller files or else only part of the data will be returned from the <code>MiniWeb</code> server</p>
<table border="1">
<tr><th>Address</th><th>Variable</th><th>Data type</th><th>Value</th><th>Min Value</th><th>Max Value</th><th>Acquisition cycle [ms]</th></tr>