--- a/svghmi/gen_index_xhtml.xslt Thu Aug 06 15:01:01 2020 +0200
+++ b/svghmi/gen_index_xhtml.xslt Sat Aug 08 15:53:28 2020 +0200
@@ -169,14 +169,30 @@
<xsl:variable name="path" select="."/>
<xsl:variable name="item" select="$indexed_hmitree/*[@hmipath = $path]"/>
- <xsl:if test="count($item) = 1">
- <xsl:attribute name="index">
- <xsl:value-of select="$item/@index"/>
- <xsl:attribute name="type">
- <xsl:value-of select="local-name($item)"/>
+ <xsl:when test="count($item) = 1"> + <xsl:attribute name="index"> + <xsl:value-of select="$item/@index"/> + <xsl:attribute name="type"> + <xsl:value-of select="local-name($item)"/> + <xsl:when test="regexp:test($path,'^\.[a-zA-Z0-9_]+')"> + <xsl:attribute name="type"> + <xsl:text>PAGE_LOCAL</xsl:text> + <xsl:when test="regexp:test($path,'^[a-zA-Z0-9_]+')"> + <xsl:attribute name="type"> + <xsl:text>HMI_LOCAL</xsl:text> @@ -845,15 +861,35 @@
<xsl:for-each select="$widget/path">
<xsl:when test="not(@index)">
- <xsl:message terminate="no">
- <xsl:text>Widget </xsl:text>
- <xsl:value-of select="$widget/@type"/>
- <xsl:text> id="</xsl:text>
- <xsl:value-of select="$eltid"/>
- <xsl:text>" : No match for path "</xsl:text>
- <xsl:value-of select="@value"/>
- <xsl:text>" in HMI tree</xsl:text>
+ <xsl:when test="not(@type)"> + <xsl:message terminate="yes"> + <xsl:text>Widget </xsl:text> + <xsl:value-of select="$widget/@type"/> + <xsl:text> id="</xsl:text> + <xsl:value-of select="$eltid"/> + <xsl:text>" : No match for path "</xsl:text> + <xsl:value-of select="@value"/> + <xsl:text>" in HMI tree</xsl:text> + <xsl:when test="@type = 'PAGE_LOCAL'"> + <xsl:value-of select="substring(1,@value)"/> + <xsl:if test="position()!=last()"> + <xsl:when test="@type = 'HMI_LOCAL'"> + <xsl:text>hmi_local_index("</xsl:text> + <xsl:value-of select="@value"/> + <xsl:text>")</xsl:text> + <xsl:if test="position()!=last()"> <xsl:value-of select="@index"/>
@@ -905,6 +941,67 @@
+ <preamble:local-variable-indexes/> + <xsl:template match="preamble:local-variable-indexes"> + <xsl:text>/* </xsl:text> + <xsl:value-of select="local-name()"/> + <xsl:text>let hmi_locals = {}; + <xsl:text>var last_remote_index = hmitree_types.length - 1; + <xsl:text>var next_available_index = hmitree_types.length; + <xsl:text>function page_local_index(varname, pagename){ + <xsl:text> let pagevars = hmi_locals[pagename]; + <xsl:text> if(pagevars == undefined){ + <xsl:text> let new_index = next_available_index++; + <xsl:text> hmi_locals[pagename] = {varname:new_index} + <xsl:text> return new_index; + <xsl:text> let result = pagevars[varname]; + <xsl:text> if(result==undefined){ + <xsl:text> let new_index = next_available_index++; + <xsl:text> pagevars[varname] = new_index; + <xsl:text> return new_index; + <xsl:text> return result; + <xsl:text>function hmi_local_index(varname){ + <xsl:text> return page_local_index(varname, "HMI_LOCAL"); <preamble:widget-base-class/>
<xsl:template match="preamble:widget-base-class">
@@ -965,23 +1062,23 @@
- <xsl:text> sub(new_offset=0, relativeness){
+ <xsl:text> sub(new_offset=0, relativeness, container_id){ <xsl:text> this.offset = new_offset;
<xsl:text> this.relativeness = relativeness;
+ <xsl:text> this.container_id = container_id ; <xsl:text> /* add this's subsribers */
<xsl:text> if(!this.unsubscribable)
<xsl:text> for(let i = 0; i < this.indexes.length; i++) {
- <xsl:text> let index = this.indexes[i];
- <xsl:text> if(relativeness[i])
- <xsl:text> index += new_offset;
+ <xsl:text> let index = this.get_variable_index(i); + <xsl:text> if(index > last_remote_index) return; <xsl:text> subscribers[index].add(this);
@@ -995,11 +1092,11 @@
<xsl:text> apply_cache() {
- <xsl:text> if(!this.unsubscribable) for(let index of this.indexes){
+ <xsl:text> if(!this.unsubscribable) for(let i = 0; i < this.indexes.length; i++) { <xsl:text> /* dispatch current cache in newly opened page widgets */
- <xsl:text> let realindex = index+this.offset;
+ <xsl:text> let realindex = this.get_variable_index(i); <xsl:text> let cached_val = cache[realindex];
@@ -1013,17 +1110,33 @@
- <xsl:text> get_idx(index) {
- <xsl:text> let orig = this.indexes[index];
- <xsl:text> return this.relativeness[index] ? orig + this.offset : orig;
+ <xsl:text> get_variable_index(varnum) { + <xsl:text> let index = this.indexes[varnum]; + <xsl:text> if(typeof(index) == "string"){ + <xsl:text> let page = this.relativeness[varnum]; + <xsl:text> index = page_local_index(index, this.container_id); + <xsl:text> if(this.relativeness[varnum]){ + <xsl:text> index += this.offset; + <xsl:text> return index; <xsl:text> change_hmi_value(index,opstr) {
- <xsl:text> return change_hmi_value(this.get_idx(index), opstr);
+ <xsl:text> return change_hmi_value(this.get_variable_index(index), opstr); @@ -1031,7 +1144,7 @@
<xsl:text> apply_hmi_value(index, new_val) {
- <xsl:text> return apply_hmi_value(this.get_idx(0), new_val);
+ <xsl:text> return apply_hmi_value(this.get_variable_index(0), new_val); @@ -1045,11 +1158,7 @@
<xsl:text> for(let i = 0; i < this.indexes.length; i++) {
- <xsl:text> let refindex = this.indexes[i];
- <xsl:text> if(this.relativeness[i])
- <xsl:text> refindex += this.offset;
+ <xsl:text> let refindex = this.get_variable_index(i); @@ -4056,6 +4165,20 @@
<xsl:text>function send_hmi_value(index, value) {
+ <xsl:text> if(index > last_remote_index){ + <xsl:text> cache[index] = value; + <xsl:text> console.log("updated local variable ",index,value); + <xsl:text> /* TODO : dispatch value ASAP */ <xsl:text> let iectype = hmitree_types[index];
<xsl:text> let tobinary = typedarray_types[iectype];
@@ -4250,7 +4373,13 @@
<xsl:text> var new_offset = page_index == undefined ? 0 : page_index - new_desc.page_index;
- <xsl:text> new_desc.widgets.map(([widget,relativeness])=>widget.sub(new_offset,relativeness));
+ <xsl:text> container_id = String([page_name, page_index]); + <xsl:text> new_desc.widgets.map(([widget,relativeness])=>widget.sub(new_offset,relativeness,container_id)); --- a/svghmi/hmi_tree.ysl2 Thu Aug 06 15:01:01 2020 +0200
+++ b/svghmi/hmi_tree.ysl2 Sat Aug 08 15:53:28 2020 +0200
@@ -107,9 +107,21 @@
const "item", "$indexed_hmitree/*[@hmipath = $path]";
- if "count($item) = 1" {
- attrib "index" > «$item/@index»
- attrib "type" > «local-name($item)»
+ when "count($item) = 1" { + attrib "index" > «$item/@index» + attrib "type" > «local-name($item)» + when "regexp:test($path,'^\.[a-zA-Z0-9_]+')" { + attrib "type" > PAGE_LOCAL + when "regexp:test($path,'^[a-zA-Z0-9_]+')" { + attrib "type" > HMI_LOCAL --- a/svghmi/svghmi.js Thu Aug 06 15:01:01 2020 +0200
+++ b/svghmi/svghmi.js Sat Aug 08 15:53:28 2020 +0200
@@ -210,6 +210,13 @@
function send_hmi_value(index, value) {
+ if(index > last_remote_index){ + console.log("updated local variable ",index,value); + /* TODO : dispatch value ASAP */ let iectype = hmitree_types[index];
let tobinary = typedarray_types[iectype];
@@ -307,7 +314,10 @@
old_desc.widgets.map(([widget,relativeness])=>widget.unsub());
var new_offset = page_index == undefined ? 0 : page_index - new_desc.page_index;
- new_desc.widgets.map(([widget,relativeness])=>widget.sub(new_offset,relativeness));
+ container_id = String([page_name, page_index]); + new_desc.widgets.map(([widget,relativeness])=>widget.sub(new_offset,relativeness,container_id)); --- a/svghmi/widgets_common.ysl2 Thu Aug 06 15:01:01 2020 +0200
+++ b/svghmi/widgets_common.ysl2 Sat Aug 08 15:53:28 2020 +0200
@@ -28,7 +28,14 @@
const "indexes" foreach "$widget/path" {
- warning > Widget «$widget/@type» id="«$eltid»" : No match for path "«@value»" in HMI tree
+ error > Widget «$widget/@type» id="«$eltid»" : No match for path "«@value»" in HMI tree + when "@type = 'PAGE_LOCAL'" + > "«substring(1,@value)»"`if "position()!=last()" > ,` + when "@type = 'HMI_LOCAL'" + > hmi_local_index("«@value»")`if "position()!=last()" > ,` > «@index»`if "position()!=last()" > ,`
@@ -62,8 +69,37 @@
+emit "preamble:local-variable-indexes" { + var last_remote_index = hmitree_types.length - 1; + var next_available_index = hmitree_types.length; + function page_local_index(varname, pagename){ + let pagevars = hmi_locals[pagename]; + if(pagevars == undefined){ + let new_index = next_available_index++; + hmi_locals[pagename] = {varname:new_index} + let result = pagevars[varname]; + let new_index = next_available_index++; + pagevars[varname] = new_index; + function hmi_local_index(varname){ + return page_local_index(varname, "HMI_LOCAL"); emit "preamble:widget-base-class" {
frequency = 10; /* FIXME arbitrary default max freq. Obtain from config ? */
@@ -89,49 +125,55 @@
this.relativeness = undefined;
- sub(new_offset=0, relativeness){
+ sub(new_offset=0, relativeness, container_id){ this.offset = new_offset;
this.relativeness = relativeness;
+ this.container_id = container_id ; /* add this's subsribers */
for(let i = 0; i < this.indexes.length; i++) {
- let index = this.indexes[i];
+ let index = this.get_variable_index(i); + if(index > last_remote_index) return; subscribers[index].add(this);
need_cache_apply.push(this);
- if(!this.unsubscribable) for(let index of this.indexes){
+ if(!this.unsubscribable) for(let i = 0; i < this.indexes.length; i++) { /* dispatch current cache in newly opened page widgets */
- let realindex = index+this.offset;
+ let realindex = this.get_variable_index(i); let cached_val = cache[realindex];
if(cached_val != undefined)
this.new_hmi_value(realindex, cached_val, cached_val);
- let orig = this.indexes[index];
- return this.relativeness[index] ? orig + this.offset : orig;
+ get_variable_index(varnum) { + let index = this.indexes[varnum]; + if(typeof(index) == "string"){ + let page = this.relativeness[varnum]; + index = page_local_index(index, this.container_id); + if(this.relativeness[varnum]){ change_hmi_value(index,opstr) {
- return change_hmi_value(this.get_idx(index), opstr);
+ return change_hmi_value(this.get_variable_index(index), opstr); apply_hmi_value(index, new_val) {
- return apply_hmi_value(this.get_idx(0), new_val);
+ return apply_hmi_value(this.get_variable_index(0), new_val); new_hmi_value(index, value, oldval) {
// TODO avoid searching, store index at sub()
for(let i = 0; i < this.indexes.length; i++) {
- let refindex = this.indexes[i];
- if(this.relativeness[i])
- refindex += this.offset;
+ let refindex = this.get_variable_index(i); --- a/tests/svghmi/svghmi_0@svghmi/svghmi.svg Thu Aug 06 15:01:01 2020 +0200
+++ b/tests/svghmi/svghmi_0@svghmi/svghmi.svg Sat Aug 08 15:53:28 2020 +0200
@@ -170,13 +170,13 @@
inkscape:current-layer="hmi0"
- inkscape:zoom="0.7071068"
- inkscape:cx="543.82641"
- inkscape:window-width="2419"
+ inkscape:cx="864.70245" + inkscape:cy="281.30768" + inkscape:window-width="2693" inkscape:window-height="1266"
- inkscape:window-x="1405"
+ inkscape:window-y="828" inkscape:window-maximized="0"
inkscape:guide-bbox="true" />
@@ -266,7 +266,7 @@
inkscape:label="HMI:Input@/TARGETPRESSURE"
- transform="matrix(0.63690435,0,0,0.63690435,12.496106,18.355376)">
+ transform="matrix(0.35865594,0,0,0.35865594,22.072155,63.074421)"> @@ -379,13 +379,13 @@
inkscape:label="HMI:Display@/PUMP0/PRESSURE"
- style="font-style:normal;font-weight:normal;font-size:101.9046936px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.63690436px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ style="font-style:normal;font-weight:normal;font-size:57.38494873px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.35865593px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" xml:space="preserve"><tspan
- style="fill:#ffffff;fill-opacity:1;stroke-width:0.63690436px"
+ style="fill:#ffffff;fill-opacity:1;stroke-width:0.35865593px" sodipodi:role="line">8888</tspan></text>
@@ -463,28 +463,28 @@
- style="font-style:normal;font-weight:normal;font-size:25.4761734px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:0.63690436px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ style="font-style:normal;font-weight:normal;font-size:14.34623718px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:0.35865593px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" inkscape:label="setpoint_label"><tspan
- style="stroke-width:0.63690436px">SetPoint</tspan></text>
+ style="stroke-width:0.35865593px">SetPoint</tspan></text>
- style="font-style:normal;font-weight:normal;font-size:25.4761734px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#008000;fill-opacity:1;stroke:none;stroke-width:0.63690436px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ style="font-style:normal;font-weight:normal;font-size:14.34623718px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#008000;fill-opacity:1;stroke:none;stroke-width:0.35865593px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" inkscape:label="actual_label"><tspan
- style="stroke-width:0.63690436px">Actual</tspan></text>
+ style="stroke-width:0.35865593px">Actual</tspan></text> style="font-style:normal;font-weight:normal;font-size:22.87221527px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#ff6600;fill-opacity:1;stroke:none;stroke-width:0.57180536px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
@@ -2809,31 +2809,8 @@
- inkscape:label="HMI:JsonTable:/alarms@/ALARMCOUNT">
- inkscape:label="cursor"
- style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#bc8f8f;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
- inkscape:label="backward"
- style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#bc8f8f;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
- d="m 1226.2165,18.9847 34.1278,34.74552 h -68.2556 z"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="cccc" />
- inkscape:label="forward"
- sodipodi:nodetypes="cccc"
- inkscape:connector-curvature="0"
- d="m 1226.2165,283.7301 34.1278,-34.7453 h -68.2556 z"
- style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#bc8f8f;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
+ inkscape:label="HMI:JsonTable:/alarms@/ALARMCOUNT" + transform="matrix(0.5,0,0,0.5,635.30409,71.500438)"> @@ -3147,7 +3124,7 @@
sodipodi:role="line">information</tspan></text>
- transform="matrix(0.31845218,0,0,0.31845218,701.53368,169.53582)"
+ transform="matrix(0.2527605,0,0,0.2527605,1089.2831,6.7725187)" inkscape:label="HMI:Input@/ALARMCOUNT"
@@ -4224,4 +4201,460 @@
style="stroke-width:0.63690436px">Multiple variables</tspan></text>
+ inkscape:label="HMI:Display@paff" + style="font-style:normal;font-weight:normal;font-size:45.74443054px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.28590268px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve"><tspan + style="fill:#ffffff;fill-opacity:1;stroke-width:0.28590268px" + sodipodi:role="line">8888</tspan></text> + inkscape:label="HMI:Input@paff" + transform="matrix(0.28590269,0,0,0.28590269,700.70444,46.1427)"> + style="font-style:normal;font-weight:normal;font-size:160px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:label="value"><tspan + style="stroke-width:2px">8888</tspan></text> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> + inkscape:label="+"dhu"" + transform="translate(-416.52022,170.47452)"> + inkscape:connector-curvature="0" + d="m 797.19546,145.18619 -80.62929,0.60214 -0.60215,-80.629288 80.6293,-0.60214 z" + inkscape:transform-center-y="-14.956361" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve"><tspan + style="stroke-width:1px" + sodipodi:role="line">dhu</tspan></text> + inkscape:label="="plop"" + transform="translate(-416.52022,170.47452)"> + inkscape:transform-center-x="14.956371" + inkscape:transform-center-y="-3.6154501e-05" + d="m 622.6459,-170.03172 -51.81035,0 25.90517,-44.86908 z" + inkscape:randomized="0" + inkscape:flatsided="true" + sodipodi:arg2="1.5707963" + sodipodi:arg1="0.52359878" + sodipodi:r2="14.956361" + sodipodi:r1="29.912722" + sodipodi:cy="-184.98808" + sodipodi:cx="596.74072" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + transform="matrix(0,-2.0000001,1.9999999,0,1034.195,1298.6541)" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + style="stroke-width:1px">plop</tspan></text> + inkscape:label="="mhoo"" + transform="translate(-416.52022,170.47452)"> + inkscape:transform-center-x="14.956364" + transform="rotate(-90,746.45698,-44.543641)" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + sodipodi:cx="596.74072" + sodipodi:cy="-216.2599" + sodipodi:r1="59.825443" + sodipodi:r2="29.912722" + sodipodi:arg1="0.52359878" + sodipodi:arg2="1.5707963" + inkscape:flatsided="true" + inkscape:randomized="0" + d="m 648.55108,-186.34718 -103.62071,0 51.81035,-89.73817 z" + inkscape:transform-center-y="-5.9989963e-06" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve"><tspan + style="stroke-width:1px" + sodipodi:role="line">mhoo</tspan></text> + inkscape:label="="yodl"" + transform="translate(-416.52022,170.47452)"> + inkscape:transform-center-x="-14.956365" + transform="matrix(0,-1,-1,0,1043.9134,701.91334)" + inkscape:transform-center-y="-5.5023185e-06" + d="m 648.55108,135.08534 -103.62071,0 51.81035,-89.738161 z" + inkscape:randomized="0" + inkscape:flatsided="true" + sodipodi:arg2="1.5707963" + sodipodi:arg1="0.52359878" + sodipodi:r2="29.912722" + sodipodi:r1="59.825443" + sodipodi:cy="105.17262" + sodipodi:cx="596.74072" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + sodipodi:type="star" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve"><tspan + style="stroke-width:1px" + sodipodi:role="line">yodl</tspan></text> + inkscape:label="="mhe"" + transform="translate(-416.52022,170.47452)"> + inkscape:transform-center-x="-14.956349" + transform="matrix(0,-2.0000001,-1.9999999,0,1122.1514,1298.6541)" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + sodipodi:cx="596.74072" + sodipodi:cy="136.44444" + sodipodi:r1="29.912722" + sodipodi:r2="14.956361" + sodipodi:arg1="0.52359878" + sodipodi:arg2="1.5707963" + inkscape:flatsided="true" + inkscape:randomized="0" + d="m 622.6459,151.4008 -51.81035,0 25.90517,-44.86908 z" + inkscape:transform-center-y="-3.3040441e-05" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + style="stroke-width:1px">mhe</tspan></text> + inkscape:label="actual_label" + style="font-style:normal;font-weight:normal;font-size:25.4761734px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#008000;fill-opacity:1;stroke:none;stroke-width:0.63690436px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + style="stroke-width:0.63690436px" + y="57.767578">HMI_LOCAL variables</tspan></text> + transform="matrix(0.5,0,0,0.5,645.20358,-103.15494)"> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#bc8f8f;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + inkscape:label="cursor" /> + sodipodi:nodetypes="cccc" + inkscape:connector-curvature="0" + d="m 1175.2115,371.25263 34.1278,34.74552 h -68.2556 z" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#bc8f8f;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + inkscape:label="backward" /> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#bc8f8f;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + d="m 1175.2115,635.99803 34.1278,-34.7453 h -68.2556 z" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccc" + inkscape:label="forward" /> + style="font-style:normal;font-weight:normal;font-size:45.74443054px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.28590268px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:label="HMI:Display@.piff"><tspan + style="fill:#ffffff;fill-opacity:1;stroke-width:0.28590268px">8888</tspan></text> + transform="matrix(0.28590269,0,0,0.28590269,700.70444,166.1427)" + inkscape:label="HMI:Input@.piff" + style="stroke-width:2"> + style="font-style:normal;font-weight:normal;font-size:160px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve"><tspan + style="stroke-width:2px" + sodipodi:role="line">8888</tspan></text> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + inkscape:label="edit" /> + transform="translate(-416.52022,170.47452)" + inkscape:label="+"dhu"" + style="stroke-width:2"> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + inkscape:transform-center-y="-14.956361" + d="m 797.19546,145.18619 -80.62929,0.60214 -0.60215,-80.629288 80.6293,-0.60214 z" + inkscape:connector-curvature="0" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + style="stroke-width:1px">dhu</tspan></text> + transform="translate(-416.52022,170.47452)" + inkscape:label="="plop"" + style="stroke-width:2"> + transform="matrix(0,-2.0000001,1.9999999,0,1034.195,1298.6541)" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + sodipodi:cx="596.74072" + sodipodi:cy="-184.98808" + sodipodi:r1="29.912722" + sodipodi:r2="14.956361" + sodipodi:arg1="0.52359878" + sodipodi:arg2="1.5707963" + inkscape:flatsided="true" + inkscape:randomized="0" + d="m 622.6459,-170.03172 -51.81035,0 25.90517,-44.86908 z" + inkscape:transform-center-y="-3.6154501e-05" + inkscape:transform-center-x="14.956371" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve"><tspan + style="stroke-width:1px" + sodipodi:role="line">plop</tspan></text> + transform="translate(-416.52022,170.47452)" + inkscape:label="="mhoo"" + style="stroke-width:2"> + inkscape:transform-center-y="-5.9989963e-06" + d="m 648.55108,-186.34718 -103.62071,0 51.81035,-89.73817 z" + inkscape:randomized="0" + inkscape:flatsided="true" + sodipodi:arg2="1.5707963" + sodipodi:arg1="0.52359878" + sodipodi:r2="29.912722" + sodipodi:r1="59.825443" + sodipodi:cy="-216.2599" + sodipodi:cx="596.74072" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + transform="rotate(-90,746.45698,-44.543641)" + inkscape:transform-center-x="14.956364" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + style="stroke-width:1px">mhoo</tspan></text> + transform="translate(-416.52022,170.47452)" + inkscape:label="="yodl"" + style="stroke-width:2"> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + sodipodi:cx="596.74072" + sodipodi:cy="105.17262" + sodipodi:r1="59.825443" + sodipodi:r2="29.912722" + sodipodi:arg1="0.52359878" + sodipodi:arg2="1.5707963" + inkscape:flatsided="true" + inkscape:randomized="0" + d="m 648.55108,135.08534 -103.62071,0 51.81035,-89.738161 z" + inkscape:transform-center-y="-5.5023185e-06" + transform="matrix(0,-1,-1,0,1043.9134,701.91334)" + inkscape:transform-center-x="-14.956365" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + style="stroke-width:1px">yodl</tspan></text> + transform="translate(-416.52022,170.47452)" + inkscape:label="="mhe"" + style="stroke-width:2"> + inkscape:transform-center-y="-3.3040441e-05" + d="m 622.6459,151.4008 -51.81035,0 25.90517,-44.86908 z" + inkscape:randomized="0" + inkscape:flatsided="true" + sodipodi:arg2="1.5707963" + sodipodi:arg1="0.52359878" + sodipodi:r2="14.956361" + sodipodi:r1="29.912722" + sodipodi:cy="136.44444" + sodipodi:cx="596.74072" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + transform="matrix(0,-2.0000001,-1.9999999,0,1122.1514,1298.6541)" + inkscape:transform-center-x="-14.956349" /> + style="font-style:normal;font-weight:normal;font-size:20px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve"><tspan + style="stroke-width:1px" + sodipodi:role="line">mhe</tspan></text> + style="font-style:normal;font-weight:normal;font-size:25.4761734px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#008000;fill-opacity:1;stroke:none;stroke-width:0.63690436px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:label="actual_label"><tspan + style="stroke-width:0.63690436px" + id="tspan1611">PAGE_LOCAL variables</tspan></text>