Use a cross cable end try to connect your pc to the second ENBT card, before doing so change your pc ip address to and ip similar to your plc adress i.e. 192.150.150.99 for instance. Then try to ping form your pc to your plc and let me know.
Then try the same thru the hub, by the way use a switch not a hub.