Class RocoZ21CommandStation

All Implemented Interfaces:
CommandStation

public class RocoZ21CommandStation
extends RocoCommandStation
Defines the standard/common routines used in multiple classes related to a Roco z21 Command Station.

This class keeps track of the broadcast flags associated with the currently connected Roco Z21 Command Station.

Brief descriptions of the flags are as follows (loosely translated from section 2.16 of the manual from the German with the aid of google translate).

  • 0x00000001 send XpressNet related information (track power on/off, programming mode, short circuit, broadcast stop, locomotive information, turnout information).
  • 0x00000002 send data changes that occur on the RMBUS.
  • 0x00000004 (deprecated by Roco) send Railcom Data
  • 0x00000100 send changes in system state (such as track voltage)
  • 0x00010000 send changes to locomotives on XpressNet (must also have 0x00000001 set.
  • 0x01000000 forward LocoNet data to the client. Does not send Locomotive or turnout data.
  • 0x02000000 send Locomotive specific LocoNet data to the client.
  • 0x04000000 send Turnout specific LocoNet data to the client.
  • 0x08000000 send Occupancy information from LocoNet to the client
  • 0x00040000 Automatically send updates for Railcom data to the client
  • 0x00080000 send can detector messages to the client