The Bootloader BL-NET provides the option on an online visualisation where a graphical illustration of the current system conditions can be displayed in a web browser via LAN or the internet.
Since TAPPS 1.26 the HTML file for online Scheme of the BL-NET is created in a new format, which allows automatic updating of the measured values, without having to load the graphics again. The new online scheme requires a boot loader BL-NET version 1.40!
This online diagram consists of a graphics file (e.g. hydraulics circuit diagram) and the associated HTML file where the display parameters are defined.
The graphics can be created with any graphics or drawing program. Should no graphics program be available, the graphic can also be created in TAPPS and saved by copying and pasting into Microsoft ® Paint in the required formats, with the following points should be noted:
With the components of the <online diagram> library, the HTML file for the online diagram can be graphically created in TAPPS.
The entered text of this line has no influence on the online diagram and serves as a preview only which facilitates positioning the placeholder.
| S1=… | optional, static text in front of the display value |
| $d1e0… | definition of the display value |
| °C… | optional, static text after the display value (e.g. measurement value unit) |
Umlauts, spaces and special characters (°, ß, ²) are automatically converted into the respective HTML code by TAPPS when creating the HTML file. The “&“, “<“ and “>“ characters must not be used.
The definitions of the display values are replaced in the online diagram by the Bootloader BL-NET by respective, current measurements. Information on the possible display values and their definitions can be found in the operating instructions of the Bootloader BL-NET.
A definition of a display value always starts with the “$“ character which must therefore never be used in the static text.
Several display values can be defined in the command line of a placeholder. An exclusively static text can also be placed in the online diagram by using a placeholder.
| Display without units (lower case) | Display with units (upper case) | ||
|---|---|---|---|
| d1 | DL bus 1 | D1 | DL bus 1 |
| d2 | DL bus 2 | D2 | DL bus 2 |
| n1 | CAN network inputs of the BL-NET | N1 | CAN network inputs of the BL-NET |
| c1-c8 | CAN Data logging | C1-C8 | CAN Data logging |
Depending on the device type of the controller to be acquired, the following parameters are available for visualisation:
| Input | e0…ef | Inputs 1…16 |
| Output | a0…af | Outputs 1…16 |
| Speed setting | d1, d2, d6, d7 | Speed stage for output 1, 2, 6 or 7 |
| Power | l1, l2 | kW of heat meter 1 or 2 |
| kWh | k1, k2 | kWh of heat meter 1 or 2 |
| MWh | m1, m2 | MWh of heat meter 1 or 2 |
| Date | t1 | |
| Time | z1 |
The following parameters are available for visualisation:
The selection of the controller whose data is to be displayed (can be set by selecting a controllerdata frame) and
| Analog values of the first data record | a0…af | Sensors 1…16 |
| Analog values of the second data record | A0…Af | Sensors 1…16 |
| Digital values of the first data record | d0…dc | Output 1…13 |
| Digital values of the second data record | D0…Dc | Output 1…13 |
| Date | t1 | |
| Time | z1 |
Example of a definition of a display value from the CAN data logging:
$c4Ae
c4: Es werden Daten jenes Reglers, für den der Datenrahmen 4 erstellt wurde, angezeigt.
A: Analoger Wert des 2. Datensatzes
e: Sensor 15 (siehe „Hexadezimaltabelle“)
In addition to the values obtained from data logging over DL or CAN buses, the values at the network inputs of the BL-NET can also be displayed. The network inputs can be defined using a browser in the „CAN bus/Analog resp. Digital inputs“ menu (see the relevant chapter).
| Analog input | a0…af | Analog network inputs 1…16 |
| Digital input | d0…df | Digital network inputs 1…16 |
NOTE: The inputs and outputs are numbered from zero in hexadecimal (see hexadecimal table)!
Consequently, for example when data logging over the DL bus, the definition „e0“
results for input 1 and for input 16 the definition „ef“.
hexadecimal table:
| dez | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| hex | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | a | b | c | d | e | f |
Beispiele:
$d1ef … DL bus 1, input 16 of the controller, display without unit
$D2a0 … DL bus 2, output 1 of the controller, display with unit
$n1a1 … Network, analog network input 2 of the Bootloader, display without unit
$c1da … CAN data logging, controller of the frame 1, digital value (output) 11 of the data frame 1, display without unit
$C2A1 … CAN data logging, controller of the frame 2, analog value (sensor) 1 of the
data frame 2, display with unit
If necessary, this factory setting can be retrospectively altered directly in the HTML file using a text editor as follows:
These changes may take place only at the place designated for it!
In the factory, the graphic file is loaded by BL-NET. In this case, the variable 'GraphicFile' must be defined as „GRAFIK.gif“!
var GraphicFile = "GRAFIK.gif"; // graphic file path
In order to, for example, reduce the graphic loading time, this can be loaded from a web server rather than from the boot loader. To do this, the variable 'GraphicFile' must be allocated to the corresponding graphic file path.
For example: var GraphicFile = "http://doku.uvr1611.at/grafik.gif"; // graphic file path
to change the title of the page the following line must be changed:
var Title ="Online diagram"; // Title text in the browser window
The text between the quotation marks can be adjusted.
z.B:
var Title ="Factory settings TA"; // Title text in the browser window
The variable 'AutoRefreshTime' can be used to define the interval (in seconds), after which the display values in the browser window are automatically updated. An interval time smaller than 30 seconds is not permitted and means that automatic display updating will not take place!
//### interval [sec] for an automatic update of the display values: ### //### < "30" = no automatic update ### //-------------------------------------------------- var AutoRefreshTime = 60;
If automatic updating of the display values is not required, this function can be deactivated by setting the 'AutoRefreshTime' variable less than or equal to 30.
Examples:
var AutoRefreshTime = 10; // no automatic update of the display values var AutoRefreshTime = 60; // automatic update every 30 seconds var AutoRefreshTime = 180; // automatic update every 180 seconds var AutoRefreshTime = 3*30;// automatic update every 90 seconds
The variable 'RefreshLink' can be used to define the display text of a link, which is displayed beneath the graphic and which enables manual updating of the display values by a mouse click.
//### link text for manual updating of the display values: ### //### "" = no link for manual updating: ### //-------------------------------------------------- var RefreshLink ="Update values";
If the link for manual updating of the display values is not required, then it can be hidden by deleting the link text.
var RefreshLink ="";
<!—2.0-->
has to be inserted.
</style>
and
</head>
the Javascript has to be inserted.
<script type="text/javascript"> <!-- var Title ="Online diagram"; // Title text in the browser window var GraphicFile = "GRAFIK.gif"; // path of the grafik var Width = "1020px"; var Height = "760px"; //### interval [sec] for an automatic update of the display values: ### //### < "30" = no automatic update ### //-------------------------------------------------- var AutoRefreshTime = 60; //### link text for manual updating of the display values: ### //### "" = no link for manual updating: ### //-------------------------------------------------- var RefreshLink ="Update values"; --> </script>
In this area adaptations has been done such as the graphic path, if the graphic is not stored in the BL-NET and the height and width of the image. Optionally, the refresh time, the manual updating link text and the title has to bee changed.
<img src="GRAFIK.gif" alt="GRAFIK.gif" border="0"/>
has to be deleted from the old diagram.