[solved] double traction(consist) using openDCC

http://www.opendcc.de
http://www.bidib.org
gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

[solved] double traction(consist) using openDCC

Post by gramels » 15.02.2010, 09:28

Hi all,
I dont know if is a bug or a misconfiguration and I am also not sure if its on openDCC or on rocrail side. I found the following inconsistency:

setup:
openDCC, xpressnet version, MultiMaus connected to openDCC, rocrail (rev 1279 on XP)

I can control single locos seamlessly between MultiMaus and rocrail clients (iRoc & rocview).
I can control the doubletraction using rocview or iroc.
I see the commands coming from the Multimaus in rocrail.
But: the commands dont seem to be sent back to the track.

rocview throttle:

Code: Select all

20100215.092212.781 r9999I cmdr0110 OLoc     0274 restoring functions
20100215.092212.781 r9999I cmdr0110 OLoc     0835 lc=DoppelD lights=on -- -- -- 04 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20100215.092212.781 r9999c 00000D28 OP50x    0418 loc 21 f1=off f2=off f3=off f4=on f5=off f6=off f7=off f8=off
20100215.092212.796 r9999I cmdr0110 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092212.812 r9999I cmdr0110 OLoc     0835 lc=D 2010 ge lights=on -- -- -- 04 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20100215.092212.812 r9999c 00000D28 OP50x    0418 loc 4 f1=off f2=off f3=off f4=on f5=off f6=off f7=off f8=off
20100215.092212.828 r9999I cmdr0110 OLoc     0835 lc=D 2010 rt lights=on -- -- -- 04 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20100215.092212.828 r9999c 00000D28 OP50x    0418 loc 5 f1=off f2=off f3=off f4=on f5=off f6=off f7=off f8=off
20100215.092215.578 r9999c 00000D28 OP50x    0385 loc 21 speed=20 lights=on dir=reverse
20100215.092215.593 r9999I cmdr0110 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092215.593 r9999c 00000D28 OP50x    0385 loc 4 speed=20 lights=on dir=forwards
20100215.092215.625 r9999c 00000D28 OP50x    0385 loc 5 speed=20 lights=on dir=reverse
20100215.092215.656 r9999c 00000D28 OP50x    0385 loc 21 speed=20 lights=on dir=reverse
20100215.092215.671 r9999I cmdr0110 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092215.671 r9999c 00000D28 OP50x    0385 loc 4 speed=20 lights=on dir=forwards
20100215.092215.687 r9999c 00000D28 OP50x    0385 loc 5 speed=20 lights=on dir=reverse
20100215.092218.906 r9999c 00000D28 OP50x    0385 loc 21 speed=0 lights=on dir=reverse
20100215.092218.968 r9999I cmdr0110 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092218.968 r9999c 00000D28 OP50x    0385 loc 4 speed=0 lights=on dir=forwards
20100215.092218.000 r9999c 00000D28 OP50x    0385 loc 5 speed=0 lights=on dir=reverse
20100215.092240.656 r9999I statread OP50x    0979 addr=21 spd=89
20100215.092240.656 r9999I 00000884 OLoc     0372 lc=DoppelD dir=1 fn=0
p50x throttle

Code: Select all


20100215.092240.671 r9999I 00000884 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092240.671 r9999I 00000884 OLoc     1680 cmd "direction" for D 2010 ge.
20100215.092240.671 r9999I 00000884 OLoc     1680 cmd "direction" for D 2010 rt.
20100215.092240.671 r9999I 00000884 OLoc     0397 lc=DoppelD V_raw=89 V=70 fn=1 dir=Forwards throttleID=p50x
20100215.092240.671 r9999I 00000884 OLoc     0440 lc=DoppelD throttleid=p50x f0=off -- -- -- 04 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20100215.092240.953 r9999I statread OP50x    0979 addr=21 spd=85
20100215.092240.953 r9999I 00000884 OLoc     0372 lc=DoppelD dir=1 fn=0
20100215.092240.953 r9999I 00000884 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092240.953 r9999I 00000884 OLoc     1680 cmd "direction" for D 2010 ge.
20100215.092240.953 r9999I 00000884 OLoc     1680 cmd "direction" for D 2010 rt.
20100215.092240.968 r9999I 00000884 OLoc     0397 lc=DoppelD V_raw=85 V=67 fn=0 dir=Forwards throttleID=p50x
20100215.092240.968 r9999I 00000884 OLoc     0440 lc=DoppelD throttleid=p50x f0=off -- -- -- 04 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20100215.092240.250 r9999I statread OP50x    0979 addr=21 spd=79
20100215.092240.265 r9999I 00000884 OLoc     0372 lc=DoppelD dir=1 fn=0
20100215.092240.265 r9999I 00000884 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092240.265 r9999I 00000884 OLoc     1680 cmd "direction" for D 2010 ge.
20100215.092240.265 r9999I 00000884 OLoc     1680 cmd "direction" for D 2010 rt.
20100215.092240.265 r9999I 00000884 OLoc     0397 lc=DoppelD V_raw=79 V=62 fn=0 dir=Forwards throttleID=p50x
20100215.092240.265 r9999I 00000884 OLoc     0440 lc=DoppelD throttleid=p50x f0=off -- -- -- 04 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20100215.092241.562 r9999I statread OP50x    0979 addr=21 spd=80
20100215.092241.562 r9999I 00000884 OLoc     0372 lc=DoppelD dir=1 fn=0
20100215.092241.562 r9999I 00000884 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092241.562 r9999I 00000884 OLoc     1680 cmd "direction" for D 2010 ge.
20100215.092241.562 r9999I 00000884 OLoc     1680 cmd "direction" for D 2010 rt.
20100215.092241.562 r9999I 00000884 OLoc     0397 lc=DoppelD V_raw=80 V=63 fn=0 dir=Forwards throttleID=p50x
20100215.092241.562 r9999I 00000884 OLoc     0440 lc=DoppelD throttleid=p50x f0=off -- -- -- 04 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Last edited by gramels on 17.02.2013, 14:08, edited 2 times in total.

opendcc
Posts: 137
Joined: 08.01.2009, 22:03

Re: doubletraktion using openDCC, Xpressnet & rocrail no

Post by opendcc » 15.02.2010, 21:27

Hi,

as far as I can see, the speed command for the consist master is sent from the command station to rocrail, but the consist members don't get an update of the new speed.

br Wolfgang

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 16.02.2010, 00:02

Hi Wolfgang, this is also my impression.

Also in the loc table, the speed of the consist members is not updated, the speed of the consist master is.

Can anybody else reproduce this behaviour?

I filed this as a bug: http://forum.rocrail.net/viewtopic.php?t=1594

Lothar

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

Post by rjversluis » 16.02.2010, 07:17

Hi Lothar,

you are very fast with reporting a bug.
The trace tels us that the commands are dispatched into the p50x library and send the velocity commands to the OpenDCC :

Code: Select all

20100215.092215.656 r9999c 00000D28 OP50x    0385 loc 21 speed=20 lights=on dir=reverse
20100215.092215.671 r9999I cmdr0110 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092215.671 r9999c 00000D28 OP50x    0385 loc 4 speed=20 lights=on dir=forwards
20100215.092215.687 r9999c 00000D28 OP50x    0385 loc 5 speed=20 lights=on dir=reverse
Or is this the trace you made with iRoc or Rocview as client?

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 16.02.2010, 08:09

Hi Rob,

did not want to bother you.
It is not clear to me how you prefere to balance bug reports via forum and bugtracker. I hope you consider my bug reports as a contribution to support you to keep up with the good work.
I tested it with fresh build of yesterday on linux and on XP 1279.

The trace represents both scenarios (positive & negative test in one trace):

rocview as a throttle until before 20100215.092240.671
p50x throttle (Multimaus) starting including 20100215.092240.671

I splitted the trace above to make it more obviuous.

Hope that helps

Lothar
Last edited by gramels on 16.02.2010, 18:45, edited 1 time in total.

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

Post by rjversluis » 16.02.2010, 08:26

Hi,

now it is clear, and the bug is qualified.

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 06.01.2013, 10:55

sorry to re-open this old threat, but it seems like the issue came back:

Revision: 4512

I have a virtual loco (DopD 10) set upp in rocrail
added D10gelb 4 & D10rot 5 a as consist member
can be controlled nicely using rocview, androc, iRoc
can not be controlled with my Multimaus connected to OpenDCC

It seems in the trace, that rocrail picks up the control commands from the Multimaus over p50x protocol but no commands to the members are sent back to the track.

could this be rechecked please.

Lothar

PS: after a longer break I spent 5 days installing sensors on my indoor LGB layout and had great fun, rocrail is great!
You do not have the required permissions to view the files attached to this post.

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

Post by rjversluis » 06.01.2013, 12:12

Hi Lothar,

vielleicht ist das hier nicht gesetzt:
http://wiki.rocrail.net/doku.php?id=roc ... hrottle_id

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 06.01.2013, 13:31

Hii Rob,

thanks for the fast answer
The option was disabled, but id had no effect to enable.
Unfortunately this had no effect.

Lothar
You do not have the required permissions to view the files attached to this post.

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 19.01.2013, 11:32

Hallo Rob,

brauchst Du noch mehr Testdaten oder soll ich einen Bug (wieder)eröffnen?

Ich hab es gerade mit 4559 nochmals probiert, es ist immer noch so, dass ich nicht den commit via Multimaus steuern kann, nur mit iroc, androc und padroc.

Grüsse

Lothar

Pirat-Kapitan
Moderator
Posts: 5034
Joined: 06.02.2010, 15:46
Location: Rösrath bei Köln / Germany

Post by Pirat-Kapitan » 19.01.2013, 12:04

Hi Lothar,
some Xpressnet controlls multitraction via CV 19 only.
My Lenz sets the multitraction adress to cv19 in each loco of the multitraktion.
maybe the multimaus does the same.

Then I think, You have to set CV 19 by hand for rocrail does not use cv 19 for multitraction.

Best regards
Johannes

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 19.01.2013, 12:17

Hallo Johannes,

I set the consist via rocrail and in older versions rocrail feeded this back to the control station.

This is done by setting up a virtual loco (eg addr 10) add the consist members in rocrail.

In the current version, rocrail sees the commands coming from my mulitmaus, but does not feed them back to the consist members.

So this is a feature which used to work but got lost. See the old bug from 2010 https://bugs.launchpad.net/rocrail/+bug/522392 .

Lothar

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

Post by rjversluis » 20.01.2013, 10:24

Hi Lothar,

the trace does not show your complain.
All commands are also redirected to the consist members:

Code: Select all

20130106.122704.965 r9999I statread OP50x    1162 addr=10 V_raw=8 dir=fwd fn=off [80]
20130106.122704.966 r9999a statread OModel   3135 Loco event: 10
20130106.122704.966 r9999I statread OLoc     0521 lc=DopD dir=1 fn=0
20130106.122704.967 r9999I statread OLoc     2066 sending command to the consist member [D10gelb,D10rot]

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 20.01.2013, 11:01

I miss in the traces the sent to opendcc, something like

20130120.105959.356 r9999c V3 OP50x 0402 loc 12 speed=0 lights=on dir=reverse

for the two consist members.

I suspect that this is is the issue, that the commands are not sent back to P50x.

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 20.01.2013, 11:03

Good morning Rob,

in the old examples above it looked like

Code: Select all

20100215.092218.968 r9999I cmdr0110 OLoc     1594 sending command to the consist member [D 2010 ge,D 2010 rt]
20100215.092218.968 r9999c 00000D28 OP50x    0385 loc 4 speed=0 lights=on dir=forwards
20100215.092218.000 r9999c 00000D28 OP50x    0385 loc 5 speed=0 lights=on dir=reverse 
The last two lines are missing in my latest traces.

Best'

Lothar

Post Reply

Return to “OpenDCC & BiDiB”