This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
usage:nodes:atc_controller [2019-12-03 11:39] blockhead The speed unit is metres per second |
usage:nodes:atc_controller [2019-12-18 13:09] mlaunois added new commands (BB and A0); updated inventory image |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ATC controller ====== | ====== ATC controller ====== | ||
- | {{ http:// | + | {{ :usage: |
//Unleash the full power of Advtrains by sending Automatic Train Control commands.// | //Unleash the full power of Advtrains by sending Automatic Train Control commands.// | ||
- | //Note: this page has been written for Advtrains 2.0.1 TSS and Minetest 5.1.0. Examples and practices described in this page don't take advantage of improvements introduced in later releases.// | + | //Note: this page has been written for Advtrains 2.1.0 and Minetest 5.1.0. Examples and practices described in this page don't take advantage of improvements introduced in later releases.// |
===== Properties ===== | ===== Properties ===== | ||
Line 35: | Line 35: | ||
In ATC commands, spaces are ignored and can be inserted as needed. | In ATC commands, spaces are ignored and can be inserted as needed. | ||
- | ==== Simple directives | + | ==== Speed commands |
=== S< | === S< | ||
Line 50: | Line 50: | ||
Brakes until the train speed reaches ''< | Brakes until the train speed reaches ''< | ||
- | ''< | + | ''< |
+ | |||
+ | Execution of the ATC command continues **immediately**. | ||
+ | |||
+ | === BB === | ||
+ | |||
+ | Activates the emergency brake. In this mode, the deceleration is higher than with standard brake (i.e. '' | ||
Execution of the ATC command continues **immediately**. | Execution of the ATC command continues **immediately**. | ||
Line 63: | Line 69: | ||
Reverses movement direction of train. Has only effect while the train is standing. | Reverses movement direction of train. Has only effect while the train is standing. | ||
+ | |||
+ | ==== Door commands ==== | ||
=== OL, OR === | === OL, OR === | ||
Line 98: | Line 106: | ||
=== <, <=, >, >= === | === <, <=, >, >= === | ||
- | Compares the current train speed to the given speed. That speed should be a number constituted only of digits, | + | Compares the current train speed to the given speed. That speed should be a number constituted only of digits, |
It is not currently possible to test directly the speed for equality or inequality. | It is not currently possible to test directly the speed for equality or inequality. | ||
Line 116: | Line 124: | ||
Unfortunately the command < | Unfortunately the command < | ||
- | ==== Examples ==== | + | ==== Specific commands ==== |
- | === S, B === | + | |
+ | === A< | ||
+ | Either enables ('' | ||
+ | When disabled, the train will not trigger automatic route setting on signals based on ARS. | ||
+ | |||
+ | **This command is available only in the '' | ||
+ | |||
+ | ===== Examples | ||
+ | |||
+ | ==== S, B ==== | ||
* '' | * '' | ||
Line 125: | Line 142: | ||
* '' | * '' | ||
- | === W, R === | + | ==== W, R ==== |
* '' | * '' | ||
Line 131: | Line 148: | ||
* '' | * '' | ||
- | === OL, OR, OC === | + | ==== OL, OR, OC ==== |
* '' | * '' | ||
* '' | * '' | ||
- | === I, +/-, </< | + | ==== I, +/-, </< |
* '' | * '' |