FR 7851 then FR 5298 at Dublin
Cardiff → Dublin → Amsterdam
Timetable, Dublin time
00:50FR 7851 from Cardiff at the gate
16:20FR 5298 to Amsterdam leaves the gate
15 h 30 apart on the timetable
FR 5298 leaves 15 h 30 after FR 7851 arrives on the timetable: more than half a day, so not a connection we count.