User Tools

Site Tools


mbus:mbus-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mbus:mbus-en [2019/06/14 07:48] – [Aspect Values] rjversluismbus:mbus-en [2022/02/10 22:05] (current) – [Devices] rjversluis
Line 1: Line 1:
-====== MBUS ======+====== MBUS TrackBox======
 [[:english#command_stations|{{  :interface.png}}]][[:english|{{  :rocrail-logo-35.png}}]] [[:english#command_stations|{{  :interface.png}}]][[:english|{{  :rocrail-logo-35.png}}]]
-[[:english|Content]] -> [[:english#command_stations|Command Stations]] -> **[[:english#can|CAN]]** +[[:english|Content]] -> **[[:english#command_stations|Command Stations]]** 
-  * **[[:mbus:mbus-en|MBUS]]** +  * **[[:mbus:mbus2-en|MBUS]]** 
-    * [[:mbus:functions-en|Function Codes]] | [[:mbus:cs3-en|CS3]] | [[:mbus:channels-en|Channels]] +    * [[:mbus:functions-en|Function Codes]] | [[:mbus:cs3-en|CS2/CS3]] | **[[:mbus:mbus-en|TrackBox(Gleisbox)]]** [[:mbus:channels-en|Channels]]
- \\ +
- ToDoUPDATE.  |+
  \\  \\
 =====Introduction===== =====Introduction=====
Line 12: Line 10:
 The Command Station, Märklin TrackBox(GleisBox), is economically priced and supports the digital **DCC/MfX/MM2** protocols. A Mobile Station can be used as throttle and programmer.\\ The Command Station, Märklin TrackBox(GleisBox), is economically priced and supports the digital **DCC/MfX/MM2** protocols. A Mobile Station can be used as throttle and programmer.\\
  
-====Overview==== 
-{{mbus:mbus-socketcan.jpeg?400}}\\ 
 ====Devices==== ====Devices====
-{{ :arduino:gc2a-module.jpg?200}}{{ :mbus:ms2.png}} +{{ :mbus:ms2.png}} 
-  * Raspberry Pi + Rocrail Server + __**[[:rocnet:pi01can-en|Pi01CAN]]**__ or __**[[:cbus:socketcan-en|RPI-CAN]]**__ +  * Raspberry Pi + Rocrail Server + __**[[:rocnet:pi01can-en|PiCAN_01]]**__
-  * or Banana Pi M1 + Rocrail Server + [[http://lnxpps.de/bpi/|BPi CAN]]  +
-  * __**[[:arduino:rcan-en|CANGC2a]]**__ 16 I/O+
   * Märklin TrackBox(GleisBox) [[https://www.maerklin.de/de/produkte/details/article/60116|60116]] [[https://www.maerklin.de/de/produkte/details/article/60113|60113]]   * Märklin TrackBox(GleisBox) [[https://www.maerklin.de/de/produkte/details/article/60116|60116]] [[https://www.maerklin.de/de/produkte/details/article/60113|60113]]
   * Märklin Mobile Station [[https://www.maerklin.de/de/produkte/details/article/60657|60657]] (Optional)   * Märklin Mobile Station [[https://www.maerklin.de/de/produkte/details/article/60657|60657]] (Optional)
-  * __**[[:rocnet:rocnetnode-en|RocNetNode]]**__ + __**[[:rocnet:pi01can-en|Pi01CAN]]**__ (Open) 
   * [[http://can-digital-bahn.com|CAN-Digital-Bahn]]   * [[http://can-digital-bahn.com|CAN-Digital-Bahn]]
 +  * [[:gca-wio_can-en|WIO-CAN]]
  
  \\  \\
 =====Setup===== =====Setup=====
-{{mbus:mbus-setup-en.png}}\\+{{:mbus:mbus-interface-en.png}}\\
 ====Type==== ====Type====
 This defines over which interface Rocrail communicate with CAN.\\ This defines over which interface Rocrail communicate with CAN.\\
Line 32: Line 26:
 //"For small systems."//\\ //"For small systems."//\\
 The company [[https://www.gridconnect.com|Grid Connect]] defined an ASCII framing protocol designed for using frames over serial connections.\\ The company [[https://www.gridconnect.com|Grid Connect]] defined an ASCII framing protocol designed for using frames over serial connections.\\
-The USB connection of the __**[[:arduino:rcan-en|CANGC2a]]**__ can be used for this type.\\ 
 Fixed baud rate of 500000.\\ Fixed baud rate of 500000.\\
 +  * WIO-CAN
 +  * Arduino RCAN
 ===SocketCAN=== ===SocketCAN===
 //"Highly recommended."//\\ //"Highly recommended."//\\
 SocketCAN can be used in combination of the following components: SocketCAN can be used in combination of the following components:
-  * Raspberry Pi 2 or 3__**[[:pi:bananapi-en|Banana Pi M1]]**__+  * Raspberry Pi 2, 3 or 4
   * Rocrail Server with MBUS as controller (Assuming CAN0 as device.)   * Rocrail Server with MBUS as controller (Assuming CAN0 as device.)
-  * __**[[:rocnet:pi01can-en|Pi01CAN]]**__, __**[[:cbus:socketcan-en|RPI-CAN]]**__+  * __**[[:rocnet:pi01can-en|PICan_01]]**__
 The advantage of this type is the direct Rocrail Server connection with CAN; It can run without EtherNet and USB.\\ 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 B+** can be used for visualisation by Rocview, Rocweb and/or andRoc.\\+The WiFi on the **Raspberry Pi 3/4 B+** can be used for visualisation by Rocview, Rocweb and/or andRoc.\\
 ===CC-Schnitte=== ===CC-Schnitte===
 //"If you already have one."//\\ //"If you already have one."//\\
Line 51: Line 46:
 //"The Märklin way."//\\ //"The Märklin way."//\\
 Default port 15731.\\ Default port 15731.\\
-Compatible with CS2/CS3 communication.\\+Compatible with
 +  * CS2/CS3. 
 +  * WIO-CAN
  
 ===UDP=== ===UDP===
Line 78: Line 75:
 If all protocols are disabled in the settings, they will be all activated at startup. At least one protocol must be activated.\\  If all protocols are disabled in the settings, they will be all activated at startup. At least one protocol must be activated.\\ 
  
-====Report state====+ \\ 
 +=====Options===== 
 +{{:mbus:mbus-options-en.png}}\\ 
 +===Report state===
 Report the current, voltage and temperature of the **[[#channels|TrackBox channels]]**. Report the current, voltage and temperature of the **[[#channels|TrackBox channels]]**.
 |< >| |< >|
Line 86: Line 86:
 | Regular | Report every 5 seconds | For use in combination with the Power Manager | | Regular | Report every 5 seconds | For use in combination with the Power Manager |
  
- \\ 
-====Options==== 
 ===Slot purge time=== ===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.\\ 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.\\
Line 100: Line 98:
  
 ===Master=== ===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.//\\  **Note:** //Master mode will be disabled in case a CS2/CS3 is detected.//\\ 
 Puts the connected MS2 in slave mode and provide loco information.\\ Puts the connected MS2 in slave mode and provide loco information.\\
Line 128: Line 127:
 All addressing schemes are supported. (FADA/PADA/MADA)\\ All addressing schemes are supported. (FADA/PADA/MADA)\\
 The bus value **must** be set to zero.\\ The bus value **must** be set to zero.\\
-====GC2a==== 
-  * Bus = CAN-ID 
-  * Address = GC2a port number, 1...16 
- 
- \\ 
- 
-=====GC2a Signal support===== 
-This is for simple signals up to 4 LED and max. 5 aspects.\\ 
-Only the RED address will be used as offset for all LEDs.\\ 
-|< >| 
-^ Parameter ^ Description ^ 
-| Control | Aspect numbers | 
-| Port type | LED | 
-| Bus | CAN-ID of the GC2a | 
-| Addressing | FLAT from 1 to 16 - number of aspects | 
- 
-====Aspect Values==== 
-See: __**[[:signal-props-en#value|Aspect Values]]**__ \\ 
-The number of controlled LEDs will be calculated from the aspect values.\\ 
- 
-===Example=== 
-===Aspect value examples=== 
-|< >| 
-^ Value (dec) ^ LEDs ^ 
-| 0x01 (1) | LED 1 on | 
-| 0x02 (2) | LED 2 on | 
-| 0x04 (4) | LED 3 on | 
-| 0x08 (8) | LED 4 on | 
-| 0x11 (17) | LED 1 blinking | 
-| 0x55 (85) | LED 1 and 3 blinking | 
-| 0x03 (3) | LED 2 and LED 1 on | 
-| 0x13 (19) | LED 2 on and LED 1 blinking | 
- 
  
  \\  \\
  
 =====Tips===== =====Tips=====
-  * Note: In order to show changes of loco functions in Rocview option **[[:rocrailini-automode-en#allow_zero_throttle_id|Allow Zero Throttle ID]]** has to be activated.+  * Note: In order to show changes of loco functions in Rocviewoption **[[:rocrailini-automode-en#allow_zero_throttle_id|Allow Zero Throttle ID]]** has to be activated.
mbus/mbus-en.1560491292.txt.gz · Last modified: 2019/06/14 07:48 by rjversluis