Signals Interface

dirver

Signals Interface

Post by dirver » 02.10.2008, 10:25

In the docu is stated the following:

Turnout

The turnout option is only use able 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.

But it ALSO sends signals command AND switch commands.

rjversluis
Site Admin
Posts: 41187
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 02.10.2008, 11:46

1) provide traces
2) which CS are you testing

dirver

Post by dirver » 03.10.2008, 10:27

Included.
System: DDX
Attachments
dirksplan.xml
(5.51 KiB) Downloaded 291 times

rjversluis
Site Admin
Posts: 41187
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 03.10.2008, 10:47

Hi Dirk,

you posted your layout, not any traces.

dirver

Post by dirver » 03.10.2008, 12:02

Rob,

Included the trc file
Attachments
rocrailtrc004.xml
(55.95 KiB) Downloaded 270 times

rjversluis
Site Admin
Posts: 41187
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 03.10.2008, 12:13

OK,

but which lines point out the issue?

dirver

Post by dirver » 03.10.2008, 12:17

Rob,

Select the signal and look at the commands to be generated.
Than change in Signal to Turnout (wissel) and do again select the signal.
You should see that there are less commands generated.

So the commands in the first (no turnout) generates also the switch commands and the switch also receives commands to be set.

Regards,

Dirk

rjversluis
Site Admin
Posts: 41187
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 03.10.2008, 12:32

looks OK to me.
Give me the line number of which you think it is wrong.

dirver

Post by dirver » 03.10.2008, 12:45

Rob,

Select TABELS - SIGNALS - sg1 - INTERFACE
Select Turnout option
Use the signal you get

accessory(MM): 3 1 0 1
Queue initialized.
accessory(MM): 3 1 0 0

Select TABELS - SIGNALS - sg1 - INTERFACE
Unselect Turnout option
Use the signal you get

accessory(MM): 3 1 0 0
accessory(MM): 1 2 1 0
accessory(MM): 1 2 1 1

Use Switch sw2 and you get
Switch [sw2] will be set to [straight]
accessory(MM): 1 2 1 1

So by using unselect the turnout option of the signal you send also a command to sw2.

Regards,

Dirk

rjversluis
Site Admin
Posts: 41187
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 03.10.2008, 13:48

Hi Dirk,

your addressing is incomplete.

If using two aspects, not as a turnout, you must set 2 addresses. One for every aspect.

In case the turnout option is checked only the first address is used. But for the normal two aspects operation the first 2.

The problem is that the 0,0 address, not set, is translated into the same address as sw2 has.

dirver

Post by dirver » 03.10.2008, 14:06

Rob,

Even if I set the addresses of the YELLOW and RED aspect it uses ONLY the address of the GREEN aspect.

Regards,

Dirk

dirver

Post by dirver » 03.10.2008, 14:09

Rob,

Sorry,

Even if I set the addresses of the YELLOW and GREEN aspect it uses ONLY the address of the RED aspect.
I have selected that I use 2-lamps(detail-tab)
If I select 3-aspect (detail-tab) than you see the use of the 3 addresses.

Regards,

Dirk

dirver

Post by dirver » 03.10.2008, 14:12

Rob,

After checking further, if I give in the WHITE-addresses, and 4-aspects (detail-tab) it does not use the WHITE-addresses.

Regards,

Dirk

rjversluis
Site Admin
Posts: 41187
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 03.10.2008, 14:14

Green is 3,1
Yellow is 3,2

Code: Select all

20081003.151316.831 r9999I cmdr081E OSignal  0508 setting signal sg1 to green
20081003.151316.831 r9999I cmdr081E OSignal  0395 2 aspects processing for signal [sg1][green]...
20081003.151316.832 r9999c cmdr081E OVirtual 0194 output 0003 1 0 fada=0016 pada=0009
20081003.151316.832 r9999c cmdr081E OVirtual 0194 output 0003 2 0 fada=0018 pada=0010
20081003.151316.832 r9999c cmdr081E OVirtual 0194 output 0003 2 0 fada=0018 pada=0010
20081003.151319.113 r9999I cmdr081E OSignal  0508 setting signal sg1 to red
20081003.151319.113 r9999I cmdr081E OSignal  0395 2 aspects processing for signal [sg1][red]...
20081003.151319.113 r9999c cmdr081E OVirtual 0194 output 0003 1 0 fada=0016 pada=0009
20081003.151319.113 r9999c cmdr081E OVirtual 0194 output 0003 2 0 fada=0018 pada=0010
20081003.151319.114 r9999c cmdr081E OVirtual 0194 output 0003 1 0 fada=0016 pada=0009
I used your layout XML.

speedjf37
Posts: 9
Joined: 14.01.2018, 00:38

Re: Signals Interface

Post by speedjf37 » 23.01.2018, 14:27

Hi,

French signal ave many states (>16 ).

LEB décoders use binary with 5 bit. as turnout Green/Red

The signal interface work well in linear parameter for 16 states (tested) but dont drive the turnouts in binary mode.

Can you give some parameter sample ?

Drive signal with action -> signal SG:3 state = 3

Sorry for my poor English

JF

Post Reply

Return to “Signal Systems”