Wiki source code of 3.7 Service

Last modified by Admin on 2025/02/27 09:17

Show last authors
1 (% data-numbered-headings-start="3" style="--numbered-headings-start: 2;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %)
2 = Configuration =
3
4 (% data-numbered-headings-start="7" style="--numbered-headings-start: 6;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %)
5 == Service ==
6
7 === User settings ===
8
9 User settings include the serial number of the battery and the address where the battery is located.
10
11 User settings are available in the "Service → User settings" section:
12
13 [[image:1733754995281-397.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="116" width="800"]]
14
15 In this section:
16
17 * Battery serial number – battery number (shown in log files);
18 * Address – battery address.
19
20 === SD card ===
21
22 The BMS Mini device supports saving the status of the battery as log files on an SD card.
23
24 Logging to an SD card is configured in the "Service → SD card" section:
25
26 [[image:1733754995283-925.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="91" width="800"]]
27
28 In this section:
29
30 * Enable – a flag to enable logging;
31 * Logging period – a period of logging to an SD card, second;
32 * Save logs with cell parameters – a flag to enable logging the state of cells.
33
34 === FTP ===
35
36 The BMS Mini device supports periodic sending log files stored on the SD card to a remote FTP server via Wi-Fi.
37
38 Sending log files to a remote FTP server is configured in the "Service → FTP" section:
39
40 [[image:1733754995284-552.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="159" width="800"]]
41
42 In this section:
43
44 * Enable – a flag to enable sending log files to a remote FTP server;
45 * Host – host name of IP address of the FTP server;
46 * Port – a port number of the FTP server;
47 * User – a user name;
48 * Password – a user password;
49 * Sending period – a period of connection to the remote FTP server;
50 * Send logs with cell parameters – a flag for sending data about battery cells to the FTP server;
51 * Last log in timestamp – a time of the last connection to the FTP server;
52 * Last successful transmission timestamp – a time of the last successful transfer of the log file to the FTP server.
53
54 The device saves the history of sent log files: for the main log files, the file with the sending history has the name “LOGSENT.TXT”, for log files with data on battery cells - “CELLSENT.TXT”.
55
56 === Reset ===
57
58 To access settings of periodic device reset, select the "Service → Reset" section:
59
60 [[image:1733754995285-877.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="104" width="800"]]
61
62 In this section:
63
64 * Enable – a flag to enable periodic device resets;
65 * Maximum number of resets;
66 * Days to reset the device – a bitfield to choose days for reset;
67 * Actual number of resets – a number of successful resets;
68 * Last reset timestamp – time of last device reset.
69
70 === Errors journal ===
71
72 The BMS Mini device maintains a 32-entry errors journal. Each journal entry stores an error occurrence/disappearance timestamp and error flags.
73
74 The errors journal can be viewed in the "Service - Errors journal" section:
75
76 [[image:1740647761335-946.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="529" width="800"]]
77
78 In this section:
79
80 * Acknowledge the errors – a trigger to acknowledge the errors and clear the "Need acknowledge" signal;
81 * Errors 1, 2 to ignore when adding a new record – bitfields with errors to be ignored while write to error journal;
82 * Last record – a number of the last entry in the errors journal;
83 * Record 1 … Record 32 – entries in the errors journal.
84
85 The errors journal is circular: after all 32 positions are filled, the next entry will be placed at position 1.