Jump to content

Empfohlene Beiträge

Geschrieben

Hello dear members,

I have a solution for the following but ... not entirely happy with it.

Task :
A track contact with autodecelleration = 0 is triggered by a train.
After some time :
If the train comes forward on that contact,  he must go back to the other direction. 
If the train comes backwards on that contact, he has to go on further in the same direction.

Suggestions for a more elegant solution ? 
If possible without capturing the current speed in the begin.
I did not find another solution to know if the train is triggering with positive speed, or negative speed.

Are there ? Probably yes.

527954772_directionchangeornot.jpg.06fda5de84eb810a7b2187abfc8124b5.jpg

Thanks for reading - suggestions,

Herman (BE)

Geschrieben

Hello Herman,

vor 40 Minuten schrieb Herman:

Suggestions for a more elegant solution?

In both instances, your new speed is negative.
Deactivate the option "relative to driving direction" and you're done:

1790627308_relativetodrivingdirection.jpg.faf3c6dc3ef0c7ab58156c0c83131cbc.jpg

with kind regards
Goetz

Geschrieben

Hello Götz, 

Thanks, a logical and very elegant solution, we need only the -20 speed in this case indeed.
But I did not see it ... again and again.:( I focused to much on "relative to direction" and the condition.

I struggled longer with this one, and should come earlier to the forum. ( as you said before ... but maybe I was stubborn  ;) )

As always thank you very much, I appreciate it a lot !

Kind Regards,

Herman (BE)

PS. Why this question. I'm working on a project around a turntable, where I want the Loc always going backwards into the depot.  Works already nice...

Geschrieben

Hello Herman, i really agree with you in that case. It's simple boring, if you're very close to find a solution, but however, a little link is always missing in it. You've tryed it again and again, but you can't find the right way. And as well, you don't want to blame yourself, but in the end you have to ask somebody. So it's really good, to get some help at that moment. When ever i've had any problem in this direction and this in several times until now, i've always got some good explanations from the "MBS Forum", especially from @GoetzAnd i'm very thankful for that. Because otherways, one day i would have lost my interest to the MBS Studio, even it's an very exciting program. But that doesn't help you at all, if you don't understand the functions and everything which depends on it. Nice that your'e have fixed your problem.

kind regards  Atrus

 

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen.

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde dich hier an.

Jetzt anmelden
×
×
  • Neu erstellen...