Signals by Spreadsheet Signals By Spreadsheet Dr. Gerry Albers NMRA Life Member Cincinnati Div. 7, MCR Slide 1
Clinic Checklist (Can I create a signal system?) Yes!. If: You have a computer PC running Windows 2000 or later (including Windows 8) MAC running Windows emulator (e.g., Virtual Machine) You can play Solitaire on your computer You can make entries in a spreadsheet You like FREE software You can make an electrical connection to your DCC track bus You can make a Cab Bus (or LocoNet ) connection SBS is a Completely Integrated Signal System Slide 2
SBS Hardware Configuration - General Distributed Input/Output DIO Power Detectors Signals urnout Positions DIO/D29 Features: 29 Input or Output erminals per DIO card User Determines Direction of Each erminal Up to 128 DIO cards (3,712 I/O terminals) Powered by rack Bus Can drive signals directly (thru resistors) Can power occupancy detectors and other accessories (including ortoise machines) hrottle Cab Bus/LocoNet Power & Commands DCC Command Station rack Bus Acc Dec Slide 3
SBS Hardware Configuration - Digitrax Distributed Input/Output SBS USB LocoBuffer USB DIO Power Detectors Signals urnout Positions PC or MAC Windows 2000 or Later DIO/D29 Features: 29 Input or Output erminals per DIO card User Determines Direction of Each erminal Up to 128 DIO cards (3,712 I/O terminals) Powered by rack Bus Can drive signals directly (thru resistors) Can power occupancy detectors and other accessories (including ortoise machines) hrottle LocoNet Power & Commands DCC Command Station rack Bus Acc Dec Slide 4
SBS Hardware Configuration - Others SBS USB LocoBuffer USB SBS Bus SBS Bus Distributed Input/Output DIO Power PC or MAC Windows 2000 or Later Bus Interface Detectors Signals urnout Positions DIO/D29 Features: 29 Input or Output erminals per DIO card User Determines Direction of Each erminal Up to 128 DIO cards (3,712 I/O terminals) Powered by rack Bus Can drive signals directly (thru resistors) Can power occupancy detectors and other accessories (including ortoise machines) SBS Bus hrottle Cab Bus Power & Commands DCC Command Station rack Bus Acc Dec Slide 5
B0 B1 B2 B3 B4 B5 B6 B7 Gnd C0 C1 C2 C3 C4 C5 C6 C7 Gnd D0 D1 D2 D3 D4 D5 D6 D7 Gnd DIO Board Features DCC rack Bus Power DCC Signal DCC Vin1 Vin2 1 A0 A1 A2 A3 A4 A5 E0 Gnd Gnd Signals By Spreadsheet LED Green = OK (Receiving Power and DCC Signal) Red = Address Configuration Mode, Error or No DCC Signal (ry Reset Button) Red Flash = Address or CV Value Accepted (User Configuration Mode Only) Off = No Power 3 JP1 1 2 3 Reset Button PIC 16F871/40P LED1 Address Configuration Jumper (Stowed) Configure Board Address 4 5 6 2 +12V +5V Gnd Accessory Power +12 to 15 V DC, unregulated. Use for ortoise driver, etc. +5VDC, regulated. Use for occupancy detectors, signals, LED indicators, etc. Signal/Command Bus Interface (DIO Only) Send/Receive o/from Computer Daisy-Chain Connectors Mounting holes for #4 screws 29 Input or Output erminals (C6 and C7 are reserved) Slide 6
he SBS System Architecture SBS Software on PC (or MAC) Distributed Input/Output DIO Power 3 Build Signal 2 Signal State Spreadsheets 4 Compile DIO 1 erminal Definitions & Names Spreadsheets 5 Run LocoBuffer USB Cab Bus or LocoNet (or standalone) Command Station Detectors Signals urnout Positions rack Bus Slide 7
SBS Edit DIO Card Function DIO Spreadsheet Enter erminal Direction: I (Input) or O (Output) Enter your name for erminal (See Acceptable Names List or use Help ) Enter Wire Color (optional, for your documentation) Enter Comment (optional, for your documentation) Reserved For SBS Use. Control Panel Select previously saved DIO card or Select New * Make Spreadsheet Entries (See Above) DO NO make entries In Do Not Use terminal cells Save spreadsheet Configure DIO Card Writes Address Into Card If Configuration Jumper is in 1-2 Position Configures erminal Directions In Card Print Spreadsheet for your documentation Use Help as needed Exit Warnings will pop up if changes were made and not Saved or not Configured. Active Hi/Lo Switches Defines erminal as Active Hi or Active Lo Demo Slide 8
Example: Automatic Block Signal Your Rules for S2W (It s your railroad): Green: both blocks ahead (B23 and B24) not occupied (Proceed) Yellow: block ahead (B23) not occupied, second block (B24) occupied (Slow ready to stop) Red: block ahead B(23) occupied (Stop) S2W B24 IF B23 is not occupied AND B24 is not occupied, HEN S2WG ON, S2WY OFF, etc. B23 Inputs B23 B24 Outputs S2WG S2WY S2WR B23 B24 S2WG S2WY S2WR NO NO ON OFF OFF NO O OFF ON OFF O OFF OFF ON NO = Not Occupied O = Occupied ON = On OFF = Off Blank = Don t Care Don t Care Default = Off Slide 9
S2W Spreadsheet Signals By Spreadsheet Demo Slide 10
Example: Automatic Block Signal (Approach Lit) Our New Rules for S2W: Green: B22 occupied & both blocks ahead (B23 and B24) not occupied (Proceed) Yellow: B22 occupied & block ahead (B23) not occupied, second block (B24) occupied (Slow ready to stop) Red: B22 occupied & block ahead (B23) occupied (Stop) Dark: signal s block (B22) not occupied S2W B24 B23 B22 Inputs B22 B23 B24 Outputs S2WG S2WY S2WR B22 B23 B24 S2WG S2WY S2WR O NO NO ON OFF OFF O NO O OFF ON OFF O O OFF OFF ON NO OFF OFF OFF NO = Not Occupied O = Occupied ON = On OFF = Off Blank = Don t Care Slide 11
S2W (Approach Lit) Spreadsheet Demo Slide 12
he SBS System Architecture SBS Software on PC Distributed Input/Output Code Button Build Repeater Compile Run Interface Cab Bus or LocoNet DIO Power Detectors Signals Signal DIO Signal State Spreadsheets erminal Definitions & Names Spreadsheets Dispatch Panel DIO Lights Switches Code Buttons From rack Bus or AC/DC Supply Slide 13 2 Wires
he SBS System Architecture SBS Software on PC Distributed Input/Output Code Button Build Repeater Compile Run Interface Cab Bus or LocoNet DIO Power Detectors Signals Signal DIO Signal State Spreadsheets erminal Definitions & Names Spreadsheets Dispatch Panel DIO Lights Switches Code Buttons From rack Bus or AC/DC Supply Slide 14 2 Wires
Input Configuration: Active Low (Pull-Down) +12VDC +5VDC SBS Input Configurations ransistor/ Detector Out Photodiode Switch Contact GND 10k erminal Microprocessor DIO Input erminal Limitations: Maximum input voltages, current: High: +5 VDC, 20 ma. Low: 0 VDC, 25 ma. All terminals have a 10K pull-up to +5V. Example Inputs DIO Board rack Bus, Rail A Current Detector Examples Optical Detector Switch Position Indication DIO erminal Detector DIO +5V (Optional*) DIO erminal DIO GND * eam Digital DBD2 or eq. ortoise N R Contacts on ortoise DIO GND rack Bus, Rail B _ + Slide 15
270 Ohms LED 270 Ohms LED Output Configuration: Active Low (ON = Pull-Down) erminal GND +12VDC +5VDC 10k DIO Board Microprocessor Output Configuration: Active High (ON = Push-Up) erminal GND +12VDC +5VDC 10k Microprocessor SBS Output Configurations GPDIO Output erminal Limitations: Max output sink (low) current: 25 ma. Max output source (high) current*: 20ma All terminals have a 100K pull-up to +5V. *erminal A4 is not push-pull and cannot source current. Signal - Common Anode Active Low Configuration DIO +5V or FL2 270 Ohms* Examples * o color balance signal LED s, use individual LED resistors with different values. DIO erminal DIO erminal DIO erminal Signal - Common Cathode Active High Configuration 270 Ohms* DIO erminal DIO erminal DIO erminal FL2 dual flasher unit DIO GND or FL2 DIO Board Slide 16
APB/ABS Cost - Example 3 Sidings 2 Blocks Between Sidings 12 Blocks (B0 B11) 6 Control Points (OS) Optical Detectors 6 urnout Positions (0 5) 6 Double Head Signals (5 LED s) 6 Single Head Signals, Sidings (2 LED s) 6 Single Head Signals, Mainline (3 LED s) B2 B6 B10 0 1 2 3 4 5 B0 B1 B3 B4 B5 B7 B8 B9 B11 ypical Headblock (Control Point) 10 LED s, 6 Places Inputs: Blocks 12 Control Points 6 urnout Pos. 6 Outputs Signal LEDs (6 x 10) 60 otal I/O Bits 84 his example illustrates the cost of signal system equipment only. It does not include the cost of computer, signals, switch machines (ortoise), ortoise drivers, accessory decoders, etc. Signals By Spreadsheet Equipment Req. 1 LocoBuffer Interface $70 3 DIO/D29 Cards @ $80 ea. $240 6 DBD22 1 Detectors @ $22 ea. $132 6 Photosensors @ $1 $6 otal Cost 2 $448 Note: 1. DBD22 has two detectors per board 2. DIOs Are Powered By rack Bus = No Power Supply Needed DIOs Power Detectors, urnouts, Signals = No Power Supply Needed Cab Bus Used o Communicate = No Additional Cabling Programmed Using FREE Spreadsheet Software Slide 17
SBS Hardware Configuration - Digitrax Distributed Input/Output SBS USB LocoBuffer USB DIO Power Detectors Signals urnout Positions PC or MAC Windows 2000 or Later DIO/D29 Features: 29 Input or Output erminals per DIO card User Determines Direction of Each erminal Up to 128 DIO cards (3,712 I/O terminals) Powered by rack Bus Can drive signals directly (thru resistors) Can power occupancy detectors and other accessories (including ortoise machines) RCS (Route Control System): 8 Accessory Decoders Up o 16 Routes Local or Remote (CC) Control Powered by rack Bus Can Power ortoises (Need D8 Driver) hrottle LocoNet D8 RCS Local Panel DCC Command Station 8 urnouts Power + Comm rack Bus Acc Dec Slide 18
SBS Hardware Configuration - Other SBS USB LocoBuffer USB SBS Bus SBS Bus Distributed Input/Output DIO Power PC or MAC Windows 2000 or Later USB DCC Interface* Bus Interface Detectors Signals urnout Positions Needed o Operate Accessory Decoders (i.e., urnout Control) Lenz: LI-USB NCE: RS232 or NCE USB Interface DIO/D29 Features: 29 Input or Output erminals per DIO card User Determines Direction of Each erminal Up to 128 DIO cards (3,712 I/O terminals) Powered by rack Bus Can drive signals directly (thru resistors) Can power occupancy detectors and other accessories (including ortoise machines) RCS (Route Control System): 8 Accessory Decoders Up o 16 Routes Local or Remote (SBS/hrottle) Control Powered by rack Bus Can Power ortoises (Need D8 Driver) SBS Bus hrottle Cab Bus D8 RCS Local Panel DCC Command Station 8 urnouts Power + Comm rack Bus Acc Dec Slide 19
RCS (Route Control System) 8 Accessory Decoders with 16 local routes DCC Command Bus (e.g., LocoNet) DCC hrottle hrottle Provides: Switch Machine Activation Lock/Unlock Function Address & CV Programming DCC Command Station or Booster* hink rack Not Switch Pushbutton Inputs (Up o 16) Power + DCC Signal A0 A5 B0 B1 C0 C7 +5V GND Vin1 Vin2 E0 DCC rack (Accessory*) Bus New!!! Can be powered by AC or DC. Must be programmed on DCC. PIC With RCS Software RCS Locked/Unlocked Signal Logic Hi (+5V) = Locked Logic Lo (0V) = Unlocked B6 + 12VDC GND D0 D7 DC Power Logic Outputs (0 5VDC) (Up o 8) o Next GPDIO (Cascaded RCS s) Can Be Cascaded For Unlimited Routes. ortoise Driver Board ortoise Switch Machines (Up to 8 independent or 16 Parallel) Local Panel Up to 8 independent switches (more with cascaded RCS s) Up to 16 independent local routes (more with cascaded RCS s) Any or all switch machines may be locked (usually by the dispatcher) *It is strongly suggested that a separate circuit breaker or DCC booster be used to provide a separate DCC Accessory Bus. Slide 20
A In B In A Out1 A Out2 B Out1 B Out2 A In B In A Out1 A Out2 B Out1 B Out2 A In B In A Out1 A Out2 B Out1 B Out2 A In B In A Out1 A Out2 B Out1 B Out2 ortoise Driver Board Signals By Spreadsheet Accessory Power From RCS/DIO (+12 to 15 V DC) Each driver board contains 8 independent drive circuits, divided onto 4 mini-boards. Accessory Power o Other Driver Boards (+12 to 15 V DC) (Power can optionally be applied from this end instead) +V IN GND +V IN +V IN GND GND +V IN GND +V IN GND +V IN GND +V IN GND +V IN GND ortoise Drivers (2) ortoise Drivers (2) ortoise Drivers (2) ortoise Drivers (2) Mounting holes for #4 screws Each mini-board has 2 independent drive circuits. Each circuit can drive 2 switch machines in parallel (e.g., crossovers). Snap mini-boards apart to form other combinations (3/1, 2/2, 1/1/2, etc) Logic signal from RCS/DIO (8 places) o switch machine (8 places) Slide 21
AD30 (Accessory Decoders, 30 max) 30 Accessory Decoders (no local routes) DCC Command Bus (e.g., LocoNet) DCC hrottle hrottle Provides: Switch Machine Activation Address Programming DCC Command Station or Booster* Power + DCC Signal DCC rack (Accessory*) Bus Vin1 Vin2 PIC With AD30 Software AD30 + 12VDC GND A0 A5 B0 B6 C0 C7 D0 D7 E0 DC Power Logic Outputs (0 5VDC) (Up o 30) ortoise Driver Board Up to 30 independent accessory decoders Up to 30 independent ortoise (60 parallel) ortoise power provided by AD30 board AD30 power provided by DCC rack Bus ortoise Switch Machines (Up to 8 independent or 16 Parallel) *It is strongly suggested that a separate circuit breaker or DCC booster be used to provide a separate DCC Accessory Bus. Slide 22
SYCS (Saging Yard Control System) 7 Accessory Decoders with 8 local routes Stops train at end of staging yard DCC Command Bus (e.g., LocoNet) DCC hrottle hrottle Provides: Switch Machine Activation Lock/Unlock Function Address & CV Programming DCC Command Station or Booster* Pushbutton Inputs (Up o 8) Power + DCC Signal A0 A5 B0 B1 +5V GND E0 Vin1 Vin2 DCC rack (Accessory*) Bus PIC With SYCS Software GPDIO Locked/Unlocked Signal Logic Hi (+5V) = Locked Logic Lo (0V) = Unlocked D7 + 12VDC GND D0 D6 C0 C7 DC Power Logic Outputs (0 5VDC) (Up o 7) o 5V Power Relay ortoise Driver Board Photo-detectors (Up o 8) ortoise Switch Machines (Up o 7) Local Panel Up to 7 independent switches (8 tracks) Up to 8 independent routes (to 8 tracks) Stops train at end of staging yard Any or all switch machines may be locked (usually by the dispatcher) *It is strongly suggested that a separate circuit breaker or DCC booster be used to provide a separate DCC Accessory Bus. Slide 23
PAI Copyright 2007 PAI Copyright 2007 Special Devices Signals By Spreadsheet Y Z X Y Z X Y Z X Y Z X 1 2 Searchlight Signal Driver 1 2 Searchlight Signal Driver U2 J1 J1 U2 U2 J1 J1 U2 +12V 3 R1 R1 4 +12V +12V 3 R1 R1 4 +12V Gnd Gnd Gnd Gnd R Y G Q1 J2 J2 Q1 Q1 J2 J2 Q1 R2 (5) Q2 C2 C2 Q2 R2 (5) R2 (5) Q2 C2 C2 Q2 R2 (5) Q3 C1 C1 Q3 Q3 C1 C1 Q3 5 6 5 6 A B C Gnd A B C Gnd Dual Searchlight Signal Driver SD2 A B C Gnd A B C Gnd Dual Flasher Unit FL2 Slide 24
rain Order Operator (OO) Station Charleston Operator s Panel ony Koester Photo OO Kit Includes: Power LED (Green) 4 Station LEDs (Red) 4 Pushbuttons 4 oggle Switches 4 Photo-transistors 1 Buzzer PowerPoint Panel Layout : Downloadable (Free) Prints On Full-Sheet Label 2 Operator Panels with 4 Stations Each OR 1 Operator with 8 Stations Photosensor Detectsrain On Station (OS) LED illuminates, Bell (buzzer) rings RESE extinguishes LED Cut Out eliminates repeated OS-ing during switching moves Slide 25
Footnotes SBS Is Available At: www.signalsbyspreadsheet.com Software is free DIO, RCS, SYCS, AD30, OO Cards: $80 ortoise Driver (8): $40 Dual Searchlight Signal Driver: $40 Dual Flasher: $40 OO Kit: $40 Slide 26
Summary SBS Hardware & Software Work ogether With Existing DCC Systems Compatible with Digitrax LocoNet No additional communication wiring is needed with Digitrax. Can be used standalone (does not require Cab Bus) SBS Hardware Is Powered by the DCC rack Bus (Accessory Bus) No additional power supplies or power wiring are needed. No Computer Programming! All entries are made in SBS spreadsheets SBS software is free! SBS Hardware & Software Is Available At: www.signalsbyspreadsheet.com Slide 27
Suppliers Logic/Electronics See Handout Signals/Electronics See Handout Signals By Spreadsheet Signal Operating Software See Handout Acknowledgements Digitrax and LocoNet are registered trademarks of Digitrax Corporation Slide 28
SOP! (Absolute) Q&A hank you for your interest and attention! Slide 29
Slide 30