intellibox-en
Differences
This shows you the differences between two versions of the page.
— | intellibox-en [2020/03/03 18:39] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======IntelliBox-I ' | ||
+ | [[: | ||
+ | [[english|Content]] -> [[english# | ||
+ | * **IntelliBox-I ' | ||
+ | * [[: | ||
+ | |||
+ | // \\ // \\ | ||
+ | |||
+ | |||
+ | **Setup for the Intellibox-I ' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | \\ | ||
+ | ===== Protocol ===== | ||
+ | The Intellibox can be used with the original Märklin p50, the extended p50x or the LocoNet protocol //via// the RS232 connection or with the LocoNet protocol //via// the LocoNet connector by using a separate LocoNet adaptor.\\ | ||
+ | The p50 protocol is not advised because of the very limited set of instructions.\\ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== General Set-Up ===== | ||
+ | By default the Intellibox (IB) is connected to the computer using a RS232 cable. If the computer is not equipped with a serial port an USB-to-serial adaptor can be used. See also [[# | ||
+ | |||
+ | > **Tip:** Alternatively, | ||
+ | |||
+ | In order to display loco velocity changes by means of the IB throttles correctly in Rocview option **[[: | ||
+ | |||
+ | After completing the set-up special attention should be paid to the paragraphs [[# | ||
+ | |||
+ | \\ | ||
+ | ===== Set-Up for p50x===== | ||
+ | |||
+ | ==== Setting up the IB ==== | ||
+ | |||
+ | === Interface === | ||
+ | In basic setup go to " | ||
+ | * Baudrate: 19200 | ||
+ | |||
+ | == Protocol == | ||
+ | In basic setup go to " | ||
+ | * Syntax: 6050 & IB | ||
+ | :!: **"IB only" does not work!**\\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ==== Setting up Rocrail ==== | ||
+ | From the menu **File -> Rocrail properties...** is selected and in the following dialogue tab **[[: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===IID=== | ||
+ | The **Interface ID** " | ||
+ | ===Baudrate=== | ||
+ | The IB supports baud rates of 2400, 4800, 9600, 19200 and (using special options) 38400. 19200 is most commonly used and the recommended baud rate. | ||
+ | ===Timeout=== | ||
+ | This value is used as timeout on serial communication like waiting for the CTS line. | ||
+ | ===Handshake=== | ||
+ | **Hardware Flow** has to be **CTS** | ||
+ | ===Sensors=== | ||
+ | The **Number** of connected sensors is entered into the accordant field. The value is the number of the connected 8-port sensor modules. If 16 port sensor module are used their number has to be multiplied by two.\\ | ||
+ | ===Poll=== | ||
+ | __The poll checkbox should be left unchecked for better performance.__ This is a work around for Tams Easy Control.\\ | ||
+ | The Poll option starts reading sensors in the p50 way, Märklin 6050/6051, which is not needed for the IB because it provides ' | ||
+ | ===Overrule throttle=== | ||
+ | Force if set, then the XLok command is ' | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Set-Up for LocoNet via RS232 ===== | ||
+ | |||
+ | The IB can be set up for LocoNet //via// the RS232 (serial) port. The IB then behaves like a **[[: | ||
+ | |||
+ | | :!: This chapter applies to a LocoNet connection //via// the RS232 serial connector only! :!: \\ \\ See [[# | ||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | ==== Setting up the IB ==== | ||
+ | - [[http:// | ||
+ | - Put the interface into mode " | ||
+ | * Basic settings -> interface -> syntax -> LocoNet | ||
+ | - Set baud rate to **19200** Baud: | ||
+ | * Basic settings -> interface -> bit per second -> 19200 bit/s | ||
+ | - Set the UART of the interface to **1 stop bits**: (default 2) | ||
+ | * Basic settings -> special option -> SO 5 -> 1 | ||
+ | - CTS flow -> SO 6: (default 254) | ||
+ | * Basic settings -> special option -> SO 6 -> 255 | ||
+ | \\ | ||
+ | |||
+ | ==== Setting up Rocrail ==== | ||
+ | From the menu **File -> Rocrail properties...** is selected and in the following dialogue tab **[[: | ||
+ | |||
+ | | {{: | ||
+ | |||
+ | \\ | ||
+ | On tab // | ||
+ | |||
+ | On tab //Options// there are no adjustments available for the Intellibox. | ||
+ | |||
+ | On tab //Details// the only option relevant is **Slot Purge time**: Locomotives not in use will be purged after a time specified in the Intellibox. The option **Slot Ping** can be used to inhibit purging. The value entered into the field **Slot Purge time** should be equal or slightly lower than the purge time of the Intellibox. | ||
+ | |||
+ | :!: A value of zero, the CS is supposed not to purge, will lead to unpredictable situations: Rocrail will not check with the CS if the known slot is purged. | ||
+ | Very small purge time values will cause unnecessary traffic for checking the slots. \\ | ||
+ | |||
+ | > **Note:** Locos that were controlled by Rocrail and were afterwards parked remain active if the option **Slot Ping** is active. If such a loco is selected on the Intellibox a warning will be shown telling the loco is already under control. | ||
+ | |||
+ | \\ | ||
+ | ^:!: Important: The __**Slot Server** must not be enabled!__ This will conflict with the IB and could lead to a Rocrail server crash.^ | ||
+ | |||
+ | |||
+ | ===S88=== | ||
+ | Set the number of connected S88 modules to get the sensor status at StartOfDay.\\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Fine Tuning ===== | ||
+ | If FIFO and other problems occur in auto-mode it should be considered to use the following special options of the IB.\\ | ||
+ | \\ | ||
+ | :!: Keep in mind, to change only one setting at a time, test and validate, before changing another. \\ | ||
+ | \\ | ||
+ | * All known special options: {{: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ==== SO1 ==== | ||
+ | To access the highest transfer rate (38400bps) of the IB, which is not available in the options' | ||
+ | |||
+ | |||
+ | |||
+ | ==== SO25 / SO907 Data Format ==== | ||
+ | SO#25 and SO#907 define the idle signal sent if no loco is active or in the refresh cycle. The factory settings are (depending on the country where the IB was purchased): **SO#25=0** and **SO# | ||
+ | |||
+ | ^ Data Format ^ SO25 ^ | ||
+ | | DCC / Motorola as needed | 0 | | ||
+ | | DCC permanently | 1 | | ||
+ | | Motorola permanently | 2 | | ||
+ | | DCC and Motorola permanently | 3 | | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ^ Idle Signal ^ SO907 | | ||
+ | | Motorola | 1 | | ||
+ | | DCC | 4 | | ||
+ | | Motorola and DCC | 5 | | ||
+ | |||
+ | \\ | ||
+ | A combination of **SO#25=3** and **SO# | ||
+ | In a mixed environment normally a combination of e. g. **SO#25=2** and **SO# | ||
+ | |||
+ | > **Note:** If, from the IB menu, a protocol different from the standard protocol is assigned to a single loco the special options may be set automatically to **SO#25=3** and **SO# | ||
+ | |||
+ | ==== SO26 BPS Fallback==== | ||
+ | To increase stability on Rocrail connecting with IB, esp. when using the actual release, consider to change Special Option 26 from 1 to 0.\\ | ||
+ | SO#26=1 forces //Long RS-232 break// to result in fallback to initial 2400bps, this may happen during p50x-module startup, resulting in a potential loss of communication, | ||
+ | |||
+ | ==== SO33 Disable Echo ==== | ||
+ | If no I²C devices, like Märklin keyboards or so, are connected to the IB, changing SO#33=0 will reduce internal overhead of IB.\\ | ||
+ | SO#33=1 default echo of turn out commands on the I²C-bus. | ||
+ | |||
+ | ==== Spontaneous Resets ==== | ||
+ | The old IB is known to sometimes performing spontaneous unwanted resets under certain circumstances in certain environments. Even though this matter was widely discussed for many years on various forums on the internet a clear reason was never detected. The only point clear is the IB almost never performs unwanted resets while no connection to a computer is established. | ||
+ | |||
+ | To minimize the occurrence of unwanted resets a good (and continuous!) shielding of the interface cable from the computer to the IB should be ensured. Further on, transformers, | ||
+ | |||
+ | An elegant alternative to avoid unwanted resets totally is not to use the serial (RS232) connection of the IB at all. Of course this does not mean to stay without Rocrail! | ||
+ | |||
+ | Since the IB is a LocoNet device it can be controlled in total //via// the LocoNet. Commands from the computer or Rocrail, respectively, | ||
+ | |||
+ | === Wiring === | ||
+ | {{: | ||
+ | |||
+ | \\ | ||
+ | The IB, the USB-LocoNet adapter and the computer can be connected according to the above scheme. The serial (RS232) interface cable is not needed anymore and should be removed. Moreover, the serial interface can be switched off from the IB menu. | ||
+ | |||
+ | > **Tip:** LocoNet cables can be assembled easily, well-priced and in the desired length by oneself: **[[: | ||
+ | |||
+ | === Set-Up === | ||
+ | The IB itself does not need to be configured. Configuring the Special Options mentioned in section [[# | ||
+ | |||
+ | From the menu **File -> Rocrail properties...** is selected and in the following dialogue tab **[[: | ||
+ | |||
+ | The further procedure depends on the adapter applied. If, for instance, the Uhlenbrock USB-LocoNet-Interface 63120 is used the same configuration as explained in chapter **[[: | ||
+ | |||
+ | > **Note:** Only the interface (the adapter) is configured. The IB becomes part of the LocoNet and thus does not need any special configuration. | ||
+ | |||
+ | === Programming track === | ||
+ | If the IB is configured as described above, the PT button in Rocrail doesn' | ||
+ | |||
+ | \\ | ||
+ | ===== Addressing and Timing ===== | ||
+ | ==== Addressing Accessory Decoders ==== | ||
+ | Addressing accessory decoders is preferably done using **PADA-**__**[[: | ||
+ | The IB-Address of, e.g., a switch is entered into the port field, while the address field stays at 0 (zero). See above link for details on addressing schemes. | ||
+ | |||
+ | ==== Switch Times ==== | ||
+ | The switch times of switches and other accessories can be set up from the IB menu: | ||
+ | |||
+ | * Basic Settings -> Access. Setting -> Switch Times | ||
+ | |||
+ | > **Note:** This setting has no effect for Intellibox II (internal switch times of the Intellibox II are ignored). The following thus applies to the Intellibox 1 only. However, the table at the end of the chapter may be an indication for the switch times values in Rocrail. | ||
+ | |||
+ | The effective switch times depend on these settings of the IB, not on the settings in the **[[: | ||
+ | \\ | ||
+ | **Example 1:** | ||
+ | * Switch times of the IB were set to min. 200 ms and max. 500 ms | ||
+ | * The switch time in Rocrail was set to 100 ms, the route switch time to 10ms | ||
+ | |||
+ | If a single switch is controlled the actual switch time will be 500 ms. \\ | ||
+ | If a route containing several switches is activated the switch time will be 200 ms for each switch. \\ | ||
+ | \\ | ||
+ | **Example 2:** | ||
+ | * Switch times of the IB were set to min. 200 ms and max. 200 ms | ||
+ | * The switch time in Rocrail was set to 250 ms, the route switch time to 300ms | ||
+ | |||
+ | If a single switch is controlled the actual switch time will be 200 ms. \\ | ||
+ | If a route containing several switches is activated the switch time will be 200 ms for each switch. Between the consecutive activation of the switches is a pause of 100 ms (300ms - 200ms). \\ | ||
+ | \\ | ||
+ | Setting up the switch times therefore has to be done with care. The minimum and the maximum switch time of the IB should be equal. A **Route switch time** significantly shorter than the minimum switch time of the IB may result in trains starting too early, i. e. before all switches were set. Therefore the **Route switch time** should be equal or higher than the switch time of the IB. \\ | ||
+ | The **Init field pause** should be set to at least double the value of the minimum switch time (two commands are sent to each switch during initialisation!). \\ | ||
+ | |||
+ | A practical example could look like this (**IB min.** Minimum switch time of the IB; **IB max.** Maximum switch time of the IB): | ||
+ | | ^ Example \\ Value ^ Remark / Alternative Setting ^ Minimum \\ Value((Empiric values. Shorter times may be used if found to be reliable. If switches and other accessories are sometimes not set correctly in auto mode the minimum values should be regarded or even extended.)) ^ | ||
+ | ^ IB min.((for Intellibox 1 only)) | 300 | the shortest time found to be sufficient for reliable operation((Has to be checked with IB max. = IB min. (Intellibox 1 only) )) \\ plus 50 to 100ms for safety | | ||
+ | ^ IB max.((for Intellibox 1 only)) | 300 | equal to IB min. | 200 | | ||
+ | ^ Rocrail Switch time | 300 | equal to IB min. | 1x IB min. | | ||
+ | ^ Route switch time | 300 | equal to IB min. or higher | 1x IB min. | | ||
+ | ^ Init field pause | 600 | two times IB min. or higher | 2x IB min. | | ||
+ | ^ Block init pause | 300 | equal to IB min. or less for a layouts with only a few signals | 0 | | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ==== Reducing Number of Commands ==== | ||
+ | Many commands within a short period of time may lead to complications resulting in error messages or sometimes "fifo buffer full". The latter is often caused by accessory decoders not able to handle multiple commands in a sequence. | ||
+ | |||
+ | It is therefore generally recommended to reduce the number of commands and to icrease the interval of outgoing commands. The following settings in Rocrail can be used to acchieve this: | ||
+ | |||
+ | * **[[: | ||
+ | * **[[: | ||
+ | * **[[rocrailini-automode-en# | ||
+ | * **[[: | ||
+ | * **[[: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Fleischmann Twin-Center Settings ===== | ||
+ | Special settings of the Twin-Center, | ||
+ | |||
+ | |||
+ | | ||
+ | |||
+ | ===== Cable Assembly ===== | ||
+ | {{cables: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | =====Known issues ===== | ||
+ | ==== Loconet ==== | ||
+ | === Throttle speed is ignored === | ||
+ | See: **[[: | ||