Hi all,
I recently bought a used CNC machine for the hobby which came with a known fault being an issue with the ATC.
So far i have figured out that the issue lies in the inverter (it goes into fault mode number 5). Unfortunately, there are no schematics available for this Junspeed S300 inverter.


When I inspected the PCB i saw that two traces were missing and that resistor R2 was broken. I fixed this (also renewed the big capacitors) but when plugging it in again R2 resistor burned out immediately.

Note traces have been repaired at the red circle. ; the control board mounts on this

Control board:

I have deducted the schematic to be this:

Note some connections not filled in due to being hidden; most of them going to the big connector LW1.
Datasheets I found:RY1 - relay -
https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/2601/JR%20Relays.pdfTR1 - BJT NPN -
https://pdf-html.ic37.com/pdf_file_B/20200531/pdf_pdf/PdfOld/icpdf_datasheet_9/ET391_datasheet_93455/152354/ET391_datasheet.pdfUnfortunately I was unable to find the datasheet of PM Mitsubishi Electric QM10KD1-HB
Measurements:R-S: 17Kohm
R-T: 9Mohm
S-T: 9Mohm
U-V: 25Kohm
U-W: 187ohm
V-W: 25Kohm
Any tips&tricks regarding how to diagnose this? I'm not very well versed in power electronics so I'm a bit out of my depth here.
I'm hoping I can get this going again. Any help is appriciated~