FR 815 then FR 634 at Dublin
Edinburgh → Dublin → Cardiff
Timetable, Dublin time
15:35FR 815 from Edinburgh at the gate
07:10FR 634 to Cardiff leaves the gate
15 h 35 apart on the timetable, overnight
FR 634 leaves 15 h 35 after FR 815 arrives on the timetable: more than half a day, so not a connection we count.