on my server, I'm actually building a trainsystem with a trainstation for every ressource.
Now I'm thinking about ... how can I tell my oiltrains that they have to wait at position XYZ if my trainstation is in using

Because we transport with every train 1200 full barrels. And every train have to go with 1200 empty barrels. But if a train is still waiting for the empty barrels, the other oiltrains blocking our mainrails. So I will build a "parking area"
Thanks for help