top
logo


home
Switching with accessory commands

The switching with accessory command is supported by all Qdecoder of the standard and all-in-one classes as well as by all accessory decoder.

Which function output of a decoder is switched by a accessory command depends on a relatively large number of configuration variables. There are some simple cases that fortunately 'just fit' most of the time, which are presented below. If other options are required it is recommended to use the PC-software Qrail, in which the effects of CV changes can be checked interactively.

For function and locomotive decoder the switching by accessory commands is deactivated by default, for accessory decoder it is switched on.

Switching of simple turnouts and signals

The most common case is the switching of simple accessory components like 'red-green' signals and normal turnouts.

In these cases the functions of the Qdecoder are switched by accessory commands:

  • The command of the accessory address 1 switches functions 0 and 1 alternatively.
  • The command of the accessory address 2 switches functions 2 and 3 alternatively.
  • and so on.
Accessory command Switches the function
Address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Accessory address 1 + off on
- on off
Accessory address 2 + off on
- on off
Accessory address 3 + off on
- on off
Accessory address 4 + off on
- on off
Accessory address 5 + off on
- on off
Accessory address 6 + off on
- on off
Accessory address 7 + off on
- on off
Accessory address 8 + off on
- on off
The fields that are have neither a red nor a green background denote functions that are not modified by the command.

The switching of complex signals

If signals have more than two states, multiple switching functions can be assigned to one accessory address. Complex signals are supported by Qdecoder of the standard and all-in-one classes.

For each accessory address there is a configuration variables which stores the number of interrelated functions. The following screen of Qrail shows the address-CVs and the CVs for the encoding of the function numbers:

acc_adressen

In the following example, the number of functions for the accessory addresses 1 and 2 is set to 4; the other accessory addresses still have 2 functions:

Accessory command Switches the function
Address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Accessory address 1 + off off off on
- off off on off
Accessory address 1 + 1 + off on off off
- on off off off
Accessory address 2 + off off off on
- off off on off
Accessory address 2 + 1 + off on off off
- on off off off
Accessory address 3 + off on
- on off
Accessory address 4 + off on
- on off
Accessory address 5 + off on
- on off
Accessory address 6 + off on
- on off

With one accessory command multiple function will be switched off and one is switched on. Only two different switching commands can be transmitted with one accessory address. The commands of the successive accessory address is evaluated to switch the third and fourth function of a group. Example: the first accessory address is the address 100. The functions 0 and 1 will be switched by commands using the address 100, and the functions 2 and 3 will be switched with the address 101. It is also visible that the accessory addresses 7 and 8 do not switch functions anymore.

There are commands of an accessory address that does not switch any function in case of an odd number of signal aspects, even though other commands with the same accessory address do switch functions.

The aggregation of functions to function blocks is supported by modern controllers. If this is not the case there is the possibility to 'calculate' the accessory addresses manually or to switch to a modern controller.

Configuration with Qrail

The Qrail software offers a quite nice overview of the accessory switching commands which are assigned to a decoder. The software itself can be used to perform the configuration, or the values can be read and written to the decoder by any controller.

The following configuration screen is used for the HV-signal with shunting and substitute signal. The implementation is done with a Z1-16+:

hv_signal_zubehoeradressen

The first accessory address is used for the main signal aspect and set to contain five states (stop, Vmax, 40 km/h, shunting and substitute signal). The second accessory address for the approach signal aspect is similar.

The remaining three accessory addresses are used for three simple block signals (red/green) or three turnouts, which are also connected to the decoder.

 

bottom
top
Register | Login | about us | Shipping and handling | Legal notice | Terms and conditions | Privacy statement | Search

bottom