FR 635 then EI 3554 at Dublin
Cardiff → Dublin → Edinburgh
Timetable, Dublin time
17:05FR 635 from Cardiff at the gate
15:30EI 3554 to Edinburgh leaves the gate
22 h 25 apart on the timetable, overnight
EI 3554 leaves 22 h 25 after FR 635 arrives on the timetable: more than half a day, so not a connection we count.