User Tools

Site Tools


bidib-en

Differences

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


Previous revision
bidib-en [2023/10/29 09:57] (current) – [Options] rjversluis
Line 1: Line 1:
 +====== BiDiB ======
 +[[:english#command_stations|{{  :interface.png}}]][[:english|{{  :rocrail-logo-35.png}}]]
 +[[:english|Content]] -> [[:english#command_stations|Command Stations]] ->  **[[:bidib-en|BiDiB]]** 
 +  * [[:bidib:bidib-config-en|Configuration]] | [[:bidib-examples-en|Setup examples]] | [[:bidib-usb-en|USB Mapping]] | [[:bidib-compat-en|OpenDecoder]]
 +  * [[:powerman-en|Power Manger]] | [[:rocrailini-automode-en#use_bi-directional_communication|BiDi Server Option]] | [[: loc-gen-en#code|Loco Code]]
 +[[:bidib-de|{{  icons:de.png|Deutsche Version}}]][[:bidib-en|{{  icons:uk.png|English Version}}]][[:bidib-fr|{{  icons:fr.png|Version Française}}]]
 +
 +
 +
 + \\
 +===== Addressing =====
 +The addressing is linear: __**[[:addressing-en#flat_accessory_decoder_address_fada|FADA]]**__\\
 +Only the Bus(ID) and the Address fields are used.\\
 +| Addressing starts in Rocrail with one; Null is not used. \\ Port zero on the LC is in Rocrail address one. |\\
 +====Mapping====
 +^ BiDiB Port ^ Rocrail Address ^ Rocrail Port ^
 +| 0 | 1 | 0 |
 +| 1 | 2 | 0 |
 +| ... | ... | 0 |
 +| 127 | 128 | 0 |
 +
 +
 + \\
 +
 +if sensor and input types at the same board exist the sensor range is 1 .. 128 and the input types are at 201 .. 328.\\
 +
 +**Tip:** Use the [[:sensormon-en|Sensor Monitor]] to find the right address.\\
 +
 +
 +===== Important Options=====
 +====Railcom====
 +  * [[:rocrailini-automode-en#use_bi-directional_communication|BiDi Server Option]]
 +  * [[: loc-gen-en#code|Loco Code]]
 +  * [[rocrailini-automode-en#create_guest_on_bidi|Create guest Loco on BiDi]]
 +
 + \\
 +===== Features =====
 +  * Easy **[[:bidib:bidib-config-en|Configuration]]**
 +  * Current sense occupancy detection.
 +  * RailCom(r) detection; Rocrail **[[loc-gen-en#code|Code]]**.((Max. 4 in the same section.))
 +  * RailCom(r) KM/H.
 +  * Read/Write CV's on the main, POM, reported by RailCom(r) mobile decoders.
 +  * CV Programming on the service track. (No hardware available yet.)
 +  * Loco control; velocity, functions...
 +  * BiDiB & DCC Accessory control.
 +  * All port types and macros. 
 +  * DCC [[http://www.bidib.org/protokoll/bidib_command_station.html#T452|Watchdog support]].
 +  * External throttle support. (MultiMaus, LH90, LH100)
 +  * **[[:powerman-en|Booster control.]]**
 +  * Booster diagnostics [[:rocgui-gen-en#booster_uid|{{:bidib:bidib-diagnostic.png}}]]
 +
 +{{:bidib:bidi-kmh.png}}{{:bidib:powerctrl-en.png}}
 +^Color^Value^Range^
 +|Cyan|Voltage|0...24V|
 +|Red|Temperature|0...100°C|
 +|White|Current|Auto scaled; "mA max." is 100%|
 +
 +
 + \\
 +
 +===== Setup =====
 +==== Adding a bidib controller ====
 +{{:bidib:bidib-add-controller.png}}\\
 +
 +==== General ====
 +{{:bidib:bidib-setup-gen-en.png}}\\
 +=== Interface ID ===
 +IID for addressing this interface directly from without Rocrail.\\
 + \\
 +=== Device ===
 +==Windows==
 +Device name of the RS232 port.\\
 +Typically COMx for Windows; Check the device manager.\\
 +==Linux==
 +The FDTI is supported out of the box: use /dev/ttyUSBx for Linux based systems.\\
 +See also **[[:bidib-usb-en|USB Mapping]]**.\\
 +
 +==Mac OS X==
 +For Mac OS X the FDTI device driver must be installed: **[[:mac-en#usb_to_serial_driver|USB to Serial]]**.\\
 +After install and connecting the GBMBoost Master a new serial device is found under "/dev/tty.*".\\
 +If the productID is not factory standard follow this setup: **[[opendcc:opendcc-usb-en#mac_os_x|OpenDCC USB Setup]]**\\
 +==Links==
 +  * http://www.opendcc.de/elektronik/usb/opendcc_usb.html
 +  * Reset Product ID to factory settings: http://wiki.fichtelbahn.de/doku.php?id=interface_treiber :-\
 +
 + \\
 +===Host===
 +Host name or IP address.\\
 +===Port===
 +TCP port.\\
 +
 +=== Baudrate ===
 +Communication speed in Bits Per Second.\\
 +The current version of the GBMBoost supports **115200** only.\\
 +
 +=== CTS ===
 +Hardware handshake CTS/RTS.\\
 +__Disable handshake only if the hardware does not support it.__ \\
 +
 +=== Sub-Library ===
 +  * Serial (USB)
 +  * TCP: __**[[:mbus:canservice-en#bidib|CANService]]**__ (Ethernet)
 +
 + \\
 +
 +==== Options ====
 +{{:bidib:bidib-setup-options-en.png?600}}\\
 +=== Secure ACK ===
 +==Activate==
 +To activate the [[http://www.bidib.org/protokoll/bidib.html#T61|secure ACK]] option of the BiDiB protocol.\\
 +== Interval ==
 +The [[http://www.bidib.org/protokoll/bidib.html#T61|secure ACK]] interval in 10ms units. 20 is the default. (200ms)\\
 +If Rocrail did not send an ACK with in this time frame the event will be resend by the sensor unit.\\
 +
 +===Reset manually operated accessories===
 +If a manually operated accessory is reported, as error, Rocrail will try to reset it back to its last known state.
 + \\
 +=== Report absent ===
 +If this option is activated, it will be reported if a loco ID is no longer recognized by a RailCom detector.
 +  \\
 +=== Query inputs ===
 +Query also inputs at "Start of Day".\\
 +Only modules which are reporting number of inputs > 0 and using the Flat port model.\\
 +
 +===Wizard===
 +The TCP Port for the BiDiB-Wizard.\\
 +If multiple masters are connected to this computer, every library must have its own unique port.\\
 +
 +  \\
 +=== Watchdog ===
 +The **[[http://www.bidib.org/protokoll/bidib_command_station.html#T452|Watchdog Feature]]** will be automatically checked at startup.\\
 +
 + \\
 +==== Nodes ====
 +{{:bidib:bidib-nodes-en.png}}\\
 +This node overview list will be automatically generated during the connection setup between Rocrail and the BiDiB interface.\\
 +===Configure===
 +Read the __**[[:bidib:bidib-config-en|Configuration]]**__ page for more information on node configuration.\\
 +
 +
 + \\
 +
 +
 +
 +
 +====Cable====
 +  * [[http://en.wikipedia.org/wiki/Category_5_cable|CAT 5]] Twisted pair cable. (AKA Ethernet patch cable)
 +
 + \\
 +
 +=====Multi RailCom detection=====
 +To be able to detect multiple Railcom decoders in the same section the following option must be set:\\
 +  * __**[[:rocrailini-automode-en#send_zero_speed_command_at_power_on|Send zero speed command at power on]]**__
 + \\
 +=====IRM Location Reports=====
 +The reported Location ID must mach with a __**[[:sensor-gen-en#id|Sensor-ID]]**__ in Rocrail.\\
 +This sensor should have its address set to zero.\\
 +The reporting address is used for the sensor __**[[:loc-gen-en#code|Code]]**__.\\
 +IRM only reports arrival and not depart, so for automatically reset use the __**[[:sensor-gen-en#timer|Sensor Timer]]**__.\\
 +
 + \\
 +
 +=====Automatic mode=====
 +It is recommended __**not to add or remove BiDiB modules**__ to/from the bus in automatic mode because this will cause a lot of communication traffic and leads to strong delayed events.\\ 
 +The track power will be shut off in case a module is reported as 'lost'.\\ 
 + \\
 +
 +=====Programming Track (PT)=====
 +Starting with firmware 2.1.4 the GBMBoost Master can be used as Programming Track.\\
 +Before programming on the PT the PT-Mode must be set, see the __**[[:pt-en#pt|PT Button]]**__ on the Programming Tab.\\ 
 +
 + \\
 +
 +=====BiDiB Wizard=====
 +The Wizard can be connected to TCP port 62875 to configure nodes.\\
 +The [[:rocgui-menu-en#enable_communication|Communication must be disabled]] before port 62875 will be serviced.\\