Addressing of switches and signals
This guide is meant to explain the different addressing types available for accessory decoders. The following text is written for both switches and signals, respectively. It is also valid for outputs. To keep it simple, only the word 'switch(es)' is used instead of 'switch(es) / signal(s)'.
For addressing accessories always both fields Address and Port are used. Both fields represent one unit and have to be considered together. The values in both fields together add up to the addressing type (cf. chapter 2.0).
Remember: Even though seemingly self-evident the address of a switch (which is therefore called Switch Number in this document) is not necessarily typed into the address field!
The above written can be summarised as follows:
Table 1.2: Setting addressing types. 0: zero, n: Number greater than zero
| Value |
| Value |
It depends on the command station which addressing scheme(s) can be used. If possible, it is recommended to use the PADA type of addressing.
Probably the oldest way to address is the Module Addressing (Module Accessory Decoder Address, MADA) where the address of the decoder and the port is entered. Switch number 5 will get address 2, port one (see table in 2.4 below).
However, a module is always considered as a device with four ports regardless of the number of ports offered by the actual decoder. Some decoders on the marked have only two ports, others do offer six.
|Module 1||Module 2||Module 3|
|4-port Decoder||Decoder 1||Decoder 2||Decoder 3|
|2-port Decoder||Decoder 1||Decoder 2||Decoder 3||Decoder 4||Decoder 5||Decoder 6|
|6-port Decoder||Decoder 1||Decoder 2|
A 4-port decoder perfectly fits within the module frame, whereas two 2-port decoders share one module address.
Note that 6-port decoders exceed the module frame! In the example the two last ports of decoder 1 belong to module 2 and the first two ports of the second 6-port decoder belong to module 2 whereas the remaining four ports belong to module 3.
Address and port for MADA addressing can be calculated from the switch number using the integer part of the result. # is the actual switch number.
|Calculation||Result for Switch No. 12|
|addr = (# - 1) / 4 + 1||3.75|
|port = (# - 1) modulo1) 4 + 1||4|
Using only the integer part of the result switch number 12 has address 3 and port 4.
Port addressing (Port Accessory Decoder Address, PADA) addresses the ports directly: Switch number 5 will get address 0, port 5. With port addressing the address fields are always 0 (zero) and the port field holds the switch number.
Flat addressing (Flat Accessory Decoder Address, FADA) usually addresses the gates directly: For switch number 5 this will be gates 9 and 10.
However, with some command stations flat addressing refers to a flat addressing of switch numbers, e.g. BiDiB. In these cases switch number 5 will get address 5, port 0. With this form of flat addressing the port fields are always 0 (zero) and the address field holds the switch number.
Table: Comparison of addressing schemes
|MADA||PADA||Flat (e.g. BiDiB)|