FR 635 then EI 3222 at Dublin
Cardiff → Dublin → Glasgow
Timetable, Dublin time
15:25FR 635 from Cardiff at the gate
10:20EI 3222 to Glasgow leaves the gate
18 h 55 apart on the timetable, overnight
EI 3222 leaves 18 h 55 after FR 635 arrives on the timetable: more than half a day, so not a connection we count.