User Tools

Site Tools


block-int-en

Differences

This shows you the differences between two versions of the page.


block-int-en [2024/01/25 14:29] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Block Wiring======
 +[[:english#objects|{{  :objects.png}}]][[:english|{{  :rocrail-logo-35.png}}]]
 +[[english|Content]] -> [[english#objects|Objects]] -> [[block-en|Blocks]]
 +  *  [[block-index-en|Index]] | [[block-gen-en|General]] | [[block-signals-en|Signals]] | [[block-details-en|Details]] | [[block-routes-en|Routes]] | **Wiring** | [[block-permissions-en|Permissions]] | [[block-statistics-en|Statistics]] | [[block-td-en|Trackdriver]] | [[block-tracking-en|Tracking]] | [[:block-menu-en|Menu]] | [[:block:block-embededfb-en|Embedded sensors]]
 +
 + \\
 +{{:block-int-en.png?800}}
 + \\
 +===== CTC =====
 +====Output====
 +Shows the block state with the selected colours on a RGB LED. (Pixel)\\
 +
 + \\
 +
 +====Display====
 +Refresh events:
 +  * Init
 +  * Reserve
 +  * Free
 +  * Occupied
 +  * Enter
 +  * In
 +
 +
 +|< >|
 +^ Available variables ^^
 +| %bkid% | Block ID |
 +| %bkdesc% | Block description |
 +| %platform% | Block platform code |
 +| %lcid% | Locomotive ID |
 +| %lcshortid% | Locomotive short ID |
 +| %operatorid% | Train ID |
 +| %lcscid% | Schedule ID |
 +| %lcbes% | Locomotive block enter side as '<' or '>' |
 +Example:
 +<code>
 +{E}%bkid%: %platform%{X0L1+}%lcid%{P}
 +</code>
 +Shows Block ID and Platform name on the first line and the Locomotive ID on the second line in big characters.\\
 +See for more details:
 +  * __**[[:text-gen-en#dynamic_text|Dynamic Text]]**__
 +  * __**[[:arduino:wio-en#display_ssd1306_sh1106|WIO Display]]**__
 +  * __**[[:wio:wio-displaymultiplex-en|WIO Display Multiplex]]**__
 +
 +AMPs for this example: {{:ctc:amps.zip}}
 +
 +===CTC Example===
 +<code>
 +{g1}{E}{R2}{L0}%bkid% {+}%lcbes%{L1X0}%lcid%{P}
 +</code>
 +
 +{{:ctc:ctc-display.png?300}}
 +