Joined: 04/02/2011(UTC) Posts: 3,563 Location: Paris, France
|
Originally Posted by: fabstar68  hi all,
i need help setting up the following scenario with Rocrail, i will try to explain the details in order to make it as clear as possibile, and useful for others too. the scenarios are all for automatic mode
Single track, three blocks, left to right B1, B2, B3. Each block as its own 2 state signals at both + and - sides. I want that : 1) when Rocrail starts, in automatic mode, for each block that is free, the signals that let a train enter that block, be green, otherwise red. example. if B2 if free, then B1 signal to B2, and B3 signal to B2, must be green, otherwise red. 2) when a train sets B1, B2 or B3 as the next destination, then the chosen block signal from the other side must become red, to prevent other trains entering that block from the other side. Example : if a train is in B1, and sets B2 as the next destination, that the signal from B1 to B2 must become green, and the signal from B3 to B2 must become red 3) when a train leaves a block, the corresponding entry signal to the initial block must become red, and when the train leaves the destination block, it gets red. example. B1 leaves for B2. B1 signal to B2 becomes red. When the train leaves B2 (or get to B3 "IN" ?), then B1 signal to B2 becomes green again 4) if a train sets a block as next destination, and the exit signal of that block is green, then the train does not stop at that block but proceeds to the next one. example. B1 leaves for B2. B2 exit signal is green, meaning that B3 is free. then the train does not stop at B2 and goes to B3 5) if i define a signal that does not belong to a block, can i make rocrail check that signal for green before setting a block as next destination, if the route for that block passes through that signal ? note that i don't want a train stopping in front of this signal if it is red (there are not even sensors defined nearby), i just want to use it either manually, or as a command to become red / green in some routes if i want to. 6) contrary to point 1, i want that the signals of the blocks that are part of my main station are red by default. a train must always stop to the blocks of the station. those block exit signal (both directions) must become green only when a train leaves the station for another block, getting red when the train leaves, and remaing red.
Hi Fab #1 This is standard with Rocrail (RR) when a 2 position signal is configured for each block and each side (so 6 signals in your case) . Just right-click on each block, go-to the SIGNAL Tab and you may associate 2 main signals (one for each direction) and 2 advance signals (one for each direction). #2 This is standard by RR. The signals turn green when an itinerary can be found in fishbowl mode (no programmed schedules in use). So a train, in Blk1 ready to depart to blL2 will get the green light while on Blk2 the signal towards Blk1 is left red. #3 I don't follow your reasoning: there is NO entry signal in a block but rather the signal of the preceeding block. Lets suppose the Blk1, Blk2, Blk3 direction. A train in Blk1 will get the green light if the route Blk1-Blk2 is authorised. The signal in Blk1 turns green, the trains starts BUT as soon as the train reaches Blk2 (ENTER for instance) the signal in Blk1 for that direction turns red which is exactly what you want. #4 A trains DOES NOT sets a block as next destination. Rather RR decides in fishbowl mode, what train, in which Blk goes in which direction toward another RR-chosen block. So, in your example RR set another block as destination, then ALL the track pieces and the destination block are reserved and no other interfering route can be selected and cause collisions. Non stop at Blk2: you train leaving Blk1 towards Blk2 may continue (without stopping) towards Blk3 PROVIDED there is no wait time in Blk2 and provided Blk3 is free. #5 With RR, signals are PURELY DECORATIVE. So RR does not check signals. Additional signals with more than 2 colours have to be commanded by actions invoked in RR items such as routes, blocks, etc. You turn those signal the colour you want but RR role is to detect what routes can be called depending on the occupancy of nearby blocks, depending on the direction of travel, etc. Do not see all this as restrictions but rather as HUGE possibilities. Of course you may also define the speed depending on routes (deviating points or straight points, etc. #6 The signals in stations remain all red until a route has been assigned by RR departing from the block in question. This is true for all cases and this results in all signals remaining red unless a route has been assigned by RR. In your example of blk1, Blk2 and Blk3 being used in one direction (two locos in compatible or one loco). In the case of only one loco, it will get the green light permanently in front of it (like a green wave) Cheers Jean |