No proper connection of power ports

My system is fed with 24 V= and power ground via connector X311 (see pictures). The specific pins are connected to the corresponding power ports in the schematic and power flags are attached to mark those occurences as input. However the DRC marks the other occurences as incorrect and they aren’t connected in the PCB layout as well.

Tell me, what is the problem?

https://pl.vc/3o8c4
https://pl.vc/35t13

The DRC errors talk about X201, X301, X302 and #PWR011 but neither of these are visible in that screenshot.
The only DRC arrow I can see there points at X312, P6&8 connected to GND, but no idea what the error there should be as that error isn’t visible in the DRC window excerpt.

The screenshot of the footprints with ratsnest seems to be showing X312 (if that label is the reference field of the footprint), but 2 times? - why is that, the schematic has got X312 depicted as a single row 8 pin header only!

All DRC errors are the same.

The component has two pins per logical connection just to increase current rating and mechanical stability.

If you don’t provide the information, we can’t solve your problem!

Often the schematic looks “ok”, but pins are not really connected. Also, where the ERC errors are flagged isn’t always where the problem is.

Personally I find it confusing having different labels on the same nets, I would avoid doing that.

Ok, that explains that.

Yes, they are… the ratsnest is DRAWN over each other and ALWAYS take the shortest way to the next pad with the same net. For P1 & P2 this is horizontal in both cases, for the others it’s vertical and then horizontal, which it draws over each other.
The DRC errors won’t affect that one.
Just start laying down some tracks and you’ll see.

Now onto those DRC errors…
I’d wager a bet that the pin of the terminal where the power is being attached to would need to be of the power input/output type to not cause errors. But doing this for all pins of a connector makes this whole power-flag-drc-check-fumbling rather pointless. I don’t deal with it anymore after my first steps with kicad. I don’t use power flags.
Do me a favour, delete the powerflag at the GND symbol near X311 and run the DRC again… does the drc error vanish for X312 shown in the picture?

@Joan_Sparky

Yes, they are… the ratsnest is DRAWN over each other and ALWAYS take
the shortest way to the next pad with the same net. For P1 & P2 this
is horizontal in both cases, for the others it’s vertical and then
horizontal, which it draws over each other.
The DRC errors won’t affect that one.
Just start laying down some tracks and you’ll see.

Well… I just tried it and the Pads are not connected to GND.

https://pl.vc/msb7

@bobc

Personally I find it confusing having different labels on the same nets, I would avoid doing that.

Maybe I should check that, just to be shure.

@Joan_Sparky

Now onto those DRC errors…
I’d wager a bet that the pin of the
terminal where the power is being attached to would need to be of the
power input/output type to not cause errors. But doing this for all pins
of a connector makes this whole power-flag-drc-check-fumbling rather
pointless. I don’t deal with it anymore after my first steps with kicad.
I don’t use power flags.

I think, that this is wrong. I could connect 24 V= just fine and the DRC does not complain at all something must be wrong with those GND ports.

Do me a favour, delete the powerflag at the
GND symbol near X311 and run the DRC again… does the drc error vanish
for X312 shown in the picture?

No it doesn’t.

https://pl.vc/49gr6

I found a solution, but it is kind of confusing and not really logical in my opinion: Power pins on supply symbols must be configured as invisible otherwise they won’t work. This isn’t a usual problem I guess because the standard supply symbols do of cause stick to that rule but I did some experiments and broke that rule. With the corrected symbols in use it does work now.

https://pl.vc/2y329
https://pl.vc/46v1k

Thanks for your support guys!

ah, that one… yeah, stumbled across this too when I played with those symbols - dark memories - suppressed memories… :wink:

Hopefully one can find that information on here more easily now.