Hi Nasargy,
I may be wrong, but I think you're seriously mixing things
Preamble: I don't have personally an experience of mixing a loco digital command with analog command of turnouts/signals, nor an experience of a MS2. But I have a good understanding of digital system since more than 20 years (today with a CS2 and full computer driven layout), and the same experience about pure analog layout.
I repeat, I may be wrong, and in such a case other forum members are welcome to correct my mistakes, but until so far, let's suppose I'm right...
1) I don't understand the purpose of the 5211 decoder,
if you want to drive the signal with circuit tracks. The Viessmann 5211 is the equivalent of the old marklin K83 decoder (ref 6083). The purpose of such a decoder is to drive turnouts or legacy signals (the Viessmann 4500 semaphore belongs to this category) from a numeric interface (i.e. either from the Keyboard interface of a CS2/MS2 or a computer), and
not an analog one. In other words, the 5211 has a base address you set with dip-switches inside. This base address (A) allows to drive up to four turnouts/signals starting at address A up to address A+3.
So, if you set the base address of the 5211 to 1 and plug the 3 command wires of the signal (yellow, blue/red and blue/green) to group 1 of 5211, then you are able to change the semaphore position using the MS2 Keyboard interface, on address 1.
2) I'm afraid you cannot connect the signal for digital command thru the MS2,
AND thru the circuit tracks at the same time, except using a CS2 (with a S88 interface) and a S88 decoder connected to the circuit tracks plugs and linked to the CS2 S88 interface. In the later case, both command thru the 5211 AND the circuit tracks is possible.
I've drawn a schema of how to connect the MS2, and the 4500 to an analog transformer and the circuit tracks.

A few explanations:
- Circuit tracks are located at both ends (it's an example). When the slider of the loco passes over the rocker of circuit track #1 (right hand-side), from right to left, it triggers the green command of the signal; When the loco passes over the rocker of circuit track #2, it triggers the red command of the signal. This example is not very representative of a useful automation, but it's only an example. Read the doc (or download it from Marklin web site) of the 24194 circuit track, the example shown is more useful.
- The light transformer has a L plug (for light). This output has a permanent 16V. Do not use the "red" output of the light transfo (it it has one), and NEVER connect "red" from light transfomer to MS2 "red" wire.
Before using this schema, I'd like other forum members to confirm If I'm right or not.
I repeat, I don't have experience of such an arrangement. The schema provided is done based on my current knowledge and deductions.
Hope that helps...
Cheers
Fabrice
Edited by user 16 September 2015 20:27:45(UTC)
| Reason: Not specified