introduction to jmri and cbus howard watkins talk given at east midlands area group on 24 september...
TRANSCRIPT
Introduction to JMRI and Introduction to JMRI and CBUSCBUS
Howard WatkinsHoward Watkins
Talk given at East Midlands Area Talk given at East Midlands Area Group on 24 September 2011Group on 24 September 2011
Introduction to JMRIIntroduction to JMRIJava Model Railroad InterfaceJava Model Railroad Interface
available for Windows, Mac & Linux. This available for Windows, Mac & Linux. This presentation concentrates on Windows.presentation concentrates on Windows.
Download JMRI & Java, details are on Download JMRI & Java, details are on www.jmri.orgwww.jmri.org
You then get icons forYou then get icons for DecoderProDecoderPro PanelProPanelPro & optionally SoundPro& optionally SoundPro
DecoderProDecoderPro
Essentially used to aid the setting of CVs Essentially used to aid the setting of CVs (Configuration Variables) in DCC decoders(Configuration Variables) in DCC decoders
sometimes called “programming”, it is sometimes called “programming”, it is simply putting values into “pigeon holes”simply putting values into “pigeon holes”
PanelProPanelPro
Essentially used to show a track diagram Essentially used to show a track diagram which can be used to control a model which can be used to control a model railway.railway.
Does not have to be DCCDoes not have to be DCC
Common StuffCommon Stuff
Firstly you need to setup the connection Firstly you need to setup the connection preferences whether DPro or PPro.preferences whether DPro or PPro.
Options for system “MERG”Options for system “MERG”
Can Have Multiple ConnectionsCan Have Multiple Connections
You can have multiple connections at the You can have multiple connections at the same time e.g.same time e.g.
Lenz for DCC traction, CBUS for pointsLenz for DCC traction, CBUS for points
CBUS for DCC traction, RFID for train CBUS for DCC traction, RFID for train detectiondetection
Can Have Multiple IconsCan Have Multiple Icons
Suppose we require Suppose we require different preferences different preferences (connections/layouts) (connections/layouts) at different timesat different times
we can have multiple we can have multiple icons.icons.
How do we do this?How do we do this?
How to have multiple iconsHow to have multiple icons
Make a copy of the icon Make a copy of the icon and rename it.and rename it.Right Click and go to Right Click and go to “Properties”“Properties”Add a “Preferences File” Add a “Preferences File” at the end of the target at the end of the target e.g. “CBUS_Simulation”.e.g. “CBUS_Simulation”.start this copied icon.start this copied icon.Select the appropriate Select the appropriate preferences.preferences.Restart the application.Restart the application.
Important to rememberImportant to remember
All outputs from JMRI are called “turnouts” All outputs from JMRI are called “turnouts” whatever they do. They are held in a whatever they do. They are held in a “Turnout Table”. “Turnout Table”.
All inputs to JMRI are called “sensors” All inputs to JMRI are called “sensors” whatever they do. They are held in a whatever they do. They are held in a “Sensor Table”.“Sensor Table”.
CBUS turnouts are MT...(think CBUS turnouts are MT...(think MMERG), ERG), sensors are MS...sensors are MS...
Let’s create some Turnouts.Let’s create some Turnouts.
Do Do NOTNOT add add “MT”, it is added “MT”, it is added automatically.automatically.
““+” = ON event+” = ON event
258 = node258 = node
E1 = event 1E1 = event 1
User Name is User Name is user choice.user choice.
What node number to use?What node number to use?
Remember CBUS is event driven & JMRI Remember CBUS is event driven & JMRI “turnouts” are JMRI outputs.“turnouts” are JMRI outputs.
So no So no pointpoint [!] using the node number of the [!] using the node number of the point motor module (CANACC4 or 4).point motor module (CANACC4 or 4).
Instead use the node number of the producer Instead use the node number of the producer (CANACE3 or ACE8C) whose events have (CANACE3 or ACE8C) whose events have already been learnt by the point motor driver.already been learnt by the point motor driver.
Or use a new node number and then teach the Or use a new node number and then teach the point motor driver.point motor driver.
Simple DemonstrationSimple Demonstration
Now we can use “Layout Editor” and can Now we can use “Layout Editor” and can change the points on screen, and connect change the points on screen, and connect to CBUS. (Demo)to CBUS. (Demo)
Pentre Road Fiddle YardPentre Road Fiddle Yard
Here is a real example from a club layout. Here is a real example from a club layout. This includes sensors & routes. This includes sensors & routes. (Investigate)(Investigate)
Exhibition Display CabinetExhibition Display Cabinet
JMRI+RFID+DCC block detection+CBUSJMRI+RFID+DCC block detection+CBUS
DecoderProDecoderPro
Different abilities according to the DecoderDifferent abilities according to the Decoder
DecoderProDecoderPro
Here is a “4 Function” decoder - Digitrax Here is a “4 Function” decoder - Digitrax Series 3 DH163Series 3 DH163
DecoderProDecoderPro