Our tool will give you the codes
http://www.railusers.ie/passenger_in..._calc_2017.php
First letter is the distance code A-Z
Second is the fare type E/1/2/L
We also show the distance code to be used if the NTA's revised distance bands were employed (still waiting, 5+ years...)