--- a/doc/svghmi/pages.rst Mon Apr 15 09:09:59 2024 +0200
+++ b/doc/svghmi/pages.rst Mon Apr 15 19:13:17 2024 +0200
@@ -34,11 +34,15 @@
HMI:Page:PageName@RootPath
+Example::
+
+ HMI:Page:PumpControl@/PUMP0
+
.. image:: svghmi_relative.svg
-Jump and Back
--------------
+Jumps
+-----
``HMI:Jump`` can have ``inactive``, ``active`` and ``disabled`` labeled children:
@@ -49,19 +53,34 @@
Relative page label::
- HMI:Jump:PageName[@RelativePath]
+ HMI:Jump:PageName@RelativePath
Absolute page label::
HMI:Jump:PageName
+Example::
-``HMI:Back`` takes no parameter and just go back one step in page change history.
+ HMI:Jump:PumpControl@/PUMP7
-Special ``/CURRENTPAGE_N`` variable
+Back: Jump to previous page
+----------------------------
+
+``HMI:Back`` takes no parameter and goes back one step in page change history when clicked.
+
+
+Special ``/CURRENT_PAGE_n`` variable
-----------------------------------
+Each SVGHMI instance have its own ``/CURRENT_PAGE_n``, with ``n`` being the position of SVGHMI instance in Configuration Tree.
+
+By reading ``/CURRENT_PAGE_n`` value, PLC knows last page being displayed in HMI. Variable is of type STRING, and formatted as follows::
+
+ PageName
+
+
+
..
TODO
@@ -74,6 +93,9 @@
..
TODO
+Discarded element
+-----------------
+
References frames
-----------------