Signal Interface

ContentObjectsSignals



The interface tab:

Addressing, gate settings and selection of the control type.

Addressing

Interface ID

If more than one Command Station (CS) is defined in Rocrail and the signal is not wired to the first (default) CS this field must be used to link this signal with a specific CS. Otherwise to be left blank!

Bus

See: Addressing

UID-Name

Alternative to the Bus number supported by:

  • BiDiB (String: Username)
  • RocNet

Address, Port and Gate

Protocol

This is control system dependent. Used only for SRCP, DDX, Dinamo and OpenDCC, otherwise it should be left blank.

Control

Default

Simple port control using the address and port fields and the gates (red or green). See Signal Setup, chapter 3.1 for details and examples.

Patterns

Signal decoders are most likely controlled with patterns on two ports. The patterns are set up on the Details tab.
See Signal Setup, chapter 3.2 for details and examples.

Aspect numbers

Use the aspect numbers specified on the detail tab for the accessory command.
The following Command Stations are supported:

¹) extended DCC accessory

Linear

Uses only the first address as offset to control all aspects. (Only for FADA/PADA)
For signals with 4 or less aspects the aspect numbers must be set.
See Signal Setup, chapter 3.3 for details and examples.

Binary

Used to control all aspects with 2, 3 or 4 outputs.
For signals with 4 or less aspects the aspect numbers must be set.

Address > 0 or Port > 0 Number of bits Aspect values
Red 1 0,1
Red + Green 2 0,1,2,3
Red + Green + Yellow 3 0,1,2,3,4,5,6
Red + Green + Yellow + White 4 0,1,2,3,4,5,6,8,9,10,11,12,13,14,15

For none flat, FADA, addressing the correct gate setting, red/green, is necessary.


Accessory

Command Station Remark
BiDiB Use the accessory instead of the port command.
Xpressnet Switch off the signal outputs after 10ms.


Type

Port type selection.
Some decoders, like BiDiB LightControl, provide different port types on the same local address.

Switch

The switch option is only usable for 2 aspect signals to provide some kind of support for libraries which do not support single gate addressing like p50 and slx.
Switch commands are send instead of output commands when this option is set.
For usage see Signal Setup, chapter 3.1.
A better way to control signals with systems unable to process outputs is the Pair gates options which also send switch commands.

Switch time

Some Command Stations allow to define a switch activation time. Check your manual for details. The time here is in ms.


Invert

This option is only usable for 2 aspect signals to swap the red/green command.
For usage see Signal Setup, chapter 3.1.

Pair gates

The Pair gates option can be of use for decoders that must controlled like this:

Aspect Port Gate
red LED on RED green
red LED off RED red
yellow LED on YELLOW green
yellow LED off YELLOW red
green LED on GREEN green
green LED off GREEN red

This option will send switch- instead of output commands.

Command time

Optional wait time in ms between commands as work around for some command stations and decoders not capable to process 2 or more commands within a very short period of time.


Examples

2 Aspects example with the OpenDecoder

OpenDecoder
signal-decoder.jpg

  • (image with friendly permission from openddc.de)

In this case you only have to set port 1 for a signal with only red and green. The gate 1 variable is ignored: RED is 0 and GREEN is 1.

3 Aspects example with the OpenDecoder

OpenDecoder
signal-decoder-vr.jpg

  • (image with friendly permission from openddc.de)

Here you setup Vr0 on port 1, Vr1 on port 2 and Vr2 on port 3.

Aspect Port Gate
Vr0 RED: 1 red
Vr1 YELLOW: 1 green
Vr2 GREEN: 2 red

Common Buttons


Personal Tools