Not sure how you’d get 3 color signals out of that, assuming you want red to show if there’s a train already in the tunnel. If you put a third sensor in the middle of the tunnel you could have the signal red if the first sensor is blocked, and go to yellow when the middle one finally clears - but this would result in two trains approaching from the opposite sides both getting a yellow - with a collision in the middle. Simple logic would be the two sensors, one at each end, if both sensors are not blocked, green light, if either one or both is blocked, red light. A middle sensor might help if you run trains shorter then the tunnle length, otherwise a short train int he middle of the tunnel will display green lights to both sides.
I have something like 8 blocks of their signaling. When either IR sensor is covered, the signal will drop. After the sensor is uncovered, it will ‘hold’ the red signal for something like 30 seconds. So, if you are planning on ‘parking’ a train in the tunnel, make sure the one of the IR sensors are covered. You can buy just the detector and the IR sensors if you want to use your signals Check with them if your signals are compatible.