<= [«trackletter» «mode»] [«id»]>
Request or Configure Track Manager ¶
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:
AthroughHrepresenting one of the outputs of the/a motor shield.
-
mode required if track letter supplied. One of:
MAINMAIN_INVMAIN_AUTO
Deprecated alias ofAUTObut only when preceeded by a sperateMAINcommand.PROGDCDC_INV= DC reversed polarityDCX= DC reversed polarity (same as DC_INV)
With special alias ofDCXforDC_INVNONE
-
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 toPROG, will force the other toNONE - The response to
DC_INVisDCX - The response to
DCC_MAINisMAIN A
Examples¶
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