mbus:mbus-en
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | mbus:mbus-en [2025/05/20 15:49] (current) – rjversluis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== MBUS TrackBox====== | ||
| + | [[: | ||
| + | [[: | ||
| + | * **[[: | ||
| + | * [[: | ||
| + | \\ | ||
| + | =====Introduction===== | ||
| + | The goal of MBUS is to use the **{{: | ||
| + | And this with only one interface and one CAN bus.\\ | ||
| + | The Command Station, Märklin TrackBox(GleisBox), | ||
| + | ====Devices==== | ||
| + | {{ : | ||
| + | * Raspberry Pi + Rocrail Server + __**[[: | ||
| + | * Märklin TrackBox(GleisBox) [[https:// | ||
| + | * Märklin Mobile Station [[https:// | ||
| + | * [[http:// | ||
| + | * [[: | ||
| + | |||
| + | \\ | ||
| + | =====Setup===== | ||
| + | {{: | ||
| + | ====Type==== | ||
| + | This defines over which interface Rocrail communicate with CAN.\\ | ||
| + | ===USB GridConnect=== | ||
| + | //"For small systems."// | ||
| + | The company [[https:// | ||
| + | Fixed baud rate of 500000.\\ | ||
| + | * WIO-CAN | ||
| + | * Arduino RCAN | ||
| + | ===SocketCAN=== | ||
| + | //" | ||
| + | SocketCAN can be used in combination of the following components: | ||
| + | * Raspberry Pi 2, 3 or 4 | ||
| + | * Rocrail Server with MBUS as controller (Assuming CAN0 as device.) | ||
| + | * __**[[: | ||
| + | The advantage of this type is the direct Rocrail Server connection with CAN; It can run without EtherNet and USB.\\ | ||
| + | The WiFi on the **Raspberry Pi 3/4 B+** can be used for visualisation by Rocview, Rocweb and/or andRoc.\\ | ||
| + | ===CC-Schnitte=== | ||
| + | //"If you already have one."// | ||
| + | __**[[: | ||
| + | The communication does not use serial framing which could lead to wrong interpretations of data.\\ | ||
| + | Fixed baud rate of 500000.\\ | ||
| + | |||
| + | ===TCP=== | ||
| + | //"The Märklin way."// | ||
| + | Default port 15731.\\ | ||
| + | Compatible with: | ||
| + | * CS2/CS3. | ||
| + | * WIO-CAN | ||
| + | |||
| + | ===UDP=== | ||
| + | //"The old Märklin way."// | ||
| + | Fixed read/write ports 15730/ | ||
| + | Compatible with CS2/CS3 communication.\\ | ||
| + | The __**[[: | ||
| + | |||
| + | ===Dummy=== | ||
| + | //" | ||
| + | All CAN frames are echoed with the response bit set.\\ | ||
| + | |||
| + | === LAWICEL / SLCAN === | ||
| + | The [[http:// | ||
| + | Fixed baud rate of 115200.\\ | ||
| + | \\ | ||
| + | ====Hostname==== | ||
| + | For UDP and TCP type.\\ | ||
| + | The extra field on the right is to set the TCP port; 15731 is used if not set.\\ | ||
| + | Note: **WIO-CAN** uses port **5550**.\\ | ||
| + | \\ | ||
| + | ====Device==== | ||
| + | The serial device used with type **USB GridConnect** or **CC-Schnitte**.\\ | ||
| + | \\ | ||
| + | ====Track Protocols==== | ||
| + | The supported digital protocols by the TrackBox.\\ | ||
| + | If all protocols are disabled in the settings, they will be all activated at startup. At least one protocol must be activated.\\ | ||
| + | |||
| + | \\ | ||
| + | =====Options===== | ||
| + | {{: | ||
| + | ===Report state=== | ||
| + | Report the current, voltage and temperature of the **[[# | ||
| + | |< >| | ||
| + | ^ Selection ^ Function ^ Remark ^ | ||
| + | | None | Reporting is off | | | ||
| + | | Changing | Only changes are reported | | | ||
| + | | Regular | Report every 5 seconds | For use in combination with the Power Manager | | ||
| + | |||
| + | ===Slot purge time=== | ||
| + | If a locomotive is nonactive for this period of time, and the speed is zero, it will be removed from the refresh cycle to make place for other locomotives.\\ | ||
| + | Purging is deactivated if this time is set to zero.\\ | ||
| + | The purge time is defined in seconds, default is 60s.\\ | ||
| + | |||
| + | |||
| + | ===Acknowledge sensor events=== | ||
| + | Acknowledge the Block type inputs of the __**[[: | ||
| + | Only the ON will be acknowledged. If an acknowledgement was not received the GC2a will resend the event until the block input goes OFF.\\ | ||
| + | The GC2a enables this option automatically after receiving the first acknowledge, | ||
| + | |||
| + | ===Master=== | ||
| + | **Note:** MS2 Firmware 3.55 and higher does negotiate different, compared with previous versions. This none conform update will be not supported.\\ | ||
| + | **Note:** //Master mode will be disabled in case a CS2/CS3 is detected.// | ||
| + | Puts the connected MS2 in slave mode and provide loco information.\\ | ||
| + | After the MS2 is in slave mode, a loco can be selected from the Rocrail server with the following sequence:\\ | ||
| + | |< >| | ||
| + | | Select a free loco position, or one to replace. | ||
| + | | {{: | ||
| + | | Select a new loco from the master list. | | ||
| + | | {{: | ||
| + | |||
| + | ===Read only=== | ||
| + | Trace only the traffic on the CAN bus, and do not evaluate.\\ | ||
| + | |||
| + | ===MSApp=== | ||
| + | {{ : | ||
| + | Support for the [[https:// | ||
| + | Because the App needs also a HTTP access, the __**[[: | ||
| + | **Note:** //MSApp support is not possible if there is already a WEB Service running on this port.//\\ | ||
| + | |||
| + | \\ | ||
| + | ====Programming track==== | ||
| + | This output addressing can be used for activating a relay before programming.\\ | ||
| + | The TrackBox does not provide a separate output for programming. To avoid programming all locomotives on the main track, it can be helpful to switch to the isolated programming track.\\ | ||
| + | |||
| + | \\ | ||
| + | =====Accessory Addressing===== | ||
| + | ====DCC/ | ||
| + | All addressing schemes are supported. (FADA/ | ||
| + | The bus value **must** be set to zero.\\ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | =====Tips===== | ||
| + | * Note: In order to show changes of loco functions in Rocview, option **[[: | ||