Hello.
I am struggling a bit....:
I have a profile for a train leaving a station. It starts from the midle of the platform (RMK 524) in 50km/h, and after the whole train has passed a certain contact (RMK 481), it will speed up tp 70km/h. This contact is free when the train starts to move, gets busy as the train passes, and gets free again after the whole train has passed. THEN the speed should increase to 70 km/h.
But the train always starts at 70km/h anyway. What am I doing wrong?
Regards,
Per.
Hello Per,
I think it is normal that the train immediately accelerates to 70 km/h, because the contact 481 is already free at the start. So your acceleration condition in the profile will be met from the start. I solved this in such a way that I first query the contact 481 for "busy" to do something with it (e.B. only to accelerate to 51 km/h or to trigger just a whistle) and after this I send the query of this contact for "free" and trigger the acceleration.
Much success and regards from Austria! Michael
Hello!
I seem to remember from earlier, that such an RMK could be free to start with, then get busy as the train passes, and then the action would start as the contact is freed again. This is how it was explained to me earlier :)
Regards,
Per.
Sorry, I forgot:
Can you show me an example of how to do it your way?
regards,
Per
Hi again.
I need this solved now. Any help?
Regards,
Per.
Hi Per,
this free action "free after busy" is used in add-on switchings but not in profiles.
If you want this operation in profiles you need two events as Michael explained.
First event: contact x busy (any action e.g. no speed change or something else with no effect)
Second event: contact x free with your action
Regards
Markus
Hi Markus!
Yes, I thought that there was a "free after busy", but I thought it also worked with profiles. Thank you for the info!
I will try it out now.
Many thanks to both of you!
Best regards,
Per.