I did an inventory of resistors and zener diodes. It should come in handy (Marking on the resistor in parentheses)
R21 47 Ohm 5%
R12 68 k 5%
R8 51 Ohm 1%
SMD resistors
R18, R13, R17 620Ohm (621)
R69 520 Ohm (521)
R52, R53, R46, R51, R55 100K (104)
R58, R59, R25, R14, R87 4.7K (472)
R75, R76 MEASUREMENT - 57K (01D) 100K
R91, R89, R36 1K (102)
R40 1K (01B)
R56, R84 27K (273)
R66, R65 2.2K (222)
R60, R61 510K (514)
R57 5.1K (512)
R71, R72, R70 200K (30D)
R31, R47, R33, R29 200K (204)
R49, R50 10Om (100)
R16, R95, R23, R86, R81, R15, R85, R24 10K (103)
R22, R94 10K (01C)
R93 measurement -25K (48C) 30.9k?
R88 0 (000)
R82 2K (202)
R30 20K (203)
R73 measurement - 740K (01E) 1M?
R74 measurement - 380K (58D) 392k?
R45 measurement - 40K (59C) 40.2k?
R83 100Ohm (101)
R1, R2, R3, R4 470K (474)
R7 4.3M (4304)
R6 measurement - 6.4K (79B) 6.49k?
R10 8.2om (8R2)
R101 47Ohm (470)
R90 2K (202)
R28 330Ohm (331)
R92 82Ohm (820)
R20 ???????????????????????????
R27 510Ohm (511)
R43 measurement -25K (39C) 24.9k?
R44 measurement -33K "check" (58D) 392k?
Zener diodes
ZD1 18V
ZD2 ???????????????????????????
ZD4 39V
ZD5 4.7V
ZD6, ZD7 16.7V
ZD8 5.1V
Q1, Q2, Q4, Q10, Q11
1 AM 4 (NPN)
Q8, Q9
HK (NPN)
Q5 Mosfet
D18, D20
A7 Z
Can anyone identify the ZD2 diode ????? and the resistor R20 ?????. In the thread "Milwaukee M12-18C, component identification"
https://www.elektroda.pl/rtvforum/topic3385980.html#16768999 There is a photo but the resistor marking is not visible and it is best to measure the diode.
I suppose that ZD2 will be 20V because it is to stabilize the voltage of 22V and in addition there are 0.65V drops, diode and 1.4V optocoupler, hence 22V- 2.05V 19.95V?
And the R20 resistor looks like 820Om designation (8200) connected in series with 330Om ??????????
Below is a photo

One AOD413A mosfet was also replaced with TO252 AP9567GH,
both PC817 optocouplers,
TOP258YN chip blew up
resistors R8, R20 ????, R92, in R27 the inscriptions burned.
the zener diode ZDE2 evaporated
For R20 I gave 820 Ohm and the zener diode 20V. I haven't turned it on yet, I'm waiting for help.

Thanks