XpressNet & Simplemaus v.4

9 Bit, Bit 8 = Call-Byte, 62500 Baud

Received Data

OffsetLengthContent
-11Preamble:
  • 1P1100000 = Broadcast
  • 1P10AAAAA = Inquiry, answer within 80 µs
  • 1P11AAAAA = Message
  • 1P00AAAAA = Acknowledge
  • 1P01xxxxx = ???
01Header
10..15Data
2..161XOR Checksum

ServiceMode Exit

OffsetLengthContent
010x61
110x01
21XOR Checksum

ServiceMode Entry

OffsetLengthContent
010x61
110x02
21XOR Checksum

0x62

OffsetLengthContent
010x62
110x22
21Command Station Status Response
  • Bit 0 = Emergency Stop
  • Bit 1 = Emergency Off
  • Bit 2 = AutoStart
  • Bit 3 = Programming Mode
  • Bit 6 = Command Station Cold Boot
  • Bit 7 = Command Station RAM check failure
31XOR Checksum

Version & Status

OffsetLengthContent
010x63
110x21
21Software Version
31XpressNet Status
41XOR Checksum

0x81

OffsetLengthContent
010x81
11??
21XOR Checksum

0xE1

OffsetLengthContent
010xE1
11??
21XOR Checksum

Loco Information

OffsetLengthContent
010xE2
110x88 = Stack Full
21??
31XOR Checksum

Loco operated by another device

OffsetLengthContent
010xE3
110x40
210bxxx00000
31Loco address
41XOR Checksum

Loco normal info

OffsetLengthContent
010xE4
11
  • Bit 2:0 = stepcode:
    • 0b000 = 14 steps
    • 0b001 = 27 steps
    • 0b010 = 28 steps
    • 0b100 = 128 steps
  • Bit 3 = Loco is busy by another controller
  • Bit 7:4 = zero
21Speed depending on steps
  • 14 steps
    • Bit 3:0 = speed
      • 0b0001 = loco specific emergency stop with no decceleration ramp
  • 27 steps, 28 steps
    • Bit 3,2,1,0,4 = speed
      • 0b00001 = not used
      • 0b00010 = loco specific emergency stop with no decceleration ramp
      • 0b00011 = not used
      • 0b11111 = not used for 27 steps
  • 128 steps (in reality 126 steps)
    • Bit 6:0 = speed
      • 0b0000001 = loco specific emergency stop with no decceleration ramp
31Functions F4..F0
  • Bit 4 = F0
  • Bit 3 = F4
  • Bit 2 = F3
  • Bit 1 = F2
  • Bit 0 = F1
41Functions F12..F5
  • Bit 7 = F12
  • Bit 6 = F11
  • Bit 5 = F10
  • Bit 4 = F9
  • Bit 3 = F8
  • Bit 2 = F7
  • Bit 1 = F6
  • Bit 0 = F5
51XOR Checksum

Loco multi-unit info

Mehrfachtraktion

OffsetLengthContent
010xE5
11Same as above
21Same as above
31Same as above
41Same as above
51MTR = Multi traction base address
61XOR Checksum

Sent Data

It's only allowed to send the following packets after an Inquiry. The master regularly sends Inquiry to all Slaves (1..31).

OffsetLengthContent
01Header
10..15Data
2..161XOR Checksum

Get Software Version Request

OffsetLengthContent
010x21
110x21
21XOR Checksum (= 0x00)

Get Status

OffsetLengthContent
010x21
110x24
21XOR Checksum (= 0x05)

Emergency Stop

OffsetLengthContent
010x80
11XOR Checksum (= 0x80)

Emergency Off

OffsetLengthContent
010x21
110x80
21XOR Checksum (= 0xA1)

Resume

OffsetLengthContent
010x21
110x81
21XOR Checksum (= 0xA0)

Get Loco Info

OffsetLengthContent
010xE3
110x00
22Locomotive Address (0..99) MSB first
41XOR Checksum

Function Operations Request

OffsetLengthContent
010xE4
11
  • 0x10 = Set 14-step speed
  • 0x12 = Set 28-step speed
  • 0x13 = Set 128-step speed
  • 0x20 = Function Set
22Locomotive Address (0..99) MSB first
41
  • Speed: Bit 7 = reverse direction, Bit 6:0 = speed bits as above
  • Function F4..F0
    • Bit 4 = F0
    • Bit 3 = F4
    • Bit 2 = F3
    • Bit 1 = F2
    • Bit 0 = F1
51XOR Checksum