Skip to content

<= [«trackletter» «mode»] [«id»]>
Request or Configure Track Manager (_equals)

Serial command to request infomation about the modes of all tracks or alter the mode of a specific track.

Commands

  • <=> Request the current Track Manager configuration
  • <= [«trackletter» «mode»] [«id»]> set a specifc track to a mode

Parameters

  • trackletter optional - one of:

    • A through H representing one of the outputs of the/a motor shield.
  • mode required if track letter supplied. One of:

    • MAIN
    • MAIN_INV
    • MAIN_AUTO
      Deprecated alias of AUTO but only when preceeded by a sperate MAIN command.
    • PROG
    • DC
    • DC_INV = DC reversed polarity
    • DCX = DC reversed polarity (same as DC_INV)
      With special alias of DCX for DC_INV
    • NONE
  • id the cab (loco) ID. Required when specifying DC or DC_INV / DCX

Response

The following are not a direct response, but rather a broadcast that will be triggered as a result of any track manager changes.

(for each track/channel)
<= [«trackletter» «state»] [«cab»]>

  • = = the 'message identifer'
  • trackletter: A-H
  • state: PROG, MAIN, MAIN_INV, MAIN A, DC, DCX, NONE
  • id: cab(loco) equivalent to a fake DCC Address for DC and DCX only

Notes

  • Whenever a track's mode is changed, track power is automatically turned off on that track.
  • Since only one channel can be PROG, changing a second channel to PROG, will force the other to NONE
  • The response to DC_INV is DCX
  • The response to DCC_MAIN is MAIN A

Examples

Also search for '='

Example Commands

  • Request track status <=>
  • Set track A to DC with address 10 <= A 10>
  • TODO LOW - Example Commands

Example Responses

  • Response/broadcast to track status for a default EX-CommandStation
    <= A MAIN>
    <= B PROG>
  • Response/broadcast to setting track A to DC with address 10
    <= A 10>
    <= B PROG>
    <p1 A>
    <p0 B>
  • TODO LOW - Example Responses