It converts numbers to binary numbers
Hit the first logic train and hexadecimal reads 1 while binary reads 0001
Hit the second train and hexadecimal read 2 while binary reads 0010
Hit the first and then second train, hexadecimal reads 3 while the binary reads 0011.. And so on.