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.
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.
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.
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
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.
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
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.
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.
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.
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.
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. :)
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
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
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.
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
Hello again.
What I meant in last post, was:
How if I edit the last 2 lines in the profile to this:
At RMK 35 speed=0
At RMK 35 STOP after 10 seconds
Is this possible?
Would make it very easy... :)
Per.
Zitat von: Per Olsen in 22. Dezember 2009, 10:44:13
Hello again.
What I meant in last post, was:
How if I edit the last 2 lines in the profile to this:
At RMK 35 speed=0
At RMK 35 STOP after 10 seconds
Is this possible?
Would make it very easy... :)
Per.
I believe at RMK 35 the train would just stop and ignore any release conditions. Is RMK 35 the destination contact? If so, the release condition would be set after 10 seconds, but will be ignored if the check contact sees that the next route is free.
Elliott
Hi.
Yes, 35 is the destination contact (for this particular route).
Per.
Hello again.
No, I am sorry, I cannot make this work.... All I try, I either get no delay, or the train passes by the STOP-contact.
I have a virtual solenoid and RMK with both adress 999.
In Route-editor I have Ziel 999 and Freigaben 35 and 999 Occupied.
Profile: Look at the attached clip.
Am I doing something (more...) wrong?
Regards,
Per.
Hello Per,
I think you have too many lines in your profile. (See my example) You do not need the V000 line and the Stop command should be on the destination contact not the virtual contact.
What are your release conditions? The destination contact should be occupied and the virtual contact should be free. (See my example)
Do you have the virtual set correctly and as a virtual solenoid device?
Hope this helps you a little further :)
Elliott
Hello again !
Thanks again for your help.
Are you sure your example really DOES work? In real life, not only in simulation? I tried it (with my values), but it was not OK here. The loco did not stop at the destination but after the delay. Not so good...
Anyway, I have done a lot of testing today, and I now have a setup that actually works.
The virtual contact I set BUSY (not FREE, as you do, I find it more logical to end the route with both contacts BUSY). In the profile I first set it FREE, then BUSY when the route is to be released.
I enclose some screenshots, so you can see. And this does work.... Maybe it should not..? :)
If you have any suggestions for a simpler setup. please tell me. But it must actually work, not only in simulation.. :) :)
Best regards,
Per
Hi Per,
I'm glad it works. You found a solution that is similar to what I proposed before
Zitat von: Stefan Lersch in 22. Dezember 2009, 00:26:16
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.
However I didn't try my proposal and yours works. Great! Well done and have fun with your layout!
Hello Per,
I'm glad you got it to work :) Mine does work on the layout also. It's just a matter of what color you want the switch to be set at when the virtual contact is occupied. I set mine to Red whereas you set yours to Green ;)
Anyway, I'm glad it works for you!
Have a very Merry Christmas and a Happy New Year!
Elliott
Hello again, both, and thanks for all help !
Elliot; as your setup is more simple then mine, I tried it again (on another route), but it still does not work. In the sense that the train does not stop at the stop-contact as long as the timer is still running. It looks as if the profile does not continue to the STOP-command until the time from the timer is over. So the train does not stop where it should. I put in a long delay, to make sure that it was correct. With my setup (the one that works) the train stops at the stop-contact, but the route is not released until the timer is over. But with your setup (converted to my layout), the train is not given the STOP-command until the timer is over, so the loco overshoots the stop-contact.
I send you my screenshots of my last setup, the one looking like yours, that does not work. Can you see what the problem may be? As your works, mine should too? As it is simpler than my last (working) one, I would like to use this new one, if I can make it work.
Regards,
Per.
Hello Per,
I tried my setup again on my layout and it did NOT work. I thought it was working, but the delay I had was due to the next route not being free (The matrix prevented the locomotive I was using from entering the free tracks). I incorrectly thought that there was a delay. When using another locomotive, it went through as you described. Sorry for the confusion.
You should stick to your original WORKING setup. I will try yours too when I get home today. ;)
Aloha,
Elliott
Hello again !
Thank you for your feedback. Yes, I am now using my working setup, and will stick to that, untill something more simple comes along.
I suggested to Mr.Peterlin a future change/addition to the software, either to delay the route-release to after the inserted wait-time in the line for the stop-contact, or/and a seperate delay to be configured and inserted as one would please. Maybe for a future update, who knows.
Thanks again,
best regards from
Bergen, Norway, with temp -13c and 30cm snow.
So it will be a White Christmas this year.
Per.