Hardware Support: OpenLCB - Naming

This page discusses how JMRI uses System Names to access OpenLCB-attached resources.

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 how to access a particular device, and are the key to looking up the corresponding object in JMRI.

OpenLCB Events

OpenLCB communicates events via messages with a fixed format: eight bytes of content. We convert this to a 16 hexadecimal digit code with a leading "x" character, e.g. "x1234567890ABCDEF". We recommend you use upper case for the A-F letters. You can also enter it with periods separating the bytes: "". In this case only, one leading zero per byte can be omitted when typing the event; JMRI will insert them automatically in names. For example, "" can be typed as "".

OpenLCB Configuration Memory

DecoderPro accesses decoder memory via "CVs". For that purpose, the JMRI OpenLCB provides a CV syntax that can be used to access OpenLCB node configuration memory:

Back to the main OpenLCB Help page