JMRI: CBUS Naming

This page discusses how JMRI uses system names to access CBUS-attached resources.

For more on JMRI's CBUS support, see the main CBUS page.

JMRI's Use of Names

JMRI provides an interface to the real layout via internal objects such as Turnouts, Sensors, etc that are closely mapped to corresponding physical devices. This mapping is done via "System Names", which both identify the how to access a particular device, and are the key to looking up the corresponding object in JMRI.

CBUS Events

MERG CBUS communicates via messages with a fixed format: One byte of command and length information, followed optionally by additional data bytes. In it's most simple form, this is used to send indentifiable "events". In turn, events come in two types: "ON" and "OFF".