Skip to main content

Commands

Receiving and sending commands

There are a few things to watch out for when receiving and sending orders. First, this is what the received message will look like. Also when sending, the message must be in the same format as the received message and the mode will be 0b01.

SizeUnusedGroupCmd + ModeNIDData
16 Bit16 Bit8 Bit8 Bitfirst half = cmd second half = mode16 Bit0 ... x Bit
note

In every group the 'Data' section is used for further parsing of information!
When receiving the message everything will be in byte version!
When creating the message everything has to be changed to byte version!

Command group table

Every message contains group code for better handling of commands. All commands are grouped in the following groups:

GroupCodeUse/Content
System0x00System critical tasks (on/off, emergency stop, ...)
Accessories0x01Commands for controlling the accessories.
This refers to both encoders/feedback devices and decoders.
Vehicles0x02Commands for controlling the vehicles (Mobile Decoder)
Free0x03Currently still unused
GBS0x04Telegrams for track diagram control panels
Train control0x05Configuration of devices, ZIMO Command Language
Track config0x16Configuration of 'Track' accessories
Data0x07Object data transfer
Info0x08Status messages, mostly unrequested messages
Free0x09May be used by third-party systems as required
Network0x0ANetwork Management, Module Registration, ...
File Control0x0EE Control commands for file transfer such as: File Open, Close, ...
File Transfer0x0FFile 'Contents' (data) Telegrams
PC data-grams0x0nTo optimize the data throughput between a PC application and the MX10, there are some specific data-grams
Lan Data0x17🚧 Add description
Lan Info0x18🚧 Add description
Under construction🚧

Add missing description
Check other descriptions