We can see that if this route is requested before the arrival of a train on A, it will take track 4, then loop on track 2. Turnout A will have to be reset to the diverging position so that the train can go out (in the opposite direction). On the contrary, if the train normally arrives via track 2 and then the BOUCLE is requested, the train will go through D, C, B, E and end up on track 4.
|Route VOIE 1||1||X||X||0||X||0||X|
|Route VOIE 3||1||X||1||1||X||1||0|
|Route VOIE 5||1||1||0||1||X||1||1|
Note: this could be a bit simplified by noting that the turnouts B and E, which are connected, must always work together. The turnout B must be direct when E is diverging and vice versa. They could even have a common motor.