This is my prototype:
Stations are connected to circuit network on enable/disable mode.
Every station has different number to enable it so there is always only one station enabled.
The red signal is run thru all stations and every station has a constant combinator by itself.
When you want to call the train to a station you are currently at, you change the number in constant combinator to add up to the station number.
For example:
- I somehow happen to be at station 4 and want to go to station 1.
- I check what signal is currently sent (on nearest power pole). Lets say its 5 (That means train is at that station now).
- I want to reduce it by 1 to change it to 4.
- I check what number is sent by the combinator by my station. Lets say its -128.
- I set it to -129, witch changes the red signal sum to 4.
- Train arrives, I board it.
- I change the number in combinator to -132 so the sum changes to 1.
- Train Immediately goes to station 1.
Does anybody have an idea how could I set the number directly?