Is there really any difference?
I see the ethernet are typically colored teal and the profinet green.
Officially, I think PN uses a different standard than Cat5/6/whatever to approve cables (because of course they do), but it's still an ethernet cable. Same pinouts, etc. Note that PN cables are typically 2 pair instead of 4 pair, because most PN devices are only 100mbit, but you probably want 4 pair/gig rated cable for backbone stuff.
Realistically, yes, it's probably fine, as long as its shielded.
...the middle one is a cat7 the other is a cat5
Cat 7 is not an official specification, but rather a manufacturer-declared rating, is that correct?
Btw. whoever invented RJ45 should drawn and quartered.