MorBus Specification

Node-specific Extended Frames

There are 1024 different node-addressed extended frame opcodes.  The last 64 are reserved for non-application use by EmCan, leaving opcodes 0-959 to be defined by the application. The MorBus node-addressed extended frames are:

DCCINIT: 0 signal

Indicates that the DCC signal signal has been initialized or reset to the powerup state.  This response is sent whenever a DCC initialization sequence has been performed, as described in the NMRA Recommended Practice RP 9.2.4 Section A.  Such a sequence is performed, for example, after the DCC bus is powered up and after a DCCRES frame is processed. 

Signal is the same as the signaln parameter to the port function ID starting with 1

DCC: 1 ctrl adr dat ... dat

Causes a DCC packet to be emitted by the output controlled by a single DCC signal within the addressed device.  This frame has the same format as the DCC broadcast frame

The specific DCC signal within the device is identified by SEQUENCE NUMBER (bits 11-8) in the frame ID.  Since this is a 4 bit field, this frame can address DCC signals 0-15 within any one device.  The CONTINUATION (bit 13) and TO BE CONTINUED (bit 12) bits in the frame ID must both be zero.  "Signal" in this context is the same as the signaln parameter to the port function ID starting with 1

DCCRES: 2 signal

Resets the particular DCC signal identified by signal.

Signal is the same as the signaln parameter to the port function ID starting with 1