User Tools

Site Tools


roco-cs-en

Differences

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


roco-cs-en [2020/05/22 09:54] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Roco Rocomotion======
 +[[:english#command_stations|{{  :interface.png}}]][[:english|{{  :rocrail-logo-35.png}}]]
  
 +[[english|Content]] -> [[english#command_stations|Command Stations]] ->   **Roco** 
 +  * **[[roco-cs-en|Rocomotion]]** | [[:roco:roco-z21-en|Z21]] | [[:roco:roco-wmz21-en|WLANmaus Z21]]
 +   
 +
 +// \\ // \\
 +
 +
 +
 +
 +Roco made the used protocol public, and it is partly compatible with the Lenz XPressNet which is already supported by the Rocrail project.\\
 +There are some differences in handshaking and programming CV's.\\
 +The handshake and incompatible commands are demanding for a separate implementation: **rnet**.\\ 
 +
 +===== Protocol =====
 +{{roconet:roconet-v1.6.1.pdf}}\\
 +
 +
 +===== Interface 10785=====
 +{{roco10785.png}}
 +
 +Programming track is implemented and POM as well.
 +
 +===== Adressing =====
 +Turnout adresses are set according to the standard format used in Rocrail, all formats (conventional, FADA and PADA are supported).\\
 +The first input of the feedback module with address 1 gets address 1 in Rocrail, following inputs are numbered in succeeding order.
 +
 +===== Locdecoder functions =====
 +A multimaus supports all 12 locdecoder functions, a lokmaus (2) only 8. The lokmaus gets confused when commands for 12 functions are issued. When using a locmaus it is required for each locomotive to set the number of functions on the interface tab of the loco properties to 4 (default) or 8, otherwise the lights of the locomotives will behave erratic.
 +===== Setup =====
 +{{roco-2.png}}
 +
 +
 +===== Setup the rocrail.ini=====
 +Linux:
 +<code xml>
 +<digint iid="Roco-1" lib="rnet" device="/dev/ttyS0" bps="19200" flow="none" fbmod="#" readfb="true"/>
 +</code>
 +
 +Windows: 
 +<code xml>
 +<digint iid="Roco-1" lib="rnet" device="com1" bps="19200" flow="none" fbmod="#" readfb="true"/>
 +</code>
 +
 +Notes:
 +  * **''/dev/ttyS0''** or **''com1''** has to be replaced with the port where your interface is connected.
 +  * replace # in ''fbmod="#"'' by the number of attached feedback modules in group 0
 +  * feedback modules in group 1 are not supported
 +  * To disable the feedback polling change ''readfb="true"'' to ''readfb="false"''
 +
 +Nodes, attributes and values are explained here: [[http://www.rocrail.net/doc/rocrail-wrappers/wrapper-en.html#digint|wrapper-en.html#digint]]
 +
 +===== Roco 10787 Feedback module =====
 +{{roco-cs.png}}
 +
 +Roco's feedback-modules has to be programmed with device number from 1 and upwards, without exceptions.
 +
 +Otherwice Rocrail can't get feedback from the modules.
 +
 +
 +===== Known limitations =====
 +
 +The feedback modules have to be programmed before used in Rocrail. At the moment this function is not implemented in Rocrail.