CAU

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

Set Commands

enginecarcar
"set speed" : RC-> ssp <speed> [<block>]+
Set the speed in the specified block sections to the given value. Legal speed values are numbers from 0 through 7. 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.

"set direction" : RC-> sdi <direc> [<block>]+
Set the direction in the specified block sections to the given value. Legal directions are "clk" for clockwise and "cnt" for counterclockwise operation. 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.

"set point" : RC-> spt <ptpos> [<point>]+
Set the specified points to the given position. Legal positions are "s" for straight and "b" for branch. 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.

"set signal" : RC-> ssi <sipos> [<signa>l]+
Set the specified signals to the given position. Legal positions are "r" for red, "g" for green, and "y" for green-yellow. 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.

"set relay" : RC-> sre <repos> [<block>]+
Set the relays in the specified block sections to the given position. Legal positions are "in" for go-in and "out" for go-out. 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.

"set state" : RC-> sst <speed> <direc> [<block>]+
Set the specified block sections to the given speed and direction. This command combines the functionalities of ssp and sdi.


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