XTermiX napisał(a):Testem diody wyszło tak na stronie pierwotnej 1 i 2 pin łączy się między sobą ale nie łączy się z 3,4,5 pinem które łączą się między sobą więc tutaj jest raczej dobrze, po stronie pierwotnej wszystkie 6 pinów łączy się między sobą.
That's completely normal, there are multiple windings inside that transformer (as illustrated in the following pictures).

XTermiX napisał(a):Dlaczego na wtórnej stronie nie ma żadnego napięcia?
We're not clairvoyant here, so we can't know that without anything concrete measurements.
Perform the following measurements in reference to the "hot" ground. The "hot" ground is the negative (-) pin of the main 400V big electrolytic capacitor.
- Measure the resistance to ground on Source (S) pin of transistor STP9NK60ZFP.
- Measure the resistances to ground on pins 2, 3, 6, 7 of chip SG6841SZ.
- Measure the voltage to ground on pin 2 of transformer.
- Measure the voltages to ground on pins 3, 7 of chip SG6841SZ.
Be aware of high voltages.
Make sure to discharge the main 400V big electrolytic capacitor before handling the board.