Wiki source code of 3.3 Control

Version 11.2 by Admin on 2025/02/11 16:11

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 = Settings =
3
4 (% 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;" %)
5 == Control ==
6
7 === General parameters ===
8
9 General parameters of BMS Main 3X are configured in the «Control → General» section:
10
11 [[image:1734023979572-693.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="79" width="600"]]
12
13 * Initialization delay – a delay before processing functions after finishing device initialization (initialization includes current sensors calibration and battery modules search), millisecond.
14
15 === Battery modules ===
16
17 The BMS Main 3X allows up to 32 battery modules with BMS Main 3 onboard to be connected in parallel.
18
19 Flags for enabling battery modules are configured in the "Control → Modules → Enable (modules 1 to 8)" and "Control → Modules → Enable (modules 9 to 32)" section:
20
21 [[image:1734023979582-179.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="165" width="600"]]
22
23 The network addresses of the battery modules are configured in the "Control → Modules → Node IDs (modules 1 to 8)” and "Control → Modules → Node IDs (modules 9 to 32)”:
24
25 [[image:1734023979583-589.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="186" width="600"]]
26
27 Each module in a battery must have a unique address. You can change the address in the battery module settings in the “Connectivity → CAN” section of the BMS Main 3 settings.
28
29 In corresponding section you can set up maximum number of found modules to finish initialization.
30
31 === Calculation of battery parameters ===
32
33 The BMS Main 3X device calculates battery parameters based on user settings.
34
35 Calculation of the battery state of charge (SOC) is configured in the "Control → Calculation → Final SOC" section:
36
37 [[image:1734023979584-480.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="80" width="600"]]
38
39 The following battery SOC calculation methods are supported:
40
41 * Minimal SOC – SOC of the modular battery is assumed to be the minimum SOC among the battery modules;
42 * Average SOC – SOC of the modular battery is taken equal to the arithmetic average of the SOC of the battery modules;
43 * Min-Max SOC – SOC of the modular battery is calculated based on the minimal and maximum SOC of the battery modules (optimized for maximum health);
44 * Max-Min SOC – SOC of the modular battery is calculated based on the minimal and maximum SOC of the battery modules (optimized for maximum capacity, recommended);
45
46 Calculation of the battery state of health (SOH) is configured in the "Control → Calculation → Final SOH" section. The following battery SOH calculation methods are supported:
47
48 * Minimal SOH – SOH of the modular battery is assumed to be the minimum SOH among the battery modules;
49 * Average SOH – SOH of the modular battery is taken equal to the arithmetic average of the SOH of the battery modules.
50
51 === Main contactor ===
52
53 The BMS Main 3X device controls the main contactor. The main contactor is usually placed in the common (minus) battery line for opening the charge and discharge circuits in case of sealing of the charging or discharging contactors.
54
55 The Main contactor algorithm supports the following modes:
56
57 * Always on;
58 * Automatic, when the main contactor closes by the internal charging and discharging algorithms at the same time with Precharging, Charging, Discharging and Charging/Discharging contactors.
59
60 In “Always on” mode, the main contactor closes if all the following is true:
61
62 * “Charging” contactor is open;
63 * “Discharging” contactor is open;
64 * there are no errors.
65
66 In “Always on” mode, the main contactor opens if “Charging” and “Discharging” contactors are open and any of the following is true:
67
68 * “Charging current present” is set;
69 * “Discharging current present” is set;
70 * one or more errors persist.
71
72 To change the parameters of the main contactor, select the "Control → Main contactor" section:
73
74 [[image:1734024131196-608.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="94" width="600"]]
75
76 In this section:
77
78 * Enable – a flag to enable the main contactor control;
79 * Algorithm – main contactor control algorithm:
80 ** Always on – contactor is always closed;
81 ** Automatic – contactor closes by internal charge and discharge algorithms;
82 * Time to keep the contactor closed before closing the others – a time for other contactors to be open after the main contactor is closed, millisecond;
83 * Delay before opening the contactor – a time which is used to detect conditions for opening the contactor, millisecond;
84 * Keep the contactor open until the device is restarted – a flag for keeping the main contactor open until the system is reset;
85 * Errors 1 (2) to open the main contactor – error flags that cause the contactor to open.
86
87 === Charging status ===
88
89 To change the parameters for generating status signals when charging the battery, select the section “Control → Charging status”:
90
91 [[image:1734089608849-849.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="77" width="600"]]
92
93 In this section:
94
95 * Current corresponding to charging – a current level to set the "Charging current present" signal, A;
96 * Current corresponding to no charging – a current level to clear the "Charging current present" signal, A.
97
98 === Discharging status ===
99
100 To change the parameters for generating status signals when discharging the battery, select the section “Control → Discharging status”:
101
102 [[image:1734089656854-598.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="79" width="600"]]
103
104 In this section:
105
106 * Current corresponding to discharging – a current level to set the "Discharging current present" signal, A;
107 * Current corresponding to no discharging – a current level to clear the "Discharging current present" signal, A.
108
109 === Precharge ===
110
111 To change the precharge parameters, select the section “Control → Precharge”:
112
113 [[image:1738080762857-975.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="108" width="600"]]In this section:
114
115
116 * Precharge current threshold to close the discharging contactor – a current value to ensure that precharge process has finished and it is allowed to close the discharging contactor, A;
117 * Check voltages before and after contactors to finish precharging – a flag to check the voltages before and after contactors to ensure that precharge process has finished and it is allowed to close the discharging contactor;
118 * Minimum voltage difference before and after contactors to finish precharging – a minimum voltage difference before and after contactors to ensure precharge process finished, V;
119 * Number of precharging attempts – maximum number of precharging attempts before setting the "Precharge error";
120 * Precharge time – a duration of closing the precharge contactor before closing the discharging contactor, millisecond;
121 * Relaxation between attempts – a duration between precharge attempts, millisecond;
122 * Check the power dissipated in the preacharge resistor - a flag to enable the calculation of power dissipated in precharge resistor;
123 * Precharge resistor resistance, Ohm;
124 * Maximum allowable power dissipated in the resistor, W;
125 * Delay before setting the "Precharge error" when checking power, millisecond;
126 * Delay before clearing the "Precharge error", second;
127 * Lock the "Precharge error" – a flag to block the error until the device is restarted.
128
129 “Precharge error” generation conditions:
130
131 * the precharge current does not decrease after "Number of precharging attempts";
132 * voltages before and after contactors are not equal after "Number of precharging attempts";
133 * power dissipated on the precharge resistor is above the maximum value during the “Delay before setting the 'Precharge error' when checking power” time.
134
135 (% class="box warningmessage" %)
136 (((
137 Behavior of contactors at “Precharge error” is configured in corresponding contactor settings!
138 )))
139
140 === Charge ===
141
142 The BMS Main 3X device manages the parallel connection of the battery modules and the connection of the battery to the charging circuit.
143
144 The device supports the following charging modes:
145
146 1. Charging is always allowed (Always on) – the device ignores voltage and current unbalance of the battery modules and commands to close the charging contactors of the battery modules and the main charging contactor “Charging”.
147 1. Charging is allowed if all battery modules are balanced (Balanced).
148 1. Charging is allowed for most balanced battery modules (Partially balanced). Unbalanced modules are disconnected from the common bus and do not participate in the charging.
149
150 The device controls two processes: **joining battery modules **and **closing the main charging contactor “Charging”**.
151
152
153 The operation of the **joining battery modules** is described by the following steps:
154
155 1. Battery modules are disabled. When the “Join to charge” request is received and the voltage and current unbalance errors (Voltage unbalance (CH), Current unbalance (CH), Charging current unbalance) are cleared, go to step 2.
156 1. Checking the voltage unbalance of battery modules (the duration of the check is set in the settings). If there is no imbalance or errors are ignored (“Always on” and “Partially balanced”), go to step 3, otherwise open all charging contactors, and go to step 1.
157 1. Closing the precharging contactors of the battery modules (optional). Go to step 4.
158 1. Closing the charging contactors of the battery modules. The battery modules are self-balancing. Go to step 5.
159 1. Checking intermodular balancing currents (the duration of the check is set in the settings). If there is no current unbalance (“Current unbalance (CH)”) or errors are ignored (“Always on”), go to step 6, otherwise open all charging contactors, and go to step 1.
160 1. The battery modules are joined. If the “Join to charge” request is cleared or the "Charging current unbalance" error occurs, go to step 1.
161
162 The operation of** closing main charging contactor** is described in the following steps:
163
164 1. The main charging contactor “Charging” is open. When the “Charge request” is received, the voltage and current unbalance errors (“Voltage unbalance (CH)”, “Current unbalance (CH)”, “Charging current unbalance”) are cleared, and the battery modules are joined, go to step 2.
165 1. Closing the main precharging contactor “Precharging” (optional). Go to step 3.
166 1. Closing the main charging contactor "Charging". Go to step 4.
167 1. The main charging contactor “Charging” is closed. If the "Charge request" is cleared, the battery modules are disconnected, or errors occur, go to step 1.
168
169 The command to turn on the main charging contactor "Charging" can be issued either to the upper-level system via the CAN1 (ext) bus, or to the intelligent switch of the device, which serves for direct control of the main charging contactor "Charging".
170
171
172 In addition to controlling the charging contactors, the charge controller calculates and transmits to the upper-level system the value of the maximum allowable current, which can be used to charge the modular battery (“Charge current limit”). The calculation of the charging current of the entire battery is performed based on the number of battery modules operating per charge and the values of the current limits transmitted by them.
173
174
175 The battery charge management is configured in the "Control → Charge" section:
176
177 [[image:1738081025199-282.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="162" width="600"]]
178
179 In this section:
180
181 * Enable – a flag to enable battery charge controller;
182 * Algorithm:
183 ** Always on – charging is always allowed;
184 ** Balanced – charging is allowed provided that all battery modules are balanced;
185 ** Partially balanced – charging is allowed for most balanced battery modules;
186 * Minimum number of modules allowed to join – a minimum number of battery modules that can be connected in parallel;
187 * Allowable battery current to rejoin modules – a battery current at which joining of battery modules is permitted, A;
188 * Allowable voltage difference to rejoin modules – a difference between the voltage of the disconnected module and the battery voltage at which its joining is permitted, V;
189 * Checking voltages time – a time of checking voltages of battery modules, millisecond;
190 * Balancing modules time – a time of balancing battery modules, millisecond;
191 * Control the precharging contactor – a flag to control the main precharging contactor;
192 * Canceling charging time – a delay before opening the main charging contactor, ms;
193 * Disconnect modules that are not ready to charge – a flag for disconnecting modules that have the “Ready to charge” signal cleared.
194 * Disconnect all modules if one is not ready to charge – a flag for disconnecting all modules if any of the modules have the “Ready to charge” signal cleared;
195 * Join modules on the “Charge request” signal – a flag to enable automatic modules joining if “Charge request” signal appears;
196 * Maximum CONTINUOUS charge current limit – a maximum continuous allowed charging current of all battery, A;
197 * Maximum charge current limit – a maximum allowed charging current of all battery, A;
198 * Errors 1 (2) to disconnect all battery modules – errors that cause all battery modules to be disconnected from the common bus;
199 * Errors 1 (2) to open the charging contactor – errors that cause the main charging contactor "Charging" to open;
200 * Switch of the charging contactor on errors without a delay – a flag that allows the main charging contactor “Charging” to be opened without delay if errors are detected.
201
202 === Discharge ===
203
204 The BMS Main 3X device manages the parallel connection of the battery modules and the connection of the battery to the discharging circuit.
205
206 The device supports the following discharging modes:
207
208 1. Discharging is always allowed (Always on) – the device ignores voltage and current unbalance of the battery modules and commands to close the discharging contactors of the battery modules and the main discharging contactor.
209 1. Discharging is allowed if all battery modules are balanced (Balanced).
210 1. Discharging is allowed for most balanced battery modules (Partially balanced). Unbalanced modules are disconnected from the common bus and do not participate in the discharging.
211
212 The device controls two processes: **joining battery modules** and **closing the main discharging contactor** “Discharging”.
213
214
215 The operation of the **joining battery modules** is described by the following steps:
216
217 1. Battery modules are disabled. When the “Join to discharge” request is received and the voltage and current unbalance errors (Voltage unbalance (DCH), Current unbalance (DCH), Discharging current unbalance) are cleared, go to step 2.
218 1. Checking the voltage unbalance of battery modules (the duration of the check is set in the settings). If there is no imbalance or errors are ignored (“Always on” and “Partially balanced”), go to step 3, otherwise open all discharging contactors, and go to step 1.
219 1. Closing the precharging contactors of the battery modules (optional). Go to step 4.
220 1. Closing the discharging contactors of the battery modules. The battery modules are self-balancing. Go to step 5.
221 1. Checking intermodular balancing currents (the duration of the check is set in the settings). If there is no current unbalance (“Current unbalance (DCH)”) or errors are ignored (“Always on”), go to step 6, otherwise open all discharging contactors, and go to step 1.
222 1. The battery modules are joined. If the “Join to discharge” request is cleared or "Discharging current unbalance" error occurs, go to step 1.
223
224 The operation of **closing main discharging contactor** is described in the following steps:
225
226 1. The main discharging contactor “Discharging” is open. When the “Discharge request” is received, the voltage and current unbalance errors (“Voltage unbalance (DCH)”, “Current unbalance (DCH)”, “Discharging current unbalance”) are cleared, and the battery modules are joined, go to step 2.
227 1. Closing the main precharging contactor (optional). Go to step 3.
228 1. Closing the main discharging contactor "Discharging". Go to step 4.
229 1. The main discharging contactor “Discharging” is closed. If the "Discharge request" is cleared, the battery modules are disconnected, or errors occur, go to step 1.
230
231 The command to turn on the main charging contactor "Discharging" can be issued either to the upper-level system via the CAN1 (ext) bus, or to the intelligent switch of the device, which serves for direct control of the main discharging contactor "Discharging".
232
233
234 In addition to controlling the discharge contactors, the discharge controller calculates and transmits to the upper-level system the maximum allowable current value with which the modular battery can be discharged ("Discharge current limit"), as well as the maximum regeneration current value with which the modular battery can be charged during operation under load ("Regeneration current limit"). The calculation of the discharge current and regeneration current of the entire battery is performed based on the number of battery modules operating for discharge and the maximum discharge and charge current values ​​transmitted by them.
235
236
237 The battery discharge management is configured in the "Control → Discharge" section:
238
239 [[image:1738081173083-894.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="162" width="600"]]
240
241 In this section:
242
243 * Enable – a flag to enable battery discharge controller;
244 * Algorithm:
245 ** Always on – discharging is always allowed;
246 ** Balanced – discharging is allowed provided that all battery modules are balanced;
247 ** Partially balanced – discharging is allowed for most balanced battery modules;
248 * Minimum number of modules allowed to join – a minimum number of battery modules that can be connected in parallel;
249 * Allowable battery current to rejoin modules – a battery current at which joining of battery modules is permitted, A;
250 * Allowable voltage difference to rejoin modules – a difference between the voltage of the disconnected module and the battery voltage at which its joining is permitted, V;
251 * Checking voltages time – a time of checking voltages of battery modules, millisecond;
252 * Balancing modules time – a time of balancing battery modules, millisecond;
253 * Control the precharging contactor – a flag to control the main precharging contactor;
254 * Canceling discharging time – a delay before opening the main discharging contactor, millisecond;
255 * Disconnect modules that are not ready to discharge – a flag for disconnecting modules that have the “Ready to discharge” signal cleared.
256 * Disconnect all modules if one is not ready to discharge – a flag for disconnecting all modules if one of the modules have the “Ready to discharge” signal cleared;
257 * Join modules on the “Discharge request” signal – a flag to enable automatic modules joining if “Discharge request” signal appears;
258 * Maximum CONTINUOUS discharge current limit – a maximum allowed continuous discharging current of all the battery, A;
259 * Maximum discharge current limit – a maximum allowed discharging current of all the battery, A;
260 * Errors 1 (2) to disconnect all battery modules – errors that cause all battery modules to be disconnected from the common bus;
261 * Errors 1 (2) to open the discharging contactor – errors that cause the main discharging contactor "Discharging" to open,
262 * Switch of the discharging contactor on errors without a delay – a flag that allows the main discharging contactor “Discharging” to be opened without delay if errors are detected.
263
264 === Charge/Discharge ===
265
266 The BMS Main 3X can control the charging/discharging contactor that is used to both charge and discharge the battery.
267
268 The charge/discharge contactor (“Charging/Discharging” signal) receives a “Charging” signal (generated by the charge controller) if a “Charge request” signal is received from the upper-level system. In all other cases, the "Discharging" signal is output to the contactor (generated by the discharge controller).
269
270 The charge/discharge contactor control is configured in the “Control → Charge/Discharge” section:
271
272 [[image:1734089702994-738.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="92" width="600"]]
273
274 In this section:
275
276 * Enable – a flag to enable the charge/discharge controller.
277
278 === Module balancing ===
279
280 The BMS Main 3X device supports active balancing of battery modules both in the process of charging and in the process of discharging the battery.
281
282 When the battery is charging, balancing is performed by disconnecting the most charged battery modules from the common bus. Before disconnecting the modules, the BMS Main 3X sends a request to the upper-level system (charger) to reduce the charge current to zero, and after the current becomes zero, disconnects the most charged battery modules.
283
284 When the battery is discharging, balancing is performed by disconnecting the most discharged battery modules from the common bus. Battery modules are disconnected only if the battery discharge current has dropped to the threshold value set in the device settings.
285
286 Module balancing is configured in the “Control → Module balancing” section:
287
288 [[image:1734089714536-690.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="102" width="600"]]
289
290 In this section:
291
292 * Balance on charging – a flag to enable module balancing when the battery is charging;
293 * Delta voltage – a voltage difference at which the most charged modules are switched off (those modules whose voltage exceeds the minimum voltage among the modules by the “Delta voltage” value are switched off), V;
294 * Delta current – a current difference at which the most charged modules are switched off (those modules are switched off, the charge current of which is less than the maximum charge current among the modules by the “Delta current” value), A;
295 * Waiting time – a time the battery modules are in the disconnected state (after this time, the modules previously disconnected during the balancing process are reconnected to the common bus), second;
296 * Balance on discharging – a flag to enable module balancing when the battery is discharging (if flag is enabled operation logic and settings are equal to balancing on charging);
297 * Required discharging current – a value of the discharge current at which the device switches off the most discharged battery modules, A.
298
299 === Power down ===
300
301 The BMS Main 3X device can shut down itself if KEYRUN and CHARGE_ON signals are cleared, and if the “Power down request” signal appears.
302
303 To change the parameters of the power down control, select the "Control → Power down" section:
304
305 [[image:1734089714537-964.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="57" width="600"]]
306
307 In this section:
308
309 * Power down if KEYRUN and CHARGE_ON are cleared – a flag to power down the device if KEYRUN and CHARGE_ON signals are cleared;
310 * Delay before setting the internal power down signal – a delay before turning off the device power when removing KEYRUN and CHARGE_ON or receiving the “Power down request” command, millisecond.
311
312 While receiving the “Power down request” signal, BMS Main 3X sends that signal to all connected battery modules with BMS Main 3 onboard.
313
314 === Heater ===
315
316 To change the parameters of the heater control algorithm, select the "Control → Heater" section:
317
318 [[image:1734089714538-716.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="102" width="600"]]
319
320 In this section:
321
322 * Enable – a flag to enable the heater control;
323 * Charge: Minimum module temperature, °C;
324 * Charge: Tolerant module temperature, °C;
325 * Discharge: Minimum module, °C;
326 * Discharge: Tolerant module temperature, °C;
327 * Delay before starting the heater, millisecond;
328 * Delay before stopping the heater, millisecond;
329 * Errors 1 (2) to turn off the heater – errors that cause the heater to shut down.
330
331 Conditions for signal generation:
332
333 * the minimum temperature among all cells of the battery is less than the “Charge (Discharge): Minimum cell temperature” value during the “Delay before starting the heater” time.
334
335 Conditions for clearing the signal:
336
337 * the minimum temperature among all cells of the battery is greater than the “Charge (Discharge): Tolerant cell temperature” value during the “Delay before stopping the heater” time.
338
339 === Cooler ===
340
341 To change the parameters of the cooler control algorithm, select the "Control → Cooler" section:
342
343 [[image:1734089726356-617.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="102" width="600"]]
344
345 In this section:
346
347 * Enable – a flag to enable the cooler control;
348 * Charge: Maximum module temperature, °C;
349 * Charge: Tolerant module temperature, °C;
350 * Discharge: Maximum module temperature, °C;
351 * Discharge: Tolerant module temperature, °C;
352 * Delay before starting the cooler, millisecond;
353 * Delay before stopping the cooler, millisecond;
354 * Errors 1 (2) to turn off the cooler – errors that cause the cooler to shut down.
355
356 Conditions for signal generation:
357
358 * the maximum temperature among all cells of the battery is greater than the “Charge (Discharge): Maximum cell temperature” value during the “Delay before starting the cooler” time.
359
360 Conditions for clearing the signal:
361
362 * the maximum temperature among all cells of the battery is less than the “Charge (Discharge): Tolerant cell temperature” value during the “Delay before stopping the cooler” time.
363
364 === Coolant pump ===
365
366 To change the parameters of the coolant pump control algorithm, select the "Control → Coolant pump" section:
367
368 [[image:1734089726358-589.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="103" width="600"]]
369
370 In this section:
371
372 * Enable – a flag to enable the coolant pump control;
373 * Charge: Maximum cell temperature difference, °C;
374 * Charge: Tolerant cell temperature difference, °C;
375 * Discharge: Maximum cell temperature difference, °C;
376 * Discharge: Tolerant cell temperature difference, °C;
377 * Delay before starting the coolant pump, millisecond;
378 * Delay before stopping the coolant pump, millisecond;
379 * Errors 1 (2) to turn off the coolant pump – errors that cause the coolant pump to shut down.
380
381 Conditions for signal generation:
382
383 * the maximum temperature difference among all cells of the battery is greater than the “Charge (Discharge): Maximum cell temperature difference” value during the “Delay before starting the coolant pump” time.
384
385 Conditions for clearing the signal:
386
387 * the maximum temperature difference among all cells of the battery is less than the “Charge (Discharge): Tolerant cell temperature difference” value during the “Delay before stopping the coolant pump” time.
388
389 === High voltage ===
390
391 The BMS Main 3X device has an ability to measure high voltages before and after contactors.
392
393 To change the parameters of high voltage fault, select the "Control → High voltage" section:
394
395 [[image:1734089726359-199.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="68" width="600"]]
396
397 In this section:
398
399 * Enable – a flag to enable High voltage control;
400 * Delay before clearing the High voltage fault, second;
401 * Lock the High voltage fault.
402
403 === Load open counter ===
404
405 The BMS Main 3X device counts the number of times the main charge/discharge contactor "Charging/Discharging" opens when high current flows.
406
407 To configure the parameters for counting the number of contactor openings, select the section “Control → Load open counter”:
408
409 [[image:1734089726360-887.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="83" width="600"]]
410
411 In this section:
412
413 * Enable – a flag for enabling the contactor opening count;
414 * Threshold – a current threshold, upon exceeding which the contactor opening counter is incremented, A.