User Tools

Site Tools


mbus:cs3-en
no way to compare when less than two revisions

Differences

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


mbus:cs3-en [2024/11/27 14:39] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======MBUS CS2/CS3======
 +[[:english#command_stations|{{  :interface.png}}]][[:english|{{  :rocrail-logo-35.png}}]]
 +[[:english|Content]] -> **[[:english#command_stations|Command Stations]]** -> Märklin
 +  * **[[:mbus:mbus2-en|MBUS]]**
 +    * [[:mbus:functions-en|Function Codes]] | **[[:mbus:cs3-en|CS2/CS3]]** |  [[:mbus:mbus-en|TrackBox(GleisBox)]] | [[:mbus:channels-en|Channels]]
 +{{:mbus:cs3plus.png?200}}\\
 +
 +^  The MCS2 library is replaced by the MBus library. 
 +
 +
 +^  :!: Only PADA is supported for accessory like switches, signal and outputs! :!:  ^ 
 +
 +=====TCP Communication=====
 +^  Note: Only direct TCP communication with the CS2/CS3 is supported in the Rocrail Forum.  ^
 +====IP Address====
 +The CS3 has [[https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol|DHCP]] active by default, and will get an IP address from router (In this example a FritzBox.):\\
 +|{{:mbus:cs3-ip-de.png?0x240}}|{{:mbus:mbus-cs3-fritz-de.png?0x240}}|\\
 +The host name, in this example **CS3-06294**, can be used in Rocrail instead of using the IP address, \\
 +====Communication Type====
 +The preferred way to communicate with the CS3 is by using the TCP type.\\
 +The CS3 TCP port is factory set to 15731, the second port is not utilized.\\
 +Classic CS2 UDP communication uses two port numbers, sending (Tx) and receiving (Rx). \\
 +If the port entry is set to zero, it is automatically replaced with the default values, 15731 and 15730. \\
 +{{:mbus:mbus-interface-en.png}}\\
 +
 +
 +
 +====Overview====
 +If all went well, the CS3 is listed in the CBUS/MBUS dialog:\\
 +{{:mbus:mbus-node-index-en.png}}\\
 +Menu: **Rocview -> Programming ->CBUS/MBUS** \\
 +
 + \\
 +=====Sensors=====
 +====Poll at SoD====
 +Use only in case of Gleisreporter de Luxe.\\
 +
 +====S88 CS2/CS3plus====
 +This setup is needed to be able to detect the sensor state at start up.\\
 +|{{:mbus:cs3-plus-s88-de.png?0x240}}|{{:mbus:mbus-sensors-en.png?0x240}}|\\
 +Check the CS3 System setup for ID and number of connected modules.\\  
 +===ID===
 +//"Kennung"//((German screen shot))\\
 +The S88 Device ID to use for 'Start of Day'.\\
 +This ID is also the reported bus value.\\
 +===Modules===
 +//"Länge S88 Bus"//((German screen shot))\\
 +The number of connected 16 port S88 modules.\\
 +
 + \\
 +====LinkS88====
 +|  //This setup is no longer needed; Its detected automatically.//  |\\
 +<del>This setup is needed to be able to detect the sensor state at start up.</del>
 +|{{:mbus:links88-setup-de.png?0x240}}|{{:mbus:mbus-sensors-en.png?0x240}}|\\
 +An entry in the list is needed for each connected LinkS88 device.\\
 +Check the CS3 System setup for ID and number of connected modules.\\ 
 +
 + \\
 +=====Options=====
 +{{:mbus:mbus-options-en.png}}\\
 +See: __**[[:mbus:mbus-en#report_state|MBUS Options]]**__\\
 +====Acknowledge sensor events====
 +This option only has effect in case the __**[[:arduino:rcan-en|GC2a]]**__ is used for sensor detecting.\\
 +It will only acknowledge the high state of sensor events.\\
 +Turn this option off in all other cases.\\
 + 
 +
 +====Auto switch delay====
 +A switch delay time is always send in case this option is active. (Default active)\\
 +This is independent of the individual [[:switch-int-en#switch_time|Switch Time]]. The global switch delay is used if the individual switch time is set to zero.\\
 + \\
 +=====Switch time=====
 +__**[[:switch-int-en#switch_time|Activate this timer in case the motor does not switch itself off!]]**__ \\
 +:!: Disabled end contacts will burn the coils of the motor if the switch time is not activated.\\
 +
 +
 + \\
 +=====Addressing=====
 +====Switch/Output====
 +|< >|
 +|  :!: **Adress always zero and port 1...n**  |
 +An example for the real switch address **12**:
 +|< >|
 +^ Type ^ Address ^ Port ^ Remark ^
 +^ MADA |   3 |   4 | :!: Not supported! |
 +^ PADA |   0 |  12 | Same scheme as the display address in the CS2/CS3 GUI. |
 +^ FADA |  12 |   - | :!: Not supported! |
 +
 + \\
 +=====Loco List/Discover=====
 +|< >|
 +| **Rocview -> Control -> Discover** |
 +The Discover command can be used to get the locos from the CS2/CS3.\\
 +New discovered locos during the session are automatically added to Rocrail.\\
 +
 + \\
 +=====WEB Service=====
 +{{ :mbus:cs3-web-de.png?0x200}}
 +The CS3 has a build in WEB service which can be viewed with the following URL:
 +<code>
 +http://cs3-06294
 +</code>
 +Where **[[#ip_address|cs3-06294]]** is the host name of the CS3.\\
 +The WEB service provides the following facilities:
 +  * Help
 +  * Setup
 +  * App Service
 +  * And more...
 +
 +
 + \\
  
mbus/cs3-en.txt · Last modified: 2024/11/27 14:39 by 127.0.0.1