CAU

- The Model Railway
- - Software
- - - trainctrl
- - - - Set Cmds
- - - - Get Cmds
- - - - Read Cmds
- - - - Route Cmds
- - - - Misc Cmds
- - - - Wildcards

Get Commands

enginecarcar
"get speed" : RC-> gsp [<block>]+
Get the set speed in the specified block sections. The displayed value may not be mistaken with the measured speed of a train passing a velocity meter. These may be evaluated by one of the read commands. At least one block section must be specified by its label. To simplify typing commands capital letters may be replaced by small letters and underscores may be omitted.

"get direction" : RC-> gdi [<block>]+
Get the current operation directions in the specified block sections. At least one block section must be specified by its label. To simplify typing commands capital letters may be replaced by small letters and underscores may be omitted.

"get point" : RC-> gpt [<point>]+
Get the current positions of the specified points. At least one point must be specified by its label. To simplify typing commands capital letters may be replaced by small letters and underscores may be omitted.

"get signal" : RC-> gsi [<signa>l]+
Get the current positions of the specified signals. At least one signal must be specified by its label. To simplify typing commands capital letters may be replaced by small letters and underscores may be omitted.

"get relay" : RC-> gre [<block>]+
Get the current relay positions in the specified block sections. At least one block must be specified by its label. To simplify typing commands capital letters may be replaced by small letters and underscores may be omitted. Note that only the block sections ICOC_LN_2 and OCIC_LN_2 provide relays.

"get state" : RC-> gst [<block>]+
Get the current speed values and operation directions of the specified block sections. This command combines the functionalities of gsp and gdi.


Clemens Grelck
generated on: Mon May 31 10:21:14 MET DST 1999