Hello NBCC, I work on the same problem as you but I have to work with WORDs and not BYTEs, could you please explain me how did you managed to get it to work for longer variable types ? I know this is an old post but I still hope that someone will answer... in fact (this question is more for scott_cunningham) , I don't understand why and what is really done here : " Temp := SHR(Input, 4); IF Temp > 9 THEN Chr := Temp + 55; ELSE Chr := Temp + 48; END_IF " Thanks