Autor Thema: A little help...?  (Gelesen 8839 mal)

Offline Per Olsen

  • Senior-Mitglied
  • Beiträge: 572
  • Ort: Bergen, Norway Ort bei GoogleMaps suchen no
A little help...?
« am: 18. Dezember 2009, 10:46:39 »
Hello.

I have a small issue I need solved.  It is a bit complicated to describe, but it ends up to this:

Running Zugfahrten-Automatik, a few places I need a delay after the train has arrived at the destination contact before the Zugfahrt is released.  I think this is possible, but I cannot find out how.  I know (and use) the delay BEFORE the next Zugfahrt is activated, but this time I also need a delay AFTER the Zugfahrt has been finished before the Zugfahrt is released.  How?

I am running the german version 2009.2.

Best regards,
Per.


  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control.  Maerklin C-tracks. 6xBolls boosters.   2xLittfinski HSI-88 USB.  Bolls RMDs.   Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.

Offline Bernd Senger

  • Betatester
  • Senior-Mitglied
  • *
  • Beiträge: 2629
  • Ort: Königs Wusterhausen Ort bei GoogleMaps suchen de
Re: A little help...?
« Antwort #1 am: 18. Dezember 2009, 18:05:48 »
Hi Per,
maybe it will be a solution to put a virtual switch anywhere to the layout and change the condition (e.g red/green) at the end of a route with a profile. You can add a time value up to 90 seconds per entry. For the next route/tour you put this virtual switch as condition to switch the route.
Viele Grüße vom Rand Berlins
Bernd Senger
+++

----------------------------------------
Sonstiges
biete gerne Hilfe an, Sprachen: Deutsch, Englisch
  • Win-Digipet-Version:
    WDP 2021.x Beta
  • Anlagenkonfiguration:
    N-Anlage Neubau, ECoS II, TAMS mc2, YaMoRC YD7001, MDec.LDT, digikeijs LocoNet Rückm. (190 RMK)
  • Rechnerkonfiguration:
    AMD A10-7850K, 8 GB RAM, 34" UWQHD 3440x1440 Windows 10 64; Samsung Galaxy S21+

Offline Per Olsen

  • Senior-Mitglied
  • Beiträge: 572
  • Ort: Bergen, Norway Ort bei GoogleMaps suchen no
Re: A little help...?
« Antwort #2 am: 18. Dezember 2009, 18:29:22 »
Hello !

Well, I don't think that will solve it.  The point is that I need a delay, maybe 5-10sec, AFTER the destination-contact has been reached before the route is relased.  But once the destination-contact has been reached, the route is freed, and so the next route will be switched.  I did try to put in another line in the profile AFTER the STOP-line, with the same contact as the destination-contact, and with a delay.  But this did not work, the next route was still switched at once as the destination-contact was reached.

Best regards,
Per.

  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control.  Maerklin C-tracks. 6xBolls boosters.   2xLittfinski HSI-88 USB.  Bolls RMDs.   Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.

Offline Bernd Senger

  • Betatester
  • Senior-Mitglied
  • *
  • Beiträge: 2629
  • Ort: Königs Wusterhausen Ort bei GoogleMaps suchen de
Re: A little help...?
« Antwort #3 am: 19. Dezember 2009, 00:29:47 »
Hi Per,
i'm sorry but i missunderstood you a little but i think i am on the right way with the Virtual Switch. Within the Track Editor you can Switch irtual Contacts with a Virtual switch, too. If you set the Switch to any condirion After the loco arrived at the Destination contact within à profile. This Switch changes à Virtual  contact. The release condition for the Route is the Destination contact AND the Virtual contact you Set After à few seconds with the Virtual Switch. I think this should work.

Regards
Bernd
Viele Grüße vom Rand Berlins
Bernd Senger
+++

----------------------------------------
Sonstiges
biete gerne Hilfe an, Sprachen: Deutsch, Englisch
  • Win-Digipet-Version:
    WDP 2021.x Beta
  • Anlagenkonfiguration:
    N-Anlage Neubau, ECoS II, TAMS mc2, YaMoRC YD7001, MDec.LDT, digikeijs LocoNet Rückm. (190 RMK)
  • Rechnerkonfiguration:
    AMD A10-7850K, 8 GB RAM, 34" UWQHD 3440x1440 Windows 10 64; Samsung Galaxy S21+

Offline Per Olsen

  • Senior-Mitglied
  • Beiträge: 572
  • Ort: Bergen, Norway Ort bei GoogleMaps suchen no
Re: A little help...?
« Antwort #4 am: 19. Dezember 2009, 13:43:26 »
Hello again.

Yes, this is possible, if I only knew how to make the release when both the destination contact AND the virtual contact is set.  How do I make WDP see that BOTH conditions must be true before the route is released..?  I think I do not see the forest for all the trees (smile)... :)

Best regards,
Per.
  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control.  Maerklin C-tracks. 6xBolls boosters.   2xLittfinski HSI-88 USB.  Bolls RMDs.   Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.

Offline Bernd Senger

  • Betatester
  • Senior-Mitglied
  • *
  • Beiträge: 2629
  • Ort: Königs Wusterhausen Ort bei GoogleMaps suchen de
Re: A little help...?
« Antwort #5 am: 19. Dezember 2009, 14:50:59 »
Hello Per,
you'll find the radiobutton "AND" at the Card for release conditions (Freigabe) in the Bottom Part. I'm sorry but i have no chance to make a Screenshot at the moment.
Greets from Berlin
Viele Grüße vom Rand Berlins
Bernd Senger
+++

----------------------------------------
Sonstiges
biete gerne Hilfe an, Sprachen: Deutsch, Englisch
  • Win-Digipet-Version:
    WDP 2021.x Beta
  • Anlagenkonfiguration:
    N-Anlage Neubau, ECoS II, TAMS mc2, YaMoRC YD7001, MDec.LDT, digikeijs LocoNet Rückm. (190 RMK)
  • Rechnerkonfiguration:
    AMD A10-7850K, 8 GB RAM, 34" UWQHD 3440x1440 Windows 10 64; Samsung Galaxy S21+

Offline Per Olsen

  • Senior-Mitglied
  • Beiträge: 572
  • Ort: Bergen, Norway Ort bei GoogleMaps suchen no
Re: A little help...?
« Antwort #6 am: 19. Dezember 2009, 16:11:19 »
Hello again !

I assume you are talking about the "Freigaben" in "Fahrstrassen-Editor"?  This is the only place I can find the Freigaben.  But here I can only put in 2 different RMKs, not one RMK (for release-contact) and another for a solenoid device.

I think there still is something I do not see here...  Maybe a virtual RMK is possible?  How?

Regards,
Per.

  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control.  Maerklin C-tracks. 6xBolls boosters.   2xLittfinski HSI-88 USB.  Bolls RMDs.   Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.

Offline Stefan Lersch

  • Moderator
  • Senior-Mitglied
  • *
  • Beiträge: 6432
  • Ort: Brühl (bei Köln) Ort bei GoogleMaps suchen de
    • Infos zum Down-Syndrom alias Trisomie 21
Re: A little help...?
« Antwort #7 am: 20. Dezember 2009, 02:14:57 »
Hi Per,

in the 2009 edition you can connect a solenoid device with a (virtual) RMK. See the screenshot. In my case the solenoid device and the virtual RMK have the same number but that is not necessary - they can be different. When the state of the solenoid device changes the state of the RMK changes, too.

Zu diesem Beitrag gehören 1 Anhäng(e). Um diese zu sehen oder zum Download müssen Sie sich einloggen.
Viele Grüße,
Stefan
  • Win-Digipet-Version:
    WDP 2021.x Beta
  • Anlagenkonfiguration:
    N-Anlage im Bau, Minitrix &amp Co., Tams MC 2.2.3, DCC
  • Rechnerkonfiguration:
    Quad Core 8 GB mit Win 10, 32"quot Bildschirm

Offline Per Olsen

  • Senior-Mitglied
  • Beiträge: 572
  • Ort: Bergen, Norway Ort bei GoogleMaps suchen no
Re: A little help...?
« Antwort #8 am: 21. Dezember 2009, 11:45:31 »
Hello Stefan !

Thank you.  Yes, I think this is exactly what I need!  I will try it later today.

Best would, of course, be an option in the route/profile-editor to insert a delay before the route is released.  This would make it more simple.

Thanks again !

Best regards,
Per.

  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control.  Maerklin C-tracks. 6xBolls boosters.   2xLittfinski HSI-88 USB.  Bolls RMDs.   Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.

Offline Per Olsen

  • Senior-Mitglied
  • Beiträge: 572
  • Ort: Bergen, Norway Ort bei GoogleMaps suchen no
Re: A little help...?
« Antwort #9 am: 21. Dezember 2009, 22:39:53 »
Hello again, Stefan.

Please forgive the mixture of english and german language, I write poorly german, but I do use the german version of the software. 

I have now tried this.  I inserted a virtual switch with adress 999 and also a virtual RMK with adress 999 (for simplicity) same way as your example.  In the Fahrstrasse editor, I put the UND-condition so that the Freigabe would happen when RMK 35 is besetzt (as before) UND 999 is besetzt.  I tested it, first with 999 manually set to occupied, and the train stopped as before.  As it should.

Next I set 999 to free, I then expected the train to stop as before, but the route not released.  This is what I need.  But this did not happen...  What happened was that the train did NOT stop at contact 35, but continued past it until I stopped it manually.  This is not what I need.  I need the train to stop at the destination-contact as described in its route and profile, as before, but the route should not be released after the new delay. 

The reason I do need this, is because my layout has some dis-advantages in the fact that I have some too short (and some too long) feed-back contacts (we are planning a new layout, but will have to use this one for some time still yet).  So I very much need a delay after the train has entered the STOP-contact before the train actually stops.  This works fine, using the profiles, with a delay in the STOP-section, but the current route is released AT ONCE when the train enter the STOP-contact, not after the delay I have put in there before the train actually is given the command to stop.  And I very much need the route NOT be released before my train actually has been given the STOP-command.

What can I do...?

Best ragards,
Per.

  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control.  Maerklin C-tracks. 6xBolls boosters.   2xLittfinski HSI-88 USB.  Bolls RMDs.   Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.

Offline Stefan Lersch

  • Moderator
  • Senior-Mitglied
  • *
  • Beiträge: 6432
  • Ort: Brühl (bei Köln) Ort bei GoogleMaps suchen de
    • Infos zum Down-Syndrom alias Trisomie 21
Re: A little help...?
« Antwort #10 am: 22. Dezember 2009, 00:26:16 »
Hi Per,

don't worry about the mixture, I'm used to it. That's the way my mother-in-law talks. She's American living in Germany and switches between the languages back and forth while speaking. :)

I would try this: I would extend the profile for this Fahrstraße: the 2nd last command (row) would be 0 km/h when reaching RMK 35. The last: STOP when reaching RMK 999. You care about a delay before the switch 999 changes its state and RMK is set to besetzt. In that case WDP should stop your train at RMK 35. However it hasn't reached the new stop contact 999 and so the Fahrstraße should not be released. Eventually the switch 999 sets RMK 999 to besetzt and the train reaches by "miracle" the stop contact.

That means that you have to alter the Fahrstraße, too. New stop contact is now 999.

Give it a try. :)
« Letzte Änderung: 22. Dezember 2009, 00:27:54 von Stefan Lersch »
Viele Grüße,
Stefan
  • Win-Digipet-Version:
    WDP 2021.x Beta
  • Anlagenkonfiguration:
    N-Anlage im Bau, Minitrix &amp Co., Tams MC 2.2.3, DCC
  • Rechnerkonfiguration:
    Quad Core 8 GB mit Win 10, 32"quot Bildschirm

Offline Hwnel

  • Senior-Mitglied
  • Beiträge: 175
  • Ort: Hawaii Ort bei GoogleMaps suchen
  • Aloha from Hawaii
Re: A little help...?
« Antwort #11 am: 22. Dezember 2009, 01:21:43 »
Hello Per,

I think I understand what Bernd and Stefan are trying to tell you regarding the delay.  Set up a virtual Switch with a contact number that changes state when the virtual switch is changed.  (See Virtual Switch.jpg)  I have used the same switch and contact number of 200. (although does not need to be the same number)

Then in the profile settings for the route in question insert a line that sets the switch to Red preferably before the check contact and back to Green with the required delay when the check contact is reached.  I have a delay of 7 seconds, but a delay can be up to 90 seconds in the profile.

In the routes editor for the route in question you must show that the destination contact is occupied AND the virtual contact(which is set with the virtual switch) is free for the release condition to be met.  The virtual switch is set to Green after a 7 second delay causing the virtual contact to be free and thus meeting the release conditions.

I haven't tried this on my home layout, but it seemed to work in the simulation.  Also I have used LokID 0 for the profile so that all locomotives will stop with a delay of 7 seconds.  You can tailor it to a specific locomotive by changing LokID 0 to a specific locomotive.

Elliott

Zu diesem Beitrag gehören 3 Anhäng(e). Um diese zu sehen oder zum Download müssen Sie sich einloggen.
Layout:
WDP 2015.2, Märklin HO K-Gleise, CS2 4.1.2(3), CS1 2.0.4, 3x 60174 Booster, 13x 60880 s88 on L88 Bus 3, DSD 2010 Sven Brandt decoder, Märklin rolling stock

Computer:
Dell Studio 15, Intel Core i3, 4 GB RAM, Windows 10 Home Premium

Offline Hwnel

  • Senior-Mitglied
  • Beiträge: 175
  • Ort: Hawaii Ort bei GoogleMaps suchen
  • Aloha from Hawaii
Re: A little help...?
« Antwort #12 am: 22. Dezember 2009, 01:52:29 »
Hello Per,

[Then in the profile settings for the route in question insert a line that sets the switch to Red preferably before the check contact and back to Green with the required delay when the check contact is reached.  I have a delay of 7 seconds, but a delay can be up to 90 seconds in the profile./i]



Sorry, when I looked at my picture I set the switch to green when the destination contact is reached not the check contact.

Hope this helps,

Elliott
Layout:
WDP 2015.2, Märklin HO K-Gleise, CS2 4.1.2(3), CS1 2.0.4, 3x 60174 Booster, 13x 60880 s88 on L88 Bus 3, DSD 2010 Sven Brandt decoder, Märklin rolling stock

Computer:
Dell Studio 15, Intel Core i3, 4 GB RAM, Windows 10 Home Premium

Offline Per Olsen

  • Senior-Mitglied
  • Beiträge: 572
  • Ort: Bergen, Norway Ort bei GoogleMaps suchen no
Re: A little help...?
« Antwort #13 am: 22. Dezember 2009, 10:30:23 »
Hello !

Thank you all.  I will test some more today.

But a question first:
In profile-editor, what is the difference between setting speed=0 and STOP ?  I thought they meant exactly the same?  Or does STOP release the route, when speed=0 does not?

Per.

  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control.  Maerklin C-tracks. 6xBolls boosters.   2xLittfinski HSI-88 USB.  Bolls RMDs.   Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.

Offline Hwnel

  • Senior-Mitglied
  • Beiträge: 175
  • Ort: Hawaii Ort bei GoogleMaps suchen
  • Aloha from Hawaii
Re: A little help...?
« Antwort #14 am: 22. Dezember 2009, 10:42:00 »
Hello Per,

From the english manual:

"Speed V000:
If you use the normal stop command at the destination contact the train will not be stopped until the complete release condition is fulfilled (same way as routes). If you want to stop the train at the destination just by the destination (and ignore the release condition) you have to use the command V000 (speed=0)."

Hope this helps,

Elliott
Layout:
WDP 2015.2, Märklin HO K-Gleise, CS2 4.1.2(3), CS1 2.0.4, 3x 60174 Booster, 13x 60880 s88 on L88 Bus 3, DSD 2010 Sven Brandt decoder, Märklin rolling stock

Computer:
Dell Studio 15, Intel Core i3, 4 GB RAM, Windows 10 Home Premium