block-en
Differences
This shows you the differences between two versions of the page.
— | block-en [2024/01/25 14:42] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Blocks ====== | ||
+ | [[: | ||
+ | [[english|Content]] -> [[english# | ||
+ | * [[block-index-en|Index]] | [[block-gen-en|General]] | [[block-signals-en|Signals]] | [[block-details-en|Details]] | [[block-routes-en|Routes]] | [[block-int-en|Wiring]] | [[block-permissions-en|Permissions]] | [[block-statistics-en|Statistics]] | [[block-td-en|Trackdriver]] | [[block-tracking-en|Tracking]] | [[: | ||
+ | \\ | ||
+ | {{ blok.jpg}}\\ | ||
+ | =====What is a Block?===== | ||
+ | A Block is a single place on the layout, where trains should stop or are at least allowed to stop. Only one locomotive or train at a time can be in a block. It is usually a group of track sections with no turnouts in them, and at least one sensor. | ||
+ | |||
+ | A Rocrail block __does not__ exactly match a railway block of the prototype: Whereas, for example, the section between two block signals on a line is called block, this section in Rocrail is divided into the route to the block and the block itself. Generally the Rocrail block thus starts from the spot where the train has to start breaking if it has to stop and ends at the stopping point or signal. The route and the block together have the same capacity as the block of the prototype. | ||
+ | |||
+ | The Block is the basic part of automating a Rocrail layout, and they must be set up when you lay your track by placing Sensors that Rocrail can read while it is running. | ||
+ | |||
+ | On the layout, you need at least 3 pieces of track to make a block: two regular sections with a Sensor section in between them. When a locomotive triggers the Sensor in the middle, Rocrail will know something is in that track. | ||
+ | |||
+ | Using more Sensors to define a block will give better results. | ||
+ | |||
+ | A better solution is to use 2 Sensors, one at either end of the block. This would be 5 pieces of track: regular, Sensor, regular, Sensor, regular. The Sensor on one end can tell Rocrail that something is coming into the Block, and the sensor on the opposite side can tell Rocrail that it has actually arrived. | ||
+ | |||
+ | 3 sensors (one on each end, and one in the middle) can make a locomotive stop in the middle of the block instead of running out to the end of the Block. More complex sensor arrangements can allow for slowing and stopping a locomotive as it enters a block. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | =====How Blocks Work===== | ||
+ | |||
+ | Blocks are the **[[automatic-en# | ||
+ | |||
+ | As Rocrail moves your locomotives around the layout, it uses the blocks to keep track of where the locomotives are. Each block displays the name of a locomotive assigned to it when it is in use. | ||
+ | |||
+ | When a moving locomotive crosses the **in** sensor for a block, an event is triggered that tells Rocrail that the block is now **occupied**. | ||
+ | |||
+ | (Note: This will probably cause Rocrail to turn off the power and stop the whole layout, unless you have configured your layout to allow ghost trains.) | ||
+ | |||
+ | When Rocrail tries to move a locomotive from one block to the next, it will check to see if the next block is empty. | ||
+ | |||
+ | As the locomotive moves from one block to the next, the locomotive' | ||
+ | |||
+ | **Important** | ||
+ | |||
+ | You must have at least one empty block for Rocrail to be able to move your locomotives around your layout. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | =====How Blocks Are Linked===== | ||
+ | |||
+ | **Blocks cannot work alone, you must also define Routes to connect the Blocks together**. | ||
+ | |||
+ | Blocks define the different places on a layout, and Routes define how to get from one block to the next. | ||
+ | |||
+ | A Route links two blocks together, and defines what sensor events each block must use to know a locomotive is arriving from another block. | ||
+ | |||
+ | After you create the blocks for your layout, you should create routes that link each block with the other blocks around it. Then you should go back to each block and set the events for all the routes that are linked to this block. | ||
+ | |||
+ | The Routes tab in the **Tables > Blocks** dialog shows the list of routes that use this block. | ||
+ | |||
+ | |||
+ | =====How Blocks Use Sensors===== | ||
+ | |||
+ | After you create a block, you must tell Rocrail which sensors will send events to Rocrail for this block. | ||
+ | |||
+ | You must define what events are sent by each sensor based on the originating block. | ||
+ | |||
+ | =====Block State===== | ||
+ | |< >| | ||
+ | ^Color and state of Blocksymbols^^ Color ^ | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | \\ | ||
+ | |< >| | ||
+ | ^ Fonts ^^^^ | ||
+ | ^ Color ^ Attributes | ||
+ | | \\ Blue | \\ Bold | \\ Manual mode | {{: | ||
+ | | \\ [[symbols-theme-props-en# |