1 of 17

LCC

Build a layout clinic

Layout Command Control�Open Layout Control Bus

Balazs Racz

https://sites.google.com/site/balazsracz/

openlcb@groups.io

2 of 17

Outline

See the layout section to build

Meet the components we’ll be using

Cabling

Getting started with JMRI and LCC

Simple sensor configuration

Throwing turnouts

ABS signaling

Railroad crossing

3 of 17

Our section at a glance

  • 1 turnout (green); two pushbuttons to control it
    • Mainline lockout of local control from dispatcher panel
  • 6 block detection sections (blue); indicators on panel
  • 1 railroad crossing
  • 9 searchlight signals (red), one double-headed

4 of 17

RR-CirKits

5 of 17

RR-CirKits

power and bus termination

6 of 17

RR-CirKits

computer interface

7 of 17

RR-CirKits

smart node

8 of 17

RR-CirKits

all existing IO boards work

9 of 17

RailStars IO board

We’ll use it for the panel

  • 8 input
  • 8 high-power outputs
  • +up to 32 outputs
    • for direct LED drive
    • plug compatible with RR-CirKits output boards
  • Many power options
    • bus-powered
    • externally powered
    • powers the bus

10 of 17

cmOS Engineering LCP1

We’ll use it for the panel

  • 16 input or output lines
  • 16 additional lines
  • 20 logic elements
  • Many power options
    • bus-powered
    • externally powered
    • powers the bus

11 of 17

Cabling

CAN-bus

  • use commercially available Ethernet cables
    • cheap on Amazon
    • not worth to DIY
  • up to 1000ft (300m) cable length
  • minimum cable length 1’ (0.3 m)
  • linear, no Y or branches

Termination!

  • at both ends of the linear bus, plug in terminators

12 of 17

Example wiring

terminator

13 of 17

Power

Tower-LCC: takes 20 mA + load

RailStars: takes or gives 300 mA

Command Station:

Gives 500 mA (and DCC signal of type A)

14 of 17

Initial setup

  • Connect with JMRI
  • Add connection for System “OpenLCB” and connection “LCC Buffer-USB”
  • Go OpenLCB menu -> Configure Nodes
  • Select board (by ID)
    • Click “open configuration dialog”
  • Set name and description, Write
  • Click “Refresh”
    • so that JMRI picks up the new names

15 of 17

Events

  • Inputs report when something changed
    • “Block B1 is now occupied”
    • “Block B1 is now empty”
  • Outputs can be sent commands
    • “Set output B1-indicator to lit”
    • “Set output B1-indicator to dark”
  • This is the same concept
    • We configure the output to listen to the reports by the detector => panel works
    • Just copy-paste the Event identifier

16 of 17

User Group

Yahoo Users Group

  • openlcb@groups.io
  • LayoutCommandControl@groups.io

Useful Links

17 of 17

Block detector board

  • 6-channel
  • Block occupancy detector
    • Adjustable sensitivity
  • Feedback via LCC
  • Extra features
    • Circuit breaker
    • Adjustable current limit
    • Turn off staging track
    • Railcom (transponding)