Wiki source code of 3.7 Service

Version 1.1 by Admin on 2024/12/16 14:00

Hide last authors
Admin 1.1 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 = Settings =
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 The 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:1734357548921-981.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="122" width="600"]]
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 Main X device supports saving the status of the battery and battery modules 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:1734357548923-694.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="96" width="600"]]
27
28 In this section:
29
30 * Enable – a flag to enable logging;
31 * Logging period – a period of logging to an SD card, s;
32 * Log modules information – a flag to enable logging of the state of battery modules.
33
34 === FTP ===
35
36 The BMS Main X device supports periodic sending of 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:1734357548924-257.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="138" width="600"]]
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 modules logs – a flag for sending data on all battery modules to the FTP server.
51
52 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 modules - “MODSENT.TXT”.
53
54 === ​​​​​​​Errors journal ===
55
56 The BMS Main X maintains a 32-entry errors journal. Each journal entry stores an error occurrence/disappearance timestamp and error flags.
57
58 The errors journal can be viewed in the "Service - Errors journal" section:
59
60 [[image:1734357548925-214.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="286" width="600"]]
61
62 In this section:
63
64 * Last record – a number of the last entry in the errors journal;
65 * Record 1 … Record 32 – entries in the errors journal.
66
67 The errors journal is circular: after all 32 positions are filled, the next entry will be placed at position 1.