T-n-T: Switch cascading

The problem

You want to prepare for writing to a named network or register multiple different options (list) of data.

The solution

The solution (diagram).

Once a second, the counter value changes, from 0 to 31 (by circle), and this or that constant is transferred to the named net “value” from the corresponding input of one of the 16-in-1 switches.

The alternative solution (diagram).

Alternative implementation using more economical software resources of the approach controller (mathematical operations, blocks 6 and 7, replaced by bit).

If necessary, using this approach, you can create cascades from more switches.